Documentation
¶
Index ¶
- func IsInvalidConfig(err error) bool
- func IsWrongTypeError(err error) bool
- func NewClusterResourceSet(config ClusterResourceSetConfig) (*controller.ResourceSet, error)
- func NewMachineDeploymentResourceSet(config MachineDeploymentResourceSetConfig) (*controller.ResourceSet, error)
- func VersionBundle() versionbundle.Bundle
- type ClusterResourceSetConfig
- type MachineDeploymentResourceSetConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
func NewClusterResourceSet ¶
func NewClusterResourceSet(config ClusterResourceSetConfig) (*controller.ResourceSet, error)
NewClusterResourceSet returns a configured Cluster API's Cluster controller ResourceSet.
func NewMachineDeploymentResourceSet ¶
func NewMachineDeploymentResourceSet(config MachineDeploymentResourceSetConfig) (*controller.ResourceSet, error)
func VersionBundle ¶
func VersionBundle() versionbundle.Bundle
Types ¶
type ClusterResourceSetConfig ¶
type ClusterResourceSetConfig struct { ApprClient *apprclient.Client CertsSearcher certs.Interface ClusterClient *clusterclient.Client CMAClient clientset.Interface FileSystem afero.Fs G8sClient versioned.Interface K8sClient kubernetes.Interface Logger micrologger.Logger Tenant tenantcluster.Interface APIIP string CalicoAddress string CalicoPrefixLength string CertTTL string ClusterIPRange string DNSIP string Provider string RegistryDomain string }
ClusterResourceSetConfig contains necessary dependencies and settings for Cluster API's Cluster controller ResourceSet configuration.
type MachineDeploymentResourceSetConfig ¶
type MachineDeploymentResourceSetConfig struct { CMAClient clientset.Interface G8sClient versioned.Interface Logger micrologger.Logger Tenant tenantcluster.Interface }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.