Documentation ¶
Index ¶
Constants ¶
View Source
const (
ExternalClusterReferenceFinalizer = "ecr.kamaji.clastix.io/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") )
View Source
var ErrEnqueueBack = errors.New("enqueue back")
Functions ¶
func TrackConditionType ¶ added in v0.4.0
Types ¶
type ExternalClusterReferenceReconciler ¶ added in v0.10.0
type ExternalClusterReferenceReconciler struct { Client client.Client Store externalclusterreference.Store TriggerChannel chan event.GenericEvent }
func (*ExternalClusterReferenceReconciler) SetupWithManager ¶ added in v0.10.0
func (r *ExternalClusterReferenceReconciler) SetupWithManager(mgr ctrl.Manager) error
type KamajiControlPlaneReconciler ¶
type KamajiControlPlaneReconciler struct { ExternalClusterReferenceStore externalclusterreference.Store FeatureGates featuregate.FeatureGate MaxConcurrentReconciles int // contains filtered or unexported fields }
KamajiControlPlaneReconciler reconciles a KamajiControlPlane object.
func (*KamajiControlPlaneReconciler) SetupWithManager ¶
func (r *KamajiControlPlaneReconciler) SetupWithManager(mgr ctrl.Manager, channel chan event.GenericEvent) error
SetupWithManager sets up the controller with the Manager.
type PushKamajiChange ¶ added in v0.10.0
type PushKamajiChange struct { ParentClient client.Client Client client.Client TriggerChannel chan event.GenericEvent }
func (*PushKamajiChange) SetupWithManager ¶ added in v0.10.0
func (p *PushKamajiChange) SetupWithManager(mgr ctrl.Manager) error
type UnmanagedControlPlaneAddressError ¶ added in v0.2.2
type UnmanagedControlPlaneAddressError struct {
Kind string
}
func NewUnmanagedControlPlaneAddressError ¶ added in v0.2.2
func NewUnmanagedControlPlaneAddressError(kind string) *UnmanagedControlPlaneAddressError
func (UnmanagedControlPlaneAddressError) Error ¶ added in v0.2.2
func (u UnmanagedControlPlaneAddressError) Error() string
Source Files ¶
- conditions.go
- externalclusterreference_controller.go
- kamajicontrolplane_controller.go
- kamajicontrolplane_controller_cluster_patch.go
- kamajicontrolplane_controller_cluster_patch_errors.go
- kamajicontrolplane_controller_externalreference.go
- kamajicontrolplane_controller_resources.go
- kamajicontrolplane_controller_tcp.go
- kamajicontrolplane_finalizer.go
Click to show internal directories.
Click to hide internal directories.