Documentation ¶
Index ¶
- type Provider
- func (p *Provider) CreatePVC(c client.Interface, namespace string, pv *core.PersistentVolume) (*core.PersistentVolumeClaim, error)
- func (p *Provider) GenerateMachineSet(_ bool, replicas int32, version windows.ServerVersion) (*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 {
// contains filtered or unexported fields
}
Provider is a provider struct for testing platform=none
func New ¶
func New(clientset *clusterinfo.OpenShift) (*Provider, error)
New returns a Provider implementation for platform=none
func (*Provider) CreatePVC ¶
func (p *Provider) CreatePVC(c client.Interface, namespace string, pv *core.PersistentVolume) (*core.PersistentVolumeClaim, error)
func (*Provider) GenerateMachineSet ¶
func (p *Provider) GenerateMachineSet(_ bool, replicas int32, version windows.ServerVersion) (*mapi.MachineSet, error)
GenerateMachineSet is not supported for platform=none and throws an exception
func (*Provider) GetType ¶
func (p *Provider) GetType() config.PlatformType
GetType returns the platform type for platform=none
func (*Provider) StorageSupport ¶
Click to show internal directories.
Click to hide internal directories.