client

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0, MIT Imports: 7 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, arg1, arg2 string) (client.ECS, error)

NewECSClient mocks base method.

func (*MockClientFactory) NewSLBClient

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

NewSLBClient mocks base method.

func (*MockClientFactory) NewSTSClient

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

NewSTSClient mocks base method.

func (*MockClientFactory) NewStorageClientFromSecretRef added in v1.16.0

func (m *MockClientFactory) NewStorageClientFromSecretRef(arg0 context.Context, arg1 client0.Client, arg2 *v1.SecretReference, arg3 string) (client.Storage, error)

NewStorageClientFromSecretRef mocks base method.

func (*MockClientFactory) NewVPCClient added in v1.16.0

func (m *MockClientFactory) NewVPCClient(arg0, arg1, arg2 string) (client.VPC, error)

NewVPCClient 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 interface{}) *gomock.Call

NewECSClient indicates an expected call of NewECSClient.

func (*MockClientFactoryMockRecorder) NewSLBClient

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

NewSLBClient indicates an expected call of NewSLBClient.

func (*MockClientFactoryMockRecorder) NewSTSClient

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

NewSTSClient indicates an expected call of NewSTSClient.

func (*MockClientFactoryMockRecorder) NewStorageClientFromSecretRef added in v1.16.0

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

NewStorageClientFromSecretRef indicates an expected call of NewStorageClientFromSecretRef.

func (*MockClientFactoryMockRecorder) NewVPCClient added in v1.16.0

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

NewVPCClient indicates an expected call of NewVPCClient.

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 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 MockStorage added in v1.16.0

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

MockStorage is a mock of Storage interface.

func NewMockStorage added in v1.16.0

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) CreateBucketIfNotExists added in v1.16.0

func (m *MockStorage) CreateBucketIfNotExists(arg0 context.Context, arg1 string) error

CreateBucketIfNotExists mocks base method.

func (*MockStorage) DeleteBucketIfExists added in v1.16.0

func (m *MockStorage) DeleteBucketIfExists(arg0 context.Context, arg1 string) error

DeleteBucketIfExists mocks base method.

func (*MockStorage) DeleteObjectsWithPrefix added in v1.16.0

func (m *MockStorage) DeleteObjectsWithPrefix(arg0 context.Context, arg1, arg2 string) error

DeleteObjectsWithPrefix mocks base method.

func (*MockStorage) EXPECT added in v1.16.0

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

type MockStorageMockRecorder added in v1.16.0

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

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) CreateBucketIfNotExists added in v1.16.0

func (mr *MockStorageMockRecorder) CreateBucketIfNotExists(arg0, arg1 interface{}) *gomock.Call

CreateBucketIfNotExists indicates an expected call of CreateBucketIfNotExists.

func (*MockStorageMockRecorder) DeleteBucketIfExists added in v1.16.0

func (mr *MockStorageMockRecorder) DeleteBucketIfExists(arg0, arg1 interface{}) *gomock.Call

DeleteBucketIfExists indicates an expected call of DeleteBucketIfExists.

func (*MockStorageMockRecorder) DeleteObjectsWithPrefix added in v1.16.0

func (mr *MockStorageMockRecorder) DeleteObjectsWithPrefix(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteObjectsWithPrefix indicates an expected call of DeleteObjectsWithPrefix.

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