Documentation ¶
Index ¶
- func GetDeploymentNameFromPod(ctx context.Context, r client.Reader, ns string, pod *corev1.Pod) (string, error)
- func GetDeploymentSelector(ctx context.Context, r client.Reader) (labels.Selector, error)
- func GetPeers(ctx context.Context, r client.Reader) (map[string]string, error)
- func GetPeersFrom(ep *corev1.Endpoints) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentNameFromPod ¶ added in v0.2.1
func GetDeploymentNameFromPod(ctx context.Context, r client.Reader, ns string, pod *corev1.Pod) (string, error)
GetDeploymentNameFromPod retrieves the name of the Deployment owning the given pod.
func GetDeploymentSelector ¶
GetDeploymentSelector retrieves the selector for the owning Deployment of the pod.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.