config

package
v0.5.15 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: AGPL-3.0 Imports: 4 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 {
	DatabaseURL                   string
	IdentityAddress               string
	AuthorizationAddress          string
	AgentsAddress                 string
	ZitiManagementAddress         string
	NotificationsAddress          string
	ZitiLeaseRenewalInterval      time.Duration
	ZitiEnrollmentTimeout         time.Duration
	WorkloadActivitySweepInterval time.Duration
	WorkloadKeepaliveGrace        time.Duration
	GRPCAddr                      string
}

Config captures runtime configuration derived from the environment.

func Load

func Load() (Config, error)

Load reads configuration from environment variables, applying defaults when values are not provided. Returns an error when supplied values are invalid.

Jump to

Keyboard shortcuts

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