Documentation ¶
Index ¶
- type ApplicationRepository
- func (_m *ApplicationRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Application, error)
- func (_m *ApplicationRepository) ListByScenariosNoPaging(ctx context.Context, tenant string, scenarios []string) ([]*model.Application, error)
- func (_m *ApplicationRepository) OwnerExists(ctx context.Context, tenant string, id string) (bool, error)
- type HttpClient
- type LabelRepository
- func (_m *LabelRepository) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (*model.Label, error)
- func (_m *LabelRepository) ListForGlobalObject(ctx context.Context, objectType model.LabelableObject, objectID string) (map[string]*model.Label, error)
- func (_m *LabelRepository) ListForObject(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (map[string]*model.Label, error)
- type RuntimeCtxRepository
- type RuntimeRepository
- type TenantRepository
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRepository ¶
ApplicationRepository is an autogenerated mock type for the applicationRepository type
func NewApplicationRepository ¶
func NewApplicationRepository(t interface { mock.TestingT Cleanup(func()) }) *ApplicationRepository
NewApplicationRepository creates a new instance of ApplicationRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ApplicationRepository) GetByID ¶
func (_m *ApplicationRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Application, error)
GetByID provides a mock function with given fields: ctx, tenant, id
func (*ApplicationRepository) ListByScenariosNoPaging ¶
func (_m *ApplicationRepository) ListByScenariosNoPaging(ctx context.Context, tenant string, scenarios []string) ([]*model.Application, error)
ListByScenariosNoPaging provides a mock function with given fields: ctx, tenant, scenarios
func (*ApplicationRepository) OwnerExists ¶
func (_m *ApplicationRepository) OwnerExists(ctx context.Context, tenant string, id string) (bool, error)
OwnerExists provides a mock function with given fields: ctx, tenant, id
type HttpClient ¶
HttpClient is an autogenerated mock type for the httpClient type
func NewHttpClient ¶
func NewHttpClient(t interface { mock.TestingT Cleanup(func()) }) *HttpClient
NewHttpClient creates a new instance of HttpClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type LabelRepository ¶
LabelRepository is an autogenerated mock type for the labelRepository type
func NewLabelRepository ¶
func NewLabelRepository(t interface { mock.TestingT Cleanup(func()) }) *LabelRepository
NewLabelRepository creates a new instance of LabelRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LabelRepository) GetByKey ¶
func (_m *LabelRepository) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) (*model.Label, error)
GetByKey provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelRepository) ListForGlobalObject ¶
func (_m *LabelRepository) ListForGlobalObject(ctx context.Context, objectType model.LabelableObject, objectID string) (map[string]*model.Label, error)
ListForGlobalObject provides a mock function with given fields: ctx, objectType, objectID
func (*LabelRepository) ListForObject ¶
func (_m *LabelRepository) ListForObject(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string) (map[string]*model.Label, error)
ListForObject provides a mock function with given fields: ctx, tenant, objectType, objectID
type RuntimeCtxRepository ¶
RuntimeCtxRepository is an autogenerated mock type for the runtimeCtxRepository type
func NewRuntimeCtxRepository ¶
func NewRuntimeCtxRepository(t interface { mock.TestingT Cleanup(func()) }) *RuntimeCtxRepository
NewRuntimeCtxRepository creates a new instance of RuntimeCtxRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RuntimeCtxRepository) GetByID ¶
func (_m *RuntimeCtxRepository) GetByID(ctx context.Context, tenant string, id string) (*model.RuntimeContext, error)
GetByID provides a mock function with given fields: ctx, tenant, id
type RuntimeRepository ¶
RuntimeRepository is an autogenerated mock type for the runtimeRepository type
func NewRuntimeRepository ¶
func NewRuntimeRepository(t interface { mock.TestingT Cleanup(func()) }) *RuntimeRepository
NewRuntimeRepository creates a new instance of RuntimeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RuntimeRepository) OwnerExists ¶
func (_m *RuntimeRepository) OwnerExists(ctx context.Context, tenant string, id string) (bool, error)
OwnerExists provides a mock function with given fields: ctx, tenant, id
type TenantRepository ¶
TenantRepository is an autogenerated mock type for the tenantRepository type
func NewTenantRepository ¶
func NewTenantRepository(t interface { mock.TestingT Cleanup(func()) }) *TenantRepository
NewTenantRepository creates a new instance of TenantRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantRepository) GetByExternalTenant ¶
func (_m *TenantRepository) GetByExternalTenant(ctx context.Context, externalTenant string) (*model.BusinessTenantMapping, error)
GetByExternalTenant provides a mock function with given fields: ctx, externalTenant
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func NewUIDService ¶
func NewUIDService(t interface { mock.TestingT Cleanup(func()) }) *UIDService
NewUIDService creates a new instance of UIDService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields: