kubernetes

package
v2.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationTimeoutDuration = "brigade.sh/timeoutDuration"

	LabelComponent = "brigade.sh/component"
	LabelEvent     = "brigade.sh/event"
	LabelJob       = "brigade.sh/job"
	LabelProject   = "brigade.sh/project"

	LabelKeyWorker         = "worker"
	LabelKeyJob            = "job"
	LabelKeyEvent          = "event"
	LabelKeyWorkspace      = "workspace"
	LabelKeyProjectSecrets = "project-secrets"

	SecretTypeProjectSecrets = "brigade.sh/project-secrets"
	SecretTypeEvent          = "brigade.sh/event"
	SecretTypeJobSecrets     = "brigade.sh/job"
)

Variables

This section is empty.

Functions

func Client

func Client() (kubernetes.Interface, error)

Client returns an implementation of kubernetes.Interface.

func EventSecretName

func EventSecretName(eventID string) string

func JobPodName

func JobPodName(eventID, jobName string) string

func JobPodsSelector

func JobPodsSelector() string

func JobSecretName

func JobSecretName(eventID, jobName string) string

func WorkerPodName

func WorkerPodName(eventID string) string

func WorkerPodsSelector

func WorkerPodsSelector() string

func WorkspacePVCName

func WorkspacePVCName(eventID string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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