k8

package
v0.0.0-...-c5ec061 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingConfig = errors.New("Missing some expected configuration values.")
	ErrConfigInvalid = errors.New("A configuration option is invalid.")
)
View Source
var (
	ErrNonUniqueName = errors.New("The resource name matched more than one deployment in Kubernetes.")
	ErrUnmatchedName = errors.New("The resource could not be found on this Kubernetes cluster.")
)
View Source
var ErrPodsFailedToStart = errors.New("The new Kubernetes pods failed to start.")

Functions

This section is empty.

Types

type ConfigErr

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

func (ConfigErr) Error

func (mce ConfigErr) Error() string

type K8

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

func NewCronShipper

func NewCronShipper(opts map[string]interface{}) *K8

func NewDeploymentShipper

func NewDeploymentShipper(opts map[string]interface{}) *K8

func (*K8) Rollback

func (ks *K8) Rollback(ctx context.Context) chan error

func (*K8) ShipIt

func (ks *K8) ShipIt(ctx context.Context) chan error

Jump to

Keyboard shortcuts

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