Documentation
¶
Index ¶
Constants ¶
View Source
const ( SuccessSynced = "Synced" MessageResourceSynced = "NLSC synced successfully" AnnVolumeSnapshotBeingDeleted = "snapshot.storage.kubernetes.io/volumesnapshot-being-deleted" )
Variables ¶
View Source
var ( OrphanedSnapshotContent featuregate.Feature = "OrphanedSnapshotContent" UpdateNLS featuregate.Feature = "UpdateNLS" DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate() DefaultFeatureGate featuregate.FeatureGate = DefaultMutableFeatureGate )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( kubeclientset kubernetes.Interface, localclientset clientset.Interface, snapclientset snapshot.Interface, nodeInformer coreinformers.NodeInformer, nlsInformer localinformers.NodeLocalStorageInformer, nlscInformer localinformers.NodeLocalStorageInitConfigInformer, snapshotInformer snapshotinformers.VolumeSnapshotInformer, snapshotContentInformer snapshotinformers.VolumeSnapshotContentInformer, snapshotClassInformer snapshotinformers.VolumeSnapshotClassInformer, nlscName string) *Controller
NewController returns a new sample c
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{}) error
type WorkQueueItem ¶
type WorkQueueItem struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.