Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Cluster ¶
type Cluster struct {
*controller.Controller
}
func NewCluster ¶
func NewCluster(config ClusterConfig) (*Cluster, error)
NewCluster returns a configured AWSClusterConfig controller implementation.
type ClusterConfig ¶
type ClusterConfig struct {
ApprClient *apprclient.Client
CertsSearcher certs.Interface
ClusterClient *clusterclient.Client
CMAClient clientset.Interface
FileSystem afero.Fs
G8sClient versioned.Interface
K8sClient kubernetes.Interface
K8sExtClient apiextensionsclient.Interface
Logger micrologger.Logger
Tenant tenantcluster.Interface
APIIP string
CalicoAddress string
CalicoPrefixLength string
CertTTL string
ClusterIPRange string
DNSIP string
Provider string
RegistryDomain string
}
ClusterConfig contains necessary dependencies and settings for Cluster API's Cluster CRD controller implementation.
type MachineDeployment ¶
type MachineDeployment struct {
*controller.Controller
}
func NewMachineDeployment ¶
func NewMachineDeployment(config MachineDeploymentConfig) (*MachineDeployment, error)
type MachineDeploymentConfig ¶
type MachineDeploymentConfig struct {
CMAClient clientset.Interface
G8sClient versioned.Interface
K8sExtClient apiextensionsclient.Interface
Logger micrologger.Logger
Tenant tenantcluster.Interface
ProjectName string
Provider string
}
Click to show internal directories.
Click to hide internal directories.