Versions in this module Expand all Collapse all v0 v0.6.0 Jun 30, 2023 Changes in this version + type NamespaceService struct + func NewNamespaceService(t mockConstructorTestingTNewNamespaceService) *NamespaceService + func (_m *NamespaceService) EXPECT() *NamespaceService_Expecter + func (_m *NamespaceService) GetByID(ctx context.Context, id uuid.UUID) (*namespace.Namespace, error) + func (_m *NamespaceService) GetByName(ctx context.Context, name string) (*namespace.Namespace, error) + type NamespaceService_Expecter struct + func (_e *NamespaceService_Expecter) GetByID(ctx interface{}, id interface{}) *NamespaceService_GetByID_Call + func (_e *NamespaceService_Expecter) GetByName(ctx interface{}, name interface{}) *NamespaceService_GetByName_Call + type NamespaceService_GetByID_Call struct + func (_c *NamespaceService_GetByID_Call) Return(_a0 *namespace.Namespace, _a1 error) *NamespaceService_GetByID_Call + func (_c *NamespaceService_GetByID_Call) Run(run func(ctx context.Context, id uuid.UUID)) *NamespaceService_GetByID_Call + func (_c *NamespaceService_GetByID_Call) RunAndReturn(run func(context.Context, uuid.UUID) (*namespace.Namespace, error)) *NamespaceService_GetByID_Call + type NamespaceService_GetByName_Call struct + func (_c *NamespaceService_GetByName_Call) Return(_a0 *namespace.Namespace, _a1 error) *NamespaceService_GetByName_Call + func (_c *NamespaceService_GetByName_Call) Run(run func(ctx context.Context, name string)) *NamespaceService_GetByName_Call + func (_c *NamespaceService_GetByName_Call) RunAndReturn(run func(context.Context, string) (*namespace.Namespace, error)) *NamespaceService_GetByName_Call + type StatsDClient struct + func NewStatsDClient(t mockConstructorTestingTNewStatsDClient) *StatsDClient + func (_m *StatsDClient) EXPECT() *StatsDClient_Expecter + func (_m *StatsDClient) Histogram(name string, value float64) *statsd.Metric + type StatsDClient_Expecter struct + func (_e *StatsDClient_Expecter) Histogram(name interface{}, value interface{}) *StatsDClient_Histogram_Call + type StatsDClient_Histogram_Call struct + func (_c *StatsDClient_Histogram_Call) Return(_a0 *statsd.Metric) *StatsDClient_Histogram_Call + func (_c *StatsDClient_Histogram_Call) Run(run func(name string, value float64)) *StatsDClient_Histogram_Call + func (_c *StatsDClient_Histogram_Call) RunAndReturn(run func(string, float64) *statsd.Metric) *StatsDClient_Histogram_Call