Versions in this module Expand all Collapse all v0 v0.0.2 Jul 12, 2024 Changes in this version + type MockIConfigClient struct + func NewMockIConfigClient(ctrl *gomock.Controller) *MockIConfigClient + func (m *MockIConfigClient) AddConfigToListen(params []vo.ConfigParam) error + func (m *MockIConfigClient) DeleteConfig(param vo.ConfigParam) (bool, error) + func (m *MockIConfigClient) EXPECT() *MockIConfigClientMockRecorder + func (m *MockIConfigClient) GetConfig(param vo.ConfigParam) (string, error) + func (m *MockIConfigClient) GetConfigContent(dataId, groupId string) (string, error) + func (m *MockIConfigClient) ListenConfig(params []vo.ConfigParam) error + func (m *MockIConfigClient) PublishConfig(param vo.ConfigParam) (bool, error) + func (m *MockIConfigClient) StopListenConfig() + type MockIConfigClientMockRecorder struct + func (mr *MockIConfigClientMockRecorder) AddConfigToListen(params interface{}) *gomock.Call + func (mr *MockIConfigClientMockRecorder) DeleteConfig(param interface{}) *gomock.Call + func (mr *MockIConfigClientMockRecorder) GetConfig(param interface{}) *gomock.Call + func (mr *MockIConfigClientMockRecorder) GetConfigContent(dataId, groupId interface{}) *gomock.Call + func (mr *MockIConfigClientMockRecorder) ListenConfig(params interface{}) *gomock.Call + func (mr *MockIConfigClientMockRecorder) PublishConfig(param interface{}) *gomock.Call + func (mr *MockIConfigClientMockRecorder) StopListenConfig() *gomock.Call + type MockIHttpAgent struct + func NewMockIHttpAgent(ctrl *gomock.Controller) *MockIHttpAgent + func (m *MockIHttpAgent) Delete(path string, header http.Header, timeoutMs uint64, params map[string]string) (*http.Response, error) + func (m *MockIHttpAgent) EXPECT() *MockIHttpAgentMockRecorder + func (m *MockIHttpAgent) Get(path string, header http.Header, timeoutMs uint64, params map[string]string) (*http.Response, error) + func (m *MockIHttpAgent) Post(path string, header http.Header, timeoutMs uint64, params map[string]string) (*http.Response, error) + func (m *MockIHttpAgent) Put(path string, header http.Header, timeoutMs uint64, params map[string]string) (*http.Response, error) + func (m *MockIHttpAgent) Request(method, path string, header http.Header, timeoutMs uint64, ...) (*http.Response, error) + func (m *MockIHttpAgent) RequestOnlyResult(method, path string, header http.Header, timeoutMs uint64, ...) string + type MockIHttpAgentMockRecorder struct + func (mr *MockIHttpAgentMockRecorder) Delete(path, header, timeoutMs, params interface{}) *gomock.Call + func (mr *MockIHttpAgentMockRecorder) Get(path, header, timeoutMs, params interface{}) *gomock.Call + func (mr *MockIHttpAgentMockRecorder) Post(path, header, timeoutMs, params interface{}) *gomock.Call + func (mr *MockIHttpAgentMockRecorder) Put(path, header, timeoutMs, params interface{}) *gomock.Call + func (mr *MockIHttpAgentMockRecorder) Request(method, path, header, timeoutMs, params interface{}) *gomock.Call + func (mr *MockIHttpAgentMockRecorder) RequestOnlyResult(method, path, header, timeoutMs, params interface{}) *gomock.Call + type MockINacosClient struct + func NewMockINacosClient(ctrl *gomock.Controller) *MockINacosClient + func (m *MockINacosClient) EXPECT() *MockINacosClientMockRecorder + func (m *MockINacosClient) GetClientConfig() (constant.ClientConfig, error) + func (m *MockINacosClient) GetHttpAgent() (http_agent.IHttpAgent, error) + func (m *MockINacosClient) GetServerConfig() ([]constant.ServerConfig, error) + func (m *MockINacosClient) SetClientConfig(arg0 constant.ClientConfig) error + func (m *MockINacosClient) SetHttpAgent(arg0 http_agent.IHttpAgent) error + func (m *MockINacosClient) SetServerConfig(arg0 []constant.ServerConfig) error + type MockINacosClientMockRecorder struct + func (mr *MockINacosClientMockRecorder) GetClientConfig() *gomock.Call + func (mr *MockINacosClientMockRecorder) GetHttpAgent() *gomock.Call + func (mr *MockINacosClientMockRecorder) GetServerConfig() *gomock.Call + func (mr *MockINacosClientMockRecorder) SetClientConfig(arg0 interface{}) *gomock.Call + func (mr *MockINacosClientMockRecorder) SetHttpAgent(arg0 interface{}) *gomock.Call + func (mr *MockINacosClientMockRecorder) SetServerConfig(arg0 interface{}) *gomock.Call + type MockINamingClient struct + func NewMockINamingClient(ctrl *gomock.Controller) *MockINamingClient + func (m *MockINamingClient) DeregisterInstance(param vo.DeregisterInstanceParam) (bool, error) + func (m *MockINamingClient) EXPECT() *MockINamingClientMockRecorder + func (m *MockINamingClient) GetService(param vo.GetServiceParam) (model.Service, error) + func (m *MockINamingClient) RegisterInstance(param vo.RegisterInstanceParam) (bool, error) + func (m *MockINamingClient) SelectInstances(param vo.SelectInstancesParam) ([]model.Instance, error) + func (m *MockINamingClient) SelectOneHealthyInstance(param vo.SelectOneHealthInstanceParam) (*model.Instance, error) + func (m *MockINamingClient) Subscribe(param *vo.SubscribeParam) error + func (m *MockINamingClient) Unsubscribe(param *vo.SubscribeParam) error + type MockINamingClientMockRecorder struct + func (mr *MockINamingClientMockRecorder) DeregisterInstance(param interface{}) *gomock.Call + func (mr *MockINamingClientMockRecorder) GetService(param interface{}) *gomock.Call + func (mr *MockINamingClientMockRecorder) RegisterInstance(param interface{}) *gomock.Call + func (mr *MockINamingClientMockRecorder) SelectInstances(param interface{}) *gomock.Call + func (mr *MockINamingClientMockRecorder) SelectOneHealthyInstance(param interface{}) *gomock.Call + func (mr *MockINamingClientMockRecorder) Subscribe(param interface{}) *gomock.Call + func (mr *MockINamingClientMockRecorder) Unsubscribe(param interface{}) *gomock.Call