persistentvolumes

package
v0.4.4-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 23 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 NewPersistentVolumeTranslator added in v0.4.4

func NewPersistentVolumeTranslator(targetNamespace string) translate.PhysicalNameTranslator

func Register

func Register(ctx *context2.ControllerContext, eventBroadcaster record.EventBroadcaster) 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 RegisterSyncerIndices added in v0.4.4

func RegisterSyncerIndices(ctx *context2.ControllerContext) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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