server

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 54 Imported by: 5

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

func NewCommand

func NewCommand(f client.Factory) *cobra.Command

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL