Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + type Events struct + Spec []byte + type ServiceDefinition struct + Api *serviceapi.API + Description string + Documentation []byte + Events *Events + ID string + Name string + Provider string + type ServiceDefinitionService interface + Create func(remoteEnvironment string, serviceDefinition *ServiceDefinition) (id string, err apperrors.AppError) + Delete func(remoteEnvironment, id string) apperrors.AppError + GetAPI func(remoteEnvironment, serviceId string) (*serviceapi.API, apperrors.AppError) + GetAll func(remoteEnvironment string) (serviceDefinitions []ServiceDefinition, err apperrors.AppError) + GetByID func(remoteEnvironment, id string) (serviceDefinition ServiceDefinition, err apperrors.AppError) + Update func(remoteEnvironment, id string, serviceDef *ServiceDefinition) apperrors.AppError + func NewServiceDefinitionService(uuidGenerator uuid.Generator, serviceAPIService serviceapi.Service, ...) ServiceDefinitionService