Documentation ¶
Index ¶
- Constants
- 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) 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) ReadFirstInstallableItem(requestDto dto.ReadInstallableServicesItemsRequest) (installableService entity.InstallableService, err error)
- func (repo *ServicesQueryRepo) ReadFirstInstalledItem(readFirstRequestDto 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 ¶
View Source
const InstalledServiceNotFound = "ServiceInstalledItemNotFound"
View Source
const SupervisorCtlBin string = "/usr/bin/supervisorctl -c /infinite/supervisord.conf"
Variables ¶
This section is empty.
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) 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) 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( readFirstRequestDto 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.