Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func NewMachinePoolResourceSet ¶
func NewMachinePoolResourceSet(config MachinePoolConfig) ([]resource.Interface, error)
Types ¶
type AzureCluster ¶
type AzureCluster struct {
*controller.Controller
}
func NewAzureCluster ¶
func NewAzureCluster(config AzureClusterConfig) (*AzureCluster, error)
type AzureClusterConfig ¶
type AzureClusterConfig struct { 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 Cluster ¶
type Cluster struct {
*controller.Controller
}
func NewCluster ¶
func NewCluster(config ClusterConfig) (*Cluster, error)
type ClusterConfig ¶
type ClusterConfig 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 GuestSubnetMaskBits int Ignition setting.Ignition IPAMNetworkRange net.IPNet OIDC setting.OIDC SSOPublicKey string TemplateVersion string VMSSCheckWorkers int DockerhubToken string RegistryDomain string RegistryMirrors []string SentryDSN string }
type MachinePool ¶
type MachinePool struct {
*controller.Controller
}
func NewMachinePool ¶
func NewMachinePool(config MachinePoolConfig) (*MachinePool, error)
type MachinePoolConfig ¶
type MachinePoolConfig struct { CredentialProvider credential.Provider GSClientCredentialsConfig auth.ClientCredentialsConfig GuestSubnetMaskBits int InstallationName string IPAMNetworkRange net.IPNet K8sClient k8sclient.Interface Locker locker.Interface Logger micrologger.Logger RegistryDomain string SentryDSN string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.