util

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, str string) bool

func EmptySecretFields

func EmptySecretFields(secret *v1.Secret, fields []string) []string

EmptySecretFields returns empty fields in Secret based on input field list

func GenerateAdminPassword

func GenerateAdminPassword() string

func GetNodeIP

func GetNodeIP(addressType v1.NodeAddressType, nodeAddresses []v1.NodeAddress) string

func MergeMap

func MergeMap(a, b map[string]string) map[string]string

func Sha1

func Sha1(s string) string

func Uniq

func Uniq(s []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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