environment

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	EnableWebhooks bool     `env:"ENABLE_WEBHOOKS, default=true"`
	WatchNamespace []string `env:"WATCH_NAMESPACE"`
}

Environment holds all environment variables for the application.

func GetEnvironment

func GetEnvironment(ctx context.Context) (Environment, error)

GetEnvironment processes environment variables and returns an Environment struct.

Jump to

Keyboard shortcuts

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