config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentNamespace = ""

CurrentNamespace contains the namespace from the k8s-ecs-control pod.

Functions

func ConfigureApplication

func ConfigureApplication() error

ConfigureApplication performs the default configuration for the control app including configuring the logging and current stage of the system.

func CreateClusterClient

func CreateClusterClient() (*clusterClient, error)

CreateClusterClient creates a new kubernetes.Interface given the locally available cluster configurations.

func GetCesRegistry

func GetCesRegistry() (cesregistry.Registry, error)

GetCesRegistry return the ces registry in the current namespace.

func IsDevelopmentStage

func IsDevelopmentStage() bool

IsDevelopmentStage return true whether the current stage is set to development.

func PrintCloudoguLogo()

PrintCloudoguLogo prints the awesome cloudogu logo.

Types

type LokiGatewayConfig added in v0.5.0

type LokiGatewayConfig struct {
	Url      string
	Username string
	Password string
}
var CurrentLokiGatewayConfig *LokiGatewayConfig

Jump to

Keyboard shortcuts

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