storage

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package storage implements the reflection logic for persistentvolumeclaims.

Index

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

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.

Jump to

Keyboard shortcuts

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