config

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 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"`
	RetryBaseDelay            time.Duration `envconfig:"retry_base_delay"`
	RetryMaxDelay             time.Duration `envconfig:"retry_max_delay"`
	IgnoreNonTransientTimeout 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