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
TenantCluster tenantcluster.Interface
ClusterRoleGeneral string
ClusterRolePSP string
CRDLabelSelector string
DNSServers string
GuestUpdateEnabled bool
IgnitionPath string
NTPServers string
OIDC ClusterConfigOIDC
Proxy Proxy
ProjectName string
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
TenantCluster tenantcluster.Interface
CRDLabelSelector string
ProjectName string
}
type Drainer ¶
type Drainer struct {
*controller.Controller
}
func NewDrainer ¶
func NewDrainer(config DrainerConfig) (*Drainer, error)
type DrainerConfig ¶
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
TenantCluster tenantcluster.Interface
ProjectName string
TerminateUnhealthyNodes bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.