dto

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: EPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenDetails

type AccessTokenDetails struct {
	TokenType valueObject.AccessTokenType `json:"tokenType"`
	AccountId valueObject.AccountId       `json:"accountId"`
	IpAddress *valueObject.IpAddress      `json:"ipAddress"`
}

func NewAccessTokenDetails

func NewAccessTokenDetails(
	tokenType valueObject.AccessTokenType,
	accountId valueObject.AccountId,
	ipAddress *valueObject.IpAddress,
) AccessTokenDetails

type CompressUnixFiles

type CompressUnixFiles struct {
	SourcePaths     []valueObject.UnixFilePath       `json:"sourcePaths"`
	DestinationPath valueObject.UnixFilePath         `json:"destinationPath"`
	CompressionType *valueObject.UnixCompressionType `json:"compressionType"`
}

func NewCompressUnixFiles

func NewCompressUnixFiles(
	sourcePaths []valueObject.UnixFilePath,
	destinationPath valueObject.UnixFilePath,
	compressionType *valueObject.UnixCompressionType,
) CompressUnixFiles

type CompressionProcessReport

type CompressionProcessReport struct {
	FilePathsSuccessfullyCompressed []valueObject.UnixFilePath              `json:"filePathsSuccessfullyCompressed"`
	FailedPathsWithReason           []valueObject.CompressionProcessFailure `json:"failedPathsWithReason"`
	DestinationPath                 valueObject.UnixFilePath                `json:"destinationPath"`
}

func NewCompressionProcessReport

func NewCompressionProcessReport(
	filePathsSuccessfullyCompressed []valueObject.UnixFilePath,
	failedPathsWithReason []valueObject.CompressionProcessFailure,
	destinationPath valueObject.UnixFilePath,
) CompressionProcessReport

type CopyUnixFile

type CopyUnixFile struct {
	SourcePath      valueObject.UnixFilePath `json:"sourcePath"`
	DestinationPath valueObject.UnixFilePath `json:"destinationPath"`
	ShouldOverwrite bool                     `json:"shouldOverwrite"`
}

func NewCopyUnixFile

func NewCopyUnixFile(
	sourcePath valueObject.UnixFilePath,
	destinationPath valueObject.UnixFilePath,
	shouldOverwrite bool,
) CopyUnixFile

type CreateAccount

type CreateAccount struct {
	Username          valueObject.Username  `json:"username"`
	Password          valueObject.Password  `json:"password"`
	OperatorAccountId valueObject.AccountId `json:"-"`
	OperatorIpAddress valueObject.IpAddress `json:"-"`
}

func NewCreateAccount

func NewCreateAccount(
	username valueObject.Username,
	password valueObject.Password,
	operatorAccountId valueObject.AccountId,
	operatorIpAddress valueObject.IpAddress,
) CreateAccount

type CreateActivityRecord

type CreateActivityRecord struct {
	RecordLevel       valueObject.ActivityRecordLevel        `json:"recordLevel"`
	RecordCode        valueObject.ActivityRecordCode         `json:"recordCode"`
	AffectedResources []valueObject.SystemResourceIdentifier `json:"affectedResources,omitempty"`
	RecordDetails     interface{}                            `json:"recordDetails,omitempty"`
	OperatorAccountId *valueObject.AccountId                 `json:"operatorAccountId,omitempty"`
	OperatorIpAddress *valueObject.IpAddress                 `json:"operatorIpAddress,omitempty"`
}

type CreateCron

type CreateCron struct {
	Schedule valueObject.CronSchedule `json:"schedule"`
	Command  valueObject.UnixCommand  `json:"command"`
	Comment  *valueObject.CronComment `json:"comment"`
}

func NewCreateCron

func NewCreateCron(
	schedule valueObject.CronSchedule,
	command valueObject.UnixCommand,
	comment *valueObject.CronComment,
) CreateCron

type CreateCustomService

