Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeLabels ¶ added in v0.12.0
ChangeLabels changes a delegate pod's labels so as not to confuse potential controller of proxy pod, e.g., replica set. If the original label key has a domain prefix, replace it with ours; if it doesn't, add our domain prefix. Also used to optionally reroute service selector. Length is not an issue: "Valid label keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less" https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set TODO: resolve conflict two keys have same name but different prefixes
func IsDelegate ¶ added in v0.12.0
func MakeDelegatePod ¶
func MakeDelegatePod(proxyPod *corev1.Pod) (*v1alpha1.PodChaperon, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.