Documentation
¶
Index ¶
- Variables
- type ServicesCmdRepo
- func (repo *ServicesCmdRepo) CreateCustom(createDto dto.CreateCustomService) error
- func (repo *ServicesCmdRepo) CreateInstallable(createDto dto.CreateInstallableService) (installedServiceName valueObject.ServiceName, err error)
- func (repo *ServicesCmdRepo) Delete(name valueObject.ServiceName) error
- func (repo *ServicesCmdRepo) ProcessManagerConfRebuilder() error
- func (repo *ServicesCmdRepo) RefreshInstallableItems() error
- func (repo *ServicesCmdRepo) Restart(name valueObject.ServiceName) error
- func (repo *ServicesCmdRepo) Start(name valueObject.ServiceName) error
- func (repo *ServicesCmdRepo) Stop(name valueObject.ServiceName) error
- func (repo *ServicesCmdRepo) Update(updateDto dto.UpdateService) error
- type ServicesQueryRepo
- func (repo *ServicesQueryRepo) IsInstalled(serviceName valueObject.ServiceName) bool
- func (repo *ServicesQueryRepo) ReadFirstInstallableItem(requestDto dto.ReadInstallableServicesItemsRequest) (installableService entity.InstallableService, err error)
- func (repo *ServicesQueryRepo) ReadFirstInstalledItem(requestDto dto.ReadFirstInstalledServiceItemsRequest) (installedItem entity.InstalledService, err error)
- func (repo *ServicesQueryRepo) ReadInstallableItems(requestDto dto.ReadInstallableServicesItemsRequest) (installableItemsDto dto.ReadInstallableServicesItemsResponse, err error)
- func (repo *ServicesQueryRepo) ReadInstalledItems(requestDto dto.ReadInstalledServicesItemsRequest) (installedItemsDto dto.ReadInstalledServicesItemsResponse, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInstalledServiceNotFound = errors.New("ServiceInstalledItemNotFound")
)
View Source
var (
ErrProcessManagerAuthError error = errors.New("ProcessManagerAuthenticationError")
)
Functions ¶
This section is empty.
Types ¶
type ServicesCmdRepo ¶
type ServicesCmdRepo struct {
// contains filtered or unexported fields
}
func NewServicesCmdRepo ¶
func NewServicesCmdRepo( persistentDbSvc *internalDbInfra.PersistentDatabaseService, ) *ServicesCmdRepo
func (*ServicesCmdRepo) CreateCustom ¶
func (repo *ServicesCmdRepo) CreateCustom(createDto dto.CreateCustomService) error
func (*ServicesCmdRepo) CreateInstallable ¶
func (repo *ServicesCmdRepo) CreateInstallable( createDto dto.CreateInstallableService, ) (installedServiceName valueObject.ServiceName, err error)
func (*ServicesCmdRepo) Delete ¶
func (repo *ServicesCmdRepo) Delete(name valueObject.ServiceName) error
func (*ServicesCmdRepo) ProcessManagerConfRebuilder ¶ added in v0.3.1
func (repo *ServicesCmdRepo) ProcessManagerConfRebuilder() error
func (*ServicesCmdRepo) RefreshInstallableItems ¶ added in v0.1.5
func (repo *ServicesCmdRepo) RefreshInstallableItems() error
func (*ServicesCmdRepo) Restart ¶
func (repo *ServicesCmdRepo) Restart(name valueObject.ServiceName) error
func (*ServicesCmdRepo) Start ¶
func (repo *ServicesCmdRepo) Start(name valueObject.ServiceName) error
func (*ServicesCmdRepo) Stop ¶
func (repo *ServicesCmdRepo) Stop(name valueObject.ServiceName) error
func (*ServicesCmdRepo) Update ¶
func (repo *ServicesCmdRepo) Update(updateDto dto.UpdateService) error
type ServicesQueryRepo ¶
type ServicesQueryRepo struct {
// contains filtered or unexported fields
}
func NewServicesQueryRepo ¶
func NewServicesQueryRepo( persistentDbSvc *internalDbInfra.PersistentDatabaseService, ) *ServicesQueryRepo
func (*ServicesQueryRepo) IsInstalled ¶ added in v0.3.1
func (repo *ServicesQueryRepo) IsInstalled(serviceName valueObject.ServiceName) bool
func (*ServicesQueryRepo) ReadFirstInstallableItem ¶ added in v0.1.5
func (repo *ServicesQueryRepo) ReadFirstInstallableItem( requestDto dto.ReadInstallableServicesItemsRequest, ) (installableService entity.InstallableService, err error)
func (*ServicesQueryRepo) ReadFirstInstalledItem ¶ added in v0.1.5
func (repo *ServicesQueryRepo) ReadFirstInstalledItem( requestDto dto.ReadFirstInstalledServiceItemsRequest, ) (installedItem entity.InstalledService, err error)
func (*ServicesQueryRepo) ReadInstallableItems ¶ added in v0.1.5
func (repo *ServicesQueryRepo) ReadInstallableItems( requestDto dto.ReadInstallableServicesItemsRequest, ) (installableItemsDto dto.ReadInstallableServicesItemsResponse, err error)
func (*ServicesQueryRepo) ReadInstalledItems ¶ added in v0.1.5
func (repo *ServicesQueryRepo) ReadInstalledItems( requestDto dto.ReadInstalledServicesItemsRequest, ) (installedItemsDto dto.ReadInstalledServicesItemsResponse, err error)
Click to show internal directories.
Click to hide internal directories.