Documentation ¶
Index ¶
- Constants
- func AttachInstance(ctx context.Context, cfg *aws.Config, groupName, instanceID string) error
- func DescribeAutoscalingInstances(ctx context.Context, cfg *aws.Config, instanceID string) (string, error)
- func DescribeGroup(ctx context.Context, cfg *aws.Config, groupName, instanceID string) error
- func DescribeInstance(ctx context.Context, cfg *aws.Config, instanceID string) (*ec2.Instance, bool, error)
- func DescribeInstanceStatus(ctx context.Context, cfg *aws.Config, instanceID string) (string, error)
- func DescribeInstanceTypes(ctx context.Context, cfg *aws.Config, instanceType, az string) (bool, error)
- func DescribeSubnet(ctx context.Context, cfg *aws.Config, subnetID string) (*ec2.Subnet, error)
- func DescribeSubnets(ctx context.Context, cfg *aws.Config, vpcID string) ([]string, error)
- func DescribeUserData(ctx context.Context, cfg *aws.Config, instanceID string) ([]byte, error)
- func DescribeVolume(ctx context.Context, cfg *aws.Config, volumeID string) (*ec2.Volume, error)
- func DetachInstance(ctx context.Context, cfg *aws.Config, groupName, instanceID string) error
- func LaunchInstance(ctx context.Context, cfg *aws.Config, m *infrav1.AWSMachine, userData string) (*ec2.Instance, error)
- func LookupRegion() (string, error)
- func ParseDomain(name string) (string, error)
- func ParseRegionFromAZ(s string) string
- func TerminateInstance(ctx context.Context, cfg *aws.Config, instanceID string) error
- func VerifyProviderID(s string) bool
- type ProviderID
- type Route53Client
Constants ¶
View Source
const (
InstanceNotFound = "InvalidInstanceID.NotFound"
)
Variables ¶
This section is empty.
Functions ¶
func AttachInstance ¶
func DescribeGroup ¶
func DescribeInstance ¶
func DescribeInstanceStatus ¶
func DescribeInstanceTypes ¶
func DescribeSubnet ¶
func DescribeSubnets ¶
func DescribeUserData ¶
func DescribeVolume ¶
func DetachInstance ¶
func LaunchInstance ¶
func LookupRegion ¶
func ParseDomain ¶
func ParseRegionFromAZ ¶
func TerminateInstance ¶
func VerifyProviderID ¶
Types ¶
type ProviderID ¶
func ParseProviderID ¶
func ParseProviderID(s string) (*ProviderID, error)
type Route53Client ¶
func NewRoute53Client ¶
func NewRoute53Client(cfg *aws.Config) *Route53Client
func (*Route53Client) LookupZoneID ¶
Click to show internal directories.
Click to hide internal directories.