Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockClientFactory
- func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
- func (m *MockClientFactory) NewDNSClient(region, accessKeyID, accessKeySecret string) (client.DNS, error)
- func (m *MockClientFactory) NewECSClient(region, accessKeyID, accessKeySecret string) (client.ECS, error)
- func (m *MockClientFactory) NewOSSClient(endpoint, accessKeyID, accessKeySecret string) (client.OSS, error)
- func (m *MockClientFactory) NewOSSClientFromSecretRef(ctx context.Context, c client0.Client, secretRef *v1.SecretReference, ...) (client.OSS, error)
- func (m *MockClientFactory) NewRAMClient(region, accessKeyID, accessKeySecret string) (client.RAM, error)
- func (m *MockClientFactory) NewROSClient(region, accessKeyID, accessKeySecret string) (client.ROS, error)
- func (m *MockClientFactory) NewSLBClient(region, accessKeyID, accessKeySecret string) (client.SLB, error)
- func (m *MockClientFactory) NewSTSClient(region, accessKeyID, accessKeySecret string) (client.STS, error)
- func (m *MockClientFactory) NewVPCClient(region, accessKeyID, accessKeySecret string) (client.VPC, error)
- type MockClientFactoryMockRecorder
- func (mr *MockClientFactoryMockRecorder) NewDNSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewECSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewOSSClient(endpoint, accessKeyID, accessKeySecret any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewOSSClientFromSecretRef(ctx, c, secretRef, region any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewRAMClient(region, accessKeyID, accessKeySecret any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewROSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewSLBClient(region, accessKeyID, accessKeySecret any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewSTSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewVPCClient(region, accessKeyID, accessKeySecret any) *gomock.Call
- type MockDNS
- func (m *MockDNS) CreateOrUpdateDomainRecords(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
- func (m *MockDNS) DeleteDomainRecords(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockDNS) EXPECT() *MockDNSMockRecorder
- func (m *MockDNS) GetDomainName(arg0 context.Context, arg1 string) (string, error)
- func (m *MockDNS) GetDomainNames(arg0 context.Context) (map[string]string, error)
- type MockDNSMockRecorder
- func (mr *MockDNSMockRecorder) CreateOrUpdateDomainRecords(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockDNSMockRecorder) DeleteDomainRecords(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockDNSMockRecorder) GetDomainName(arg0, arg1 any) *gomock.Call
- func (mr *MockDNSMockRecorder) GetDomainNames(arg0 any) *gomock.Call
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 ¶
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientFactory) NewDNSClient ¶
func (m *MockClientFactory) NewDNSClient(region, accessKeyID, accessKeySecret string) (client.DNS, error)
NewDNSClient mocks base method.
func (*MockClientFactory) NewECSClient ¶
func (m *MockClientFactory) NewECSClient(region, accessKeyID, accessKeySecret string) (client.ECS, error)
NewECSClient mocks base method.
func (*MockClientFactory) NewOSSClient ¶
func (m *MockClientFactory) NewOSSClient(endpoint, accessKeyID, accessKeySecret string) (client.OSS, error)
NewOSSClient mocks base method.
func (*MockClientFactory) NewOSSClientFromSecretRef ¶
func (m *MockClientFactory) NewOSSClientFromSecretRef(ctx context.Context, c client0.Client, secretRef *v1.SecretReference, region string) (client.OSS, error)
NewOSSClientFromSecretRef mocks base method.
func (*MockClientFactory) NewRAMClient ¶
func (m *MockClientFactory) NewRAMClient(region, accessKeyID, accessKeySecret string) (client.RAM, error)
NewRAMClient mocks base method.
func (*MockClientFactory) NewROSClient ¶
func (m *MockClientFactory) NewROSClient(region, accessKeyID, accessKeySecret string) (client.ROS, error)
NewROSClient mocks base method.
func (*MockClientFactory) NewSLBClient ¶
func (m *MockClientFactory) NewSLBClient(region, accessKeyID, accessKeySecret string) (client.SLB, error)
NewSLBClient mocks base method.
func (*MockClientFactory) NewSTSClient ¶
func (m *MockClientFactory) NewSTSClient(region, accessKeyID, accessKeySecret string) (client.STS, error)
NewSTSClient mocks base method.
func (*MockClientFactory) NewVPCClient ¶
func (m *MockClientFactory) NewVPCClient(region, accessKeyID, accessKeySecret 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) NewDNSClient ¶
func (mr *MockClientFactoryMockRecorder) NewDNSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
NewDNSClient indicates an expected call of NewDNSClient.
func (*MockClientFactoryMockRecorder) NewECSClient ¶
func (mr *MockClientFactoryMockRecorder) NewECSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
NewECSClient indicates an expected call of NewECSClient.
func (*MockClientFactoryMockRecorder) NewOSSClient ¶
func (mr *MockClientFactoryMockRecorder) NewOSSClient(endpoint, accessKeyID, accessKeySecret any) *gomock.Call
NewOSSClient indicates an expected call of NewOSSClient.
func (*MockClientFactoryMockRecorder) NewOSSClientFromSecretRef ¶
func (mr *MockClientFactoryMockRecorder) NewOSSClientFromSecretRef(ctx, c, secretRef, region any) *gomock.Call
NewOSSClientFromSecretRef indicates an expected call of NewOSSClientFromSecretRef.
func (*MockClientFactoryMockRecorder) NewRAMClient ¶
func (mr *MockClientFactoryMockRecorder) NewRAMClient(region, accessKeyID, accessKeySecret any) *gomock.Call
NewRAMClient indicates an expected call of NewRAMClient.
func (*MockClientFactoryMockRecorder) NewROSClient ¶
func (mr *MockClientFactoryMockRecorder) NewROSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
NewROSClient indicates an expected call of NewROSClient.
func (*MockClientFactoryMockRecorder) NewSLBClient ¶
func (mr *MockClientFactoryMockRecorder) NewSLBClient(region, accessKeyID, accessKeySecret any) *gomock.Call
NewSLBClient indicates an expected call of NewSLBClient.
func (*MockClientFactoryMockRecorder) NewSTSClient ¶
func (mr *MockClientFactoryMockRecorder) NewSTSClient(region, accessKeyID, accessKeySecret any) *gomock.Call
NewSTSClient indicates an expected call of NewSTSClient.
func (*MockClientFactoryMockRecorder) NewVPCClient ¶
func (mr *MockClientFactoryMockRecorder) NewVPCClient(region, accessKeyID, accessKeySecret any) *gomock.Call
NewVPCClient indicates an expected call of NewVPCClient.
type MockDNS ¶
type MockDNS struct {
// contains filtered or unexported fields
}
MockDNS is a mock of DNS interface.
func NewMockDNS ¶
func NewMockDNS(ctrl *gomock.Controller) *MockDNS
NewMockDNS creates a new mock instance.
func (*MockDNS) CreateOrUpdateDomainRecords ¶
func (m *MockDNS) CreateOrUpdateDomainRecords(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
CreateOrUpdateDomainRecords mocks base method.
func (*MockDNS) DeleteDomainRecords ¶
DeleteDomainRecords mocks base method.
func (*MockDNS) EXPECT ¶
func (m *MockDNS) EXPECT() *MockDNSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDNS) GetDomainName ¶ added in v1.31.0
GetDomainName mocks base method.
type MockDNSMockRecorder ¶
type MockDNSMockRecorder struct {
// contains filtered or unexported fields
}
MockDNSMockRecorder is the mock recorder for MockDNS.
func (*MockDNSMockRecorder) CreateOrUpdateDomainRecords ¶
func (mr *MockDNSMockRecorder) CreateOrUpdateDomainRecords(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
CreateOrUpdateDomainRecords indicates an expected call of CreateOrUpdateDomainRecords.
func (*MockDNSMockRecorder) DeleteDomainRecords ¶
func (mr *MockDNSMockRecorder) DeleteDomainRecords(arg0, arg1, arg2, arg3 any) *gomock.Call
DeleteDomainRecords indicates an expected call of DeleteDomainRecords.
func (*MockDNSMockRecorder) GetDomainName ¶ added in v1.31.0
func (mr *MockDNSMockRecorder) GetDomainName(arg0, arg1 any) *gomock.Call
GetDomainName indicates an expected call of GetDomainName.
func (*MockDNSMockRecorder) GetDomainNames ¶
func (mr *MockDNSMockRecorder) GetDomainNames(arg0 any) *gomock.Call
GetDomainNames indicates an expected call of GetDomainNames.