kubernetes

package
v0.0.0-...-9d0dce2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeSelectorOpIn           = "In"
	NodeSelectorOpNotIn        = "NotIn"
	NodeSelectorOpExists       = "Exists"
	NodeSelectorOpDoesNotExist = "DoesNotExist"
	NodeSelectorOpGt           = "Gt"
	NodeSelectorOpLt           = "Lt"
)
View Source
const (
	// PullAlways means that kubelet always attempts to pull the latest image.  Container will fail If the pull fails.
	PullAlways = "Always"
	// PullNever means that kubelet never pulls an image, but only uses a local image.  Container will fail if the image isn't present
	PullNever = "Never"
	// PullIfNotPresent means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
	PullIfNotPresent = "IfNotPresent"
)
View Source
const (
	RestartPolicyAlways    = "Always"
	RestartPolicyOnFailure = "OnFailure"
	RestartPolicyNever     = "Never"
)
View Source
const (
	RobinFrontendRecordsAnnotationKey = "pulcy.com.robin.frontend.records"
)

Variables

View Source
var (
	TaskNotFoundError = errgo.New("task not found")
	ValidationError   = errgo.New("validation failed")
)

Functions

func NewRenderProvider

func NewRenderProvider() render.RenderProvider

NewRenderProvider creates a new render provider that will render kubernetes units.

Types

type RenderContext

type RenderContext interface {
	ProjectName() string
	ProjectVersion() string
	ProjectBuild() string
}

Jump to

Keyboard shortcuts

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