ko

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: Apache-2.0 Imports: 10 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 = "ghcr.io/mattmoor/github.com/google/ko/cmd/ko:latest"
)

Functions

func Build

func Build(ctx context.Context, source name.Reference, target name.Tag, opt Options) *tknv1beta1.TaskRun

Build returns a TaskRun suitable for performing a "ko publish" build over the provided source 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