Documentation ¶
Index ¶
- type Provider
- func (p *Provider) CreatePVC(client client.Interface, namespace string, _ *core.PersistentVolume) (*core.PersistentVolumeClaim, error)
- func (p *Provider) GenerateMachineSet(withIgnoreLabel bool, replicas int32, ...) (*mapi.MachineSet, error)
- func (p *Provider) GetType() config.PlatformType
- func (p *Provider) StorageSupport() bool
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 ¶
Click to show internal directories.
Click to hide internal directories.