Documentation ¶
Index ¶
- Constants
- func CreateFakePersistentVolume(ctx context.Context, virtualClient client.Client, name types.NamespacedName, ...) error
- func NewPersistentVolumeTranslator(physicalNamespace string) translate.PhysicalNameTranslator
- func Register(ctx *context2.ControllerContext, eventBroadcaster record.EventBroadcaster) error
- func RegisterFakeSyncer(ctx *context2.ControllerContext) error
- func RegisterIndices(ctx *context2.ControllerContext) error
- func RegisterSyncer(ctx *context2.ControllerContext) error
- func RegisterSyncerIndices(ctx *context2.ControllerContext) error
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(physicalNamespace 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.
Click to show internal directories.
Click to hide internal directories.