Documentation
¶
Index ¶
- type AccessTokenDetails
- type CompressUnixFiles
- type CompressionProcessReport
- type CopyUnixFile
- type CreateAccount
- type CreateCron
- type CreateCustomService
- type CreateDatabase
- type CreateDatabaseUser
- type CreateInstallableService
- type CreateMapping
- type CreateMappingSecurityRule
- type CreatePubliclyTrustedSslPair
- type CreateScheduledTask
- type CreateSecureAccessPublicKey
- type CreateSessionToken
- type CreateSslPair
- type CreateUnixFile
- type CreateVirtualHost
- type DeleteAccount
- type DeleteCron
- type DeleteDatabase
- type DeleteDatabaseUser
- type DeleteMapping
- type DeleteMappingSecurityRule
- type DeleteMarketplaceInstalledItem
- type DeleteSecureAccessPublicKey
- type DeleteService
- type DeleteSslPair
- type DeleteSslPairVhosts
- type DeleteUnixFiles
- type DeleteVirtualHost
- type ExtractUnixFiles
- type InstallMarketplaceCatalogItem
- type InstalledServiceWithMetrics
- type MoveUnixFile
- type ReadAccountsRequest
- type ReadAccountsResponse
- type ReadCronsRequest
- type ReadCronsResponse
- type ReadDatabasesRequest
- type ReadDatabasesResponse
- type ReadFilesRequest
- type ReadFilesResponse
- type ReadFirstInstalledServiceItemsRequest
- type ReadInstallableServicesItemsRequest
- type ReadInstallableServicesItemsResponse
- type ReadInstalledServicesItemsRequest
- type ReadInstalledServicesItemsResponse
- type ReadMappingSecurityRulesRequest
- type ReadMappingSecurityRulesResponse
- type ReadMappingsRequest
- type ReadMappingsResponse
- type ReadMarketplaceCatalogItemsRequest
- type ReadMarketplaceCatalogItemsResponse
- type ReadMarketplaceInstalledItemsRequest
- type ReadMarketplaceInstalledItemsResponse
- type ReadScheduledTasksRequest
- type ReadScheduledTasksResponse
- type ReadSecureAccessPublicKeysRequest
- type ReadSecureAccessPublicKeysResponse
- type ReadSslPairsRequest
- type ReadSslPairsResponse
- type ReadVirtualHostsRequest
- type ReadVirtualHostsResponse
- type RunPhpCommandRequest
- type RunPhpCommandResponse
- type UnixFileBranch
- type UpdateAccount
- type UpdateCron
- type UpdateMapping
- type UpdateMappingSecurityRule
- type UpdatePhpConfigs
- type UpdateProcessReport
- type UpdateScheduledTask
- type UpdateService
- type UpdateUnixFileContent
- type UpdateUnixFileOwnership
- type UpdateUnixFilePermissions
- type UpdateUnixFiles
- type UpdateVirtualHost
- type UploadProcessReport
- type UploadUnixFiles
- type VirtualHostWithMappings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenDetails ¶
type AccessTokenDetails struct {
TokenType tkValueObject.AccessTokenType `json:"tokenType"`
AccountId tkValueObject.AccountId `json:"accountId"`
IpAddress *tkValueObject.IpAddress `json:"ipAddress"`
}
func NewAccessTokenDetails ¶
func NewAccessTokenDetails( tokenType tkValueObject.AccessTokenType, accountId tkValueObject.AccountId, ipAddress *tkValueObject.IpAddress, ) AccessTokenDetails
type CompressUnixFiles ¶
type CompressUnixFiles struct {
SourcePaths []tkValueObject.UnixAbsoluteFilePath `json:"sourcePaths"`
DestinationPath tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
CompressionType *valueObject.UnixCompressionType `json:"compressionType"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCompressUnixFiles ¶
func NewCompressUnixFiles( sourcePaths []tkValueObject.UnixAbsoluteFilePath, destinationPath tkValueObject.UnixAbsoluteFilePath, compressionType *valueObject.UnixCompressionType, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CompressUnixFiles
type CompressionProcessReport ¶
type CompressionProcessReport struct {
FilePathsSuccessfullyCompressed []tkValueObject.UnixAbsoluteFilePath `json:"filePathsSuccessfullyCompressed"`
FailedPathsWithReason []valueObject.CompressionProcessFailure `json:"failedPathsWithReason"`
DestinationPath tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
}
func NewCompressionProcessReport ¶
func NewCompressionProcessReport( filePathsSuccessfullyCompressed []tkValueObject.UnixAbsoluteFilePath, failedPathsWithReason []valueObject.CompressionProcessFailure, destinationPath tkValueObject.UnixAbsoluteFilePath, ) CompressionProcessReport
type CopyUnixFile ¶
type CopyUnixFile struct {
SourcePath tkValueObject.UnixAbsoluteFilePath `json:"sourcePath"`
DestinationPath tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
ShouldOverwrite bool `json:"shouldOverwrite"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCopyUnixFile ¶
func NewCopyUnixFile( sourcePath tkValueObject.UnixAbsoluteFilePath, destinationPath tkValueObject.UnixAbsoluteFilePath, shouldOverwrite bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CopyUnixFile
type CreateAccount ¶
type CreateAccount struct {
Username valueObject.Username `json:"username"`
Password tkValueObject.Password `json:"password"`
IsSuperAdmin bool `json:"isSuperAdmin"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateAccount ¶
func NewCreateAccount( username valueObject.Username, password tkValueObject.Password, isSuperAdmin bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateAccount
type CreateCron ¶
type CreateCron struct {
Schedule valueObject.CronSchedule `json:"schedule"`
Command tkValueObject.UnixCommand `json:"command"`
Comment *valueObject.CronComment `json:"comment"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateCron ¶
func NewCreateCron( schedule valueObject.CronSchedule, command tkValueObject.UnixCommand, comment *valueObject.CronComment, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateCron
type CreateCustomService ¶
type CreateCustomService struct {
Name valueObject.ServiceName `json:"name"`
Type valueObject.ServiceType `json:"type"`
StartCmd tkValueObject.UnixCommand `json:"startCmd"`
Envs []valueObject.ServiceEnv `json:"envs"`
PortBindings []valueObject.PortBinding `json:"portBindings"`
StopCmdSteps []tkValueObject.UnixCommand `json:"stopCmdSteps"`
PreStartCmdSteps []tkValueObject.UnixCommand `json:"preStartCmdSteps"`
PostStartCmdSteps []tkValueObject.UnixCommand `json:"postStartCmdSteps"`
PreStopCmdSteps []tkValueObject.UnixCommand `json:"preStopCmdSteps"`
PostStopCmdSteps []tkValueObject.UnixCommand `json:"postStopCmdSteps"`
Version *valueObject.ServiceVersion `json:"version"`
ExecUser *tkValueObject.UnixUsername `json:"execUser"`
WorkingDirectory *tkValueObject.UnixAbsoluteFilePath `json:"workingDirectory"`
AutoStart *bool `json:"autoStart"`
AutoRestart *bool `json:"autoRestart"`
TimeoutStartSecs *uint `json:"timeoutStartSecs"`
MaxStartRetries *uint `json:"maxStartRetries"`
LogOutputPath *tkValueObject.UnixAbsoluteFilePath `json:"logOutputPath"`
LogErrorPath *tkValueObject.UnixAbsoluteFilePath `json:"logErrorPath"`
AvatarUrl *tkValueObject.Url `json:"avatarUrl"`
AutoCreateMapping *bool `json:"autoCreateMapping"`
MappingHostname *tkValueObject.Fqdn `json:"mappingHostname"`
MappingPath *valueObject.MappingPath `json:"mappingPath"`
MappingUpgradeInsecureRequests *bool `json:"mappingUpgradeInsecureRequests"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateCustomService ¶
func NewCreateCustomService( name valueObject.ServiceName, serviceType valueObject.ServiceType, startCmd tkValueObject.UnixCommand, envs []valueObject.ServiceEnv, portBindings []valueObject.PortBinding, stopSteps, preStartSteps, postStartSteps, preStopSteps, postStopSteps []tkValueObject.UnixCommand, version *valueObject.ServiceVersion, execUser *tkValueObject.UnixUsername, workingDirectory *tkValueObject.UnixAbsoluteFilePath, autoStart, autoRestart *bool, timeoutStartSecs, maxStartRetries *uint, logOutputPath, logErrorPath *tkValueObject.UnixAbsoluteFilePath, avatarUrl *tkValueObject.Url, autoCreateMapping *bool, mappingHostname *tkValueObject.Fqdn, mappingPath *valueObject.MappingPath, mappingUpgradeInsecureRequests *bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateCustomService
type CreateDatabase ¶
type CreateDatabase struct {
DatabaseName valueObject.DatabaseName `json:"dbName"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateDatabase ¶
func NewCreateDatabase( dbName valueObject.DatabaseName, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateDatabase
type CreateDatabaseUser ¶
type CreateDatabaseUser struct {
DatabaseName valueObject.DatabaseName `json:"dbName"`
Username valueObject.DatabaseUsername `json:"username"`
Password tkValueObject.WeakPassword `json:"password"`
Privileges []valueObject.DatabasePrivilege `json:"privileges"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateDatabaseUser ¶
func NewCreateDatabaseUser( dbName valueObject.DatabaseName, username valueObject.DatabaseUsername, password tkValueObject.WeakPassword, privileges []valueObject.DatabasePrivilege, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateDatabaseUser
type CreateInstallableService ¶
type CreateInstallableService struct {
Name valueObject.ServiceName `json:"name"`
Envs []valueObject.ServiceEnv `json:"envs"`
PortBindings []valueObject.PortBinding `json:"portBindings"`
Version *valueObject.ServiceVersion `json:"version"`
StartupFile *tkValueObject.UnixAbsoluteFilePath `json:"startupFile"`
WorkingDir *tkValueObject.UnixAbsoluteFilePath `json:"workingDir"`
AutoStart *bool `json:"autoStart"`
TimeoutStartSecs *uint `json:"timeoutStartSecs"`
AutoRestart *bool `json:"autoRestart"`
MaxStartRetries *uint `json:"maxStartRetries"`
AutoCreateMapping *bool `json:"autoCreateMapping"`
MappingHostname *tkValueObject.Fqdn `json:"mappingHostname"`
MappingPath *valueObject.MappingPath `json:"mappingPath"`
MappingUpgradeInsecureRequests *bool `json:"mappingUpgradeInsecureRequests"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateInstallableService ¶
func NewCreateInstallableService( name valueObject.ServiceName, envs []valueObject.ServiceEnv, portBindings []valueObject.PortBinding, version *valueObject.ServiceVersion, startupFile *tkValueObject.UnixAbsoluteFilePath, workingDir *tkValueObject.UnixAbsoluteFilePath, autoStart *bool, timeoutStartSecs *uint, autoRestart *bool, maxStartRetries *uint, autoCreateMapping *bool, mappingHostname *tkValueObject.Fqdn, mappingPath *valueObject.MappingPath, mappingUpgradeInsecureRequests *bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateInstallableService
type CreateMapping ¶
type CreateMapping struct {
Hostname tkValueObject.Fqdn `json:"hostname"`
Path valueObject.MappingPath `json:"path"`
MatchPattern valueObject.MappingMatchPattern `json:"matchPattern"`
TargetType valueObject.MappingTargetType `json:"targetType"`
TargetValue *valueObject.MappingTargetValue `json:"targetValue"`
TargetHttpResponseCode *tkValueObject.HttpStatusCode `json:"targetHttpResponseCode"`
ShouldUpgradeInsecureRequests *bool `json:"shouldUpgradeInsecureRequests"`
MappingSecurityRuleId *valueObject.MappingSecurityRuleId `json:"mappingSecurityRuleId"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateMapping ¶
func NewCreateMapping( hostname tkValueObject.Fqdn, path valueObject.MappingPath, matchPattern valueObject.MappingMatchPattern, targetType valueObject.MappingTargetType, targetValue *valueObject.MappingTargetValue, targetHttpResponseCode *tkValueObject.HttpStatusCode, shouldUpgradeInsecureRequests *bool, mappingSecurityRuleId *valueObject.MappingSecurityRuleId, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateMapping
type CreateMappingSecurityRule ¶ added in v0.2.4
type CreateMappingSecurityRule struct {
Name valueObject.MappingSecurityRuleName `json:"name"`
Description *valueObject.MappingSecurityRuleDescription `json:"description"`
AllowedIps []tkValueObject.CidrBlock `json:"allowedIps"`
BlockedIps []tkValueObject.CidrBlock `json:"blockedIps"`
RpsSoftLimitPerIp *uint `json:"rpsSoftLimitPerIp"`
RpsHardLimitPerIp *uint `json:"rpsHardLimitPerIp"`
ResponseCodeOnMaxRequests *uint `json:"responseCodeOnMaxRequests"`
MaxConnectionsPerIp *uint `json:"maxConnectionsPerIp"`
BandwidthBpsLimitPerConnection *tkValueObject.Byte `json:"bandwidthBpsLimitPerConnection"`
BandwidthLimitOnlyAfterBytes *tkValueObject.Byte `json:"bandwidthLimitOnlyAfterBytes"`
ResponseCodeOnMaxConnections *uint `json:"responseCodeOnMaxConnections"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateMappingSecurityRule ¶ added in v0.2.4
func NewCreateMappingSecurityRule( name valueObject.MappingSecurityRuleName, description *valueObject.MappingSecurityRuleDescription, allowedIps, blockedIps []tkValueObject.CidrBlock, rpsSoftLimitPerIp, rpsHardLimitPerIp, responseCodeOnMaxRequests, maxConnectionsPerIp *uint, bandwidthBpsLimitPerConnection, bandwidthLimitOnlyAfterBytes *tkValueObject.Byte, responseCodeOnMaxConnections *uint, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateMappingSecurityRule
type CreatePubliclyTrustedSslPair ¶ added in v0.2.1
type CreatePubliclyTrustedSslPair struct {
VirtualHostHostname tkValueObject.Fqdn `json:"virtualHostHostname"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreatePubliclyTrustedSslPair ¶ added in v0.2.1
func NewCreatePubliclyTrustedSslPair( virtualHostHostname tkValueObject.Fqdn, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreatePubliclyTrustedSslPair
type CreateScheduledTask ¶
type CreateScheduledTask struct {
Name valueObject.ScheduledTaskName `json:"name"`
Command tkValueObject.UnixCommand `json:"command"`
Tags []valueObject.ScheduledTaskTag `json:"tags"`
TimeoutSecs *uint16 `json:"timeoutSecs,omitempty"`
RunAt *tkValueObject.UnixTime `json:"runAt,omitempty"`
}
func NewCreateScheduledTask ¶
func NewCreateScheduledTask( name valueObject.ScheduledTaskName, command tkValueObject.UnixCommand, tags []valueObject.ScheduledTaskTag, timeoutSecs *uint16, runAt *tkValueObject.UnixTime, ) CreateScheduledTask
type CreateSecureAccessPublicKey ¶ added in v0.1.7
type CreateSecureAccessPublicKey struct {
AccountId tkValueObject.AccountId `json:"accountId"`
Content valueObject.SecureAccessPublicKeyContent `json:"content"`
Name valueObject.SecureAccessPublicKeyName `json:"name"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateSecureAccessPublicKey ¶ added in v0.1.7
func NewCreateSecureAccessPublicKey( accountId tkValueObject.AccountId, content valueObject.SecureAccessPublicKeyContent, name valueObject.SecureAccessPublicKeyName, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateSecureAccessPublicKey
type CreateSessionToken ¶ added in v0.1.2
type CreateSessionToken struct {
Username valueObject.Username `json:"username"`
Password tkValueObject.WeakPassword `json:"password"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateSessionToken ¶ added in v0.1.2
func NewCreateSessionToken( username valueObject.Username, password tkValueObject.WeakPassword, operatorIpAddress tkValueObject.IpAddress, ) CreateSessionToken
type CreateSslPair ¶
type CreateSslPair struct {
VirtualHostsHostnames []tkValueObject.Fqdn `json:"virtualHostsHostnames"`
Certificate entity.SslCertificate `json:"certificate"`
ChainCertificates *entity.SslCertificate `json:"chainCertificates,omitempty"`
Key valueObject.SslPrivateKey `json:"key"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateSslPair ¶
func NewCreateSslPair( virtualHostsHostnames []tkValueObject.Fqdn, certificate entity.SslCertificate, chainCertificates *entity.SslCertificate, key valueObject.SslPrivateKey, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateSslPair
type CreateUnixFile ¶
type CreateUnixFile struct {
FilePath tkValueObject.UnixAbsoluteFilePath `json:"filePath"`
Permissions valueObject.UnixFilePermissions `json:"permissions"`
MimeType tkValueObject.MimeType `json:"mimeType"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateUnixFile ¶
func NewCreateUnixFile( filePath tkValueObject.UnixAbsoluteFilePath, permissionsPtr *valueObject.UnixFilePermissions, mimeType tkValueObject.MimeType, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateUnixFile
type CreateVirtualHost ¶
type CreateVirtualHost struct {
Hostname tkValueObject.Fqdn `json:"hostname"`
Type valueObject.VirtualHostType `json:"type"`
IsWildcard *bool `json:"isWildcard"`
ParentHostname *tkValueObject.Fqdn `json:"parentHostname"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewCreateVirtualHost ¶
func NewCreateVirtualHost( hostname tkValueObject.Fqdn, vhostType valueObject.VirtualHostType, isWildcard *bool, parentHostname *tkValueObject.Fqdn, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) CreateVirtualHost
type DeleteAccount ¶ added in v0.1.2
type DeleteAccount struct {
AccountId tkValueObject.AccountId `json:"accountId"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteAccount ¶ added in v0.1.2
func NewDeleteAccount( accountId, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteAccount
type DeleteCron ¶
type DeleteCron struct {
Id *valueObject.CronId `json:"id"`
Comment *valueObject.CronComment `json:"comment"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteCron ¶
func NewDeleteCron( id *valueObject.CronId, comment *valueObject.CronComment, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteCron
type DeleteDatabase ¶ added in v0.1.5
type DeleteDatabase struct {
DatabaseName valueObject.DatabaseName `json:"dbName"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteDatabase ¶ added in v0.1.5
func NewDeleteDatabase( dbName valueObject.DatabaseName, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteDatabase
type DeleteDatabaseUser ¶ added in v0.1.5
type DeleteDatabaseUser struct {
DatabaseName valueObject.DatabaseName `json:"dbName"`
Username valueObject.DatabaseUsername `json:"username"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteDatabaseUser ¶ added in v0.1.5
func NewDeleteDatabaseUser( dbName valueObject.DatabaseName, username valueObject.DatabaseUsername, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteDatabaseUser
type DeleteMapping ¶ added in v0.1.5
type DeleteMapping struct {
MappingId valueObject.MappingId `json:"mappingId"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteMapping ¶ added in v0.1.5
func NewDeleteMapping( mappingId valueObject.MappingId, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteMapping
type DeleteMappingSecurityRule ¶ added in v0.2.4
type DeleteMappingSecurityRule struct {
SecurityRuleId valueObject.MappingSecurityRuleId `json:"securityRuleId"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteMappingSecurityRule ¶ added in v0.2.4
func NewDeleteMappingSecurityRule( securityRuleId valueObject.MappingSecurityRuleId, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteMappingSecurityRule
type DeleteMarketplaceInstalledItem ¶
type DeleteMarketplaceInstalledItem struct {
InstalledId valueObject.MarketplaceItemId `json:"installedId"`
ShouldUninstallServices bool `json:"shouldUninstallServices"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteMarketplaceInstalledItem ¶
func NewDeleteMarketplaceInstalledItem( installedId valueObject.MarketplaceItemId, shouldUninstallServices bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteMarketplaceInstalledItem
type DeleteSecureAccessPublicKey ¶ added in v0.1.7
type DeleteSecureAccessPublicKey struct {
Id valueObject.SecureAccessPublicKeyId `json:"id"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteSecureAccessPublicKey ¶ added in v0.1.7
func NewDeleteSecureAccessPublicKey( id valueObject.SecureAccessPublicKeyId, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteSecureAccessPublicKey
type DeleteService ¶ added in v0.1.5
type DeleteService struct {
Name valueObject.ServiceName `json:"name"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteService ¶ added in v0.1.5
func NewDeleteService( name valueObject.ServiceName, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteService
type DeleteSslPair ¶ added in v0.1.5
type DeleteSslPair struct {
SslPairId valueObject.SslPairId `json:"sslPairId"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteSslPair ¶ added in v0.1.5
func NewDeleteSslPair( sslPairId valueObject.SslPairId, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteSslPair
type DeleteSslPairVhosts ¶
type DeleteSslPairVhosts struct {
SslPairId valueObject.SslPairId `json:"sslPairId"`
VirtualHostsHostnames []tkValueObject.Fqdn `json:"virtualHostsHostnames"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteSslPairVhosts ¶
func NewDeleteSslPairVhosts( sslPairId valueObject.SslPairId, virtualHostsHostnames []tkValueObject.Fqdn, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteSslPairVhosts
type DeleteUnixFiles ¶
type DeleteUnixFiles struct {
SourcePaths []tkValueObject.UnixAbsoluteFilePath `json:"sourcePaths"`
HardDelete bool `json:"hardDelete"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteUnixFiles ¶
func NewDeleteUnixFiles( sourcePaths []tkValueObject.UnixAbsoluteFilePath, hardDelete bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteUnixFiles
type DeleteVirtualHost ¶ added in v0.1.5
type DeleteVirtualHost struct {
Hostname tkValueObject.Fqdn `json:"hostname"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewDeleteVirtualHost ¶ added in v0.1.5
func NewDeleteVirtualHost( hostname tkValueObject.Fqdn, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) DeleteVirtualHost
type ExtractUnixFiles ¶
type ExtractUnixFiles struct {
SourcePath tkValueObject.UnixAbsoluteFilePath `json:"sourcePath"`
DestinationPath tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewExtractUnixFiles ¶
func NewExtractUnixFiles( sourcePath tkValueObject.UnixAbsoluteFilePath, destinationPath tkValueObject.UnixAbsoluteFilePath, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) ExtractUnixFiles
type InstallMarketplaceCatalogItem ¶
type InstallMarketplaceCatalogItem struct {
Hostname tkValueObject.Fqdn `json:"hostname"`
Id *valueObject.MarketplaceItemId `json:"id"`
Slug *valueObject.MarketplaceItemSlug `json:"slug"`
UrlPath *valueObject.UrlPath `json:"urlPath"`
DataFields []valueObject.MarketplaceInstallableItemDataField `json:"dataFields"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewInstallMarketplaceCatalogItem ¶
func NewInstallMarketplaceCatalogItem( hostname tkValueObject.Fqdn, id *valueObject.MarketplaceItemId, slug *valueObject.MarketplaceItemSlug, urlPath *valueObject.UrlPath, dataFields []valueObject.MarketplaceInstallableItemDataField, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) InstallMarketplaceCatalogItem
type InstalledServiceWithMetrics ¶
type InstalledServiceWithMetrics struct {
entity.InstalledService
Metrics *valueObject.ServiceMetrics `json:"metrics"`
}
func NewInstalledServiceWithMetrics ¶
func NewInstalledServiceWithMetrics( installedService entity.InstalledService, metrics *valueObject.ServiceMetrics, ) InstalledServiceWithMetrics
type MoveUnixFile ¶ added in v0.1.5
type MoveUnixFile struct {
SourcePath tkValueObject.UnixAbsoluteFilePath `json:"sourcePath"`
DestinationPath tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
ShouldOverwrite bool `json:"shouldOverwrite"`
}
func NewMoveUnixFile ¶ added in v0.1.5
func NewMoveUnixFile( sourcePath tkValueObject.UnixAbsoluteFilePath, destinationPath tkValueObject.UnixAbsoluteFilePath, shouldOverwrite bool, ) MoveUnixFile
type ReadAccountsRequest ¶ added in v0.1.7
type ReadAccountsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
AccountId *tkValueObject.AccountId `json:"id,omitempty"`
AccountUsername *valueObject.Username `json:"username,omitempty"`
ShouldIncludeSecureAccessPublicKeys *bool `json:"shouldIncludeSecureAccessPublicKeys,omitempty"`
}
type ReadAccountsResponse ¶ added in v0.1.7
type ReadAccountsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
Accounts []entity.Account `json:"accounts"`
}
type ReadCronsRequest ¶ added in v0.1.7
type ReadCronsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
CronId *valueObject.CronId `json:"id,omitempty"`
CronComment *valueObject.CronComment `json:"comment,omitempty"`
}
type ReadCronsResponse ¶ added in v0.1.7
type ReadCronsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
Crons []entity.Cron `json:"crons"`
}
type ReadDatabasesRequest ¶ added in v0.2.4
type ReadDatabasesRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
DatabaseName *valueObject.DatabaseName `json:"name"`
DatabaseType *valueObject.DatabaseType `json:"type"`
Username *valueObject.DatabaseUsername `json:"username"`
}
type ReadDatabasesResponse ¶ added in v0.2.4
type ReadDatabasesResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
Databases []entity.Database `json:"databases"`
}
type ReadFilesRequest ¶ added in v0.2.0
type ReadFilesRequest struct {
SourcePath tkValueObject.UnixAbsoluteFilePath `json:"sourcePath"`
ShouldIncludeFileTree *bool `json:"shouldIncludeFileTree,omitempty"`
}
type ReadFilesResponse ¶ added in v0.2.0
type ReadFilesResponse struct {
FileTree *UnixFileBranch `json:"fileTree"`
Files []entity.UnixFile `json:"files"`
}
type ReadFirstInstalledServiceItemsRequest ¶ added in v0.1.5
type ReadFirstInstalledServiceItemsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
ServiceName *valueObject.ServiceName `json:"serviceName,omitempty"`
ServiceNature *valueObject.ServiceNature `json:"serviceNature,omitempty"`
ServiceStatus *valueObject.ServiceStatus `json:"serviceStatus,omitempty"`
ServiceType *valueObject.ServiceType `json:"serviceType,omitempty"`
}
type ReadInstallableServicesItemsRequest ¶ added in v0.1.5
type ReadInstallableServicesItemsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
ServiceName *valueObject.ServiceName `json:"name,omitempty"`
ServiceNature *valueObject.ServiceNature `json:"nature,omitempty"`
ServiceType *valueObject.ServiceType `json:"type,omitempty"`
}
type ReadInstallableServicesItemsResponse ¶ added in v0.1.5
type ReadInstallableServicesItemsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
InstallableServices []entity.InstallableService `json:"installableServices"`
}
type ReadInstalledServicesItemsRequest ¶ added in v0.1.5
type ReadInstalledServicesItemsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
ServiceName *valueObject.ServiceName `json:"serviceName,omitempty"`
ServiceNature *valueObject.ServiceNature `json:"serviceNature,omitempty"`
ServiceStatus *valueObject.ServiceStatus `json:"serviceStatus,omitempty"`
ServiceType *valueObject.ServiceType `json:"serviceType,omitempty"`
ShouldIncludeMetrics *bool `json:"shouldIncludeMetrics,omitempty"`
}
type ReadInstalledServicesItemsResponse ¶ added in v0.1.5
type ReadInstalledServicesItemsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
InstalledServices []entity.InstalledService `json:"installedServices"`
InstalledServicesWithMetrics []InstalledServiceWithMetrics `json:"installedServicesWithMetrics"`
}
type ReadMappingSecurityRulesRequest ¶ added in v0.2.4
type ReadMappingSecurityRulesRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
MappingSecurityRuleId *valueObject.MappingSecurityRuleId `json:"mappingSecurityRuleId"`
MappingSecurityRuleName *valueObject.MappingSecurityRuleName `json:"mappingSecurityRuleName"`
AllowedIp *tkValueObject.CidrBlock `json:"allowedIp"`
BlockedIp *tkValueObject.CidrBlock `json:"blockedIp"`
CreatedBeforeAt *tkValueObject.UnixTime `json:"createdBeforeAt"`
CreatedAfterAt *tkValueObject.UnixTime `json:"createdAfterAt"`
}
type ReadMappingSecurityRulesResponse ¶ added in v0.2.4
type ReadMappingSecurityRulesResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
MappingSecurityRules []entity.MappingSecurityRule `json:"mappingSecurityRules"`
}
type ReadMappingsRequest ¶ added in v0.2.1
type ReadMappingsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
MappingId *valueObject.MappingId `json:"mappingId"`
Hostname *tkValueObject.Fqdn `json:"hostname"`
MappingPath *valueObject.MappingPath `json:"mappingPath"`
MatchPattern *valueObject.MappingMatchPattern `json:"matchPattern"`
TargetType *valueObject.MappingTargetType `json:"targetType"`
TargetValue *valueObject.MappingTargetValue `json:"targetValue"`
TargetHttpResponseCode *tkValueObject.HttpStatusCode `json:"targetHttpResponseCode"`
ShouldUpgradeInsecureRequests *bool `json:"shouldUpgradeInsecureRequests"`
MappingSecurityRuleId *valueObject.MappingSecurityRuleId `json:"mappingSecurityRuleId"`
CreatedBeforeAt *tkValueObject.UnixTime `json:"createdBeforeAt"`
CreatedAfterAt *tkValueObject.UnixTime `json:"createdAfterAt"`
}
type ReadMappingsResponse ¶ added in v0.2.1
type ReadMappingsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
Mappings []entity.Mapping `json:"mappings"`
}
type ReadMarketplaceCatalogItemsRequest ¶ added in v0.1.5
type ReadMarketplaceCatalogItemsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
MarketplaceCatalogItemId *valueObject.MarketplaceItemId `json:"marketplaceCatalogItemId,omitempty"`
MarketplaceCatalogItemSlug *valueObject.MarketplaceItemSlug `json:"marketplaceCatalogItemSlug,omitempty"`
MarketplaceCatalogItemName *valueObject.MarketplaceItemName `json:"marketplaceCatalogItemName,omitempty"`
MarketplaceCatalogItemType *valueObject.MarketplaceItemType `json:"marketplaceCatalogItemType,omitempty"`
}
type ReadMarketplaceCatalogItemsResponse ¶ added in v0.1.5
type ReadMarketplaceCatalogItemsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
MarketplaceCatalogItems []entity.MarketplaceCatalogItem `json:"marketplaceCatalogItems"`
}
type ReadMarketplaceInstalledItemsRequest ¶ added in v0.1.5
type ReadMarketplaceInstalledItemsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
MarketplaceInstalledItemId *valueObject.MarketplaceItemId `json:"marketplaceInstalledItemId,omitempty"`
MarketplaceInstalledItemHostname *tkValueObject.Fqdn `json:"marketplaceInstalledItemHostname,omitempty"`
MarketplaceInstalledItemType *valueObject.MarketplaceItemType `json:"marketplaceInstalledItemType,omitempty"`
MarketplaceInstalledItemUuid *valueObject.MarketplaceInstalledItemUuid `json:"marketplaceInstalledItemUuid,omitempty"`
}
type ReadMarketplaceInstalledItemsResponse ¶ added in v0.1.5
type ReadMarketplaceInstalledItemsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
MarketplaceInstalledItems []entity.MarketplaceInstalledItem `json:"marketplaceInstalledItems"`
}
type ReadScheduledTasksRequest ¶
type ReadScheduledTasksRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
TaskId *valueObject.ScheduledTaskId `json:"taskId,omitempty"`
TaskName *valueObject.ScheduledTaskName `json:"taskName,omitempty"`
TaskStatus *valueObject.ScheduledTaskStatus `json:"taskStatus,omitempty"`
TaskTags []valueObject.ScheduledTaskTag `json:"taskTags,omitempty"`
StartedBeforeAt *tkValueObject.UnixTime `json:"startedBeforeAt,omitempty"`
StartedAfterAt *tkValueObject.UnixTime `json:"startedAfterAt,omitempty"`
FinishedBeforeAt *tkValueObject.UnixTime `json:"finishedBeforeAt,omitempty"`
FinishedAfterAt *tkValueObject.UnixTime `json:"finishedAfterAt,omitempty"`
CreatedBeforeAt *tkValueObject.UnixTime `json:"createdBeforeAt,omitempty"`
CreatedAfterAt *tkValueObject.UnixTime `json:"createdAfterAt,omitempty"`
}
type ReadScheduledTasksResponse ¶
type ReadScheduledTasksResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
Tasks []entity.ScheduledTask `json:"tasks"`
}
type ReadSecureAccessPublicKeysRequest ¶ added in v0.1.7
type ReadSecureAccessPublicKeysRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
AccountId tkValueObject.AccountId `json:"accountId,omitempty"`
SecureAccessPublicKeyId *valueObject.SecureAccessPublicKeyId `json:"id,omitempty"`
SecureAccessPublicKeyName *valueObject.SecureAccessPublicKeyName `json:"name,omitempty"`
}
type ReadSecureAccessPublicKeysResponse ¶ added in v0.1.7
type ReadSecureAccessPublicKeysResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
SecureAccessPublicKeys []entity.SecureAccessPublicKey `json:"SecureAccessPublicKeys"`
}
type ReadSslPairsRequest ¶ added in v0.2.2
type ReadSslPairsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
SslPairId *valueObject.SslPairId `json:"sslPairId"`
VirtualHostHostname *tkValueObject.Fqdn `json:"virtualHostHostname"`
AltNames []valueObject.SslHostname `json:"altNames"`
IssuedBeforeAt *tkValueObject.UnixTime `json:"createdBeforeAt"`
IssuedAfterAt *tkValueObject.UnixTime `json:"createdAfterAt"`
ExpiresBeforeAt *tkValueObject.UnixTime `json:"expiresBeforeAt"`
ExpiresAfterAt *tkValueObject.UnixTime `json:"expiresAfterAt"`
}
type ReadSslPairsResponse ¶ added in v0.2.2
type ReadSslPairsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
SslPairs []entity.SslPair `json:"sslPairs"`
}
type ReadVirtualHostsRequest ¶ added in v0.2.1
type ReadVirtualHostsRequest struct {
Pagination tkDto.Pagination `json:"pagination"`
Hostname *tkValueObject.Fqdn `json:"hostname"`
VirtualHostType *valueObject.VirtualHostType `json:"type"`
RootDirectory *tkValueObject.UnixAbsoluteFilePath `json:"rootDirectory"`
ParentHostname *tkValueObject.Fqdn `json:"parentHostname"`
WithMappings *bool `json:"withMappings"`
IsWildcard *bool `json:"isWildcard"`
IsPrimary *bool `json:"-"`
AliasesHostnames []tkValueObject.Fqdn `json:"aliasesHostnames"`
CreatedBeforeAt *tkValueObject.UnixTime `json:"createdBeforeAt"`
CreatedAfterAt *tkValueObject.UnixTime `json:"createdAfterAt"`
}
type ReadVirtualHostsResponse ¶ added in v0.2.1
type ReadVirtualHostsResponse struct {
Pagination tkDto.Pagination `json:"pagination"`
VirtualHosts []entity.VirtualHost `json:"virtualHosts"`
VirtualHostWithMappings []VirtualHostWithMappings `json:"virtualHostWithMappings"`
}
type RunPhpCommandRequest ¶ added in v0.2.6
type RunPhpCommandRequest struct {
Hostname tkValueObject.Fqdn `json:"hostname"`
Command tkValueObject.UnixCommand `json:"command"`
TimeoutSecs *uint64 `json:"timeoutSecs"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewRunPhpCommandRequest ¶ added in v0.2.6
func NewRunPhpCommandRequest( hostname tkValueObject.Fqdn, command tkValueObject.UnixCommand, timeoutSecs *uint64, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) RunPhpCommandRequest
type RunPhpCommandResponse ¶ added in v0.2.6
type RunPhpCommandResponse struct {
StdOutput *valueObject.UnixCommandOutput `json:"stdOut"`
StdError *valueObject.UnixCommandOutput `json:"stdErr"`
ExitCode *int `json:"exitCode"`
}
type UnixFileBranch ¶ added in v0.2.0
type UnixFileBranch struct {
entity.SimplifiedUnixFile
Branches map[tkValueObject.UnixFileName]UnixFileBranch `json:"branches"`
}
func NewUnixFileBranch ¶ added in v0.2.0
func NewUnixFileBranch(parentNodeFile entity.SimplifiedUnixFile) UnixFileBranch
type UpdateAccount ¶
type UpdateAccount struct {
AccountId *tkValueObject.AccountId `json:"accountId"`
AccountUsername *valueObject.Username `json:"accountUsername"`
Password *tkValueObject.Password `json:"password"`
IsSuperAdmin *bool `json:"isSuperAdmin"`
ShouldUpdateApiKey *bool `json:"shouldUpdateApiKey"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdateAccount ¶
func NewUpdateAccount( accountId *tkValueObject.AccountId, accountUsername *valueObject.Username, password *tkValueObject.Password, isSuperAdmin, shouldUpdateApiKey *bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdateAccount
type UpdateCron ¶
type UpdateCron struct {
Id valueObject.CronId `json:"id"`
Schedule *valueObject.CronSchedule `json:"schedule"`
Command *tkValueObject.UnixCommand `json:"command"`
Comment *valueObject.CronComment `json:"comment"`
ClearableFields []string `json:"-"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdateCron ¶
func NewUpdateCron( id valueObject.CronId, schedule *valueObject.CronSchedule, command *tkValueObject.UnixCommand, comment *valueObject.CronComment, clearableFields []string, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdateCron
type UpdateMapping ¶ added in v0.2.4
type UpdateMapping struct {
Id valueObject.MappingId `json:"id"`
Path *valueObject.MappingPath `json:"path"`
MatchPattern *valueObject.MappingMatchPattern `json:"matchPattern"`
TargetType *valueObject.MappingTargetType `json:"targetType"`
TargetValue *valueObject.MappingTargetValue `json:"targetValue"`
TargetHttpResponseCode *tkValueObject.HttpStatusCode `json:"targetHttpResponseCode"`
ShouldUpgradeInsecureRequests *bool `json:"shouldUpgradeInsecureRequests"`
MappingSecurityRuleId *valueObject.MappingSecurityRuleId `json:"mappingSecurityRuleId"`
ClearableFields []string `json:"-"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdateMapping ¶ added in v0.2.4
func NewUpdateMapping( id valueObject.MappingId, path *valueObject.MappingPath, matchPattern *valueObject.MappingMatchPattern, targetType *valueObject.MappingTargetType, targetValue *valueObject.MappingTargetValue, targetHttpResponseCode *tkValueObject.HttpStatusCode, shouldUpgradeInsecureRequests *bool, mappingSecurityRuleId *valueObject.MappingSecurityRuleId, clearableFields []string, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdateMapping
type UpdateMappingSecurityRule ¶ added in v0.2.4
type UpdateMappingSecurityRule struct {
Id valueObject.MappingSecurityRuleId `json:"id"`
Name *valueObject.MappingSecurityRuleName `json:"name"`
Description *valueObject.MappingSecurityRuleDescription `json:"description"`
AllowedIps []tkValueObject.CidrBlock `json:"allowedIps"`
BlockedIps []tkValueObject.CidrBlock `json:"blockedIps"`
RpsSoftLimitPerIp *uint `json:"rpsSoftLimitPerIp"`
RpsHardLimitPerIp *uint `json:"rpsHardLimitPerIp"`
ResponseCodeOnMaxRequests *uint `json:"responseCodeOnMaxRequests"`
MaxConnectionsPerIp *uint `json:"maxConnectionsPerIp"`
BandwidthBpsLimitPerConnection *tkValueObject.Byte `json:"bandwidthBpsLimitPerConnection"`
BandwidthLimitOnlyAfterBytes *tkValueObject.Byte `json:"bandwidthLimitOnlyAfterBytes"`
ResponseCodeOnMaxConnections *uint `json:"responseCodeOnMaxConnections"`
ClearableFields []string `json:"-"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdateMappingSecurityRule ¶ added in v0.2.4
func NewUpdateMappingSecurityRule( id valueObject.MappingSecurityRuleId, name *valueObject.MappingSecurityRuleName, description *valueObject.MappingSecurityRuleDescription, allowedIps, blockedIps []tkValueObject.CidrBlock, rpsSoftLimitPerIp, rpsHardLimitPerIp, responseCodeOnMaxRequests, maxConnectionsPerIp *uint, bandwidthBpsLimitPerConnection, bandwidthLimitOnlyAfterBytes *tkValueObject.Byte, responseCodeOnMaxConnections *uint, clearableFields []string, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdateMappingSecurityRule
type UpdatePhpConfigs ¶
type UpdatePhpConfigs struct {
Hostname tkValueObject.Fqdn `json:"hostname"`
PhpVersion valueObject.PhpVersion `json:"version"`
PhpModules []entity.PhpModule `json:"modules"`
PhpSettings []entity.PhpSetting `json:"settings"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdatePhpConfigs ¶
func NewUpdatePhpConfigs( hostname tkValueObject.Fqdn, phpVersion valueObject.PhpVersion, phpModules []entity.PhpModule, phpSettings []entity.PhpSetting, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdatePhpConfigs
type UpdateProcessReport ¶
type UpdateProcessReport struct {
FilePathsSuccessfullyUpdated []tkValueObject.UnixAbsoluteFilePath `json:"filePathsSuccessfullyUpdated"`
FailedPathsWithReason []valueObject.UpdateProcessFailure `json:"failedPathsWithReason"`
}
func NewUpdateProcessReport ¶
func NewUpdateProcessReport( filePathsSuccessfullyUpdated []tkValueObject.UnixAbsoluteFilePath, failedPathsWithReason []valueObject.UpdateProcessFailure, ) UpdateProcessReport
type UpdateScheduledTask ¶
type UpdateScheduledTask struct {
TaskId valueObject.ScheduledTaskId `json:"taskId"`
Status *valueObject.ScheduledTaskStatus `json:"status,omitempty"`
RunAt *tkValueObject.UnixTime `json:"runAt,omitempty"`
}
func NewUpdateScheduledTask ¶
func NewUpdateScheduledTask( taskId valueObject.ScheduledTaskId, status *valueObject.ScheduledTaskStatus, runAt *tkValueObject.UnixTime, ) UpdateScheduledTask
type UpdateService ¶
type UpdateService struct {
Name valueObject.ServiceName `json:"name"`
Type *valueObject.ServiceType `json:"type"`
Version *valueObject.ServiceVersion `json:"version"`
Status *valueObject.ServiceStatus `json:"status"`
StartCmd *tkValueObject.UnixCommand `json:"startCmd"`
Envs []valueObject.ServiceEnv `json:"envs"`
PortBindings []valueObject.PortBinding `json:"portBindings"`
StopCmdSteps []tkValueObject.UnixCommand `json:"stopCmdSteps"`
PreStartCmdSteps []tkValueObject.UnixCommand `json:"preStartCmdSteps"`
PostStartCmdSteps []tkValueObject.UnixCommand `json:"postStartCmdSteps"`
PreStopCmdSteps []tkValueObject.UnixCommand `json:"preStopCmdSteps"`
PostStopCmdSteps []tkValueObject.UnixCommand `json:"postStopCmdSteps"`
ExecUser *tkValueObject.UnixUsername `json:"execUser"`
WorkingDirectory *tkValueObject.UnixAbsoluteFilePath `json:"workingDirectory"`
StartupFile *tkValueObject.UnixAbsoluteFilePath `json:"startupFile"`
AutoStart *bool `json:"autoStart"`
AutoRestart *bool `json:"autoRestart"`
TimeoutStartSecs *uint `json:"timeoutStartSecs"`
MaxStartRetries *uint `json:"maxStartRetries"`
LogOutputPath *tkValueObject.UnixAbsoluteFilePath `json:"logOutputPath"`
LogErrorPath *tkValueObject.UnixAbsoluteFilePath `json:"logErrorPath"`
AvatarUrl *tkValueObject.Url `json:"avatarUrl"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdateService ¶
func NewUpdateService( name valueObject.ServiceName, svcType *valueObject.ServiceType, version *valueObject.ServiceVersion, status *valueObject.ServiceStatus, startCmd *tkValueObject.UnixCommand, envs []valueObject.ServiceEnv, portBindings []valueObject.PortBinding, stopSteps, preStartSteps, postStartSteps, preStopSteps, postStopSteps []tkValueObject.UnixCommand, execUser *tkValueObject.UnixUsername, workingDirectory, startupFile *tkValueObject.UnixAbsoluteFilePath, autoStart, autoRestart *bool, timeoutStartSecs, maxStartRetries *uint, logOutputPath, logErrorPath *tkValueObject.UnixAbsoluteFilePath, avatarUrl *tkValueObject.Url, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdateService
type UpdateUnixFileContent ¶
type UpdateUnixFileContent struct {
SourcePath tkValueObject.UnixAbsoluteFilePath `json:"sourcePath"`
Content valueObject.EncodedContent `json:"content"`
}
func NewUpdateUnixFileContent ¶
func NewUpdateUnixFileContent( sourcePath tkValueObject.UnixAbsoluteFilePath, content valueObject.EncodedContent, ) UpdateUnixFileContent
type UpdateUnixFileOwnership ¶ added in v0.2.0
type UpdateUnixFileOwnership struct {
SourcePath tkValueObject.UnixAbsoluteFilePath `json:"sourcePath"`
Ownership tkValueObject.UnixFileOwnership `json:"ownership"`
IsRecursive bool `json:"isRecursive"`
}
func NewUpdateUnixFileOwnership ¶ added in v0.2.0
func NewUpdateUnixFileOwnership( sourcePath tkValueObject.UnixAbsoluteFilePath, ownership tkValueObject.UnixFileOwnership, isRecursive bool, ) UpdateUnixFileOwnership
type UpdateUnixFilePermissions ¶ added in v0.1.5
type UpdateUnixFilePermissions struct {
SourcePath tkValueObject.UnixAbsoluteFilePath `json:"sourcePath"`
FilePermissions valueObject.UnixFilePermissions `json:"filePermissions"`
DirectoryPermissions *valueObject.UnixFilePermissions `json:"directoryPermissions"`
}
func NewUpdateUnixFilePermissions ¶ added in v0.1.5
func NewUpdateUnixFilePermissions( sourcePath tkValueObject.UnixAbsoluteFilePath, filePermissions valueObject.UnixFilePermissions, directoryPermissions *valueObject.UnixFilePermissions, ) UpdateUnixFilePermissions
type UpdateUnixFiles ¶
type UpdateUnixFiles struct {
SourcePaths []tkValueObject.UnixAbsoluteFilePath `json:"sourcePaths"`
DestinationPath *tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
Permissions *valueObject.UnixFilePermissions `json:"permissions"`
EncodedContent *valueObject.EncodedContent `json:"encodedContent"`
Ownership *tkValueObject.UnixFileOwnership `json:"ownership"`
ShouldFixPermissions *bool `json:"shouldFixPermissions"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdateUnixFiles ¶
func NewUpdateUnixFiles( sourcePaths []tkValueObject.UnixAbsoluteFilePath, destinationPath *tkValueObject.UnixAbsoluteFilePath, permissions *valueObject.UnixFilePermissions, encodedContent *valueObject.EncodedContent, ownership *tkValueObject.UnixFileOwnership, shouldFixPermissions *bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdateUnixFiles
type UpdateVirtualHost ¶ added in v0.2.1
type UpdateVirtualHost struct {
Hostname tkValueObject.Fqdn `json:"hostname"`
IsWildcard *bool `json:"isWildcard"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUpdateVirtualHost ¶ added in v0.2.1
func NewUpdateVirtualHost( hostname tkValueObject.Fqdn, isWildcard *bool, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UpdateVirtualHost
type UploadProcessReport ¶
type UploadProcessReport struct {
FileNamesSuccessfullyUploaded []tkValueObject.UnixFileName `json:"fileNamesSuccessfullyUploaded"`
FailedNamesWithReason []valueObject.UploadProcessFailure `json:"failedNamesWithReason"`
DestinationPath tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
}
func NewUploadProcessReport ¶
func NewUploadProcessReport( fileNamesSuccessfullyUploaded []tkValueObject.UnixFileName, failedNamesWithReason []valueObject.UploadProcessFailure, destinationPath tkValueObject.UnixAbsoluteFilePath, ) UploadProcessReport
type UploadUnixFiles ¶
type UploadUnixFiles struct {
DestinationPath tkValueObject.UnixAbsoluteFilePath `json:"destinationPath"`
FileStreamHandlers []valueObject.FileStreamHandler `json:"fileStreamHandlers"`
OperatorAccountId tkValueObject.AccountId `json:"-"`
OperatorIpAddress tkValueObject.IpAddress `json:"-"`
}
func NewUploadUnixFiles ¶
func NewUploadUnixFiles( destinationPath tkValueObject.UnixAbsoluteFilePath, fileStreamHandlers []valueObject.FileStreamHandler, operatorAccountId tkValueObject.AccountId, operatorIpAddress tkValueObject.IpAddress, ) UploadUnixFiles
type VirtualHostWithMappings ¶
type VirtualHostWithMappings struct {
entity.VirtualHost
Mappings []entity.Mapping `json:"mappings"`
}
Source Files
¶
- accessTokenDetails.go
- compressUnixFiles.go
- compressionProcessReport.go
- copyUnixFile.go
- createAccount.go
- createCron.go
- createCustomService.go
- createDatabase.go
- createDatabaseUser.go
- createInstallableService.go
- createMapping.go
- createMappingSecurityRule.go
- createPubliclyTrustedSslPair.go
- createScheduledTask.go
- createSecureAccessPublicKey.go
- createSessionToken.go
- createSslPair.go
- createUnixFile.go
- createVirtualHost.go
- deleteAccount.go
- deleteCron.go
- deleteDatabase.go
- deleteDatabaseUser.go
- deleteMapping.go
- deleteMappingSecurityRule.go
- deleteMarketplaceInstalledItem.go
- deleteSecureAccessPublicKey.go
- deleteService.go
- deleteSslPair.go
- deleteSslPairVhosts.go
- deleteUnixFiles.go
- deleteVirtualHost.go
- extractUnixFiles.go
- installMarketplaceCatalogItem.go
- installedServiceWithMetrics.go
- moveUnixFile.go
- readAccounts.go
- readCrons.go
- readDatabases.go
- readFiles.go
- readInstallableServicesItems.go
- readInstalledServicesItems.go
- readMappingSecurityRulesRequest.go
- readMappings.go
- readMarketplaceCatalogItems.go
- readMarketplaceInstalledItems.go
- readScheduledTasks.go
- readSecureAccessPublicKeys.go
- readSslPairs.go
- readVirtualHosts.go
- runPhpCommand.go
- unixFileBranch.go
- updateAccount.go
- updateCron.go
- updateMapping.go
- updateMappingSecurityRule.go
- updatePhpConfigs.go
- updateProcessReport.go
- updateScheduledTask.go
- updateService.go
- updateUnixFileContent.go
- updateUnixFileOwnership.go
- updateUnixFilePermissions.go
- updateUnixFiles.go
- updateVirtualHost.go
- uploadProcessReport.go
- uploadUnixFiles.go
Click to show internal directories.
Click to hide internal directories.