Documentation ¶
Index ¶
- type ServiceDefinitionService
- func (_m *ServiceDefinitionService) Create(application string, serviceDefinition *model.ServiceDefinition) (string, apperrors.AppError)
- func (_m *ServiceDefinitionService) Delete(application string, id string) apperrors.AppError
- func (_m *ServiceDefinitionService) GetAPI(application string, serviceId string) (*model.API, apperrors.AppError)
- func (_m *ServiceDefinitionService) GetAll(application string) ([]model.ServiceDefinition, apperrors.AppError)
- func (_m *ServiceDefinitionService) GetByID(application string, id string) (model.ServiceDefinition, apperrors.AppError)
- func (_m *ServiceDefinitionService) Update(application string, serviceDef *model.ServiceDefinition) (model.ServiceDefinition, apperrors.AppError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceDefinitionService ¶
ServiceDefinitionService is an autogenerated mock type for the ServiceDefinitionService type
func (*ServiceDefinitionService) Create ¶
func (_m *ServiceDefinitionService) Create(application string, serviceDefinition *model.ServiceDefinition) (string, apperrors.AppError)
Create provides a mock function with given fields: application, serviceDefinition
func (*ServiceDefinitionService) Delete ¶
func (_m *ServiceDefinitionService) Delete(application string, id string) apperrors.AppError
Delete provides a mock function with given fields: application, id
func (*ServiceDefinitionService) GetAPI ¶
func (_m *ServiceDefinitionService) GetAPI(application string, serviceId string) (*model.API, apperrors.AppError)
GetAPI provides a mock function with given fields: application, serviceId
func (*ServiceDefinitionService) GetAll ¶
func (_m *ServiceDefinitionService) GetAll(application string) ([]model.ServiceDefinition, apperrors.AppError)
GetAll provides a mock function with given fields: application
func (*ServiceDefinitionService) GetByID ¶
func (_m *ServiceDefinitionService) GetByID(application string, id string) (model.ServiceDefinition, apperrors.AppError)
GetByID provides a mock function with given fields: application, id
func (*ServiceDefinitionService) Update ¶
func (_m *ServiceDefinitionService) Update(application string, serviceDef *model.ServiceDefinition) (model.ServiceDefinition, apperrors.AppError)
Update provides a mock function with given fields: application, serviceDef
Click to show internal directories.
Click to hide internal directories.