type CreateCustomService struct {
	Name              valueObject.ServiceName     `json:"name"`
	Type              valueObject.ServiceType     `json:"type"`
	StartCmd          valueObject.UnixCommand     `json:"startCmd"`
	Envs              []valueObject.ServiceEnv    `json:"envs"`
	PortBindings      []valueObject.PortBinding   `json:"portBindings"`
	StopCmdSteps      []valueObject.UnixCommand   `json:"stopCmdSteps"`
	PreStartCmdSteps  []valueObject.UnixCommand   `json:"preStartCmdSteps"`
	PostStartCmdSteps []valueObject.UnixCommand   `json:"postStartCmdSteps"`
	PreStopCmdSteps   []valueObject.UnixCommand   `json:"preStopCmdSteps"`
	PostStopCmdSteps  []valueObject.UnixCommand   `json:"postStopCmdSteps"`
	Version           *valueObject.ServiceVersion `json:"version"`
	ExecUser          *valueObject.UnixUsername   `json:"execUser"`
	WorkingDirectory  *valueObject.UnixFilePath   `json:"workingDirectory"`
	AutoStart         *bool                       `json:"autoStart"`
	AutoRestart       *bool                       `json:"autoRestart"`
	TimeoutStartSecs  *uint                       `json:"timeoutStartSecs"`
	MaxStartRetries   *uint                       `json:"maxStartRetries"`
	LogOutputPath     *valueObject.UnixFilePath   `json:"logOutputPath"`
	LogErrorPath      *valueObject.UnixFilePath   `json:"logErrorPath"`
	AutoCreateMapping *bool                       `json:"autoCreateMapping"`
}

func NewCreateCustomService

func NewCreateCustomService(
	name valueObject.ServiceName,
	serviceType valueObject.ServiceType,
	startCmd valueObject.UnixCommand,
	envs []valueObject.ServiceEnv,
	portBindings []valueObject.PortBinding,
	stopSteps, preStartSteps, postStartSteps, preStopSteps, postStopSteps []valueObject.UnixCommand,
	version *valueObject.ServiceVersion,
	execUser *valueObject.UnixUsername,
	workingDirectory *valueObject.UnixFilePath,
	autoStart, autoRestart *bool,
	timeoutStartSecs, maxStartRetries *uint,
	logOutputPath, logErrorPath *valueObject.UnixFilePath,
	autoCreateMapping *bool,
) CreateCustomService

type CreateDatabase

type CreateDatabase struct {
	DatabaseName valueObject.DatabaseName `json:"dbName"`
}

func NewCreateDatabase

func NewCreateDatabase(
	dbName valueObject.DatabaseName,
) CreateDatabase

type CreateDatabaseUser

type CreateDatabaseUser struct {
	DatabaseName valueObject.DatabaseName        `json:"dbName"`
	Username     valueObject.DatabaseUsername    `json:"username"`
	Password     valueObject.Password            `json:"password"`
	Privileges   []valueObject.DatabasePrivilege `json:"privileges"`
}

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       *valueObject.UnixFilePath   `json:"startupFile"`
	AutoStart         *bool                       `json:"autoStart"`
	TimeoutStartSecs  *uint                       `json:"timeoutStartSecs"`
	AutoRestart       *bool                       `json:"autoRestart"`
	MaxStartRetries   *uint                       `json:"maxStartRetries"`
	AutoCreateMapping *bool                       `json:"autoCreateMapping"`
}

func NewCreateInstallableService

func NewCreateInstallableService(
	name valueObject.ServiceName,
	envs []valueObject.ServiceEnv,
	portBindings []valueObject.PortBinding,
	version *valueObject.ServiceVersion,
	startupFile *valueObject.UnixFilePath,
	autoStart *bool,
	timeoutStartSecs *uint,
	autoRestart *bool,
	maxStartRetries *uint,
	autoCreateMapping *bool,
) CreateInstallableService

type CreateMapping

type CreateMapping struct {
	Hostname               valueObject.Fqdn                `json:"hostname"`
	Path                   valueObject.MappingPath         `json:"path"`
	MatchPattern           valueObject.MappingMatchPattern `json:"matchPattern"`
	TargetType             valueObject.MappingTargetType   `json:"targetType"`
	TargetValue            *valueObject.MappingTargetValue `json:"targetValue"`
	TargetHttpResponseCode *valueObject.HttpResponseCode   `json:"targetHttpResponseCode"`
}

func NewCreateMapping

func NewCreateMapping(
	hostname valueObject.Fqdn,
	path valueObject.MappingPath,
	matchPattern valueObject.MappingMatchPattern,
	targetType valueObject.MappingTargetType,
	targetValue *valueObject.MappingTargetValue,
	targetHttpResponseCode *valueObject.HttpResponseCode,
) CreateMapping

type CreateScheduledTask

