setting

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// resource status.
	DeploymentInProgress = "InProgress"
	DeploymentReady      = "Ready"

	PodPending         = "Pending"
	PodRunning         = "Running"
	PodReady           = "Ready"
	PodFailed          = "Failed"
	PodOutdated        = "Outdated"
	ContainersReady    = "ContainersReady"
	PodPullInFailed    = "PullInFailed"
	PodPullInSucceeded = "PullInSucceeded"

	TypePod      = "Pod"
	TypeCloneSet = "CloneSet"
	TypeDeploy   = "DeployFlow"

	// type of a deploy.
	Create     = "create"
	Update     = "update"
	Rollback   = "rollback"
	Delete     = "delete"
	Scale      = "scale"
	ScaleIn    = "scale_in"
	ScaleOut   = "scale_out"
	Restart    = "restart"
	RestartPod = "restart_pod"
)

constant.go stores things which never change.

View Source
const (
	LastAppliedLabel = "kubectl.kubernetes.io/last-applied-configuration"
	ShouldSendToFile = "sendToFile"
	AppLabel         = "app.kubernetes.io/name"
	AppInstanceLabel = "app.kubernetes.io/instance"
	PodReadinessGate = "apps.triton.io/ready"
	ApplicationPort  = "app-port"
	AppIDLabel       = "app"
	GroupIDLabel     = "group"
	ManageLabel      = "managed-by"
	TritonKey        = "triton-io"
	HarborCred       = "proharborregcred"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseCode

type ResponseCode int
const (
	Success ResponseCode = iota     // 0
	Error   ResponseCode = iota + 6 // 7
)

Jump to

Keyboard shortcuts

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