Documentation ¶
Index ¶
- Constants
- func Client() (kubernetes.Interface, error)
- func EventSecretName(eventID string) string
- func JobPodName(eventID, jobName string) string
- func JobPodsSelector(brigadeID string) string
- func JobSecretName(eventID, jobName string) string
- func WorkerPodName(eventID string) string
- func WorkerPodsSelector(brigadeID string) string
- func WorkspacePVCName(eventID string) string
Constants ¶
View Source
const ( AnnotationTimeoutDuration = "brigade.sh/timeoutDuration" LabelBrigadeID = "brigade.sh/id" 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" // nolint: gosec SecretTypeEvent = "brigade.sh/event" // nolint: gosec SecretTypeJobSecrets = "brigade.sh/job" // nolint: gosec )
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client() (kubernetes.Interface, error)
Client returns an implementation of kubernetes.Interface.
func EventSecretName ¶
func JobPodName ¶
func JobPodsSelector ¶
func JobSecretName ¶
func WorkerPodName ¶
func WorkerPodsSelector ¶
func WorkspacePVCName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.