config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultNs is the default namespace for the resources deployed by this operator
	DefaultNs       = "app-routing-system"
	PublicZoneType  = "dnszones"
	PrivateZoneType = "privatednszones"
)

Variables

View Source
var Flags = &Config{}

Functions

This section is empty.

Types

type Config

type Config struct {
	DefaultController                   ControllerConfig
	ServiceAccountTokenPath             string
	MetricsAddr, ProbeAddr              string
	NS, Registry                        string
	DisableKeyvault                     bool
	MSIClientID, TenantID               string
	Cloud, Location                     string
	PrivateZoneConfig, PublicZoneConfig DnsZoneConfig
	ConcurrencyWatchdogThres            float64
	ConcurrencyWatchdogVotes            int
	DisableOSM                          bool
	OperatorDeployment                  string
	ClusterUid                          string
	DnsSyncInterval                     time.Duration
	CrdPath                             string
}

func (*Config) ParseAndValidateZoneIDs added in v0.0.2

func (c *Config) ParseAndValidateZoneIDs(zonesString string) error

func (*Config) Validate

func (c *Config) Validate() error

type ControllerConfig added in v0.2.2

type ControllerConfig int

ControllerConfig specifies configuration options for an Ingress Controller

const (
	// Standard means no special configuration rules are applied to the Controller
	Standard ControllerConfig = iota
	// Public means the Ingress Controller is exposed externally and is public facing
	Public
	// Private means the Ingress Controller is internally facing and is backed by a private IP address
	Private
	// Off means the Ingress Controller isn't used
	Off
)

func (*ControllerConfig) Set added in v0.2.2

func (c *ControllerConfig) Set(val string) error

func (*ControllerConfig) String added in v0.2.2

func (c *ControllerConfig) String() string

type DnsZoneConfig added in v0.0.2

type DnsZoneConfig struct {
	Subscription  string
	ResourceGroup string
	ZoneIds       map[string]struct{}
}

Jump to

Keyboard shortcuts

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