Documentation
¶
Index ¶
- func GetDNSServiceAll(ctx context.Context, client corev1client.CoreV1Interface) (string, string, []string, error)
- func GetNodesIP(ctx context.Context, client corev1client.CoreV1Interface) ([]string, error)
- func GetPodsIP(ctx context.Context, client corev1client.CoreV1Interface, namespace string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDNSServiceAll ¶
func GetDNSServiceAll(ctx context.Context, client corev1client.CoreV1Interface) (string, string, []string, error)
GetDNSServiceAll return the DNS Service domain、DNS service cluster IP、DNS service endpoints.
func GetNodesIP ¶
func GetNodesIP(ctx context.Context, client corev1client.CoreV1Interface) ([]string, error)
GetNodesIP returns the nodes IP.
func GetPodsIP ¶
func GetPodsIP(ctx context.Context, client corev1client.CoreV1Interface, namespace string) ([]string, error)
GetPodsIP returns the pods IP without duplicates.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.