Documentation
¶
Index ¶
Constants ¶
View Source
const (
ExternalClusterReferenceFinalizer = "ecr.steward.butlerlabs.dev/finalizer"
)
Variables ¶
View Source
var ( ErrExternalClusterReferenceNotEnabled = errors.New("external cluster feature gates are not enabled") ErrExternalClusterReferenceCrossNamespaceReference = errors.New("the ExternalClusterReference is enforcing kubeconfig in the same Namespace, ExternalClusterReferenceCrossNamespace must be enabled") ErrExternalCLusterReferenceSecretEmptyError = errors.New("could not extract kubeconfig for external cluster reference, secret is empty") ErrExternalClusterReferenceSecretKeyEmpty = errors.New("could not extract kubeconfig for external cluster reference, key is empty") ErrExternalClusterReferenceNonInitializedStore = errors.New("remote manager is not yet initialized") ErrExternalClusterReferenceTenantControlPlaneNotFound = errors.New("TenantControlPlane custom resource not available in external cluster") )
View Source
var ErrEnqueueBack = errors.New("enqueue back")
View Source
var ErrUnsupportedCertificateSAN = errors.New("a certificate SAN must be made of host only with no port")
Functions ¶
func TrackConditionType ¶
Types ¶
type ExternalClusterReferenceReconciler ¶
type ExternalClusterReferenceReconciler struct {
Client client.Client
Store externalclusterreference.Store
TriggerChannel chan event.GenericEvent
}
func (*ExternalClusterReferenceReconciler) SetupWithManager ¶
func (r *ExternalClusterReferenceReconciler) SetupWithManager(mgr ctrl.Manager) error
type PushStewardChange ¶
type PushStewardChange struct {
ParentClient client.Client
Client client.Client
TriggerChannel chan event.GenericEvent
}
func (*PushStewardChange) SetupWithManager ¶
func (p *PushStewardChange) SetupWithManager(mgr ctrl.Manager) error
type StewardControlPlaneReconciler ¶
type StewardControlPlaneReconciler struct {
ExternalClusterReferenceStore externalclusterreference.Store
FeatureGates featuregate.FeatureGate
MaxConcurrentReconciles int
DynamicInfrastructureClusters sets.Set[string]
// contains filtered or unexported fields
}
StewardControlPlaneReconciler reconciles a StewardControlPlane object.
func (*StewardControlPlaneReconciler) SetupWithManager ¶
func (r *StewardControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, channel chan event.GenericEvent) error
SetupWithManager sets up the controller with the Manager.
type UnmanagedControlPlaneAddressError ¶
type UnmanagedControlPlaneAddressError struct {
Kind string
}
func NewUnmanagedControlPlaneAddressError ¶
func NewUnmanagedControlPlaneAddressError(kind string) *UnmanagedControlPlaneAddressError
func (UnmanagedControlPlaneAddressError) Error ¶
func (u UnmanagedControlPlaneAddressError) Error() string
Source Files
¶
- conditions.go
- externalclusterreference_controller.go
- stewardcontrolplane_controller.go
- stewardcontrolplane_controller_cluster_patch.go
- stewardcontrolplane_controller_cluster_patch_errors.go
- stewardcontrolplane_controller_externalreference.go
- stewardcontrolplane_controller_resources.go
- stewardcontrolplane_controller_tcp.go
- stewardcontrolplane_finalizer.go
Click to show internal directories.
Click to hide internal directories.