awsmock

package
v0.0.0-...-24d954f Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAutoScalingClient

type MockAutoScalingClient struct {
	autoscalingiface.AutoScalingAPI
}

MockAutoScalingClient mock of autoscaling client

func (*MockAutoScalingClient) DescribeAutoScalingGroups

DescribeAutoScalingGroups mock of autoscaling.DescriveAutoScalingGroup

type MockEC2Client

type MockEC2Client struct {
	ec2iface.EC2API
}

MockEC2Client mock of ec2 client

func (*MockEC2Client) DescribeInstances

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

DescribeInstances mock of ec2.DescribeInstances

type MockEC2MetadataClient

type MockEC2MetadataClient struct {
	IsAvailable bool
	HasError    bool
}

MockEC2MetadataClient mock of ec2metadata client

func (*MockEC2MetadataClient) Available

func (m *MockEC2MetadataClient) Available() bool

Available mock of ec2metadata.Available

func (*MockEC2MetadataClient) GetInstanceIdentityDocument

func (m *MockEC2MetadataClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)

GetInstanceIdentityDocument mock of ec2metadata.GetInstanceIdentityDocument

type MockSsmClient

type MockSsmClient struct {
	ssmiface.SSMAPI
}

MockSsmClient mock of ssm client

func (*MockSsmClient) GetParametersByPath

func (m *MockSsmClient) GetParametersByPath(input *ssm.GetParametersByPathInput) (*ssm.GetParametersByPathOutput, error)

GetParametersByPath mock of ssm.GetParametersByPath

Jump to

Keyboard shortcuts

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