annotations

package
Version: v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasPausedAnnotation

func HasPausedAnnotation(o metav1.Object) bool

HasPausedAnnotation returns true if the object has the `paused` annotation.

func HasWithPrefix

func HasWithPrefix(prefix string, annotations map[string]string) bool

func IsPaused

func IsPaused(cluster *clusterv1.Cluster, o metav1.Object) bool

IsPaused returns true if the Cluster is paused or the object has the `paused` annotation.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto