Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDependencies ¶ added in v1.33.0
GetDependencies returns a list of files to watch for changes to rebuild.
Types ¶
type Builder ¶ added in v1.31.0
type Builder struct {
// contains filtered or unexported fields
}
Builder is an artifact builder that uses ko
func NewArtifactBuilder ¶ added in v1.31.0
func NewArtifactBuilder(localDocker docker.LocalDaemon, pushImages bool, runMode config.RunMode, insecureRegistries map[string]bool) *Builder
NewArtifactBuilder returns a new ko artifact builder
func (*Builder) Build ¶ added in v1.31.0
func (b *Builder) Build(ctx context.Context, out io.Writer, a *latestV1.Artifact, ref string, platforms platform.Matcher) (string, error)
Build an artifact using ko, and either push it to an image registry, or sideload it to the local docker daemon. Build prints the image name to the out io.Writer and returns the image identifier. The image identifier is the tag or digest for pushed images, or the docker image ID for sideloaded images.
func (*Builder) SupportedPlatforms ¶ added in v1.36.0
Click to show internal directories.
Click to hide internal directories.