providers

package
v0.0.0-...-485f473 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudProvider

type CloudProvider interface {
	// GenerateMachineSet generates provider specific Windows Server version MachineSet with the given replicas and
	// the ignore label if the boolean is set
	GenerateMachineSet(bool, int32, windows.ServerVersion) (*mapi.MachineSet, error)
	// GetType returns the cloud provider type ex: AWS, Azure etc
	GetType() config.PlatformType
	// StorageSupport indicates if we support Windows storage on this provider
	StorageSupport() bool
	// CreatePVC creates a new PersistentVolumeClaim that can be used by a workload. The PVC will be created with
	// the given client, in the given namespace. If a PV is provided, the PVC will be provisioned from the PVC. Else,
	// it will be dynamically provisioned via a StorageClass.
	CreatePVC(client.Interface, string, *core.PersistentVolume) (*core.PersistentVolumeClaim, error)
}

func NewCloudProvider

func NewCloudProvider() (CloudProvider, error)

NewCloudProvider returns a CloudProvider interface or an error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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