Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EC2Instance ¶
type EC2Instance interface { LoadDetails(ec2APIHelper api.EC2APIHelper) error GetHighestUnusedDeviceIndex() (int64, error) FreeDeviceIndex(index int64) Name() string Os() string Type() string InstanceID() string SubnetID() string SubnetMask() string SubnetCidrBlock() string PrimaryNetworkInterfaceID() string InstanceSecurityGroup() []string SetNewCustomNetworkingSpec(subnetID string, securityGroup []string) UpdateCurrentSubnetAndCidrBlock(helper api.EC2APIHelper) error }
EC2Instance exposes the immutable details of an ec2 instance and common operations on an EC2 Instance
func NewEC2Instance ¶
func NewEC2Instance(nodeName string, instanceID string, os string) EC2Instance
NewEC2Instance returns a new EC2 Instance type
Click to show internal directories.
Click to hide internal directories.