Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool interface { GetPool(ctx context.Context, key client.ObjectKey) (*stosv1.Pool, error) ListPools(ctx context.Context) (*stosv1.PoolList, error) DeletePool(ctx context.Context, key client.ObjectKey) error UpdatePool(ctx context.Context, pool *stosv1.Pool) error CreatePool(ctx context.Context, pool *stosv1.Pool) (string, error) }
Pool provides access to StorageOS Pools.
type Reconciler ¶
Reconciler reconciles a Pool object
func NewReconciler ¶
func NewReconciler( api Pool, k8s client.Client, recorder record.EventRecorder) *Reconciler
NewReconciler returns a new SharedVolumeAPIReconciler.
func (*Reconciler) Reconcile ¶
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 (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.