Documentation ¶
Index ¶
- type ApplicationService
- type EventingService
- type LabelRepository
- func (_m *LabelRepository) Delete(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- func (_m *LabelRepository) DeleteByKey(ctx context.Context, tenant string, key string) error
- func (_m *LabelRepository) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (*model.Label, error)
- func (_m *LabelRepository) Upsert(ctx context.Context, tenant string, label *model.Label) error
- type RuntimeRepository
- func (_m *RuntimeRepository) GetByFiltersAndID(ctx context.Context, tenant string, id string, ...) (*model.Runtime, error)
- func (_m *RuntimeRepository) GetOldestForFilters(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) (*model.Runtime, error)
- func (_m *RuntimeRepository) List(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter, ...) (*model.RuntimePage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationService ¶
ApplicationService is an autogenerated mock type for the ApplicationService type
func NewApplicationService ¶
func NewApplicationService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationService
NewApplicationService creates a new instance of ApplicationService. 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 (*ApplicationService) Get ¶
func (_m *ApplicationService) Get(ctx context.Context, id string) (*model.Application, error)
Get provides a mock function with given fields: ctx, id
type EventingService ¶
EventingService is an autogenerated mock type for the EventingService type
func NewEventingService ¶
func NewEventingService(t interface { mock.TestingT Cleanup(func()) }) *EventingService
NewEventingService creates a new instance of EventingService. 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 (*EventingService) SetForApplication ¶
func (_m *EventingService) SetForApplication(ctx context.Context, runtimeID uuid.UUID, app model.Application) (*model.ApplicationEventingConfiguration, error)
SetForApplication provides a mock function with given fields: ctx, runtimeID, app
func (*EventingService) UnsetForApplication ¶
func (_m *EventingService) UnsetForApplication(ctx context.Context, app model.Application) (*model.ApplicationEventingConfiguration, error)
UnsetForApplication provides a mock function with given fields: ctx, app
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) Delete ¶
func (_m *LabelRepository) Delete(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) error
Delete provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelRepository) DeleteByKey ¶
DeleteByKey provides a mock function with given fields: ctx, tenant, key
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) GetByFiltersAndID ¶
func (_m *RuntimeRepository) GetByFiltersAndID(ctx context.Context, tenant string, id string, filter []*labelfilter.LabelFilter) (*model.Runtime, error)
GetByFiltersAndID provides a mock function with given fields: ctx, tenant, id, filter
func (*RuntimeRepository) GetOldestForFilters ¶
func (_m *RuntimeRepository) GetOldestForFilters(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) (*model.Runtime, error)
GetOldestForFilters provides a mock function with given fields: ctx, tenant, filter
func (*RuntimeRepository) List ¶
func (_m *RuntimeRepository) List(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.RuntimePage, error)
List provides a mock function with given fields: ctx, tenant, filter, pageSize, cursor