Documentation ¶
Index ¶
- Constants
- func CreateFakePersistentVolume(ctx context.Context, virtualClient client.Client, name types.NamespacedName, ...) error
- func New(ctx *synccontext.RegisterContext) (syncer.Object, error)
- func NewFakeSyncer(ctx *synccontext.RegisterContext) (syncer.Object, error)
- func NewPersistentVolumeTranslator(physicalNamespace string) translator.PhysicalNameTranslator
- func NewSyncer(ctx *synccontext.RegisterContext) (syncer.Object, error)
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 New(ctx *synccontext.RegisterContext) (syncer.Object, error)
func NewFakeSyncer ¶ added in v0.6.0
func NewFakeSyncer(ctx *synccontext.RegisterContext) (syncer.Object, error)
func NewPersistentVolumeTranslator ¶ added in v0.4.4
func NewPersistentVolumeTranslator(physicalNamespace string) translator.PhysicalNameTranslator
func NewSyncer ¶ added in v0.6.0
func NewSyncer(ctx *synccontext.RegisterContext) (syncer.Object, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.