Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AwsEc2ClientInterface ¶
type AwsEc2ClientInterface interface { DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error) }
type Ec2Client ¶
type Ec2Client struct {
Client AwsEc2ClientInterface
}
func NewEc2Client ¶
func NewEc2Client() *Ec2Client
func (*Ec2Client) GetInstances ¶
func (c *Ec2Client) GetInstances(filter []types.Filter) ([]*InstanceDetails, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_aws is a generated GoMock package.
|
Package mock_aws is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.