Documentation
¶
Index ¶
Constants ¶
View Source
const NoBuilder = "None (image not built from these sources)"
NoBuilder allows users to specify they don't want to build an image we parse out from a Kubernetes manifest
Variables ¶
This section is empty.
Functions ¶
func IsKubernetesManifest ¶ added in v1.3.0
IsKubernetesManifest is for determining if a file is a valid Kubernetes manifest
Types ¶
type Config ¶
type Config struct {
ComposeFile string
CliArtifacts []string
CliKubernetesManifests []string
SkipBuild bool
SkipDeploy bool
Force bool
Analyze bool
EnableJibInit bool // TODO: Remove this parameter
EnableBuildpacksInit bool
BuildpacksBuilder string
Opts config.SkaffoldOptions
}
Config contains all the parameters for the initializer package
type InitBuilder ¶ added in v0.33.0
type InitBuilder interface {
// Name returns the name of the builder
Name() string
// Describe returns the initBuilder's string representation, used when prompting the user to choose a builder.
// Must be unique between artifacts.
Describe() string
// UpdateArtifact updates the Artifact to be included in the generated Build Config
UpdateArtifact(*latest.Artifact)
// ConfiguredImage returns the target image configured by the builder, or an empty string if no image is configured.
// This should be a cheap operation.
ConfiguredImage() string
// Path returns the path to the build file
Path() string
}
InitBuilder represents a builder that can be chosen by skaffold init.
Click to show internal directories.
Click to hide internal directories.