Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- func NewAzureCluster(config AzureClusterConfig) (*controller.Controller, error)
- func NewAzureConfig(config AzureConfigConfig) (*controller.Controller, error)
- func NewAzureMachinePool(config AzureMachinePoolConfig) (*controller.Controller, error)
- func NewAzureMachinePoolResourceSet(config AzureMachinePoolConfig) ([]resource.Interface, error)
- func NewCluster(config ClusterConfig) (*controller.Controller, error)
- func NewClusterResourceSet(config ClusterConfig) ([]resource.Interface, error)
- func NewMachinePool(config MachinePoolConfig) (*controller.Controller, error)
- func NewMachinePoolResourceSet(config MachinePoolConfig) ([]resource.Interface, error)
- type AzureClusterConfig
- type AzureConfig
- type AzureConfigConfig
- type AzureMachinePoolConfig
- type ClusterConfig
- type MachinePoolConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func NewAzureCluster ¶
func NewAzureCluster(config AzureClusterConfig) (*controller.Controller, error)
func NewAzureConfig ¶
func NewAzureConfig(config AzureConfigConfig) (*controller.Controller, error)
func NewAzureMachinePool ¶
func NewAzureMachinePool(config AzureMachinePoolConfig) (*controller.Controller, error)
func NewAzureMachinePoolResourceSet ¶
func NewAzureMachinePoolResourceSet(config AzureMachinePoolConfig) ([]resource.Interface, error)
func NewCluster ¶
func NewCluster(config ClusterConfig) (*controller.Controller, error)
func NewClusterResourceSet ¶
func NewClusterResourceSet(config ClusterConfig) ([]resource.Interface, error)
func NewMachinePool ¶
func NewMachinePool(config MachinePoolConfig) (*controller.Controller, error)
func NewMachinePoolResourceSet ¶
func NewMachinePoolResourceSet(config MachinePoolConfig) ([]resource.Interface, error)
Types ¶
type AzureClusterConfig ¶
type AzureClusterConfig struct { CredentialProvider credential.Provider InstallationName string K8sClient k8sclient.Interface Logger micrologger.Logger Flag *flag.Flag Viper *viper.Viper Azure setting.Azure CPAzureClientSet client.AzureClientSet ProjectName string RegistryDomain string Ignition setting.Ignition OIDC setting.OIDC SSOPublicKey string TemplateVersion string VMSSCheckWorkers int SentryDSN string }
type AzureConfig ¶
type AzureConfig struct {
*controller.Controller
}
type AzureConfigConfig ¶
type AzureConfigConfig struct { CredentialProvider credential.Provider InstallationName string K8sClient k8sclient.Interface Locker locker.Interface Logger micrologger.Logger Azure setting.Azure // Azure client set used when managing control plane resources CPAzureClientSet *client.AzureClientSet // Azure credentials used to create Azure client set for tenant clusters GSClientCredentialsConfig auth.ClientCredentialsConfig ProjectName string RegistryDomain string RegistryMirrors []string ClusterVNetMaskBits int Ignition setting.Ignition IPAMNetworkRange net.IPNet OIDC setting.OIDC SSOPublicKey string TemplateVersion string VMSSCheckWorkers int Debug setting.Debug SentryDSN string }
type AzureMachinePoolConfig ¶
type AzureMachinePoolConfig struct { APIServerSecurePort int Azure setting.Azure Calico azureconfig.CalicoConfig ClusterIPRange string CPAzureClientSet *client.AzureClientSet CredentialProvider credential.Provider EtcdPrefix string GSClientCredentialsConfig auth.ClientCredentialsConfig Ignition setting.Ignition InstallationName string K8sClient k8sclient.Interface Locker locker.Interface Logger micrologger.Logger OIDC setting.OIDC RegistryDomain string SentryDSN string SSHUserList string SSOPublicKey string VMSSCheckWorkers int VMSSMSIEnabled bool }
type ClusterConfig ¶
type MachinePoolConfig ¶
type MachinePoolConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger SentryDSN string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.