Documentation ¶
Index ¶
- func Assert(tb testing.TB, condition bool, msg string, v ...interface{})
- func Equals(tb testing.TB, exp, act interface{})
- func Nok(tb testing.TB, err error)
- func Ok(tb testing.TB, err error)
- func TimeWithinRange(tb testing.TB, act time.Time, lowerBound time.Time, upperBound time.Time)
- type MockedASG
- func (m MockedASG) CompleteLifecycleAction(input *autoscaling.CompleteLifecycleActionInput) (*autoscaling.CompleteLifecycleActionOutput, error)
- func (m MockedASG) DescribeAutoScalingInstances(input *autoscaling.DescribeAutoScalingInstancesInput) (*autoscaling.DescribeAutoScalingInstancesOutput, error)
- func (m MockedASG) DescribeTagsPages(input *autoscaling.DescribeTagsInput, fn describeTagsPagesFn) error
- type MockedEC2
- type MockedSQS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockedASG ¶ added in v1.9.0
type MockedASG struct { autoscalingiface.AutoScalingAPI CompleteLifecycleActionResp autoscaling.CompleteLifecycleActionOutput CompleteLifecycleActionErr error DescribeAutoScalingInstancesResp autoscaling.DescribeAutoScalingInstancesOutput DescribeAutoScalingInstancesErr error DescribeTagsPagesResp autoscaling.DescribeTagsOutput DescribeTagsPagesErr error }
MockedASG mocks the autoscaling API
func (MockedASG) CompleteLifecycleAction ¶ added in v1.9.0
func (m MockedASG) CompleteLifecycleAction(input *autoscaling.CompleteLifecycleActionInput) (*autoscaling.CompleteLifecycleActionOutput, error)
CompleteLifecycleAction mocks the autoscaling.CompleteLifecycleAction API call
func (MockedASG) DescribeAutoScalingInstances ¶ added in v1.9.0
func (m MockedASG) DescribeAutoScalingInstances(input *autoscaling.DescribeAutoScalingInstancesInput) (*autoscaling.DescribeAutoScalingInstancesOutput, error)
DescribeAutoScalingInstances mocks the autoscaling.DescribeAutoScalingInstances API call
func (MockedASG) DescribeTagsPages ¶ added in v1.9.0
func (m MockedASG) DescribeTagsPages(input *autoscaling.DescribeTagsInput, fn describeTagsPagesFn) error
DescribeTagsPages mocks the autoscaling.DescribeTagsPages API call
type MockedEC2 ¶ added in v1.9.0
type MockedEC2 struct { ec2iface.EC2API DescribeInstancesResp ec2.DescribeInstancesOutput DescribeInstancesErr error }
MockedEC2 mocks the EC2 API
func (MockedEC2) DescribeInstances ¶ added in v1.9.0
func (m MockedEC2) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
DescribeInstances mocks the ec2.DescribeInstances API call
type MockedSQS ¶ added in v1.9.0
type MockedSQS struct { sqsiface.SQSAPI ReceiveMessageResp sqs.ReceiveMessageOutput ReceiveMessageErr error DeleteMessageResp sqs.DeleteMessageOutput DeleteMessageErr error }
MockedSQS mocks the SQS API
func (MockedSQS) DeleteMessage ¶ added in v1.9.0
func (m MockedSQS) DeleteMessage(input *sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error)
DeleteMessage mocks the sqs.DeleteMessage API call
func (MockedSQS) ReceiveMessage ¶ added in v1.9.0
func (m MockedSQS) ReceiveMessage(input *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)
ReceiveMessage mocks the sqs.ReceiveMessage API call
Click to show internal directories.
Click to hide internal directories.