Documentation ¶
Index ¶
- type AuthConverter
- type RuntimeConverter
- type RuntimeRepository
- func (_m *RuntimeRepository) Create(item *model.Runtime) error
- func (_m *RuntimeRepository) Delete(item *model.Runtime) error
- func (_m *RuntimeRepository) GetByID(tenant string, id string) (*model.Runtime, error)
- func (_m *RuntimeRepository) List(tenant string, filter []*labelfilter.LabelFilter, pageSize *int, ...) (*model.RuntimePage, error)
- func (_m *RuntimeRepository) Update(item *model.Runtime) error
- type RuntimeService
- func (_m *RuntimeService) AddAnnotation(ctx context.Context, runtimeID string, key string, value interface{}) error
- func (_m *RuntimeService) AddLabel(ctx context.Context, runtimeID string, key string, values []string) error
- func (_m *RuntimeService) Create(ctx context.Context, in model.RuntimeInput) (string, error)
- func (_m *RuntimeService) Delete(ctx context.Context, id string) error
- func (_m *RuntimeService) DeleteAnnotation(ctx context.Context, runtimeID string, key string) error
- func (_m *RuntimeService) DeleteLabel(ctx context.Context, runtimeID string, key string, values []string) error
- func (_m *RuntimeService) Get(ctx context.Context, id string) (*model.Runtime, error)
- func (_m *RuntimeService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize *int, ...) (*model.RuntimePage, error)
- func (_m *RuntimeService) Update(ctx context.Context, id string, in model.RuntimeInput) error
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConverter ¶
AuthConverter is an autogenerated mock type for the AuthConverter type
type RuntimeConverter ¶
RuntimeConverter is an autogenerated mock type for the RuntimeConverter type
func (*RuntimeConverter) InputFromGraphQL ¶
func (_m *RuntimeConverter) InputFromGraphQL(in graphql.RuntimeInput) model.RuntimeInput
InputFromGraphQL provides a mock function with given fields: in
func (*RuntimeConverter) MultipleToGraphQL ¶
func (_m *RuntimeConverter) MultipleToGraphQL(in []*model.Runtime) []*graphql.Runtime
MultipleToGraphQL provides a mock function with given fields: in
type RuntimeRepository ¶
RuntimeRepository is an autogenerated mock type for the RuntimeRepository type
func (*RuntimeRepository) Create ¶
func (_m *RuntimeRepository) Create(item *model.Runtime) error
Create provides a mock function with given fields: item
func (*RuntimeRepository) Delete ¶
func (_m *RuntimeRepository) Delete(item *model.Runtime) error
Delete provides a mock function with given fields: item
func (*RuntimeRepository) List ¶
func (_m *RuntimeRepository) List(tenant string, filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.RuntimePage, error)
List provides a mock function with given fields: tenant, filter, pageSize, cursor
type RuntimeService ¶
RuntimeService is an autogenerated mock type for the RuntimeService type
func (*RuntimeService) AddAnnotation ¶
func (_m *RuntimeService) AddAnnotation(ctx context.Context, runtimeID string, key string, value interface{}) error
AddAnnotation provides a mock function with given fields: ctx, runtimeID, key, value
func (*RuntimeService) AddLabel ¶
func (_m *RuntimeService) AddLabel(ctx context.Context, runtimeID string, key string, values []string) error
AddLabel provides a mock function with given fields: ctx, runtimeID, key, values
func (*RuntimeService) Create ¶
func (_m *RuntimeService) Create(ctx context.Context, in model.RuntimeInput) (string, error)
Create provides a mock function with given fields: ctx, in
func (*RuntimeService) Delete ¶
func (_m *RuntimeService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*RuntimeService) DeleteAnnotation ¶
DeleteAnnotation provides a mock function with given fields: ctx, runtimeID, key
func (*RuntimeService) DeleteLabel ¶
func (_m *RuntimeService) DeleteLabel(ctx context.Context, runtimeID string, key string, values []string) error
DeleteLabel provides a mock function with given fields: ctx, runtimeID, key, values
func (*RuntimeService) List ¶
func (_m *RuntimeService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.RuntimePage, error)
List provides a mock function with given fields: ctx, filter, pageSize, cursor
func (*RuntimeService) Update ¶
func (_m *RuntimeService) Update(ctx context.Context, id string, in model.RuntimeInput) error
Update provides a mock function with given fields: ctx, id, in
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields: