Documentation ¶ Index ¶ Variables func Build(ctx context.Context, kontext name.Reference, target name.Tag, opt Options) *tknv1beta1.TaskRun type Options Constants ¶ This section is empty. Variables ¶ View Source var ( // KoImageString holds a reference to a built image of github.com/google/ko // See ./hack/build-flags.sh for how this is replaced at link-time. KoImageString = "docker.io/mattmoor/ko:latest" ) Functions ¶ func Build ¶ func Build(ctx context.Context, kontext name.Reference, target name.Tag, opt Options) *tknv1beta1.TaskRun Build returns a TaskRun suitable for performing a "ko publish" build over the provided kontext and publishing to the target tag. Types ¶ type Options ¶ type Options struct { // ImportPath is the path to ko publish ImportPath string } Options holds configuration options specific to Dockerfile builds Source Files ¶ View all Source files build.go Click to show internal directories. Click to hide internal directories.