config

package
v0.0.0-...-31a7945 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ClusterNameEnvName is a env var name to get cluster name
	ClusterNameEnvName = "SERVICE_NAME"
)

Variables

This section is empty.

Functions

func GetClusterName

func GetClusterName(cli kubernetes.Interface) (string, error)

GetClusterName checks CLUSTER_NAME if empty gets "default" namespace UUID

func GetEnvOrSkip

func GetEnvOrSkip(c *check.C, varName string) string

GetEnvOrSkip test helper to skip test if env var not presented

Types

This section is empty.

Jump to

Keyboard shortcuts

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