env

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel        string `envconfig:"LOG_LEVEL" required:"true"`
	NATSChartDir    string `envconfig:"NATS_CHART_DIR" required:"true"`
	NATSCRName      string `envconfig:"NATS_CR_NAME" required:"true"`
	NATSCRNamespace string `envconfig:"NATS_CR_NAMESPACE" required:"true"`
}

Config represents the environment config for the NATS Manager.

func GetConfig

func GetConfig() (Config, error)

Jump to

Keyboard shortcuts

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