Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- func IsNotFound(err error) bool
- func IsTooManyCRsError(err error) bool
- func NewControlPlane(config ControlPlaneConfig) (k8sclient.Interface, error)
- func NewTenantCluster(config TenantClusterConfig) (k8sclient.Interface, error)
- type ControlPlaneConfig
- type TenantClusterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsTooManyCRsError ¶
IsTooManyCRsError asserts tooManyCRsError.
func NewControlPlane ¶
func NewControlPlane(config ControlPlaneConfig) (k8sclient.Interface, error)
func NewTenantCluster ¶
func NewTenantCluster(config TenantClusterConfig) (k8sclient.Interface, error)
Types ¶
type ControlPlaneConfig ¶
type ControlPlaneConfig struct { Logger micrologger.Logger KubeConfig string }
type TenantClusterConfig ¶
type TenantClusterConfig struct { ControlPlane k8sclient.Interface Logger micrologger.Logger TenantCluster string }
Click to show internal directories.
Click to hide internal directories.