kubernetes

package
v2.0.0-...-cc5b34b Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const AnnotationAlertmanagerSilenceCommentKey = "cron.rollout.restart/alertmanager-silence-comment" // comment
View Source
const AnnotationAlertmanagerSilenceDurationKey = "cron.rollout.restart/alertmanager-silence-duration" // duration in minutes
View Source
const AnnotationAlertmanagerSilenceEnabledKey = "cron.rollout.restart/alertmanager-silence-enabled" // "true" or "false", default "false"
View Source
const AnnotationAlertmanagerSilenceLabelsKey = "cron.rollout.restart/alertmanager-silence-labels" // comma separated silence matching labels, eg. key1=value1,key2=value2
View Source
const AnnotationScheduleKey = "cron.rollout.restart/schedule"

Variables

This section is empty.

Functions

This section is empty.

Types

type Kubernetes

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

func New

func New(kubeconfigUse bool, kubeconfigPath string) Kubernetes

func (*Kubernetes) GetJobs

func (k *Kubernetes) GetJobs() []types.Job

func (*Kubernetes) RolloutRestart

func (k *Kubernetes) RolloutRestart(job types.Job)

Jump to

Keyboard shortcuts

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