Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Initializer ¶
type Initializer interface {
// deployConfig generates Deploy Config for skaffold configuration.
DeployConfig() (latestV1.DeployConfig, []latestV1.Profile)
// GetImages fetches all the images defined in the manifest files.
GetImages() []string
// Validate ensures preconditions are met before generating a skaffold config
Validate() error
// AddManifestForImage adds a provided manifest for a given image to the initializer
AddManifestForImage(string, string)
}
Initializer detects a deployment type and is able to extract image names from it
func NewInitializer ¶
func NewInitializer(manifests, bases, kustomizations []string, c config.Config) Initializer
if any CLI manifests are provided, we always use those as part of a kubectl deploy first if not, then if a kustomization yaml is found, we use that next otherwise, default to a kubectl deploy.
Click to show internal directories.
Click to hide internal directories.