type CreateScheduledTask struct {
	Name        valueObject.ScheduledTaskName  `json:"name"`
	Command     valueObject.UnixCommand        `json:"command"`
	Tags        []valueObject.ScheduledTaskTag `json:"tags"`
	TimeoutSecs *uint16                        `json:"timeoutSecs,omitempty"`
	RunAt       *valueObject.UnixTime          `json:"runAt,omitempty"`
}

type CreateSessionToken added in v0.1.2

type CreateSessionToken struct {
	Username          valueObject.Username  `json:"username"`
	Password          valueObject.Password  `json:"password"`
	OperatorIpAddress valueObject.IpAddress `json:"-"`
}

func NewCreateSessionToken added in v0.1.2

func NewCreateSessionToken(
	username valueObject.Username,
	password valueObject.Password,
	operatorIpAddress valueObject.IpAddress,
) CreateSessionToken

type CreateSslPair

type CreateSslPair struct {
	VirtualHostsHostnames []valueObject.Fqdn        `json:"virtualHostsHostnames"`
	Certificate           entity.SslCertificate     `json:"certificate"`
	Key                   valueObject.SslPrivateKey `json:"key"`
}

func NewCreateSslPair

func NewCreateSslPair(
	virtualHostsHostnames []valueObject.Fqdn,
	certificate entity.SslCertificate,
	key valueObject.SslPrivateKey,
) CreateSslPair

type CreateUnixFile

type CreateUnixFile struct {
	FilePath    valueObject.UnixFilePath        `json:"filePath"`
	Permissions valueObject.UnixFilePermissions `json:"permissions"`
	MimeType    valueObject.MimeType            `json:"mimeType"`
}

func NewCreateUnixFile

func NewCreateUnixFile(
	filePath valueObject.UnixFilePath,
	permissionsPtr *valueObject.UnixFilePermissions,
	mimeType valueObject.MimeType,
) CreateUnixFile

type CreateVirtualHost

type CreateVirtualHost struct {
	Hostname       valueObject.Fqdn            `json:"hostname"`
	Type           valueObject.VirtualHostType `json:"type"`
	ParentHostname *valueObject.Fqdn           `json:"parentHostname"`
}

func NewCreateVirtualHost

func NewCreateVirtualHost(
	hostname valueObject.Fqdn,
	vhostType valueObject.VirtualHostType,
	parentHostname *valueObject.Fqdn,
) CreateVirtualHost

type DeleteAccount added in v0.1.2

type DeleteAccount struct {
	AccountId         valueObject.AccountId `json:"accountId"`
	OperatorAccountId valueObject.AccountId `json:"-"`
	OperatorIpAddress valueObject.IpAddress `json:"-"`
}

func NewDeleteAccount added in v0.1.2

func NewDeleteAccount(
	accountId, operatorAccountId valueObject.AccountId,
	operatorIpAddress valueObject.IpAddress,
) DeleteAccount

type DeleteActivityRecord added in v0.1.2

type DeleteActivityRecord struct {
	RecordId          *valueObject.ActivityRecordId          `json:"recordId,omitempty"`
	RecordLevel       *valueObject.ActivityRecordLevel       `json:"recordLevel,omitempty"`
	RecordCode        *valueObject.ActivityRecordCode        `json:"recordCode,omitempty"`
	AffectedResources []valueObject.SystemResourceIdentifier `json:"affectedResources,omitempty"`
	OperatorAccountId *valueObject.AccountId                 `json:"operatorAccountId,omitempty"`
	OperatorIpAddress *valueObject.IpAddress                 `json:"operatorIpAddress,omitempty"`
	CreatedBeforeAt   *valueObject.UnixTime                  `json:"createdBeforeAt,omitempty"`
	CreatedAfterAt    *valueObject.UnixTime                  `json:"createdAfterAt,omitempty"`
}

func NewDeleteActivityRecord added in v0.1.2

func NewDeleteActivityRecord(
	recordId *valueObject.ActivityRecordId,
	recordLevel *valueObject.ActivityRecordLevel,
	recordCode *valueObject.ActivityRecordCode,
	affectedResources []valueObject.SystemResourceIdentifier,
	operatorAccountId *valueObject.AccountId,
	operatorIpAddress *valueObject.IpAddress,
	createdBeforeAt, createdAfterAt *valueObject.UnixTime,
) DeleteActivityRecord

type DeleteCron

type DeleteCron struct {
	Id      *valueObject.CronId      `json:"id"`
	Comment *valueObject.CronComment `json:"comment"`
}

func NewDeleteCron

func NewDeleteCron(
	id *valueObject.CronId,
	comment *valueObject.CronComment,
) DeleteCron

