ko

package
v0.19.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL