clusterinfo

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL