utils

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash added in v0.5.0

func CheckPasswordHash(password, hash string) bool

func DecryptString added in v0.5.0

func DecryptString(encrypted string) (string, error)

func EncryptString added in v0.5.0

func EncryptString(input string) string

func GenerateKubectlAgentName added in v0.8.0

func GenerateKubectlAgentName(username string) string

func GenerateNodeAgentName added in v0.7.4

func GenerateNodeAgentName(nodeName string) string

func GetImageRegistryAndRepo

func GetImageRegistryAndRepo(image string) (string, string)

func GetPodErrorMessage

func GetPodErrorMessage(pod *corev1.Pod) string

func GuessSearchResources

func GuessSearchResources(query string) (string, string)

func HashPassword added in v0.5.0

func HashPassword(password string) (string, error)

func InjectAnalytics

func InjectAnalytics(htmlContent string) string

func InjectKiteBase added in v0.7.1

func InjectKiteBase(htmlContent string, base string) string

func IsPodErrorOrSuccess

func IsPodErrorOrSuccess(pod *corev1.Pod) bool

func IsPodReady

func IsPodReady(pod *corev1.Pod) bool

func RandomString

func RandomString(length int) string

func ToEnvName

func ToEnvName(input 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