Documentation
¶
Index ¶
- type APIConverter
- func (_m *APIConverter) InputFromGraphQL(in *graphql.APIDefinitionInput) *model.APIDefinitionInput
- func (_m *APIConverter) MultipleInputFromGraphQL(in []*graphql.APIDefinitionInput) []*model.APIDefinitionInput
- func (_m *APIConverter) MultipleToGraphQL(in []*model.APIDefinition) []*graphql.APIDefinition
- func (_m *APIConverter) ToGraphQL(in *model.APIDefinition) *graphql.APIDefinition
- type APIRepository
- func (_m *APIRepository) Create(item *model.APIDefinition) error
- func (_m *APIRepository) CreateMany(item []*model.APIDefinition) error
- func (_m *APIRepository) Delete(item *model.APIDefinition) error
- func (_m *APIRepository) DeleteAllByApplicationID(id string) error
- func (_m *APIRepository) GetByID(id string) (*model.APIDefinition, error)
- func (_m *APIRepository) List(filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.APIDefinitionPage, error)
- func (_m *APIRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.APIDefinitionPage, error)
- func (_m *APIRepository) Update(item *model.APIDefinition) error
- type APIService
- func (_m *APIService) Create(ctx context.Context, applicationID string, in model.APIDefinitionInput) (string, error)
- func (_m *APIService) Delete(ctx context.Context, id string) error
- func (_m *APIService) DeleteAPIAuth(ctx context.Context, apiID string, runtimeID string) (*model.RuntimeAuth, error)
- func (_m *APIService) Get(ctx context.Context, id string) (*model.APIDefinition, error)
- func (_m *APIService) RefetchAPISpec(ctx context.Context, id string) (*model.APISpec, error)
- func (_m *APIService) SetAPIAuth(ctx context.Context, apiID string, runtimeID string, in model.AuthInput) (*model.RuntimeAuth, error)
- func (_m *APIService) Update(ctx context.Context, id string, in model.APIDefinitionInput) error
- type AuthConverter
- type FetchRequestConverter
- type UIDService
- type VersionConverter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConverter ¶
APIConverter is an autogenerated mock type for the APIConverter type
func (*APIConverter) InputFromGraphQL ¶
func (_m *APIConverter) InputFromGraphQL(in *graphql.APIDefinitionInput) *model.APIDefinitionInput
InputFromGraphQL provides a mock function with given fields: in
func (*APIConverter) MultipleInputFromGraphQL ¶
func (_m *APIConverter) MultipleInputFromGraphQL(in []*graphql.APIDefinitionInput) []*model.APIDefinitionInput
MultipleInputFromGraphQL provides a mock function with given fields: in
func (*APIConverter) MultipleToGraphQL ¶
func (_m *APIConverter) MultipleToGraphQL(in []*model.APIDefinition) []*graphql.APIDefinition
MultipleToGraphQL provides a mock function with given fields: in
func (*APIConverter) ToGraphQL ¶
func (_m *APIConverter) ToGraphQL(in *model.APIDefinition) *graphql.APIDefinition
ToGraphQL provides a mock function with given fields: in
type APIRepository ¶
APIRepository is an autogenerated mock type for the APIRepository type
func (*APIRepository) Create ¶
func (_m *APIRepository) Create(item *model.APIDefinition) error
Create provides a mock function with given fields: item
func (*APIRepository) CreateMany ¶
func (_m *APIRepository) CreateMany(item []*model.APIDefinition) error
CreateMany provides a mock function with given fields: item
func (*APIRepository) Delete ¶
func (_m *APIRepository) Delete(item *model.APIDefinition) error
Delete provides a mock function with given fields: item
func (*APIRepository) DeleteAllByApplicationID ¶
func (_m *APIRepository) DeleteAllByApplicationID(id string) error
DeleteAllByApplicationID provides a mock function with given fields: id
func (*APIRepository) GetByID ¶
func (_m *APIRepository) GetByID(id string) (*model.APIDefinition, error)
GetByID provides a mock function with given fields: id
func (*APIRepository) List ¶
func (_m *APIRepository) List(filter []*labelfilter.LabelFilter, pageSize *int, cursor *string) (*model.APIDefinitionPage, error)
List provides a mock function with given fields: filter, pageSize, cursor
func (*APIRepository) ListByApplicationID ¶
func (_m *APIRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.APIDefinitionPage, error)
ListByApplicationID provides a mock function with given fields: applicationID, pageSize, cursor
func (*APIRepository) Update ¶
func (_m *APIRepository) Update(item *model.APIDefinition) error
Update provides a mock function with given fields: item
type APIService ¶
APIService is an autogenerated mock type for the APIService type
func (*APIService) Create ¶
func (_m *APIService) Create(ctx context.Context, applicationID string, in model.APIDefinitionInput) (string, error)
Create provides a mock function with given fields: ctx, applicationID, in
func (*APIService) Delete ¶
func (_m *APIService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*APIService) DeleteAPIAuth ¶
func (_m *APIService) DeleteAPIAuth(ctx context.Context, apiID string, runtimeID string) (*model.RuntimeAuth, error)
DeleteAPIAuth provides a mock function with given fields: ctx, apiID, runtimeID
func (*APIService) Get ¶
func (_m *APIService) Get(ctx context.Context, id string) (*model.APIDefinition, error)
Get provides a mock function with given fields: ctx, id
func (*APIService) RefetchAPISpec ¶
RefetchAPISpec provides a mock function with given fields: ctx, id
func (*APIService) SetAPIAuth ¶
func (_m *APIService) SetAPIAuth(ctx context.Context, apiID string, runtimeID string, in model.AuthInput) (*model.RuntimeAuth, error)
SetAPIAuth provides a mock function with given fields: ctx, apiID, runtimeID, in
func (*APIService) Update ¶
func (_m *APIService) Update(ctx context.Context, id string, in model.APIDefinitionInput) error
Update provides a mock function with given fields: ctx, id, in
type AuthConverter ¶
AuthConverter is an autogenerated mock type for the AuthConverter type
func (*AuthConverter) InputFromGraphQL ¶
func (_m *AuthConverter) InputFromGraphQL(in *graphql.AuthInput) *model.AuthInput
InputFromGraphQL provides a mock function with given fields: 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