storage

package
v0.3.2-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 29 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(workers uint,
	virtualStorageClassName, remoteRealStorageClassName string, storageEnabled bool) 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.

Jump to

Keyboard shortcuts

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