Documentation ¶
Overview ¶
Package cosi implements the controller for the Ceph COSI Driver.
Index ¶
Constants ¶
View Source
const ( CephCOSIDriverName = "ceph-cosi-driver" COSISideCarName = "objectstorage-provisioner-sidecar" DefaultServiceAccountName = "objectstorage-provisioner" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, context *clusterd.Context, opManagerContext context.Context, opConfig opcontroller.OperatorConfig) error
Add creates a new CephCOSIDriver Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
Types ¶
type ReconcileCephCOSIDriver ¶
type ReconcileCephCOSIDriver struct {
// contains filtered or unexported fields
}
ReconcileCephCOSIDriver reconciles the Ceph COSI Driver
func (*ReconcileCephCOSIDriver) Reconcile ¶
func (r *ReconcileCephCOSIDriver) Reconcile(context context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a CephCOSIDriver object and makes changes based on the state read and what is in the CephCOSIDriver.Spec
Click to show internal directories.
Click to hide internal directories.