Documentation ¶
Index ¶
- func NewAWSDriverProvider() infraclient.ExternalDriverProvider
- type AwsDriverProvider
- func (d *AwsDriverProvider) Create(machineClassMeta *infraclient.MachineClassMeta, ...) (string, string, error)
- func (d *AwsDriverProvider) Delete(machineClassMeta *infraclient.MachineClassMeta, credentials, machineID string) error
- func (d *AwsDriverProvider) List(machineClassMeta *infraclient.MachineClassMeta, credentials, machineID string) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAWSDriverProvider ¶
func NewAWSDriverProvider() infraclient.ExternalDriverProvider
NewAWSDriverProvider creates a new instance of awsDriverProvider.
Types ¶
type AwsDriverProvider ¶
type AwsDriverProvider struct {
MachineClassDataProvider infraclient.MachineClassDataProvider
}
AwsDriverProvider implements infraclient.ExternalDriverProvider.
func (*AwsDriverProvider) Create ¶
func (d *AwsDriverProvider) Create(machineClassMeta *infraclient.MachineClassMeta, credentials, machineID, machineName string) (string, string, error)
Create creates a machine
func (*AwsDriverProvider) Delete ¶
func (d *AwsDriverProvider) Delete(machineClassMeta *infraclient.MachineClassMeta, credentials, machineID string) error
Delete deletes a machine
func (*AwsDriverProvider) List ¶
func (d *AwsDriverProvider) List(machineClassMeta *infraclient.MachineClassMeta, credentials, machineID string) (map[string]string, error)
List lists machines
Click to show internal directories.
Click to hide internal directories.