Documentation ¶
Index ¶
- type AccountCmdRepo
- type AccountQueryRepo
- type ActivityRecordCmdRepo
- type ActivityRecordQueryRepo
- type AuthCmdRepo
- type AuthQueryRepo
- type CronCmdRepo
- type CronQueryRepo
- type DatabaseCmdRepo
- type DatabaseQueryRepo
- type FilesCmdRepo
- type FilesQueryRepo
- type MappingCmdRepo
- type MappingQueryRepo
- type MarketplaceCmdRepo
- type MarketplaceQueryRepo
- type O11yQueryRepo
- type RuntimeCmdRepo
- type RuntimeQueryRepo
- type ScheduledTaskCmdRepo
- type ScheduledTaskQueryRepo
- type ServicesCmdRepo
- type ServicesQueryRepo
- type SslCmdRepo
- type SslQueryRepo
- type VirtualHostCmdRepo
- type VirtualHostQueryRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCmdRepo ¶ added in v0.1.2
type AccountCmdRepo interface { Create(createAccount dto.CreateAccount) (valueObject.AccountId, error) Delete(accountId valueObject.AccountId) error UpdatePassword(accountId valueObject.AccountId, password valueObject.Password) error UpdateApiKey(accountId valueObject.AccountId) (valueObject.AccessTokenStr, error) }
type AccountQueryRepo ¶ added in v0.1.2
type ActivityRecordCmdRepo ¶
type ActivityRecordCmdRepo interface { Create(createDto dto.CreateActivityRecord) error Delete(deleteDto dto.DeleteActivityRecord) error }
type ActivityRecordQueryRepo ¶
type ActivityRecordQueryRepo interface {
Read(readDto dto.ReadActivityRecords) ([]entity.ActivityRecord, error)
}
type AuthCmdRepo ¶
type AuthCmdRepo interface { CreateSessionToken( accountId valueObject.AccountId, expiresIn valueObject.UnixTime, ipAddress valueObject.IpAddress, ) (entity.AccessToken, error) }
type AuthQueryRepo ¶
type AuthQueryRepo interface { IsLoginValid(createDto dto.CreateSessionToken) bool ReadAccessTokenDetails( token valueObject.AccessTokenStr, ) (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() ([]entity.Cron, error) ReadById(valueObject.CronId) (entity.Cron, error) ReadByComment(valueObject.CronComment) (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() ([]entity.Database, error) ReadByName(dbName valueObject.DatabaseName) (entity.Database, error) }
type FilesCmdRepo ¶
type FilesCmdRepo interface { Copy(dto.CopyUnixFile) error Compress(dto.CompressUnixFiles) (dto.CompressionProcessReport, error) Create(dto.CreateUnixFile) error Delete(valueObject.UnixFilePath) error Extract(dto.ExtractUnixFiles) error Move(dto.MoveUnixFile) error UpdateContent(dto.UpdateUnixFileContent) error UpdatePermissions(dto.UpdateUnixFilePermissions) error Upload(dto.UploadUnixFiles) (dto.UploadProcessReport, error) }
type FilesQueryRepo ¶
type FilesQueryRepo interface { Read(valueObject.UnixFilePath) ([]entity.UnixFile, error) ReadFirst(valueObject.UnixFilePath) (entity.UnixFile, error) }
type MappingCmdRepo ¶
type MappingCmdRepo interface { Create(dto.CreateMapping) (valueObject.MappingId, error) Delete(valueObject.MappingId) error DeleteAuto(valueObject.ServiceName) error RecreateByServiceName( valueObject.ServiceName, valueObject.AccountId, valueObject.IpAddress, ) error }
type MappingQueryRepo ¶
type MappingQueryRepo interface { ReadById(id valueObject.MappingId) (entity.Mapping, error) ReadByHostname(hostname valueObject.Fqdn) ([]entity.Mapping, error) ReadByServiceName(serviceName valueObject.ServiceName) ([]entity.Mapping, error) ReadWithMappings() ([]dto.VirtualHostWithMappings, error) }
type MarketplaceCmdRepo ¶
type MarketplaceCmdRepo interface { InstallItem(dto.InstallMarketplaceCatalogItem) error UninstallItem(dto.DeleteMarketplaceInstalledItem) error RefreshCatalogItems() error }
type MarketplaceQueryRepo ¶
type MarketplaceQueryRepo interface { ReadCatalogItems( dto.ReadMarketplaceCatalogItemsRequest, ) (dto.ReadMarketplaceCatalogItemsResponse, error) ReadFirstCatalogItem( dto.ReadMarketplaceCatalogItemsRequest, ) (entity.MarketplaceCatalogItem, error) ReadInstalledItems( dto.ReadMarketplaceInstalledItemsRequest, ) (dto.ReadMarketplaceInstalledItemsResponse, error) ReadFirstInstalledItem( dto.ReadMarketplaceInstalledItemsRequest, ) (entity.MarketplaceInstalledItem, error) }
type O11yQueryRepo ¶
type O11yQueryRepo interface {
ReadOverview() (entity.O11yOverview, error)
}
type RuntimeCmdRepo ¶
type RuntimeCmdRepo interface { UpdatePhpVersion(hostname valueObject.Fqdn, version valueObject.PhpVersion) error UpdatePhpSettings(hostname valueObject.Fqdn, settings []entity.PhpSetting) error UpdatePhpModules(hostname valueObject.Fqdn, modules []entity.PhpModule) error }
type RuntimeQueryRepo ¶
type RuntimeQueryRepo interface { ReadPhpVersionsInstalled() ([]valueObject.PhpVersion, error) ReadPhpConfigs(hostname valueObject.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 RefreshInstallableItems() error }
type ServicesQueryRepo ¶
type ServicesQueryRepo interface { ReadInstalledItems( dto.ReadInstalledServicesItemsRequest, ) (dto.ReadInstalledServicesItemsResponse, error) ReadFirstInstalledItem( dto.ReadFirstInstalledServiceItemsRequest, ) (entity.InstalledService, error) ReadInstallableItems( dto.ReadInstallableServicesItemsRequest, ) (dto.ReadInstallableServicesItemsResponse, error) }
type SslCmdRepo ¶
type SslCmdRepo interface { Create(dto.CreateSslPair) (valueObject.SslPairId, error) Delete(valueObject.SslPairId) error ReplaceWithValidSsl(dto.ReplaceWithValidSsl) error DeleteSslPairVhosts(dto.DeleteSslPairVhosts) error }
type SslQueryRepo ¶
type VirtualHostCmdRepo ¶
type VirtualHostCmdRepo interface { Create(createDto dto.CreateVirtualHost) error Delete(vhost entity.VirtualHost) error }
type VirtualHostQueryRepo ¶
type VirtualHostQueryRepo interface { Read() ([]entity.VirtualHost, error) ReadByHostname(hostname valueObject.Fqdn) (entity.VirtualHost, error) }
Source Files ¶
- accountCmdRepo.go
- accountQueryRepo.go
- activityRecordCmdRepo.go
- activityRecordQueryRepo.go
- authCmdRepo.go
- authQueryRepo.go
- cronCmdRepo.go
- cronQueryRepo.go
- databaseCmdRepo.go
- databaseQueryRepo.go
- filesCmdRepo.go
- filesQueryRepo.go
- mappingCmdRepo.go
- mappingQueryRepo.go
- marketplaceCmdRepo.go
- marketplaceQueryRepo.go
- o11yQueryRepo.go
- runtimeCmdRepo.go
- runtimeQueryRepo.go
- scheduledTaskCmdRepo.go
- scheduledTaskQueryRepo.go
- servicesCmdRepo.go
- servicesQueryRepo.go
- sslCmdRepo.go
- sslQueryRepo.go
- virtualHostCmdRepo.go
- virtualHostQueryRepo.go
Click to show internal directories.
Click to hide internal directories.