Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArtifactConfig ¶
type ArtifactConfig struct {
File string `json:"path,omitempty"`
}
ArtifactConfig holds information about a Ko project
func (ArtifactConfig) ArtifactType ¶
func (c ArtifactConfig) ArtifactType(_ string) latest.ArtifactType
ArtifactType returns a definition of the artifact to be built.
func (ArtifactConfig) ConfiguredImage ¶
func (c ArtifactConfig) ConfiguredImage() string
ConfiguredImage returns the target image configured by the builder, or empty string if no image is configured.
func (ArtifactConfig) Describe ¶
func (c ArtifactConfig) Describe() string
Describe returns the initBuilder's string representation. This representation is used when prompting the user to choose a builder.
func (ArtifactConfig) Name ¶
func (c ArtifactConfig) Name() string
Name returns the name of the builder.
func (ArtifactConfig) Path ¶
func (c ArtifactConfig) Path() string
Path returns the path to the build definition.
Click to show internal directories.
Click to hide internal directories.