Documentation ¶
Overview ¶
Package storage implements the reflection logic for persistentvolumeclaims.
Index ¶
- Constants
- func NewNamespacedPersistentVolumeClaimReflector(virtualStorageClassName, remoteRealStorageClassName string, ...) func(*options.NamespacedOpts) manager.NamespacedReflector
- func NewPersistentVolumeClaimReflector(virtualStorageClassName, remoteRealStorageClassName string, ...) manager.Reflector
- type NamespacedPersistentVolumeClaimReflector
Constants ¶
View Source
const (
// PersistentVolumeClaimReflectorName -> The name associated with the PersistentVolumeClaim reflector.
PersistentVolumeClaimReflectorName = "PersistentVolumeClaim"
)
Variables ¶
This section is empty.
Functions ¶
func NewNamespacedPersistentVolumeClaimReflector ¶
func NewNamespacedPersistentVolumeClaimReflector(virtualStorageClassName, remoteRealStorageClassName string, storageEnabled bool) func(*options.NamespacedOpts) manager.NamespacedReflector
NewNamespacedPersistentVolumeClaimReflector returns a function generating NamespacedPersistentVolumeClaimReflector instances.
func NewPersistentVolumeClaimReflector ¶
func NewPersistentVolumeClaimReflector(virtualStorageClassName, remoteRealStorageClassName string, storageEnabled bool, reflectorConfig *generic.ReflectorConfig) manager.Reflector
NewPersistentVolumeClaimReflector returns a new PersistentVolumeClaimReflector instance.
Types ¶
type NamespacedPersistentVolumeClaimReflector ¶
type NamespacedPersistentVolumeClaimReflector struct { generic.NamespacedReflector // contains filtered or unexported fields }
NamespacedPersistentVolumeClaimReflector manages the PersistentVolumeClaim reflection for a given pair of local and remote namespaces.
func (*NamespacedPersistentVolumeClaimReflector) Handle ¶
func (npvcr *NamespacedPersistentVolumeClaimReflector) Handle(ctx context.Context, name string) error
Handle reconciles PersistentVolumeClaim objects.
func (*NamespacedPersistentVolumeClaimReflector) List ¶ added in v0.9.0
func (npvcr *NamespacedPersistentVolumeClaimReflector) List() ([]interface{}, error)
List lists all PersistentVolumeClaims in the local cluster.
Click to show internal directories.
Click to hide internal directories.