vsphere

package
v0.0.0-...-e561cac Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	*config.InfrastructureStatus
	// contains filtered or unexported fields
}

Provider is a provider struct for testing vSphere

func New

func New(clientset *clusterinfo.OpenShift, infraStatus *config.InfrastructureStatus) (*Provider, error)

New returns a new vSphere provider struct with the given client set and ssh key pair

func (*Provider) CreatePVC

func (p *Provider) CreatePVC(client client.Interface, namespace string, _ *core.PersistentVolume) (*core.PersistentVolumeClaim, error)

CreatePVC creates a PVC for a dynamically provisioned volume

func (*Provider) GenerateMachineSet

func (p *Provider) GenerateMachineSet(withIgnoreLabel bool, replicas int32, windowsServerVersion windows.ServerVersion) (*mapi.MachineSet, error)

GenerateMachineSet generates the MachineSet object which is vSphere provider specific

func (*Provider) GetType

func (p *Provider) GetType() config.PlatformType

func (*Provider) StorageSupport

func (p *Provider) StorageSupport() bool

Jump to

Keyboard shortcuts

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