Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEC2Client
- func (m *MockEC2Client) AuthorizeSecurityGroupEgress(ctx context.Context, params *ec2.AuthorizeSecurityGroupEgressInput, ...) (*ec2.AuthorizeSecurityGroupEgressOutput, error)
- func (m *MockEC2Client) CreateSecurityGroup(ctx context.Context, params *ec2.CreateSecurityGroupInput, ...) (*ec2.CreateSecurityGroupOutput, error)
- func (m *MockEC2Client) DeleteKeyPair(ctx context.Context, params *ec2.DeleteKeyPairInput, ...) (*ec2.DeleteKeyPairOutput, error)
- func (m *MockEC2Client) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecurityGroupInput, ...) (*ec2.DeleteSecurityGroupOutput, error)
- func (m *MockEC2Client) DescribeInstanceTypes(ctx context.Context, input *ec2.DescribeInstanceTypesInput, ...) (*ec2.DescribeInstanceTypesOutput, error)
- func (m *MockEC2Client) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (m *MockEC2Client) DescribeKeyPairs(ctx context.Context, params *ec2.DescribeKeyPairsInput, ...) (*ec2.DescribeKeyPairsOutput, error)
- func (m *MockEC2Client) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, ...) (*ec2.DescribeSecurityGroupsOutput, error)
- func (m *MockEC2Client) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, ...) (*ec2.DescribeSubnetsOutput, error)
- func (m *MockEC2Client) DescribeVpcAttribute(ctx context.Context, input *ec2.DescribeVpcAttributeInput, ...) (*ec2.DescribeVpcAttributeOutput, error)
- func (m *MockEC2Client) EXPECT() *MockEC2ClientMockRecorder
- func (m *MockEC2Client) GetConsoleOutput(ctx context.Context, input *ec2.GetConsoleOutputInput, ...) (*ec2.GetConsoleOutputOutput, error)
- func (m *MockEC2Client) ImportKeyPair(ctx context.Context, params *ec2.ImportKeyPairInput, ...) (*ec2.ImportKeyPairOutput, error)
- func (m *MockEC2Client) RevokeSecurityGroupEgress(ctx context.Context, params *ec2.RevokeSecurityGroupEgressInput, ...) (*ec2.RevokeSecurityGroupEgressOutput, error)
- func (m *MockEC2Client) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, ...) (*ec2.RunInstancesOutput, error)
- func (m *MockEC2Client) TerminateInstances(ctx context.Context, input *ec2.TerminateInstancesInput, ...) (*ec2.TerminateInstancesOutput, error)
- type MockEC2ClientMockRecorder
- func (mr *MockEC2ClientMockRecorder) AuthorizeSecurityGroupEgress(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) CreateSecurityGroup(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DeleteKeyPair(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DeleteSecurityGroup(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeInstanceTypes(ctx, input interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeInstances(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeKeyPairs(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeSecurityGroups(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeSubnets(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeVpcAttribute(ctx, input interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) GetConsoleOutput(ctx, input interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) ImportKeyPair(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) RevokeSecurityGroupEgress(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) RunInstances(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) TerminateInstances(ctx, input interface{}, optFns ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEC2Client ¶
type MockEC2Client struct {
// contains filtered or unexported fields
}
MockEC2Client is a mock of EC2Client interface
func NewMockEC2Client ¶
func NewMockEC2Client(ctrl *gomock.Controller) *MockEC2Client
NewMockEC2Client creates a new mock instance
func (*MockEC2Client) AuthorizeSecurityGroupEgress ¶
func (m *MockEC2Client) AuthorizeSecurityGroupEgress(ctx context.Context, params *ec2.AuthorizeSecurityGroupEgressInput, optFns ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupEgressOutput, error)
AuthorizeSecurityGroupEgress mocks base method
func (*MockEC2Client) CreateSecurityGroup ¶
func (m *MockEC2Client) CreateSecurityGroup(ctx context.Context, params *ec2.CreateSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.CreateSecurityGroupOutput, error)
CreateSecurityGroup mocks base method
func (*MockEC2Client) DeleteKeyPair ¶ added in v0.3.0
func (m *MockEC2Client) DeleteKeyPair(ctx context.Context, params *ec2.DeleteKeyPairInput, optFns ...func(*ec2.Options)) (*ec2.DeleteKeyPairOutput, error)
DeleteKeyPair mocks base method
func (*MockEC2Client) DeleteSecurityGroup ¶
func (m *MockEC2Client) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)
DeleteSecurityGroup mocks base method
func (*MockEC2Client) DescribeInstanceTypes ¶
func (m *MockEC2Client) DescribeInstanceTypes(ctx context.Context, input *ec2.DescribeInstanceTypesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstanceTypesOutput, error)
DescribeInstanceTypes mocks base method
func (*MockEC2Client) DescribeInstances ¶
func (m *MockEC2Client) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
DescribeInstances mocks base method
func (*MockEC2Client) DescribeKeyPairs ¶ added in v0.3.0
func (m *MockEC2Client) DescribeKeyPairs(ctx context.Context, params *ec2.DescribeKeyPairsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeKeyPairsOutput, error)
DescribeKeyPairs mocks base method
func (*MockEC2Client) DescribeSecurityGroups ¶
func (m *MockEC2Client) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroups mocks base method
func (*MockEC2Client) DescribeSubnets ¶
func (m *MockEC2Client) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
DescribeSubnets mocks base method
func (*MockEC2Client) DescribeVpcAttribute ¶
func (m *MockEC2Client) DescribeVpcAttribute(ctx context.Context, input *ec2.DescribeVpcAttributeInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcAttributeOutput, error)
DescribeVpcAttribute mocks base method
func (*MockEC2Client) EXPECT ¶
func (m *MockEC2Client) EXPECT() *MockEC2ClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEC2Client) GetConsoleOutput ¶
func (m *MockEC2Client) GetConsoleOutput(ctx context.Context, input *ec2.GetConsoleOutputInput, optFns ...func(*ec2.Options)) (*ec2.GetConsoleOutputOutput, error)
GetConsoleOutput mocks base method
func (*MockEC2Client) ImportKeyPair ¶ added in v0.3.0
func (m *MockEC2Client) ImportKeyPair(ctx context.Context, params *ec2.ImportKeyPairInput, optFns ...func(*ec2.Options)) (*ec2.ImportKeyPairOutput, error)
ImportKeyPair mocks base method
func (*MockEC2Client) RevokeSecurityGroupEgress ¶
func (m *MockEC2Client) RevokeSecurityGroupEgress(ctx context.Context, params *ec2.RevokeSecurityGroupEgressInput, optFns ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupEgressOutput, error)
RevokeSecurityGroupEgress mocks base method
func (*MockEC2Client) RunInstances ¶
func (m *MockEC2Client) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)
RunInstances mocks base method
func (*MockEC2Client) TerminateInstances ¶
func (m *MockEC2Client) TerminateInstances(ctx context.Context, input *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)
TerminateInstances mocks base method
type MockEC2ClientMockRecorder ¶
type MockEC2ClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEC2ClientMockRecorder is the mock recorder for MockEC2Client
func (*MockEC2ClientMockRecorder) AuthorizeSecurityGroupEgress ¶
func (mr *MockEC2ClientMockRecorder) AuthorizeSecurityGroupEgress(ctx, params interface{}, optFns ...interface{}) *gomock.Call
AuthorizeSecurityGroupEgress indicates an expected call of AuthorizeSecurityGroupEgress
func (*MockEC2ClientMockRecorder) CreateSecurityGroup ¶
func (mr *MockEC2ClientMockRecorder) CreateSecurityGroup(ctx, params interface{}, optFns ...interface{}) *gomock.Call
CreateSecurityGroup indicates an expected call of CreateSecurityGroup
func (*MockEC2ClientMockRecorder) DeleteKeyPair ¶ added in v0.3.0
func (mr *MockEC2ClientMockRecorder) DeleteKeyPair(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DeleteKeyPair indicates an expected call of DeleteKeyPair
func (*MockEC2ClientMockRecorder) DeleteSecurityGroup ¶
func (mr *MockEC2ClientMockRecorder) DeleteSecurityGroup(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup
func (*MockEC2ClientMockRecorder) DescribeInstanceTypes ¶
func (mr *MockEC2ClientMockRecorder) DescribeInstanceTypes(ctx, input interface{}, optFns ...interface{}) *gomock.Call
DescribeInstanceTypes indicates an expected call of DescribeInstanceTypes
func (*MockEC2ClientMockRecorder) DescribeInstances ¶
func (mr *MockEC2ClientMockRecorder) DescribeInstances(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DescribeInstances indicates an expected call of DescribeInstances
func (*MockEC2ClientMockRecorder) DescribeKeyPairs ¶ added in v0.3.0
func (mr *MockEC2ClientMockRecorder) DescribeKeyPairs(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DescribeKeyPairs indicates an expected call of DescribeKeyPairs
func (*MockEC2ClientMockRecorder) DescribeSecurityGroups ¶
func (mr *MockEC2ClientMockRecorder) DescribeSecurityGroups(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups
func (*MockEC2ClientMockRecorder) DescribeSubnets ¶
func (mr *MockEC2ClientMockRecorder) DescribeSubnets(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DescribeSubnets indicates an expected call of DescribeSubnets
func (*MockEC2ClientMockRecorder) DescribeVpcAttribute ¶
func (mr *MockEC2ClientMockRecorder) DescribeVpcAttribute(ctx, input interface{}, optFns ...interface{}) *gomock.Call
DescribeVpcAttribute indicates an expected call of DescribeVpcAttribute
func (*MockEC2ClientMockRecorder) GetConsoleOutput ¶
func (mr *MockEC2ClientMockRecorder) GetConsoleOutput(ctx, input interface{}, optFns ...interface{}) *gomock.Call
GetConsoleOutput indicates an expected call of GetConsoleOutput
func (*MockEC2ClientMockRecorder) ImportKeyPair ¶ added in v0.3.0
func (mr *MockEC2ClientMockRecorder) ImportKeyPair(ctx, params interface{}, optFns ...interface{}) *gomock.Call
ImportKeyPair indicates an expected call of ImportKeyPair
func (*MockEC2ClientMockRecorder) RevokeSecurityGroupEgress ¶
func (mr *MockEC2ClientMockRecorder) RevokeSecurityGroupEgress(ctx, params interface{}, optFns ...interface{}) *gomock.Call
RevokeSecurityGroupEgress indicates an expected call of RevokeSecurityGroupEgress
func (*MockEC2ClientMockRecorder) RunInstances ¶
func (mr *MockEC2ClientMockRecorder) RunInstances(ctx, params interface{}, optFns ...interface{}) *gomock.Call
RunInstances indicates an expected call of RunInstances
func (*MockEC2ClientMockRecorder) TerminateInstances ¶
func (mr *MockEC2ClientMockRecorder) TerminateInstances(ctx, input interface{}, optFns ...interface{}) *gomock.Call
TerminateInstances indicates an expected call of TerminateInstances