client

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientFactory

type MockClientFactory struct {
	// contains filtered or unexported fields
}

MockClientFactory is a mock of ClientFactory interface.

func NewMockClientFactory

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

NewMockClientFactory creates a new mock instance.

func (*MockClientFactory) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClientFactory) NewECSClient

func (m *MockClientFactory) NewECSClient(arg0 context.Context, arg1, arg2, arg3 string) (client.ECS, error)

NewECSClient mocks base method.

func (*MockClientFactory) NewSLBClient

func (m *MockClientFactory) NewSLBClient(arg0 context.Context, arg1, arg2, arg3 string) (client.SLB, error)

NewSLBClient mocks base method.

func (*MockClientFactory) NewSTSClient

func (m *MockClientFactory) NewSTSClient(arg0 context.Context, arg1, arg2, arg3 string) (client.STS, error)

NewSTSClient mocks base method.

type MockClientFactoryMockRecorder

type MockClientFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.

func (*MockClientFactoryMockRecorder) NewECSClient

func (mr *MockClientFactoryMockRecorder) NewECSClient(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

NewECSClient indicates an expected call of NewECSClient.

func (*MockClientFactoryMockRecorder) NewSLBClient

func (mr *MockClientFactoryMockRecorder) NewSLBClient(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

NewSLBClient indicates an expected call of NewSLBClient.

func (*MockClientFactoryMockRecorder) NewSTSClient

func (mr *MockClientFactoryMockRecorder) NewSTSClient(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

NewSTSClient indicates an expected call of NewSTSClient.

type MockECS

type MockECS struct {
	// contains filtered or unexported fields
}

MockECS is a mock of ECS interface.

func NewMockECS

func NewMockECS(ctrl *gomock.Controller) *MockECS

NewMockECS creates a new mock instance.

func (*MockECS) CheckIfImageExists

func (m *MockECS) CheckIfImageExists(arg0 context.Context, arg1 string) (bool, error)

CheckIfImageExists mocks base method.

func (*MockECS) EXPECT

func (m *MockECS) EXPECT() *MockECSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockECS) ShareImageToAccount

func (m *MockECS) ShareImageToAccount(arg0 context.Context, arg1, arg2, arg3 string) error

ShareImageToAccount mocks base method.

type MockECSMockRecorder

type MockECSMockRecorder struct {
	// contains filtered or unexported fields
}

MockECSMockRecorder is the mock recorder for MockECS.

func (*MockECSMockRecorder) CheckIfImageExists

func (mr *MockECSMockRecorder) CheckIfImageExists(arg0, arg1 interface{}) *gomock.Call

CheckIfImageExists indicates an expected call of CheckIfImageExists.

func (*MockECSMockRecorder) ShareImageToAccount

func (mr *MockECSMockRecorder) ShareImageToAccount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ShareImageToAccount indicates an expected call of ShareImageToAccount.

type MockFactory

type MockFactory struct {
	// contains filtered or unexported fields
}

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFactory) NewVPC

func (m *MockFactory) NewVPC(arg0, arg1, arg2 string) (client.VPC, error)

NewVPC mocks base method.

type MockFactoryMockRecorder

type MockFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) NewVPC

func (mr *MockFactoryMockRecorder) NewVPC(arg0, arg1, arg2 interface{}) *gomock.Call

NewVPC indicates an expected call of NewVPC.

type MockSLB

type MockSLB struct {
	// contains filtered or unexported fields
}

MockSLB is a mock of SLB interface.

func NewMockSLB

func NewMockSLB(ctrl *gomock.Controller) *MockSLB

NewMockSLB creates a new mock instance.

func (*MockSLB) DeleteLoadBalancer

func (m *MockSLB) DeleteLoadBalancer(arg0 context.Context, arg1, arg2 string) error

DeleteLoadBalancer mocks base method.

func (*MockSLB) EXPECT

func (m *MockSLB) EXPECT() *MockSLBMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSLB) GetFirstVServerGroupName

func (m *MockSLB) GetFirstVServerGroupName(arg0 context.Context, arg1, arg2 string) (string, error)

GetFirstVServerGroupName mocks base method.

func (*MockSLB) GetLoadBalancerIDs

