Versions in this module Expand all Collapse all v0 v0.6.0 Jun 30, 2023 Changes in this version + type NamespaceDiscoveryRepository struct + func NewNamespaceDiscoveryRepository(t mockConstructorTestingTNewNamespaceDiscoveryRepository) *NamespaceDiscoveryRepository + func (_m *NamespaceDiscoveryRepository) CreateNamespace(_a0 context.Context, _a1 *namespace.Namespace) error + func (_m *NamespaceDiscoveryRepository) EXPECT() *NamespaceDiscoveryRepository_Expecter + type NamespaceDiscoveryRepository_CreateNamespace_Call struct + func (_c *NamespaceDiscoveryRepository_CreateNamespace_Call) Return(_a0 error) *NamespaceDiscoveryRepository_CreateNamespace_Call + func (_c *NamespaceDiscoveryRepository_CreateNamespace_Call) Run(run func(_a0 context.Context, _a1 *namespace.Namespace)) *NamespaceDiscoveryRepository_CreateNamespace_Call + func (_c *NamespaceDiscoveryRepository_CreateNamespace_Call) RunAndReturn(run func(context.Context, *namespace.Namespace) error) *NamespaceDiscoveryRepository_CreateNamespace_Call + type NamespaceDiscoveryRepository_Expecter struct + func (_e *NamespaceDiscoveryRepository_Expecter) CreateNamespace(_a0 interface{}, _a1 interface{}) *NamespaceDiscoveryRepository_CreateNamespace_Call + type NamespaceStorageRepository struct + func NewNamespaceStorageRepository(t mockConstructorTestingTNewNamespaceStorageRepository) *NamespaceStorageRepository + func (_m *NamespaceStorageRepository) Create(_a0 context.Context, _a1 *namespace.Namespace) (string, error) + func (_m *NamespaceStorageRepository) EXPECT() *NamespaceStorageRepository_Expecter + func (_m *NamespaceStorageRepository) GetByID(_a0 context.Context, _a1 uuid.UUID) (*namespace.Namespace, error) + func (_m *NamespaceStorageRepository) GetByName(_a0 context.Context, _a1 string) (*namespace.Namespace, error) + func (_m *NamespaceStorageRepository) List(_a0 context.Context) ([]*namespace.Namespace, error) + func (_m *NamespaceStorageRepository) Update(_a0 context.Context, _a1 *namespace.Namespace) error + type NamespaceStorageRepository_Create_Call struct + func (_c *NamespaceStorageRepository_Create_Call) Return(_a0 string, _a1 error) *NamespaceStorageRepository_Create_Call + func (_c *NamespaceStorageRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *namespace.Namespace)) *NamespaceStorageRepository_Create_Call + func (_c *NamespaceStorageRepository_Create_Call) RunAndReturn(run func(context.Context, *namespace.Namespace) (string, error)) *NamespaceStorageRepository_Create_Call + type NamespaceStorageRepository_Expecter struct + func (_e *NamespaceStorageRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *NamespaceStorageRepository_Create_Call + func (_e *NamespaceStorageRepository_Expecter) GetByID(_a0 interface{}, _a1 interface{}) *NamespaceStorageRepository_GetByID_Call + func (_e *NamespaceStorageRepository_Expecter) GetByName(_a0 interface{}, _a1 interface{}) *NamespaceStorageRepository_GetByName_Call + func (_e *NamespaceStorageRepository_Expecter) List(_a0 interface{}) *NamespaceStorageRepository_List_Call + func (_e *NamespaceStorageRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *NamespaceStorageRepository_Update_Call + type NamespaceStorageRepository_GetByID_Call struct + func (_c *NamespaceStorageRepository_GetByID_Call) Return(_a0 *namespace.Namespace, _a1 error) *NamespaceStorageRepository_GetByID_Call + func (_c *NamespaceStorageRepository_GetByID_Call) Run(run func(_a0 context.Context, _a1 uuid.UUID)) *NamespaceStorageRepository_GetByID_Call + func (_c *NamespaceStorageRepository_GetByID_Call) RunAndReturn(run func(context.Context, uuid.UUID) (*namespace.Namespace, error)) *NamespaceStorageRepository_GetByID_Call + type NamespaceStorageRepository_GetByName_Call struct + func (_c *NamespaceStorageRepository_GetByName_Call) Return(_a0 *namespace.Namespace, _a1 error) *NamespaceStorageRepository_GetByName_Call + func (_c *NamespaceStorageRepository_GetByName_Call) Run(run func(_a0 context.Context, _a1 string)) *NamespaceStorageRepository_GetByName_Call + func (_c *NamespaceStorageRepository_GetByName_Call) RunAndReturn(run func(context.Context, string) (*namespace.Namespace, error)) *NamespaceStorageRepository_GetByName_Call + type NamespaceStorageRepository_List_Call struct + func (_c *NamespaceStorageRepository_List_Call) Return(_a0 []*namespace.Namespace, _a1 error) *NamespaceStorageRepository_List_Call + func (_c *NamespaceStorageRepository_List_Call) Run(run func(_a0 context.Context)) *NamespaceStorageRepository_List_Call + func (_c *NamespaceStorageRepository_List_Call) RunAndReturn(run func(context.Context) ([]*namespace.Namespace, error)) *NamespaceStorageRepository_List_Call + type NamespaceStorageRepository_Update_Call struct + func (_c *NamespaceStorageRepository_Update_Call) Return(_a0 error) *NamespaceStorageRepository_Update_Call + func (_c *NamespaceStorageRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *namespace.Namespace)) *NamespaceStorageRepository_Update_Call + func (_c *NamespaceStorageRepository_Update_Call) RunAndReturn(run func(context.Context, *namespace.Namespace) error) *NamespaceStorageRepository_Update_Call