Documentation ¶
Index ¶
- func DontReplicateFor(annotations map[string]string, controller string) (result map[string]string, changed bool)
- func DontReplicateForValue(replicateValue, controller string) (result string, changed bool)
- func ReplicateFor(annotations map[string]string, controller string) (result map[string]string, changed bool)
- func ReplicateForValue(replicateValue, controller string) (result string, changed bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DontReplicateFor ¶
func DontReplicateFor(annotations map[string]string, controller string) (result map[string]string, changed bool)
DontReplicateFor ensures the controller string is not part of the separated list of controller names in the internal.kcp.io/replicate label. This function changes the annotations in-place.
func DontReplicateForValue ¶
DontReplicateForValue returns the replicate value for the given controller removed.
func ReplicateFor ¶
func ReplicateFor(annotations map[string]string, controller string) (result map[string]string, changed bool)
ReplicateFor ensures the controller string is part of the separated list of controller names in the internal.kcp.io/replicate label. This function changes the annotations in-place.
func ReplicateForValue ¶
ReplicateForValue returns the replicate value for the given controller added.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.