servicesInfra

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: EPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL