Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockClientFactory
- func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
- func (m *MockClientFactory) NewDNSClient(arg0, arg1, arg2 string) (client.DNS, error)
- func (m *MockClientFactory) NewECSClient(arg0, arg1, arg2 string) (client.ECS, error)
- func (m *MockClientFactory) NewOSSClient(arg0, arg1, arg2 string) (client.OSS, error)
- func (m *MockClientFactory) NewOSSClientFromSecretRef(arg0 context.Context, arg1 client0.Client, arg2 *v1.SecretReference, ...) (client.OSS, error)
- func (m *MockClientFactory) NewRAMClient(arg0, arg1, arg2 string) (client.RAM, error)
- func (m *MockClientFactory) NewROSClient(arg0, arg1, arg2 string) (client.ROS, error)
- func (m *MockClientFactory) NewSLBClient(arg0, arg1, arg2 string) (client.SLB, error)
- func (m *MockClientFactory) NewSTSClient(arg0, arg1, arg2 string) (client.STS, error)
- func (m *MockClientFactory) NewVPCClient(arg0, arg1, arg2 string) (client.VPC, error)
- type MockClientFactoryMockRecorder
- func (mr *MockClientFactoryMockRecorder) NewDNSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewECSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewOSSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewOSSClientFromSecretRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewRAMClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewROSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewSLBClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewSTSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewVPCClient(arg0, arg1, arg2 interface{}) *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 interface{}) *gomock.Call
- func (mr *MockDNSMockRecorder) DeleteDomainRecords(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDNSMockRecorder) GetDomainName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDNSMockRecorder) GetDomainNames(arg0 interface{}) *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(arg0, arg1, arg2 string) (client.DNS, error)
NewDNSClient mocks base method.
func (*MockClientFactory) NewECSClient ¶
func (m *MockClientFactory) NewECSClient(arg0, arg1, arg2 string) (client.ECS, error)
NewECSClient mocks base method.
func (*MockClientFactory) NewOSSClient ¶
func (m *MockClientFactory) NewOSSClient(arg0, arg1, arg2 string) (client.OSS, error)
NewOSSClient mocks base method.
func (*MockClientFactory) NewOSSClientFromSecretRef ¶
func (m *MockClientFactory) NewOSSClientFromSecretRef(arg0 context.Context, arg1 client0.Client, arg2 *v1.SecretReference, arg3 string) (client.OSS, error)
NewOSSClientFromSecretRef mocks base method.
func (*MockClientFactory) NewRAMClient ¶
func (m *MockClientFactory) NewRAMClient(arg0, arg1, arg2 string) (client.RAM, error)
NewRAMClient mocks base method.
func (*MockClientFactory) NewROSClient ¶
func (m *MockClientFactory) NewROSClient(arg0, arg1, arg2 string) (client.ROS, error)
NewROSClient 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) NewVPCClient ¶
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) NewDNSClient ¶
func (mr *MockClientFactoryMockRecorder) NewDNSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewDNSClient indicates an expected call of NewDNSClient.
func (*MockClientFactoryMockRecorder) NewECSClient ¶
func (mr *MockClientFactoryMockRecorder) NewECSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewECSClient indicates an expected call of NewECSClient.
func (*MockClientFactoryMockRecorder) NewOSSClient ¶
func (mr *MockClientFactoryMockRecorder) NewOSSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewOSSClient indicates an expected call of NewOSSClient.
func (*MockClientFactoryMockRecorder) NewOSSClientFromSecretRef ¶
func (mr *MockClientFactoryMockRecorder) NewOSSClientFromSecretRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NewOSSClientFromSecretRef indicates an expected call of NewOSSClientFromSecretRef.
func (*MockClientFactoryMockRecorder) NewRAMClient ¶
func (mr *MockClientFactoryMockRecorder) NewRAMClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewRAMClient indicates an expected call of NewRAMClient.
func (*MockClientFactoryMockRecorder) NewROSClient ¶
func (mr *MockClientFactoryMockRecorder) NewROSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewROSClient indicates an expected call of NewROSClient.
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) NewVPCClient ¶
func (mr *MockClientFactoryMockRecorder) NewVPCClient(arg0, arg1, arg2 interface{}) *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 interface{}) *gomock.Call
CreateOrUpdateDomainRecords indicates an expected call of CreateOrUpdateDomainRecords.
func (*MockDNSMockRecorder) DeleteDomainRecords ¶
func (mr *MockDNSMockRecorder) DeleteDomainRecords(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteDomainRecords indicates an expected call of DeleteDomainRecords.
func (*MockDNSMockRecorder) GetDomainName ¶ added in v1.31.0
func (mr *MockDNSMockRecorder) GetDomainName(arg0, arg1 interface{}) *gomock.Call
GetDomainName indicates an expected call of GetDomainName.
func (*MockDNSMockRecorder) GetDomainNames ¶
func (mr *MockDNSMockRecorder) GetDomainNames(arg0 interface{}) *gomock.Call
GetDomainNames indicates an expected call of GetDomainNames.