Documentation ¶
Index ¶
- type ApplicationGetter
- 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 ApplicationGetter ¶
ApplicationGetter is an autogenerated mock type for the ApplicationGetter type
func (*ApplicationGetter) Get ¶
func (_m *ApplicationGetter) Get(name string, options v1.GetOptions) (*v1alpha1.Application, error)
Get provides a mock function with given fields: name, options
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