Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- type Cluster
- type ClusterConfig
- type ControlPlane
- type ControlPlaneConfig
- type ControlPlaneDrainer
- type ControlPlaneDrainerConfig
- type MachineDeployment
- type MachineDeploymentConfig
- type MachineDeploymentDrainer
- type MachineDeploymentDrainerConfig
- type TerminateUnhealthyNode
- type TerminateUnhealthyNodeConfig
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)
type ClusterConfig ¶
type ClusterConfig struct { CloudTags cloudtags.Interface Event event.Interface K8sClient k8sclient.Interface HAMaster hamaster.Interface Locker locker.Interface Logger micrologger.Logger AccessLogsExpiration int AdvancedMonitoringEC2 bool APIWhitelist tccp.ConfigAPIWhitelist CalicoCIDR int CalicoSubnet string DeleteLoggingBucket bool GuestPrivateSubnetMaskBits int GuestPublicSubnetMaskBits int GuestSubnetMaskBits int HostAWSConfig aws.Config IncludeTags bool InstallationName string IPAMNetworkRange net.IPNet RouteTables string Route53Enabled bool }
type ControlPlane ¶
type ControlPlane struct {
*controller.Controller
}
func NewControlPlane ¶
func NewControlPlane(config ControlPlaneConfig) (*ControlPlane, error)
type ControlPlaneConfig ¶
type ControlPlaneConfig struct { CertsSearcher certs.Interface CloudTags cloudtags.Interface Event event.Interface HAMaster hamaster.Interface Images images.Interface K8sClient k8sclient.Interface Logger micrologger.Logger RandomKeysSearcher randomkeys.Interface CalicoCIDR int CalicoMTU int CalicoSubnet string ClusterDomain string ClusterIPRange string DockerDaemonCIDR string DockerhubToken string ExternalSNAT bool HostAWSConfig aws.Config IgnitionPath string InstallationName string NetworkSetupDockerImage string PodInfraContainerImage string RegistryDomain string RegistryMirrors []string Route53Enabled bool SSHUserList string SSOPublicKey string }
type ControlPlaneDrainer ¶
type ControlPlaneDrainer struct {
*controller.Controller
}
func NewControlPlaneDrainer ¶
func NewControlPlaneDrainer(config ControlPlaneDrainerConfig) (*ControlPlaneDrainer, error)
type MachineDeployment ¶
type MachineDeployment struct {
*controller.Controller
}
func NewMachineDeployment ¶
func NewMachineDeployment(config MachineDeploymentConfig) (*MachineDeployment, error)
type MachineDeploymentConfig ¶
type MachineDeploymentConfig struct { CertsSearcher certs.Interface CloudTags cloudtags.Interface Event event.Interface HAMaster hamaster.Interface Images images.Interface K8sClient k8sclient.Interface Locker locker.Interface Logger micrologger.Logger RandomKeysSearcher randomkeys.Interface AlikeInstances string CalicoCIDR int CalicoMTU int CalicoSubnet string ClusterIPRange string DockerDaemonCIDR string DockerhubToken string ExternalSNAT bool GuestPrivateSubnetMaskBits int GuestPublicSubnetMaskBits int GuestSubnetMaskBits int HostAWSConfig aws.Config IgnitionPath string InstallationName string IPAMNetworkRange net.IPNet ClusterDomain string NetworkSetupDockerImage string PodInfraContainerImage string RegistryDomain string RegistryMirrors []string RouteTables string SSHUserList string SSOPublicKey string }
type MachineDeploymentDrainer ¶
type MachineDeploymentDrainer struct {
*controller.Controller
}
func NewMachineDeploymentDrainer ¶
func NewMachineDeploymentDrainer(config MachineDeploymentDrainerConfig) (*MachineDeploymentDrainer, error)
type TerminateUnhealthyNode ¶
type TerminateUnhealthyNode struct {
*controller.Controller
}
func NewTerminateUnhealthyNode ¶
func NewTerminateUnhealthyNode(config TerminateUnhealthyNodeConfig) (*TerminateUnhealthyNode, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
resource
|
|
region
Package region implements an operatorkit resource that addresses a problem where the tcnp resource would need to fetch the Cluster CR even though the MachineDeployment CR is reconciled.
|
Package region implements an operatorkit resource that addresses a problem where the tcnp resource would need to fetch the Cluster CR even though the MachineDeployment CR is reconciled. |
tccpazs
Package tccpazs implements a resource to gather all distinct availability zones for a tenant cluster.
|
Package tccpazs implements a resource to gather all distinct availability zones for a tenant cluster. |
tcnpazs
Package tcnpazs implements a resource to gather all private subnets for the configured availability zones of a node pool.
|
Package tcnpazs implements a resource to gather all private subnets for the configured availability zones of a node pool. |
Click to show internal directories.
Click to hide internal directories.