Documentation ¶
Index ¶
Constants ¶
const (
DurosFinalizerName = "storage.metal-stack.io/finalizer"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DurosReconciler ¶
type DurosReconciler struct { client.Client Shoot client.Client DiscoveryClient *discovery.DiscoveryClient Log logr.Logger Namespace string DurosClient durosv2.DurosAPIClient Endpoints string AdminKey []byte }
DurosReconciler reconciles a Duros object
func (*DurosReconciler) Reconcile ¶
Reconcile the Duros CRD +kubebuilder:rbac:groups=storage.metal-stack.io,resources=duros,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=storage.metal-stack.io,resources=duros/status,verbs=get;update;patch +kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=storage.k8s.io,resources=csidrivers;csinodes;volumeattachments;storageclasses,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterroles;clusterrolebindings,verbs=get;list;watch;create;update;patch;delete +kubebuilder:apps:groups=policy,resources=statefulsets;daemonsets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:apps:groups="",resources=configmaps;events;secrets;serviceaccounts;nodes;persistentvolumes;persistentvolumeclaims;persistentvolumeclaims/status;pods,verbs=get;list;watch;create;update;patch;delete
func (*DurosReconciler) SetupWithManager ¶
func (r *DurosReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager boilerplate to setup the Reconciler