vhostInfra

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: EPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MappingCmdRepo added in v0.2.1

type MappingCmdRepo struct {
	// contains filtered or unexported fields
}

func NewMappingCmdRepo added in v0.2.1

func NewMappingCmdRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *MappingCmdRepo

func (*MappingCmdRepo) Create added in v0.2.1

func (repo *MappingCmdRepo) Create(
	createDto dto.CreateMapping,
) (mappingId valueObject.MappingId, err error)

func (*MappingCmdRepo) CreateSecurityRule added in v0.2.4

func (repo *MappingCmdRepo) CreateSecurityRule(
	createDto dto.CreateMappingSecurityRule,
) (ruleId valueObject.MappingSecurityRuleId, err error)

func (*MappingCmdRepo) Delete added in v0.2.1

func (repo *MappingCmdRepo) Delete(mappingId valueObject.MappingId) error

func (*MappingCmdRepo) DeleteSecurityRule added in v0.2.4

func (repo *MappingCmdRepo) DeleteSecurityRule(
	ruleId valueObject.MappingSecurityRuleId,
) error

func (*MappingCmdRepo) RecreateMappingFile added in v0.2.1

func (repo *MappingCmdRepo) RecreateMappingFile(
	vhostHostname tkValueObject.Fqdn,
) error

func (*MappingCmdRepo) RecreateSecurityRuleFiles added in v0.2.4

func (repo *MappingCmdRepo) RecreateSecurityRuleFiles() error

func (*MappingCmdRepo) Update added in v0.2.1

func (repo *MappingCmdRepo) Update(updateDto dto.UpdateMapping) error

func (*MappingCmdRepo) UpdateMarketplaceItem added in v0.2.4

func (repo *MappingCmdRepo) UpdateMarketplaceItem(
	mappingId valueObject.MappingId,
	marketplaceInstalledItemName valueObject.MarketplaceItemName,
) error

func (*MappingCmdRepo) UpdateSecurityRule added in v0.2.4

func (repo *MappingCmdRepo) UpdateSecurityRule(
	updateDto dto.UpdateMappingSecurityRule,
) error

type MappingQueryRepo added in v0.2.1

type MappingQueryRepo struct {
	// contains filtered or unexported fields
}

func NewMappingQueryRepo added in v0.2.1

func NewMappingQueryRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *MappingQueryRepo

func (*MappingQueryRepo) Read added in v0.2.1

func (repo *MappingQueryRepo) Read(requestDto dto.ReadMappingsRequest) (
	responseDto dto.ReadMappingsResponse, err error,
)

func (*MappingQueryRepo) ReadFirst added in v0.2.1

func (repo *MappingQueryRepo) ReadFirst(
	requestDto dto.ReadMappingsRequest,
) (mappingEntity entity.Mapping, err error)

func (*MappingQueryRepo) ReadFirstSecurityRule added in v0.2.4

func (repo *MappingQueryRepo) ReadFirstSecurityRule(
	requestDto dto.ReadMappingSecurityRulesRequest,
) (ruleEntity entity.MappingSecurityRule, err error)

func (*MappingQueryRepo) ReadSecurityRule added in v0.2.4

func (repo *MappingQueryRepo) ReadSecurityRule(
	requestDto dto.ReadMappingSecurityRulesRequest,
) (responseDto dto.ReadMappingSecurityRulesResponse, err error)

type VirtualHostCmdRepo

type VirtualHostCmdRepo struct {
	// contains filtered or unexported fields
}

func NewVirtualHostCmdRepo

func NewVirtualHostCmdRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *VirtualHostCmdRepo

func (*VirtualHostCmdRepo) Create

func (repo *VirtualHostCmdRepo) Create(createDto dto.CreateVirtualHost) error

func (*VirtualHostCmdRepo) Delete

func (repo *VirtualHostCmdRepo) Delete(vhostHostname tkValueObject.Fqdn) error

func (*VirtualHostCmdRepo) ReadVirtualHostWebServerUnitFileFilePath added in v0.2.1

func (repo *VirtualHostCmdRepo) ReadVirtualHostWebServerUnitFileFilePath(
	vhostHostname tkValueObject.Fqdn,
) (unitFilePath tkValueObject.UnixAbsoluteFilePath, err error)

func (*VirtualHostCmdRepo) Update added in v0.2.1

func (repo *VirtualHostCmdRepo) Update(updateDto dto.UpdateVirtualHost) error

type VirtualHostQueryRepo

type VirtualHostQueryRepo struct {
	// contains filtered or unexported fields
}

func NewVirtualHostQueryRepo

func NewVirtualHostQueryRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *VirtualHostQueryRepo

func (*VirtualHostQueryRepo) Read

func (repo *VirtualHostQueryRepo) Read(requestDto dto.ReadVirtualHostsRequest) (
	responseDto dto.ReadVirtualHostsResponse, err error,
)

func (*VirtualHostQueryRepo) ReadFirst added in v0.2.1

func (repo *VirtualHostQueryRepo) ReadFirst(
	requestDto dto.ReadVirtualHostsRequest,
) (vhostEntity entity.VirtualHost, err error)

func (*VirtualHostQueryRepo) ReadFirstWithMappings added in v0.2.1

func (repo *VirtualHostQueryRepo) ReadFirstWithMappings(
	requestDto dto.ReadVirtualHostsRequest,
) (vhostWithMappingsDto dto.VirtualHostWithMappings, err error)

func (*VirtualHostQueryRepo) ReadVirtualHostMappingsFilePath added in v0.2.1

func (repo *VirtualHostQueryRepo) ReadVirtualHostMappingsFilePath(
	vhostHostname tkValueObject.Fqdn,
) (mappingsFilePath tkValueObject.UnixAbsoluteFilePath, err error)

Jump to

Keyboard shortcuts

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