config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 7 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
	OperatorNs                          string
	OperatorDeployment                  string
	OperatorWebhookService              string
	OperatorWebhookServiceUrl           string
	WebhookPort                         int
	ClusterUid                          string
	DnsSyncInterval                     time.Duration
	CrdPath                             string
	CertDir                             string
	CertName, KeyName, CaName           string
	EnableWebhook                       bool
}

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