persistentvolumes

package
v0.16.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HostClusterPersistentVolumeAnnotation = "vcluster.loft.sh/host-pv"
	LockPersistentVolume                  = "vcluster.loft.sh/lock"
)

Variables

This section is empty.

Functions

func CreateFakePersistentVolume

func CreateFakePersistentVolume(ctx context.Context, virtualClient client.Client, name types.NamespacedName, vPvc *corev1.PersistentVolumeClaim) error

func New added in v0.6.0

func NewFakeSyncer added in v0.6.0

func NewFakeSyncer(*synccontext.RegisterContext) (syncer.Object, error)

func NewPersistentVolumeTranslator added in v0.4.4

func NewPersistentVolumeTranslator() translate.PhysicalNameTranslator

func NewSyncer added in v0.6.0

func NewSyncer(ctx *synccontext.RegisterContext) (syncer.Object, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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