fake

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInternetGatewayClient

type MockInternetGatewayClient struct {
	MockCreateInternetGatewayRequest    func(*ec2.CreateInternetGatewayInput) ec2.CreateInternetGatewayRequest
	MockDeleteInternetGatewayRequest    func(*ec2.DeleteInternetGatewayInput) ec2.DeleteInternetGatewayRequest
	MockDescribeInternetGatewaysRequest func(*ec2.DescribeInternetGatewaysInput) ec2.DescribeInternetGatewaysRequest
	MockAttachInternetGatewayRequest    func(*ec2.AttachInternetGatewayInput) ec2.AttachInternetGatewayRequest
	MockDetachInternetGatewayRequest    func(*ec2.DetachInternetGatewayInput) ec2.DetachInternetGatewayRequest
}

MockInternetGatewayClient is a type that implements all the methods for InternetGatewayClient interface

func (*MockInternetGatewayClient) AttachInternetGatewayRequest

AttachInternetGatewayRequest mocks AttachInternetGatewayRequest method

func (*MockInternetGatewayClient) CreateInternetGatewayRequest

CreateInternetGatewayRequest mocks CreateInternetGatewayRequest method

func (*MockInternetGatewayClient) DeleteInternetGatewayRequest

DeleteInternetGatewayRequest mocks DeleteInternetGatewayRequest method

func (*MockInternetGatewayClient) DescribeInternetGatewaysRequest

DescribeInternetGatewaysRequest mocks DescribeInternetGatewaysRequest method

func (*MockInternetGatewayClient) DetachInternetGatewayRequest

DetachInternetGatewayRequest mocks DetachInternetGatewayRequest

type MockRouteTableClient

type MockRouteTableClient struct {
	MockCreateRouteTableRequest       func(*ec2.CreateRouteTableInput) ec2.CreateRouteTableRequest
	MockDeleteRouteTableRequest       func(*ec2.DeleteRouteTableInput) ec2.DeleteRouteTableRequest
	MockDescribeRouteTablesRequest    func(*ec2.DescribeRouteTablesInput) ec2.DescribeRouteTablesRequest
	MockCreateRouteRequest            func(*ec2.CreateRouteInput) ec2.CreateRouteRequest
	MockDeleteRouteRequest            func(*ec2.DeleteRouteInput) ec2.DeleteRouteRequest
	MockAssociateRouteTableRequest    func(*ec2.AssociateRouteTableInput) ec2.AssociateRouteTableRequest
	MockDisassociateRouteTableRequest func(*ec2.DisassociateRouteTableInput) ec2.DisassociateRouteTableRequest
}

MockRouteTableClient is a type that implements all the methods for RouteTableClient interface

func (*MockRouteTableClient) AssociateRouteTableRequest

func (m *MockRouteTableClient) AssociateRouteTableRequest(input *ec2.AssociateRouteTableInput) ec2.AssociateRouteTableRequest

AssociateRouteTableRequest mocks AssociateRouteTableRequest method

func (*MockRouteTableClient) CreateRouteRequest

func (m *MockRouteTableClient) CreateRouteRequest(input *ec2.CreateRouteInput) ec2.CreateRouteRequest

CreateRouteRequest mocks CreateRouteRequest method

func (*MockRouteTableClient) CreateRouteTableRequest

func (m *MockRouteTableClient) CreateRouteTableRequest(input *ec2.CreateRouteTableInput) ec2.CreateRouteTableRequest

CreateRouteTableRequest mocks CreateRouteTableRequest method

func (*MockRouteTableClient) DeleteRouteRequest

func (m *MockRouteTableClient) DeleteRouteRequest(input *ec2.DeleteRouteInput) ec2.DeleteRouteRequest

DeleteRouteRequest mocks DeleteRouteRequest method

func (*MockRouteTableClient) DeleteRouteTableRequest

func (m *MockRouteTableClient) DeleteRouteTableRequest(input *ec2.DeleteRouteTableInput) ec2.DeleteRouteTableRequest

DeleteRouteTableRequest mocks DeleteRouteTableRequest method

func (*MockRouteTableClient) DescribeRouteTablesRequest

func (m *MockRouteTableClient) DescribeRouteTablesRequest(input *ec2.DescribeRouteTablesInput) ec2.DescribeRouteTablesRequest

DescribeRouteTablesRequest mocks DescribeRouteTablesRequest method

func (*MockRouteTableClient) DisassociateRouteTableRequest

DisassociateRouteTableRequest mocks DisassociateRouteTableRequest method

type MockSecurityGroupClient

