vmoperator

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package vmoperator contains utils to run tests with the vm-operator in standalone mode.

Index

Constants

View Source
const DefaultNamespace = "vmware-system-vmop"

Variables

This section is empty.

Functions

func GetDistributedPortGroup

func GetDistributedPortGroup(ctx context.Context, c client.Client) (string, error)

GetDistributedPortGroup returns a DistributedPortGroup from vm-operator config.

func GetVCenterSession

func GetVCenterSession(ctx context.Context, c client.Client) (*session.Session, error)

GetVCenterSession returns a VCenter session from vm-operator config.

func ReconcileDependencies

func ReconcileDependencies(ctx context.Context, c client.Client, dependenciesConfig *vcsimv1.VMOperatorDependencies) error

ReconcileDependencies reconciles dependencies for the vm-operator. NOTE: This func is idempotent, it creates objects if missing otherwise it uses existing ones (this will allow e.g. to update images once and re-use for many test run).

Types

This section is empty.

Jump to

Keyboard shortcuts

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