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)
Click to show internal directories.
Click to hide internal directories.