blockdeviceclaim

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL