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 AzureMetricsCollector collector.AzureAPIMetrics CPAzureClientSet client.AzureClientSet ProjectName string RegistryDomain string Ignition setting.Ignition OIDC setting.OIDC SSOPublicKey string TemplateVersion string 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 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 OIDC setting.OIDC SSHUserList employees.SSHUserList SSOPublicKey string TemplateVersion string DockerhubToken string RegistryDomain string RegistryMirrors []string Debug setting.Debug SentryDSN string }
type AzureMachinePoolConfig ¶
type AzureMachinePoolConfig struct { APIServerSecurePort int Azure setting.Azure AzureMetricsCollector collector.AzureAPIMetrics Calico azureconfig.CalicoConfig ClusterIPRange string CPAzureClientSet *client.AzureClientSet CredentialProvider credential.Provider DockerhubToken string EtcdPrefix string Ignition setting.Ignition InstallationName string K8sClient k8sclient.Interface Locker locker.Interface Logger micrologger.Logger OIDC setting.OIDC RegistryDomain string SentryDSN string SSHUserList employees.SSHUserList SSOPublicKey string VMSSMSIEnabled bool }
type ClusterConfig ¶
type MachinePoolConfig ¶
type MachinePoolConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger SentryDSN string }
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
resource
|
|
workermigration/internal/mock_azure
Package mock_azure is a generated GoMock package.
|
Package mock_azure is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.