Documentation ¶
Overview ¶
Package sdk is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(sdkSystemClientProvider), )
Functions ¶
func NewClientFactory ¶
func NewClientFactory(hostPort string, tlsConfig *tls.Config, metricsHandler *MetricsHandler) *clientFactory
Types ¶
type ClientFactory ¶
type MetricsHandler ¶ added in v1.15.0
type MetricsHandler struct {
// contains filtered or unexported fields
}
func NewMetricHandler ¶ added in v1.15.0
func NewMetricHandler(scope metrics.UserScope) *MetricsHandler
func (*MetricsHandler) Counter ¶ added in v1.15.0
func (m *MetricsHandler) Counter(name string) sdkclient.MetricsCounter
func (*MetricsHandler) Gauge ¶ added in v1.15.0
func (m *MetricsHandler) Gauge(name string) sdkclient.MetricsGauge
func (*MetricsHandler) Timer ¶ added in v1.15.0
func (m *MetricsHandler) Timer(name string) sdkclient.MetricsTimer
func (*MetricsHandler) WithTags ¶ added in v1.15.0
func (m *MetricsHandler) WithTags(tags map[string]string) sdkclient.MetricsHandler
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) NewClient ¶
func (m *MockClientFactory) NewClient(namespaceName string, logger log.Logger) (client.Client, error)
NewClient mocks base method.
func (*MockClientFactory) NewSystemClient ¶
NewSystemClient mocks base method.
type MockClientFactoryMockRecorder ¶
type MockClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.
func (*MockClientFactoryMockRecorder) NewClient ¶
func (mr *MockClientFactoryMockRecorder) NewClient(namespaceName, logger interface{}) *gomock.Call
NewClient indicates an expected call of NewClient.
func (*MockClientFactoryMockRecorder) NewSystemClient ¶
func (mr *MockClientFactoryMockRecorder) NewSystemClient(logger interface{}) *gomock.Call
NewSystemClient indicates an expected call of NewSystemClient.
Click to show internal directories.
Click to hide internal directories.