Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ProvisionerNameDefault is the name of the default OCI volume provisioner (block) ProvisionerNameDefault = "oracle.com/oci" // ProvisionerNameBlock is the name of the OCI block volume provisioner ProvisionerNameBlock = "oracle.com/oci-block" // ProvisionerNameFss is the name of the OCI FSS dedicated storage provisioner ProvisionerNameFss = "oracle.com/oci-fss" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OCIProvisioner ¶
type OCIProvisioner struct {
// contains filtered or unexported fields
}
OCIProvisioner is a dynamic volume provisioner that satisfies the Kubernetes external storage Provisioner controller interface
func NewOCIProvisioner ¶
func NewOCIProvisioner(logger *zap.SugaredLogger, kubeClient kubernetes.Interface, nodeInformer informersv1.NodeInformer, provisionerType string, nodeName string, volumeRoundingEnabled bool, minVolumeSize resource.Quantity) (*OCIProvisioner, error)
NewOCIProvisioner creates a new OCI provisioner.
func (*OCIProvisioner) Delete ¶
func (p *OCIProvisioner) Delete(volume *v1.PersistentVolume) error
Delete removes the storage asset that was created by Provision represented by the given PV.
func (*OCIProvisioner) Provision ¶
func (p *OCIProvisioner) Provision(options controller.VolumeOptions) (*v1.PersistentVolume, error)
Provision creates a storage asset and returns a PV object representing it.
func (*OCIProvisioner) Ready ¶
func (p *OCIProvisioner) Ready(stopCh <-chan struct{}) error
Ready waits unitl the the nodeLister has been synced.
Click to show internal directories.
Click to hide internal directories.