Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsInvalidVersion ¶
IsInvalidVersion asserts invalidVersionError.
Types ¶
type Cluster ¶
type Cluster struct {
*controller.Controller
}
func NewCluster ¶
func NewCluster(config ClusterConfig) (*Cluster, error)
type ClusterConfig ¶
type ClusterConfig struct { CertsSearcher certs.Interface K8sClient k8sclient.Interface Logger micrologger.Logger WorkloadCluster workloadcluster.Interface ClusterRoleGeneral string ClusterRolePSP string DNSServers string IgnitionPath string NTPServers string OIDC ClusterConfigOIDC Proxy Proxy SSOPublicKey string DockerhubToken string RegistryDomain string RegistryMirrors []string }
type ClusterConfigOIDC ¶
type ClusterConfigOIDC struct { ClientID string IssuerURL string UsernameClaim string UsernamePrefix string GroupsClaim string GroupsPrefix string }
ClusterConfigOIDC represents the configuration of the OIDC authorization provider.
type Deleter ¶
type Deleter struct {
*controller.Controller
}
func NewDeleter ¶
func NewDeleter(config DeleterConfig) (*Deleter, error)
type DeleterConfig ¶
type DeleterConfig struct { CertsSearcher certs.Interface K8sClient k8sclient.Interface Logger micrologger.Logger WorkloadCluster workloadcluster.Interface ProjectName string }
type Drainer ¶
type Drainer struct {
*controller.Controller
}
func NewDrainer ¶
func NewDrainer(config DrainerConfig) (*Drainer, error)
type DrainerConfig ¶
type DrainerConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger ProjectName string }
type UnhealthyNodeTerminator ¶
type UnhealthyNodeTerminator struct {
*controller.Controller
}
func NewUnhealthyNodeTerminator ¶
func NewUnhealthyNodeTerminator(config UnhealthyNodeTerminatorConfig) (*UnhealthyNodeTerminator, error)
type UnhealthyNodeTerminatorConfig ¶
type UnhealthyNodeTerminatorConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger WorkloadCluster workloadcluster.Interface ProjectName string TerminateUnhealthyNodes bool }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.