cluster-api: sigs.k8s.io/cluster-api/util/annotations Index | Files

package annotations

import "sigs.k8s.io/cluster-api/util/annotations"

Index

Package Files

helpers.go

func HasPausedAnnotation Uses

func HasPausedAnnotation(o metav1.Object) bool

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

func HasWithPrefix Uses

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

func IsPaused Uses

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

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

Package annotations imports 3 packages (graph) and is imported by 15 packages. Updated 2020-10-29. Refresh now. Tools for package owners.