deploy

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const NoManifest = Error("one or more Kubernetes manifests is required to run skaffold")

Variables

This section is empty.

Functions

This section is empty.

Types

type Error added in v1.5.0

type Error string

func (Error) Error added in v1.5.0

func (e Error) Error() string

type Initializer

type Initializer interface {
	// deployConfig generates Deploy Config for skaffold configuration.
	DeployConfig() latest.DeployConfig
	// 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 []string, c config.Config) Initializer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL