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 LegacyCluster ¶
type LegacyCluster struct {
*controller.Controller
}
func NewLegacyCluster ¶
func NewLegacyCluster(config LegacyClusterConfig) (*LegacyCluster, error)
NewLegacyCluster returns a configured KVMClusterConfig controller implementation.
type LegacyClusterConfig ¶
type LegacyClusterConfig struct { ApprClient *apprclient.Client BaseClusterConfig *cluster.Config CertSearcher certs.Interface Fs afero.Fs K8sClient k8sclient.Interface Logger micrologger.Logger Tenant tenantcluster.Interface CalicoAddress string CalicoPrefixLength string ClusterIPRange string ProjectName string Provider string RegistryDomain string ResourceNamespace string }
LegacyClusterConfig contains necessary dependencies and settings for KVMClusterConfig CRD controller implementation.
Click to show internal directories.
Click to hide internal directories.