func (m *MockSLB) GetLoadBalancerIDs(arg0 context.Context, arg1 string) ([]string, error)

GetLoadBalancerIDs mocks base method.

type MockSLBMockRecorder

type MockSLBMockRecorder struct {
	// contains filtered or unexported fields
}

MockSLBMockRecorder is the mock recorder for MockSLB.

func (*MockSLBMockRecorder) DeleteLoadBalancer

func (mr *MockSLBMockRecorder) DeleteLoadBalancer(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.

func (*MockSLBMockRecorder) GetFirstVServerGroupName

func (mr *MockSLBMockRecorder) GetFirstVServerGroupName(arg0, arg1, arg2 interface{}) *gomock.Call

GetFirstVServerGroupName indicates an expected call of GetFirstVServerGroupName.

func (*MockSLBMockRecorder) GetLoadBalancerIDs

func (mr *MockSLBMockRecorder) GetLoadBalancerIDs(arg0, arg1 interface{}) *gomock.Call

GetLoadBalancerIDs indicates an expected call of GetLoadBalancerIDs.

type MockSTS

type MockSTS struct {
	// contains filtered or unexported fields
}

MockSTS is a mock of STS interface.

func NewMockSTS

func NewMockSTS(ctrl *gomock.Controller) *MockSTS

NewMockSTS creates a new mock instance.

func (*MockSTS) EXPECT

func (m *MockSTS) EXPECT() *MockSTSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSTS) GetAccountIDFromCallerIdentity

func (m *MockSTS) GetAccountIDFromCallerIdentity(arg0 context.Context) (string, error)

GetAccountIDFromCallerIdentity mocks base method.

type MockSTSMockRecorder

type MockSTSMockRecorder struct {
	// contains filtered or unexported fields
}

MockSTSMockRecorder is the mock recorder for MockSTS.

func (*MockSTSMockRecorder) GetAccountIDFromCallerIdentity

func (mr *MockSTSMockRecorder) GetAccountIDFromCallerIdentity(arg0 interface{}) *gomock.Call

GetAccountIDFromCallerIdentity indicates an expected call of GetAccountIDFromCallerIdentity.

type MockVPC

type MockVPC struct {
	// contains filtered or unexported fields
}

MockVPC is a mock of VPC interface.

func NewMockVPC

func NewMockVPC(ctrl *gomock.Controller) *MockVPC

NewMockVPC creates a new mock instance.

func (*MockVPC) DescribeEipAddresses

func (m *MockVPC) DescribeEipAddresses(arg0 *vpc.DescribeEipAddressesRequest) (*vpc.DescribeEipAddressesResponse, error)

DescribeEipAddresses mocks base method.

func (*MockVPC) DescribeNatGateways

func (m *MockVPC) DescribeNatGateways(arg0 *vpc.DescribeNatGatewaysRequest) (*vpc.DescribeNatGatewaysResponse, error)

DescribeNatGateways mocks base method.

func (*MockVPC) DescribeVpcs

func (m *MockVPC) DescribeVpcs(arg0 *vpc.DescribeVpcsRequest) (*vpc.DescribeVpcsResponse, error)

DescribeVpcs mocks base method.

func (*MockVPC) EXPECT

func (m *MockVPC) EXPECT() *MockVPCMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockVPCMockRecorder

type MockVPCMockRecorder struct {
	// contains filtered or unexported fields
}

MockVPCMockRecorder is the mock recorder for MockVPC.

func (*MockVPCMockRecorder) DescribeEipAddresses

func (mr *MockVPCMockRecorder) DescribeEipAddresses(arg0 interface{}) *gomock.Call

DescribeEipAddresses indicates an expected call of DescribeEipAddresses.

func (*MockVPCMockRecorder) DescribeNatGateways

func (mr *MockVPCMockRecorder) DescribeNatGateways(arg0 interface{}) *gomock.Call

DescribeNatGateways indicates an expected call of DescribeNatGateways.

func (*MockVPCMockRecorder) DescribeVpcs

func (mr *MockVPCMockRecorder) DescribeVpcs(arg0 interface{}) *gomock.Call

DescribeVpcs indicates an expected call of DescribeVpcs.

Jump to

Keyboard shortcuts

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