Documentation ¶
Index ¶
- Constants
- type Config
- type Provider
- func (p *Provider) CreateMachine(ctx context.Context, name, mtype, clusterRole, userData string, ...) (*provider.Machine, error)
- func (p *Provider) DeleteMachine(ctx context.Context, id string) (*provider.Machine, error)
- func (p *Provider) GetMachine(ctx context.Context, id string) (*provider.Machine, error)
- func (p *Provider) MachineTypes(_ context.Context) ([]*provider.MachineType, error)
- func (p *Provider) Machines(ctx context.Context) ([]*provider.Machine, error)
- func (p *Provider) Name() string
- func (p *Provider) ParseMachineID(providerID string) (string, error)
Constants ¶
View Source
const ( KeyID = "awsKeyID" SecretKey = "awsSecretKey" Region = "awsRegion" KeyName = "awsKeyName" ImageID = "awsImageID" IAMRole = "awsIAMRole" SecurityGroups = "awsSecurityGroups" SubnetID = "awsSubnetID" VolType = "awsVolType" VolSize = "awsVolSize" VolDeviceName = "awsVolDeviceName" EBSOptimized = "ebsOptimized" Tags = "awsTags" )
AWS instance parameters:
View Source
const (
Name = "aws"
)
Provider name:
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) CreateMachine ¶
func (*Provider) DeleteMachine ¶
func (*Provider) GetMachine ¶
func (*Provider) MachineTypes ¶
func (*Provider) ParseMachineID ¶
parseProviderID extracts the awsInstanceID from the providerID
providerID represents the id for an instance in the kubernetes API; the following form
- aws:///<zone>/<awsInstanceId>
- aws:////<awsInstanceId>
- <awsInstanceId>
Directories ¶
Path | Synopsis |
---|---|
This file was generated by go generate; DO NOT EDIT
|
This file was generated by go generate; DO NOT EDIT |
Click to show internal directories.
Click to hide internal directories.