knative/func

Update Integrator's Guide

craxkumar opened this issue · 1 comments

As of today the Integrator's Guide is out-dated as it points to the older version of knative/func [ v0.35.0 ]
ref:- https://github.com/knative/func/blob/main/docs/integrators_guide.md

out-dated imports:-

import (
fn "github.com/knative/func"
"github.com/knative/func/buildpacks"
"github.com/knative/func/docker"
"github.com/knative/func/knative"
"log"
)

But in the current dir structure of knative/func [ v0.38.0 ]
buildpacks, docker, knative are shifted to the pkg folder.

so the updated imports should look something like this:-

import (
fn "knative.dev/func"
"knative.dev/func/pkg/builders/buildpacks"
"knative.dev/func/pkg/docker"
"knative.dev/func/pkg/knative"
"log"
)

Build Still unable to build the client integrator even after updating the imports.

updated version of integrators_guide:-

integrators_guide.md

ERROR:-
logs.txt

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.