persistentvolumes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func CreateFakePersistentVolume

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

func Register

func Register(ctx *context2.ControllerContext) error

func RegisterFakeSyncer

func RegisterFakeSyncer(ctx *context2.ControllerContext) error

func RegisterIndices added in v0.3.0

func RegisterIndices(ctx *context2.ControllerContext) error

func RegisterSyncer

func RegisterSyncer(ctx *context2.ControllerContext) error

func TranslatePersistentVolumeName added in v0.4.0

func TranslatePersistentVolumeName(physicalNamespace, name string, vObj runtime.Object) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