azurecluster

package
v5.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 30 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 ControllerConfig

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

	Flag  *flag.Flag
	Viper *viper.Viper

	Azure                 setting.Azure
	AzureMetricsCollector collector.AzureAPIMetrics
	CPAzureClientSet      client.AzureClientSet
	ProjectName           string
	RegistryDomain        string

	Ignition        setting.Ignition
	OIDC            setting.OIDC
	SSOPublicKey    string
	TemplateVersion string

	SentryDSN string
}

Jump to

Keyboard shortcuts

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