Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NamespaceDeletionProtectionMetrics = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "namespace_deletion_protection", Help: "Namespace Deletion Protection", }, []string{"name", "username"}, ) CRDDeletionProtectionMetrics = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "crd_deletion_protection", Help: "CustomResourceDefinition Deletion Protection", }, []string{"name", "username"}, ) WorkloadDeletionProtectionMetrics = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "workload_deletion_protection", Help: "Workload Deletion Protection", }, []string{"kind_namespace_name", "username"}, ) )
Functions ¶
func ValidateCRDDeletion ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.