type DeleteMarketplaceInstalledItem

type DeleteMarketplaceInstalledItem struct {
	InstalledId             valueObject.MarketplaceItemId
	ShouldUninstallServices bool
	ShouldRemoveFiles       bool
}

func NewDeleteMarketplaceInstalledItem

func NewDeleteMarketplaceInstalledItem(
	installedId valueObject.MarketplaceItemId,
	shouldUninstallServices bool,
) DeleteMarketplaceInstalledItem

type DeleteSslPairVhosts

type DeleteSslPairVhosts struct {
	SslPairId             valueObject.SslId  `json:"sslPairId"`
	VirtualHostsHostnames []valueObject.Fqdn `json:"virtualHostsHostnames"`
}

func NewDeleteSslPairVhosts

func NewDeleteSslPairVhosts(
	sslPairId valueObject.SslId,
	virtualHostsHostnames []valueObject.Fqdn,
) DeleteSslPairVhosts

type DeleteUnixFiles

type DeleteUnixFiles struct {
	SourcePaths []valueObject.UnixFilePath `json:"sourcePaths"`
	HardDelete  bool                       `json:"hardDelete"`
}

func NewDeleteUnixFiles

func NewDeleteUnixFiles(
	sourcePaths []valueObject.UnixFilePath,
	hardDelete bool,
) DeleteUnixFiles

type ExtractUnixFiles

type ExtractUnixFiles struct {
	SourcePath      valueObject.UnixFilePath `json:"sourcePath"`
	DestinationPath valueObject.UnixFilePath `json:"destinationPath"`
}

func NewExtractUnixFiles

func NewExtractUnixFiles(
	sourcePath valueObject.UnixFilePath,
	destinationPath valueObject.UnixFilePath,
) ExtractUnixFiles

type InstallMarketplaceCatalogItem

type InstallMarketplaceCatalogItem struct {
	Hostname   valueObject.Fqdn                                  `json:"hostname"`
	Id         *valueObject.MarketplaceItemId                    `json:"id"`
	Slug       *valueObject.MarketplaceItemSlug                  `json:"slug"`
	UrlPath    *valueObject.UrlPath                              `json:"urlPath"`
	DataFields []valueObject.MarketplaceInstallableItemDataField `json:"dataFields"`
}

type InstalledServiceWithMetrics

type InstalledServiceWithMetrics struct {
	entity.InstalledService
	Metrics *valueObject.ServiceMetrics `json:"metrics"`
}

func NewInstalledServiceWithMetrics

func NewInstalledServiceWithMetrics(
	installedService entity.InstalledService,
	metrics *valueObject.ServiceMetrics,
) InstalledServiceWithMetrics

type Pagination

type Pagination struct {
	PageNumber    uint32                               `json:"pageNumber"`
	ItemsPerPage  uint16                               `json:"itemsPerPage"`
	SortBy        *valueObject.PaginationSortBy        `json:"sortBy,omitempty"`
	SortDirection *valueObject.PaginationSortDirection `json:"sortDirection,omitempty"`
	LastSeenId    *valueObject.PaginationLastSeenId    `json:"lastSeenId,omitempty"`
	PagesTotal    *uint32                              `json:"pagesTotal,omitempty"`
	ItemsTotal    *uint64                              `json:"itemsTotal,omitempty"`
}

type ReadActivityRecords

type ReadActivityRecords struct {
	RecordId          *valueObject.ActivityRecordId          `json:"recordId,omitempty"`
	RecordLevel       *valueObject.ActivityRecordLevel       `json:"recordLevel,omitempty"`
	RecordCode        *valueObject.ActivityRecordCode        `json:"recordCode,omitempty"`
	AffectedResources []valueObject.SystemResourceIdentifier `json:"affectedResources,omitempty"`
	RecordDetails     *string                                `json:"recordDetails,omitempty"`
	OperatorAccountId *valueObject.AccountId                 `json:"operatorAccountId,omitempty"`
	OperatorIpAddress *valueObject.IpAddress                 `json:"operatorIpAddress,omitempty"`
	CreatedBeforeAt   *valueObject.UnixTime                  `json:"createdBeforeAt,omitempty"`
	CreatedAfterAt    *valueObject.UnixTime                  `json:"createdAfterAt,omitempty"`
}

func NewReadActivityRecords

