Versions in this module Expand all Collapse all v0 v0.8.1 Aug 1, 2018 v0.8.0 Jul 18, 2018 Changes in this version + const DefaultCreateProvisionedPVInterval + const DefaultCreateProvisionedPVRetryCount + const DefaultExponentialBackOffOnError + const DefaultFailedDeleteThreshold + const DefaultFailedProvisionThreshold + const DefaultLeaseDuration + const DefaultRenewDeadline + const DefaultResyncPeriod + const DefaultRetryPeriod + const DefaultTermLimit + func CreateProvisionedPVInterval(createProvisionedPVInterval time.Duration) func(*ProvisionController) error + func CreateProvisionedPVRetryCount(createProvisionedPVRetryCount int) func(*ProvisionController) error + func ExponentialBackOffOnError(exponentialBackOffOnError bool) func(*ProvisionController) error + func FailedDeleteThreshold(failedDeleteThreshold int) func(*ProvisionController) error + func FailedProvisionThreshold(failedProvisionThreshold int) func(*ProvisionController) error + func LeaseDuration(leaseDuration time.Duration) func(*ProvisionController) error + func RenewDeadline(renewDeadline time.Duration) func(*ProvisionController) error + func ResyncPeriod(resyncPeriod time.Duration) func(*ProvisionController) error + func RetryPeriod(retryPeriod time.Duration) func(*ProvisionController) error + func TermLimit(termLimit time.Duration) func(*ProvisionController) error + type IgnoredError struct + Reason string + func (e *IgnoredError) Error() string + type ProvisionController struct + func NewProvisionController(client kubernetes.Interface, provisionerName string, provisioner Provisioner, ...) *ProvisionController + func (ctrl *ProvisionController) HasRun() bool + func (ctrl *ProvisionController) Run(stopCh <-chan struct{}) + func (ctrl *ProvisionController) SetFailedDeleteThreshold(threshold int) + func (ctrl *ProvisionController) SetFailedProvisionThreshold(threshold int) + type Provisioner interface + Delete func(*v1.PersistentVolume) error + Provision func(VolumeOptions) (*v1.PersistentVolume, error) + type VolumeOptions struct + PVC *v1.PersistentVolumeClaim + PVName string + Parameters map[string]string + PersistentVolumeReclaimPolicy v1.PersistentVolumeReclaimPolicy