Documentation
¶
Index ¶
- type EventAPIConverter
- func (_m *EventAPIConverter) InputFromGraphQL(in *graphql.EventAPIDefinitionInput) *model.EventAPIDefinitionInput
- func (_m *EventAPIConverter) MultipleInputFromGraphQL(in []*graphql.EventAPIDefinitionInput) []*model.EventAPIDefinitionInput
- func (_m *EventAPIConverter) MultipleToGraphQL(in []*model.EventAPIDefinition) []*graphql.EventAPIDefinition
- func (_m *EventAPIConverter) ToGraphQL(in *model.EventAPIDefinition) *graphql.EventAPIDefinition
- type EventAPIRepository
- func (_m *EventAPIRepository) Create(item *model.EventAPIDefinition) error
- func (_m *EventAPIRepository) CreateMany(items []*model.EventAPIDefinition) error
- func (_m *EventAPIRepository) Delete(item *model.EventAPIDefinition) error
- func (_m *EventAPIRepository) DeleteAllByApplicationID(id string) error
- func (_m *EventAPIRepository) GetByID(id string) (*model.EventAPIDefinition, error)
- func (_m *EventAPIRepository) List(filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.EventAPIDefinitionPage, error)
- func (_m *EventAPIRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.EventAPIDefinitionPage, error)
- func (_m *EventAPIRepository) Update(item *model.EventAPIDefinition) error
- type EventAPIService
- func (_m *EventAPIService) Create(ctx context.Context, applicationID string, in model.EventAPIDefinitionInput) (string, error)
- func (_m *EventAPIService) Delete(ctx context.Context, id string) error
- func (_m *EventAPIService) Get(ctx context.Context, id string) (*model.EventAPIDefinition, error)
- func (_m *EventAPIService) RefetchAPISpec(ctx context.Context, id string) (*model.EventAPISpec, error)
- func (_m *EventAPIService) Update(ctx context.Context, id string, in model.EventAPIDefinitionInput) error
- type FetchRequestConverter
- type UIDService
- type VersionConverter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventAPIConverter ¶
EventAPIConverter is an autogenerated mock type for the EventAPIConverter type
func (*EventAPIConverter) InputFromGraphQL ¶
func (_m *EventAPIConverter) InputFromGraphQL(in *graphql.EventAPIDefinitionInput) *model.EventAPIDefinitionInput
InputFromGraphQL provides a mock function with given fields: in
func (*EventAPIConverter) MultipleInputFromGraphQL ¶
func (_m *EventAPIConverter) MultipleInputFromGraphQL(in []*graphql.EventAPIDefinitionInput) []*model.EventAPIDefinitionInput
MultipleInputFromGraphQL provides a mock function with given fields: in
func (*EventAPIConverter) MultipleToGraphQL ¶
func (_m *EventAPIConverter) MultipleToGraphQL(in []*model.EventAPIDefinition) []*graphql.EventAPIDefinition
MultipleToGraphQL provides a mock function with given fields: in
func (*EventAPIConverter) ToGraphQL ¶
func (_m *EventAPIConverter) ToGraphQL(in *model.EventAPIDefinition) *graphql.EventAPIDefinition
ToGraphQL provides a mock function with given fields: in
type EventAPIRepository ¶
EventAPIRepository is an autogenerated mock type for the EventAPIRepository type
func (*EventAPIRepository) Create ¶
func (_m *EventAPIRepository) Create(item *model.EventAPIDefinition) error
Create provides a mock function with given fields: item
func (*EventAPIRepository) CreateMany ¶
func (_m *EventAPIRepository) CreateMany(items []*model.EventAPIDefinition) error
CreateMany provides a mock function with given fields: items
func (*EventAPIRepository) Delete ¶
func (_m *EventAPIRepository) Delete(item *model.EventAPIDefinition) error
Delete provides a mock function with given fields: item
func (*EventAPIRepository) DeleteAllByApplicationID ¶
func (_m *EventAPIRepository) DeleteAllByApplicationID(id string) error
DeleteAllByApplicationID provides a mock function with given fields: id
func (*EventAPIRepository) GetByID ¶
func (_m *EventAPIRepository) GetByID(id string) (*model.EventAPIDefinition, error)
GetByID provides a mock function with given fields: id
func (*EventAPIRepository) List ¶
func (_m *EventAPIRepository) List(filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.EventAPIDefinitionPage, error)
List provides a mock function with given fields: filter, pageSize, cursor
func (*EventAPIRepository) ListByApplicationID ¶
func (_m *EventAPIRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.EventAPIDefinitionPage, error)
ListByApplicationID provides a mock function with given fields: applicationID, pageSize, cursor
func (*EventAPIRepository) Update ¶
func (_m *EventAPIRepository) Update(item *model.EventAPIDefinition) error
Update provides a mock function with given fields: item
type EventAPIService ¶
EventAPIService is an autogenerated mock type for the EventAPIService type
func (*EventAPIService) Create ¶
func (_m *EventAPIService) Create(ctx context.Context, applicationID string, in model.EventAPIDefinitionInput) (string, error)
Create provides a mock function with given fields: ctx, applicationID, in
func (*EventAPIService) Delete ¶
func (_m *EventAPIService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*EventAPIService) Get ¶
func (_m *EventAPIService) Get(ctx context.Context, id string) (*model.EventAPIDefinition, error)
Get provides a mock function with given fields: ctx, id
func (*EventAPIService) RefetchAPISpec ¶
func (_m *EventAPIService) RefetchAPISpec(ctx context.Context, id string) (*model.EventAPISpec, error)
RefetchAPISpec provides a mock function with given fields: ctx, id
func (*EventAPIService) Update ¶
func (_m *EventAPIService) Update(ctx context.Context, id string, in model.EventAPIDefinitionInput) error
Update provides a mock function with given fields: ctx, id, in
type FetchRequestConverter ¶
FetchRequestConverter is an autogenerated mock type for the FetchRequestConverter type
func (*FetchRequestConverter) InputFromGraphQL ¶
func (_m *FetchRequestConverter) InputFromGraphQL(in *graphql.FetchRequestInput) *model.FetchRequestInput
InputFromGraphQL provides a mock function with given fields: in
func (*FetchRequestConverter) ToGraphQL ¶
func (_m *FetchRequestConverter) ToGraphQL(in *model.FetchRequest) *graphql.FetchRequest
ToGraphQL provides a mock function with given fields: 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:
type VersionConverter ¶
VersionConverter is an autogenerated mock type for the VersionConverter type
func (*VersionConverter) InputFromGraphQL ¶
func (_m *VersionConverter) InputFromGraphQL(in *graphql.VersionInput) *model.VersionInput
InputFromGraphQL provides a mock function with given fields: in