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
Click to show internal directories.
Click to hide internal directories.