params

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BGPType

type BGPType string
const (
	FRRMode    BGPType = "frr"
	NativeMode BGPType = "native"
	FRRK8sMode BGPType = "frr-k8s"
)

type EnvConfig

type EnvConfig struct {
	Namespace                  string
	ControllerImage            ImageInfo
	SpeakerImage               ImageInfo
	FRRImage                   ImageInfo
	FRRK8sImage                ImageInfo
	KubeRBacImage              ImageInfo
	MLBindPort                 int
	FRRMetricsPort             int
	SecureFRRMetricsPort       int
	FRRK8sMetricsPort          int
	FRRK8sFRRMetricsPort       int
	SecureFRRK8sMetricsPort    int
	SecureFRRK8sFRRMetricsPort int
	MetricsPort                int
	SecureMetricsPort          int
	DeployPodMonitors          bool
	DeployServiceMonitors      bool
	IsOpenshift                bool
}

func FromEnvironment

func FromEnvironment(isOpenshift bool) (EnvConfig, error)

type ImageInfo

type ImageInfo struct {
	Repo string
	Tag  string
}

Jump to

Keyboard shortcuts

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