azureconfig

package
v8.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func NewController

func NewController(config ControllerConfig) (*controller.Controller, error)

Types

type Controller

type Controller struct {
	*controller.Controller
}

type ControllerConfig

type ControllerConfig struct {
	CredentialProvider credential.Provider
	InstallationName   string
	K8sClient          k8sclient.Interface
	Locker             locker.Interface
	Logger             micrologger.Logger

	Azure                 setting.Azure
	AzureMetricsCollector collector.AzureAPIMetrics
	// Azure client set used when managing control plane resources
	CPAzureClientSet *client.AzureClientSet
	ProjectName      string

	ClusterVNetMaskBits int

	Ignition          setting.Ignition
	IPAMNetworkRange  net.IPNet
	IPAMReservedCIDRs []net.IPNet
	OIDC              setting.OIDC
	SSHUserList       employees.SSHUserList
	SSOPublicKey      string
	TemplateVersion   string

	DockerhubToken  string
	RegistryDomain  string
	RegistryMirrors []string

	Debug     setting.Debug
	SentryDSN string
}

Jump to

Keyboard shortcuts

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