Documentation
¶
Index ¶
- func AnnotationsPatch(mode api.LabelsMode, expected map[string]string, actual map[string]string, ...) patch.Patch
- func Compare(a, b map[string]string) bool
- func LabelsPatch(mode api.LabelsMode, expected map[string]string, actual map[string]string, ...) patch.Patch
- func MergeAnnotations(annotations ...map[string]string) map[string]string
- type RestrictedList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotationsPatch ¶
func LabelsPatch ¶
Types ¶
type RestrictedList ¶
type RestrictedList []string
func NewRestrictedList ¶
func NewRestrictedList(param ...string) RestrictedList
func ReservedLabels ¶
func ReservedLabels() RestrictedList
func (RestrictedList) Filter ¶
func (r RestrictedList) Filter(m map[string]string) map[string]string
func (RestrictedList) IsRestricted ¶
func (r RestrictedList) IsRestricted(s string) bool
Click to show internal directories.
Click to hide internal directories.