Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct {
// contains filtered or unexported fields
}
ClusterReconciler reconciles a Cluster object
func NewClusterReconciler ¶
func NewClusterReconciler(client client.Client, log logr.Logger, scheme *runtime.Scheme, govc *executables.Govc, tracker *remote.ClusterCacheTracker) *ClusterReconciler
func (*ClusterReconciler) Reconcile ¶
func (r *ClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
+kubebuilder:rbac:groups=anywhere.eks.amazonaws.com,resources=clusters;vspheredatacenterconfigs;vspheremachineconfigs;dockerdatacenterconfigs;bundles;awsiamconfigs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=anywhere.eks.amazonaws.com,resources=oidcconfigs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=anywhere.eks.amazonaws.com,resources=clusters/status;vspheredatacenterconfigs/status;vspheremachineconfigs/status;dockerdatacenterconfigs/status;bundles/status;awsiamconfigs/status,verbs=;get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=anywhere.eks.amazonaws.com,resources=clusters/finalizers;vspheredatacenterconfigs/finalizers;vspheremachineconfigs/finalizers;dockerdatacenterconfigs/finalizers;bundles/finalizers;awsiamconfigs/finalizers,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=cluster.x-k8s.io,resources=*,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=daemonsets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=test,resources=test,verbs=get;list;watch;create;update;patch;delete;kill +kubebuilder:rbac:groups=distro.eks.amazonaws.com,resources=releases,verbs=get;list;watch
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterReconcilerLegacy ¶ added in v0.7.0
type ClusterReconcilerLegacy struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
ClusterReconcilerLegacy reconciles a Cluster object
func NewClusterReconcilerLegacy ¶ added in v0.7.0
func (*ClusterReconcilerLegacy) Reconcile ¶ added in v0.7.0
func (r *ClusterReconcilerLegacy) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ClusterReconcilerLegacy) SetupWithManager ¶ added in v0.7.0
func (r *ClusterReconcilerLegacy) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type VSphereDatacenterReconciler ¶ added in v0.7.0
type VSphereDatacenterReconciler struct {
clusters.VSphereReconciler
}
VSphereDatacenterReconciler reconciles a VSphereDatacenterConfig object
func NewVSphereDatacenterReconciler ¶ added in v0.7.0
func NewVSphereDatacenterReconciler(client client.Client, log logr.Logger, scheme *runtime.Scheme, govc *executables.Govc) *VSphereDatacenterReconciler
func (*VSphereDatacenterReconciler) Reconcile ¶ added in v0.7.0
func (r *VSphereDatacenterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
TODO: add here kubebuilder permissions as neeeded
func (*VSphereDatacenterReconciler) SetupWithManager ¶ added in v0.7.0
func (r *VSphereDatacenterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type VSphereMachineConfigReconciler ¶ added in v0.7.0
type VSphereMachineConfigReconciler struct {
// contains filtered or unexported fields
}
VSphereMachineConfigReconciler reconciles a VSphereDatacenterConfig object
func NewVSphereMachineConfigReconciler ¶ added in v0.7.0
func (*VSphereMachineConfigReconciler) Reconcile ¶ added in v0.7.0
func (r *VSphereMachineConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
TODO: add here kubebuilder permissions as neeeded
func (*VSphereMachineConfigReconciler) SetupWithManager ¶ added in v0.7.0
func (r *VSphereMachineConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.