Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v1.0.56 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelperImageEnv  = "HELPER_IMAGE"
	RsyslogImageEnv = "RSYSLOG_IMAGE"
)
View Source
const RsyslogConfigFormat = `$ModLoad imuxsock
$SystemLogSocketName %s
$ModLoad omstdout.so
*.* :omstdout:`

Variables

This section is empty.

Functions

func GetAppSelectorLabels

func GetAppSelectorLabels(instance *v1alpha1.Instance) map[string]string

func GetConfigSecretName

func GetConfigSecretName(instance *proxyv1alpha1.Instance) string

func GetHelperImage

func GetHelperImage() string

func GetPodLabels

func GetPodLabels(instance *v1alpha1.Instance) map[string]string

func GetRouteName

func GetRouteName(frontend *configv1alpha1.Frontend, bind configv1alpha1.Bind) string

func GetRsyslogImage

func GetRsyslogImage() string

func GetServiceAndStatefulsetName added in v1.0.49

func GetServiceAndStatefulsetName(instance *proxyv1alpha1.Instance) string

func StringOrDefault

func StringOrDefault(str string, def string) string

func VerifyAPI

func VerifyAPI(group string, version string) (bool, error)

VerifyAPI will verify that the given group/version is present in the cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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