pkg

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EnvCacheRefreshInterval = "ULTRON_ATTENDANT_CACHE_REFRESH_INTERVAL"
	EnvEmmaClientId         = "EMMA_CLIENT_ID"
	EnvEmmaClientSecret     = "EMMA_CLIENT_SECRET"
)

Variables

This section is empty.

Functions

func InitializeKubernetesServiceFromConfig added in v0.1.3

func InitializeKubernetesServiceFromConfig(config *Config) (kubernetesService services.IKubernetesService, err error)

Types

type Config added in v0.1.2

type Config struct {
	RedisServerAddress   string
	RedisServerPassword  string
	RedisServerDatabase  int
	EmmaClientId         string
	EmmaClientSecret     string
	KubernetesConfigPath string
	KubernetesMasterURL  string
	CacheRefreshInterval int
}

func LoadConfig added in v0.1.2

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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