fakeaws

package
v1.10.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateProviderID

func GenerateProviderID(instanceID string) string

Types

type Autoscaling

type Autoscaling struct {
	autoscalingiface.AutoScalingAPI

	Instances map[string]*Instance
}

func (*Autoscaling) AttachInstances

func (*Autoscaling) DetachInstances

type Ec2

type Ec2 struct {
	ec2iface.EC2API

	Instances map[string]*Instance
}

func (*Ec2) DescribeInstances

func (m *Ec2) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)

func (*Ec2) TerminateInstances

func (m *Ec2) TerminateInstances(input *ec2.TerminateInstancesInput) (*ec2.TerminateInstancesOutput, error)

type Instance

type Instance struct {
	InstanceID           string
	AutoscalingGroupName string
	State                string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL