Documentation ¶
Index ¶
Constants ¶
View Source
const ( // keys used to map out available controllers with disable-controllers flag BackupControllerKey = "backup" BackupSyncControllerKey = "backup-sync" ScheduleControllerKey = "schedule" GcControllerKey = "gc" BackupDeletionControllerKey = "backup-deletion" RestoreControllerKey = "restore" DownloadRequestControllerKey = "download-request" ResticRepoControllerKey = "restic-repo" ServerStatusRequestControllerKey = "server-status-request" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CSIInformerFactoryWrapper ¶ added in v1.4.0
type CSIInformerFactoryWrapper struct {
// contains filtered or unexported fields
}
CSIInformerFactoryWrapper is a proxy around the CSI SharedInformerFactory that checks the CSI feature flag before performing operations.
func NewCSIInformerFactoryWrapper ¶ added in v1.4.0
func NewCSIInformerFactoryWrapper(c snapshotv1beta1client.Interface) *CSIInformerFactoryWrapper
func (*CSIInformerFactoryWrapper) Start ¶ added in v1.4.0
func (w *CSIInformerFactoryWrapper) Start(stopCh <-chan struct{})
Start proxies the Start call to the CSI SharedInformerFactory.
func (*CSIInformerFactoryWrapper) WaitForCacheSync ¶ added in v1.4.0
func (w *CSIInformerFactoryWrapper) WaitForCacheSync(stopCh <-chan struct{}) map[reflect.Type]bool
WaitForCacheSync proxies the WaitForCacheSync call to the CSI SharedInformerFactory.
Click to show internal directories.
Click to hide internal directories.