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() (int32, error)
FreeDeviceIndex(index int32)
Name() string
Os() string
Type() string
InstanceID() string
SubnetID() string
SubnetMask() string
SubnetV6Mask() string
SubnetCidrBlock() string
SubnetV6CidrBlock() string
PrimaryNetworkInterfaceID() string
CurrentInstanceSecurityGroups() []string
SetNewCustomNetworkingSpec(subnetID string, securityGroup []string)
GetCustomNetworkingSpec() (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.