utils

package
v1.11.55 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostname

func GetHostname(fqdn bool) string

GetHostname returns the hostname

func GetK8SHostnames

func GetK8SHostnames(clusterZone string) (string, []string)

GetK8SHostnames Generate pod/svc hostnames based on k8s spec: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pods

Types

This section is empty.

Jump to

Keyboard shortcuts

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