Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
Types ¶
type Cluster ¶
type Cluster struct {
*controller.Controller
}
func NewCluster ¶
func NewCluster(config ClusterConfig) (*Cluster, error)
type ClusterConfig ¶
type ClusterConfig struct { CertsSearcher certs.Interface ClusterClient *clusterclient.Client FileSystem afero.Fs K8sClient k8sclient.Interface Logger micrologger.Logger Tenant tenantcluster.Interface APIIP string CalicoAddress string CalicoPrefixLength string CertTTL string ClusterIPRange string DNSIP string ClusterDomain string NewCommonClusterObjectFunc func() infrastructurev1alpha2.CommonClusterObject Provider string RawAppDefaultConfig string RawAppOverrideConfig string RegistryDomain string }
ClusterConfig contains necessary dependencies and settings for CAPI's Cluster CRD controller implementation.
type ControlPlane ¶
type ControlPlane struct {
*controller.Controller
}
func NewControlPlane ¶
func NewControlPlane(config ControlPlaneConfig) (*ControlPlane, error)
type ControlPlaneConfig ¶
type ControlPlaneConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger Provider string }
ControlPlaneConfig contains necessary dependencies and settings for the ControlPlane controller implementation.
type MachineDeployment ¶
type MachineDeployment struct {
*controller.Controller
}
func NewMachineDeployment ¶
func NewMachineDeployment(config MachineDeploymentConfig) (*MachineDeployment, error)
type MachineDeploymentConfig ¶
type MachineDeploymentConfig struct { ClusterClient *clusterclient.Client K8sClient k8sclient.Interface Logger micrologger.Logger Tenant tenantcluster.Interface Provider string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.