func NewReadActivityRecords(
	recordId *valueObject.ActivityRecordId,
	recordLevel *valueObject.ActivityRecordLevel,
	recordCode *valueObject.ActivityRecordCode,
	affectedResources []valueObject.SystemResourceIdentifier,
	recordDetails *string,
	operatorAccountId *valueObject.AccountId,
	operatorIpAddress *valueObject.IpAddress,
	createdBeforeAt, createdAfterAt *valueObject.UnixTime,
) ReadActivityRecords

type ReadScheduledTasksRequest

type ReadScheduledTasksRequest struct {
	Pagination       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  *valueObject.UnixTime            `json:"startedBeforeAt,omitempty"`
	StartedAfterAt   *valueObject.UnixTime            `json:"startedAfterAt,omitempty"`
	FinishedBeforeAt *valueObject.UnixTime            `json:"finishedBeforeAt,omitempty"`
	FinishedAfterAt  *valueObject.UnixTime            `json:"finishedAfterAt,omitempty"`
	CreatedBeforeAt  *valueObject.UnixTime            `json:"createdBeforeAt,omitempty"`
	CreatedAfterAt   *valueObject.UnixTime            `json:"createdAfterAt,omitempty"`
}

type ReadScheduledTasksResponse

type ReadScheduledTasksResponse struct {
	Pagination Pagination             `json:"pagination"`
	Tasks      []entity.ScheduledTask `json:"tasks"`
}

type UpdateAccount

type UpdateAccount struct {
	AccountId          valueObject.AccountId `json:"accountId"`
	Password           *valueObject.Password `json:"password,omitempty"`
	ShouldUpdateApiKey *bool                 `json:"shouldUpdateApiKey,omitempty"`
	OperatorAccountId  valueObject.AccountId `json:"-"`
	OperatorIpAddress  valueObject.IpAddress `json:"-"`
}

func NewUpdateAccount

func NewUpdateAccount(
	accountId valueObject.AccountId,
	password *valueObject.Password,
	shouldUpdateApiKey *bool,
	operatorAccountId valueObject.AccountId,
	operatorIpAddress valueObject.IpAddress,
) UpdateAccount

type UpdateCron

type UpdateCron struct {
	Id       valueObject.CronId        `json:"id"`
	Schedule *valueObject.CronSchedule `json:"schedule"`
	Command  *valueObject.UnixCommand  `json:"command"`
	Comment  *valueObject.CronComment  `json:"comment"`
}

func NewUpdateCron

func NewUpdateCron(
	id valueObject.CronId,
	schedule *valueObject.CronSchedule,
	command *valueObject.UnixCommand,
	comment *valueObject.CronComment,
) UpdateCron

type UpdatePhpConfigs

type UpdatePhpConfigs struct {
	Hostname    valueObject.Fqdn       `json:"hostname"`
	PhpVersion  valueObject.PhpVersion `json:"version"`
	PhpModules  []entity.PhpModule     `json:"modules"`
	PhpSettings []entity.PhpSetting    `json:"settings"`
}

func NewUpdatePhpConfigs

func NewUpdatePhpConfigs(
	hostname valueObject.Fqdn,
	phpVersion valueObject.PhpVersion,
	phpModules []entity.PhpModule,
	phpSettings []entity.PhpSetting,
) UpdatePhpConfigs

type UpdateProcessReport

type UpdateProcessReport struct {
	FilePathsSuccessfullyUpdated []valueObject.UnixFilePath         `json:"filePathsSuccessfullyUpdated"`
	FailedPathsWithReason        []valueObject.UpdateProcessFailure `json:"failedPathsWithReason"`
}

func NewUpdateProcessReport

func NewUpdateProcessReport(
	filePathsSuccessfullyUpdated []valueObject.UnixFilePath,
	failedPathsWithReason []valueObject.UpdateProcessFailure,
) UpdateProcessReport

type UpdateScheduledTask

