package
0.17.1
Repository: https://github.com/google/ko.git
Documentation: pkg.go.dev

# Functions

NewCaching wraps the provided build.Interface in an implementation that shares build results for a given path until the result has been invalidated.
NewGo returns a build.Interface implementation that: 1.
NewGobuilds returns a build.Interface that can dispatch to builders based on matching the import path to a build config in .ko.yaml.
NewLimiter returns a new builder that only allows n concurrent builds of b.
WithAnnotation is a functional option for adding annotations to built manifests.
WithBaseImages is a functional option for overriding the base images that are used for different images.
WithConfig is a functional option for providing GoReleaser Build influenced build settings for importpaths.
WithCreationTime is a functional option for overriding the creation time given to images.
No description provided by the author
WithDefaultEnv is a functional option for providing a default set of environment variables across all builds.
WithDefaultFlags is a functional option for providing a default set of flags across all builds.
WithDefaultLdflags is a functional option for providing a default set of ldflags across all builds.
WithDisabledOptimizations is a functional option for disabling optimizations when compiling.
WithDisabledSBOM is a functional option for disabling SBOM generation.
WithJobs limits the number of concurrent builds.
WithKoDataCreationTime is a functional option for overriding the creation time given to the files in the kodata directory.
WithLabel is a functional option for adding labels to built images.
WithPlatforms is a functional option for building certain platforms for multi-platform base images.
WithSBOMDir is a functional option for overriding the directory.
WithSPDX is a functional option to direct ko to use SPDX for SBOM format.
WithTrimpath is a functional option that controls whether the `-trimpath` flag is added to `go build`.
WithUser is a functional option for overriding the user in the image config.

# Constants

StrictScheme is a prefix that can be placed on import paths that users think MUST be supported references.

# Structs

Caching wraps a builder implementation in a layer that shares build results for the same inputs using a simple "future" implementation.
Config contains the build configuration section.
Limiter composes with another Interface to limit the number of concurrent builds.
Recorder composes with another Interface to record the built import paths.

# Interfaces

Interface abstracts different methods for turning a supported importpath reference into a v1.Image.
Result represents the product of a Build.

# Type aliases

FlagArray is a wrapper for an array of strings.
GetBase takes an importpath and returns a base image reference and base image (or index).
Option is a functional option for NewGo.
StringArray is a wrapper for an array of strings.