type MockSecurityGroupClient struct {
	MockCreateSecurityGroupRequest           func(*ec2.CreateSecurityGroupInput) ec2.CreateSecurityGroupRequest
	MockDeleteSecurityGroupRequest           func(*ec2.DeleteSecurityGroupInput) ec2.DeleteSecurityGroupRequest
	MockDescribeSecurityGroupsRequest        func(*ec2.DescribeSecurityGroupsInput) ec2.DescribeSecurityGroupsRequest
	MockAuthorizeSecurityGroupIngressRequest func(*ec2.AuthorizeSecurityGroupIngressInput) ec2.AuthorizeSecurityGroupIngressRequest
	MockAuthorizeSecurityGroupEgressRequest  func(*ec2.AuthorizeSecurityGroupEgressInput) ec2.AuthorizeSecurityGroupEgressRequest
}

MockSecurityGroupClient is a type that implements all the methods for SecurityGroupClient interface

func (*MockSecurityGroupClient) AuthorizeSecurityGroupEgressRequest

AuthorizeSecurityGroupEgressRequest mocks AuthorizeSecurityGroupEgressRequest method

func (*MockSecurityGroupClient) AuthorizeSecurityGroupIngressRequest

AuthorizeSecurityGroupIngressRequest mocks AuthorizeSecurityGroupIngressRequest method

func (*MockSecurityGroupClient) CreateSecurityGroupRequest

CreateSecurityGroupRequest mocks CreateSecurityGroupRequest method

func (*MockSecurityGroupClient) DeleteSecurityGroupRequest

DeleteSecurityGroupRequest mocks DeleteSecurityGroupRequest method

func (*MockSecurityGroupClient) DescribeSecurityGroupsRequest

DescribeSecurityGroupsRequest mocks DescribeSecurityGroupsRequest method

type MockSubnetClient

type MockSubnetClient struct {
	MockCreateSubnetRequest    func(*ec2.CreateSubnetInput) ec2.CreateSubnetRequest
	MockDeleteSubnetRequest    func(*ec2.DeleteSubnetInput) ec2.DeleteSubnetRequest
	MockDescribeSubnetsRequest func(*ec2.DescribeSubnetsInput) ec2.DescribeSubnetsRequest
}

MockSubnetClient is a type that implements all the methods for SubnetClient interface

func (*MockSubnetClient) CreateSubnetRequest

func (m *MockSubnetClient) CreateSubnetRequest(input *ec2.CreateSubnetInput) ec2.CreateSubnetRequest

CreateSubnetRequest mocks CreateSubnetRequest method

func (*MockSubnetClient) DeleteSubnetRequest

func (m *MockSubnetClient) DeleteSubnetRequest(input *ec2.DeleteSubnetInput) ec2.DeleteSubnetRequest

DeleteSubnetRequest mocks DeleteSubnetRequest method

func (*MockSubnetClient) DescribeSubnetsRequest

func (m *MockSubnetClient) DescribeSubnetsRequest(input *ec2.DescribeSubnetsInput) ec2.DescribeSubnetsRequest

DescribeSubnetsRequest mocks DescribeSubnetsRequest method

type MockVPCClient

type MockVPCClient struct {
	MockCreateVpcRequest          func(*ec2.CreateVpcInput) ec2.CreateVpcRequest
	MockDeleteVpcRequest          func(*ec2.DeleteVpcInput) ec2.DeleteVpcRequest
	MockDescribeVpcsRequest       func(*ec2.DescribeVpcsInput) ec2.DescribeVpcsRequest
	MockModifyVpcAttributeRequest func(*ec2.ModifyVpcAttributeInput) ec2.ModifyVpcAttributeRequest
}

MockVPCClient is a type that implements all the methods for VPCClient interface

func (*MockVPCClient) CreateVpcRequest

func (m *MockVPCClient) CreateVpcRequest(input *ec2.CreateVpcInput) ec2.CreateVpcRequest

CreateVpcRequest mocks CreateVpcRequest method

func (*MockVPCClient) DeleteVpcRequest

func (m *MockVPCClient) DeleteVpcRequest(input *ec2.DeleteVpcInput) ec2.DeleteVpcRequest

DeleteVpcRequest mocks DeleteVpcRequest method

func (*MockVPCClient) DescribeVpcsRequest

func (m *MockVPCClient) DescribeVpcsRequest(input *ec2.DescribeVpcsInput) ec2.DescribeVpcsRequest

DescribeVpcsRequest mocks DescribeVpcsRequest method

func (*MockVPCClient) ModifyVpcAttributeRequest

func (m *MockVPCClient) ModifyVpcAttributeRequest(input *ec2.ModifyVpcAttributeInput) ec2.ModifyVpcAttributeRequest

ModifyVpcAttributeRequest mocks ModifyVpcAttributeRequest method

Jump to

Keyboard shortcuts

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