Documentation ¶
Index ¶
- func IsReconcileDisabled(bdc *apis.BlockDeviceClaim) bool
- type BlockDeviceClaimReconciler
- func (r *BlockDeviceClaimReconciler) FinalizerHandling(instance *apis.BlockDeviceClaim) error
- func (r *BlockDeviceClaimReconciler) GetBlockDevice(name string) (*apis.BlockDevice, error)
- func (r *BlockDeviceClaimReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *BlockDeviceClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsReconcileDisabled ¶
func IsReconcileDisabled(bdc *apis.BlockDeviceClaim) bool
IsReconcileDisabled is used to check if reconciliation is disabled for BlockDeviceClaim
Types ¶
type BlockDeviceClaimReconciler ¶
type BlockDeviceClaimReconciler struct { Client client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder }
BlockDeviceClaimReconciler reconciles a BlockDeviceClaim object
func (*BlockDeviceClaimReconciler) FinalizerHandling ¶
func (r *BlockDeviceClaimReconciler) FinalizerHandling(instance *apis.BlockDeviceClaim) error
FinalizerHandling removes the finalizer from the claim resource
func (*BlockDeviceClaimReconciler) GetBlockDevice ¶
func (r *BlockDeviceClaimReconciler) GetBlockDevice(name string) (*apis.BlockDevice, error)
GetBlockDevice get block device resource from etcd
func (*BlockDeviceClaimReconciler) Reconcile ¶
func (r *BlockDeviceClaimReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, 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. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile
func (*BlockDeviceClaimReconciler) SetupWithManager ¶
func (r *BlockDeviceClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.