none

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: 10 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 {
	// 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

func (p *Provider) StorageSupport() bool

Jump to

Keyboard shortcuts

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