config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 5 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 {
	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
}

func (*Config) ParseAndValidateZoneIDs added in v0.0.2

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

func (*Config) Validate

func (c *Config) Validate() error

type DnsZoneConfig added in v0.0.2

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

Jump to

Keyboard shortcuts

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