kubectl

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsKubernetesManifest added in v1.1.0

func IsKubernetesManifest(file string) bool

IsKubernetesManifest is for determining if a file is a valid Kubernetes manifest

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