kubectl

package
v0.0.0-...-15868fb Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidSuffixes = []string{".yml", ".yaml", ".json"}

ValidSuffixes are the supported file formats for kubernetes manifests

Functions

This section is empty.

Types

type Kubectl

type Kubectl struct {
	// contains filtered or unexported fields
}

Kubectl holds parameters to run kubectl.

func New

func New(potentialConfigs []string) (*Kubectl, error)

New returns a Kubectl skaffold generator.

func (*Kubectl) GenerateDeployConfig

func (k *Kubectl) GenerateDeployConfig() latest.DeployConfig

GenerateDeployConfig implements the Initializer interface and generates skaffold kubectl deployment config.

func (*Kubectl) GetImages

func (k *Kubectl) GetImages() []string

GetImages implements the Initializer interface and lists all the images present in the k8 manifest files.

Jump to

Keyboard shortcuts

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