Documentation
¶
Index ¶
Constants ¶
View Source
const ( // OCIProvisionerName is the name of the provisioner defined in the storage class definitions OCIProvisionerName = "oracle/oci" // LabelZoneFailureDomain the availability domain in which the PD resides. LabelZoneFailureDomain = "failure-domain.beta.kubernetes.io/zone" // LabelZoneRegion the region in which the PD resides. LabelZoneRegion = "failure-domain.beta.kubernetes.io/region" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProvisionerPlugin ¶
type ProvisionerPlugin interface {
// Provision creates a volume i.e. the storage asset and returns a PV object
// for the volume
Provision(controller.ProvisionOptions, *identity.AvailabilityDomain) (*v1.PersistentVolume, error)
// Delete removes the storage asset that was created by Provision backing the
// given PV. Does not delete the PV object itself.
//
// May return IgnoredError to indicate that the call has been ignored and no
// action taken.
Delete(*v1.PersistentVolume) error
}
ProvisionerPlugin implements the controller plugin plus some extras that are common
Click to show internal directories.
Click to hide internal directories.