config

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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 Config

type Config struct {
	SyncPeriod             time.Duration `envconfig:"sync_period"`
	PollInterval           time.Duration `envconfig:"poll_interval"`
	LongPollInterval       time.Duration `envconfig:"long_poll_interval"`
	ManagementNamespace    string        `envconfig:"management_namespace"`
	ReleaseNamespace       string        `envconfig:"release_namespace"`
	AllowClusterAccess     bool          `envconfig:"allow_cluster_access"`
	AllowedNamespaces      []string      `envconfig:"allowed_namespaces"`
	EnableNamespaceSecrets bool          `envconfig:"enable_namespace_secrets"`
	ClusterID              string        `envconfig:"cluster_id"`
	InitialClusterID       string        `envconfig:"initial_cluster_id"`
	RetryBaseDelay         time.Duration
	RetryMaxDelay          time.Duration
}

func Get

func Get() Config

Jump to

Keyboard shortcuts

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