repository

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCmdRepo added in v0.1.2

type AuthCmdRepo

type AuthCmdRepo interface {
	CreateSessionToken(
		accountId tkValueObject.AccountId,
		expiresIn tkValueObject.UnixTime,
		ipAddress tkValueObject.IpAddress,
	) (entity.AccessToken, error)
}

type AuthQueryRepo

type AuthQueryRepo interface {
	IsLoginValid(createDto dto.CreateSessionToken) bool
	ReadAccessTokenDetails(
		token tkValueObject.AccessTokenValue,
	) (dto.AccessTokenDetails, error)
}

type CronCmdRepo

type CronCmdRepo interface {
	Create(dto.CreateCron) (valueObject.CronId, error)
	Update(dto.UpdateCron) error
	Delete(valueObject.CronId) error
}

type CronQueryRepo

type CronQueryRepo interface {
	Read(dto.ReadCronsRequest) (dto.ReadCronsResponse, error)
	ReadFirst(dto.ReadCronsRequest) (entity.Cron, error)
}

type DatabaseCmdRepo

type DatabaseCmdRepo interface {
	Create(dbName valueObject.DatabaseName) error
	Delete(dbName valueObject.DatabaseName) error
	CreateUser(createDatabaseUser dto.CreateDatabaseUser) error
	DeleteUser(
		dbName valueObject.DatabaseName,
		dbUser valueObject.DatabaseUsername,
	) error
}

type DatabaseQueryRepo

type DatabaseQueryRepo interface {
	Read(dto.ReadDatabasesRequest) (dto.ReadDatabasesResponse, error)
	ReadFirst(dto.ReadDatabasesRequest) (entity.Database, error)
}

type FilesQueryRepo

type FilesQueryRepo interface {
	Read(dto.ReadFilesRequest) (dto.ReadFilesResponse, error)
	ReadFirst(tkValueObject.UnixAbsoluteFilePath) (entity.UnixFile, error)
}

type MarketplaceCmdRepo

type MarketplaceCmdRepo interface {
	InstallItem(dto.InstallMarketplaceCatalogItem) error
	UninstallItem(dto.DeleteMarketplaceInstalledItem) error
	RefreshCatalogItems() error
}

type O11yQueryRepo

type O11yQueryRepo interface {
	ReadOverview(withResourceUsage bool) (entity.O11yOverview, error)
}

type RuntimeCmdRepo

type RuntimeCmdRepo interface {
	CreatePhpVirtualHost(tkValueObject.Fqdn) error
	RunPhpCommand(dto.RunPhpCommandRequest) (dto.RunPhpCommandResponse, error)
	UpdatePhpVersion(tkValueObject.Fqdn, valueObject.PhpVersion) error
	UpdatePhpSettings(tkValueObject.Fqdn, []entity.PhpSetting) error
	UpdatePhpModules(tkValueObject.Fqdn, []entity.PhpModule) error
}

type RuntimeQueryRepo

type RuntimeQueryRepo interface {
	ReadPhpVersionsInstalled() ([]valueObject.PhpVersion, error)
	ReadPhpConfigs(hostname tkValueObject.Fqdn) (entity.PhpConfigs, error)
}

type ScheduledTaskCmdRepo

type ScheduledTaskCmdRepo interface {
	Create(createDto dto.CreateScheduledTask) error
	Update(updateDto dto.UpdateScheduledTask) error
	Run(pendingTask entity.ScheduledTask) error
}

type ScheduledTaskQueryRepo

type ScheduledTaskQueryRepo interface {
	Read(dto.ReadScheduledTasksRequest) (dto.ReadScheduledTasksResponse, error)
}

type ServicesCmdRepo

type ServicesCmdRepo interface {
	CreateInstallable(dto.CreateInstallableService) (valueObject.ServiceName, error)
	CreateCustom(dto.CreateCustomService) error
	Update(dto.UpdateService) error
	Delete(valueObject.ServiceName) error
	Restart(valueObject.ServiceName) error
	RefreshInstallableItems() error
}

type SslCmdRepo

type SslCmdRepo interface {
	Create(dto.CreateSslPair) (valueObject.SslPairId, error)
	CreatePubliclyTrusted(dto.CreatePubliclyTrustedSslPair) (valueObject.SslPairId, error)
	Delete(valueObject.SslPairId) error
}

type SslQueryRepo

type SslQueryRepo interface {
	Read(dto.ReadSslPairsRequest) (dto.ReadSslPairsResponse, error)
	ReadFirst(dto.ReadSslPairsRequest) (entity.SslPair, error)
}

type VirtualHostCmdRepo

type VirtualHostCmdRepo interface {
	Create(dto.CreateVirtualHost) error
	Update(dto.UpdateVirtualHost) error
	Delete(tkValueObject.Fqdn) error
}

Jump to

Keyboard shortcuts

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