Documentation ¶
Index ¶
- type MockTelemetryService
- func (m *MockTelemetryService) DecrementCounterUpDown(ctx context.Context, name string, value interface{})
- func (m *MockTelemetryService) IncrementCounter(ctx context.Context, name string, value interface{})
- func (m *MockTelemetryService) IncrementCounterUpDown(ctx context.Context, name string, value interface{})
- func (m *MockTelemetryService) NewCounter(name, description string, valueType telemetry.CounterType) error
- func (m *MockTelemetryService) NewCounterUpDown(name, description string, valueType telemetry.CounterType) error
- func (m *MockTelemetryService) NewHistogram(name, description string, valueType telemetry.HistogramType) error
- func (m *MockTelemetryService) ObserveValue(ctx context.Context, name string, value interface{})
- func (m *MockTelemetryService) Record(ctx context.Context, name string, properties map[string]string) telemetry.Span
- type MockTelemetrySpan
- type MockUsersRepository
- func (m *MockUsersRepository) GetUserById(ctx context.Context, id string) (*model.User, error)
- func (m *MockUsersRepository) GetUsersByIds(ctx context.Context, ids []string) ([]*model.User, error)
- func (m *MockUsersRepository) InsertUser(ctx context.Context, user *model.User) error
- func (m *MockUsersRepository) UpdateUser(ctx context.Context, user *model.User) error
- func (m *MockUsersRepository) UserExists(ctx context.Context, id string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTelemetryService ¶
func (*MockTelemetryService) DecrementCounterUpDown ¶ added in v0.6.3
func (m *MockTelemetryService) DecrementCounterUpDown(ctx context.Context, name string, value interface{})
func (*MockTelemetryService) IncrementCounter ¶
func (m *MockTelemetryService) IncrementCounter(ctx context.Context, name string, value interface{})
func (*MockTelemetryService) IncrementCounterUpDown ¶ added in v0.6.3
func (m *MockTelemetryService) IncrementCounterUpDown(ctx context.Context, name string, value interface{})
func (*MockTelemetryService) NewCounter ¶
func (m *MockTelemetryService) NewCounter(name, description string, valueType telemetry.CounterType) error
func (*MockTelemetryService) NewCounterUpDown ¶ added in v0.6.3
func (m *MockTelemetryService) NewCounterUpDown(name, description string, valueType telemetry.CounterType) error
func (*MockTelemetryService) NewHistogram ¶ added in v0.6.3
func (m *MockTelemetryService) NewHistogram(name, description string, valueType telemetry.HistogramType) error
func (*MockTelemetryService) ObserveValue ¶ added in v0.6.3
func (m *MockTelemetryService) ObserveValue(ctx context.Context, name string, value interface{})
type MockTelemetrySpan ¶
func (*MockTelemetrySpan) End ¶
func (m *MockTelemetrySpan) End()
type MockUsersRepository ¶
func (*MockUsersRepository) GetUserById ¶
func (*MockUsersRepository) GetUsersByIds ¶ added in v0.6.2
func (*MockUsersRepository) InsertUser ¶
func (*MockUsersRepository) UpdateUser ¶
func (*MockUsersRepository) UserExists ¶
Click to show internal directories.
Click to hide internal directories.