type UpdateScheduledTask struct {
	TaskId valueObject.ScheduledTaskId      `json:"taskId"`
	Status *valueObject.ScheduledTaskStatus `json:"status,omitempty"`
	RunAt  *valueObject.UnixTime            `json:"runAt,omitempty"`
}

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          *valueObject.UnixCommand    `json:"startCmd"`
	Envs              []valueObject.ServiceEnv    `json:"envs"`
	PortBindings      []valueObject.PortBinding   `json:"portBindings"`
	StopCmdSteps      []valueObject.UnixCommand   `json:"stopCmdSteps"`
	PreStartCmdSteps  []valueObject.UnixCommand   `json:"preStartCmdSteps"`
	PostStartCmdSteps []valueObject.UnixCommand   `json:"postStartCmdSteps"`
	PreStopCmdSteps   []valueObject.UnixCommand   `json:"preStopCmdSteps"`
	PostStopCmdSteps  []valueObject.UnixCommand   `json:"postStopCmdSteps"`
	ExecUser          *valueObject.UnixUsername   `json:"execUser"`
	WorkingDirectory  *valueObject.UnixFilePath   `json:"workingDirectory"`
	StartupFile       *valueObject.UnixFilePath   `json:"startupFile"`
	AutoStart         *bool                       `json:"autoStart"`
	AutoRestart       *bool                       `json:"autoRestart"`
	TimeoutStartSecs  *uint                       `json:"timeoutStartSecs"`
	MaxStartRetries   *uint                       `json:"maxStartRetries"`
	LogOutputPath     *valueObject.UnixFilePath   `json:"logOutputPath"`
	LogErrorPath      *valueObject.UnixFilePath   `json:"logErrorPath"`
}

func NewUpdateService

func NewUpdateService(
	name valueObject.ServiceName,
	svcType *valueObject.ServiceType,
	version *valueObject.ServiceVersion,
	status *valueObject.ServiceStatus,
	startCmd *valueObject.UnixCommand,
	envs []valueObject.ServiceEnv,
	portBindings []valueObject.PortBinding,
	stopSteps, preStartSteps, postStartSteps, preStopSteps, postStopSteps []valueObject.UnixCommand,
	execUser *valueObject.UnixUsername,
	workingDirectory, startupFile *valueObject.UnixFilePath,
	autoStart, autoRestart *bool,
	timeoutStartSecs, maxStartRetries *uint,
	logOutputPath, logErrorPath *valueObject.UnixFilePath,
) UpdateService

type UpdateUnixFileContent

type UpdateUnixFileContent struct {
	SourcePath valueObject.UnixFilePath   `json:"sourcePath"`
	Content    valueObject.EncodedContent `json:"content"`
}

func NewUpdateUnixFileContent

func NewUpdateUnixFileContent(
	sourcePath valueObject.UnixFilePath,
	content valueObject.EncodedContent,
) UpdateUnixFileContent

type UpdateUnixFiles

type UpdateUnixFiles struct {
	SourcePaths     []valueObject.UnixFilePath       `json:"sourcePaths"`
	DestinationPath *valueObject.UnixFilePath        `json:"destinationPath"`
	Permissions     *valueObject.UnixFilePermissions `json:"permissions"`
	EncodedContent  *valueObject.EncodedContent      `json:"encodedContent"`
}

func NewUpdateUnixFiles

func NewUpdateUnixFiles(
	sourcePaths []valueObject.UnixFilePath,
	destinationPath *valueObject.UnixFilePath,
	permissions *valueObject.UnixFilePermissions,
	encodedContent *valueObject.EncodedContent,
) UpdateUnixFiles

type UploadProcessReport

type UploadProcessReport struct {
	FileNamesSuccessfullyUploaded []valueObject.UnixFileName         `json:"fileNamesSuccessfullyUploaded"`
	FailedNamesWithReason         []valueObject.UploadProcessFailure `json:"failedNamesWithReason"`
	DestinationPath               valueObject.UnixFilePath           `json:"destinationPath"`
}

func NewUploadProcessReport

func NewUploadProcessReport(
	fileNamesSuccessfullyUploaded []valueObject.UnixFileName,
	failedNamesWithReason []valueObject.UploadProcessFailure,
	destinationPath valueObject.UnixFilePath,
) UploadProcessReport

type UploadUnixFiles

type UploadUnixFiles struct {
	DestinationPath    valueObject.UnixFilePath        `json:"destinationPath"`
	FileStreamHandlers []valueObject.FileStreamHandler `json:"fileStreamHandlers"`
}

func NewUploadUnixFiles

func NewUploadUnixFiles(
	destinationPath valueObject.UnixFilePath,
	fileStreamHandlers []valueObject.FileStreamHandler,
) UploadUnixFiles

type VirtualHostWithMappings

type VirtualHostWithMappings struct {
	entity.VirtualHost
	Mappings []entity.Mapping `json:"mappings"`
}

func NewVirtualHostWithMappings

func NewVirtualHostWithMappings(
	vhost entity.VirtualHost,
	mappings []entity.Mapping,
) VirtualHostWithMappings

Jump to

Keyboard shortcuts

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