mappingInfra

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: EPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MappingCmdRepo

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

func NewMappingCmdRepo

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

func (*MappingCmdRepo) Create

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

func (*MappingCmdRepo) Delete

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

func (*MappingCmdRepo) DeleteAuto

func (repo *MappingCmdRepo) DeleteAuto(
	serviceName valueObject.ServiceName,
) error

func (*MappingCmdRepo) RecreateByServiceName

func (repo *MappingCmdRepo) RecreateByServiceName(
	serviceName valueObject.ServiceName,
	operatorAccountId valueObject.AccountId,
	operatorIpAddress valueObject.IpAddress,
) error

type MappingQueryRepo

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

func NewMappingQueryRepo

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

func (*MappingQueryRepo) ReadByHostname

func (repo *MappingQueryRepo) ReadByHostname(
	hostname valueObject.Fqdn,
) ([]entity.Mapping, error)

func (*MappingQueryRepo) ReadById

func (repo *MappingQueryRepo) ReadById(
	id valueObject.MappingId,
) (entity entity.Mapping, err error)

func (*MappingQueryRepo) ReadByServiceName

func (repo *MappingQueryRepo) ReadByServiceName(
	serviceName valueObject.ServiceName,
) (entities []entity.Mapping, err error)

func (*MappingQueryRepo) ReadWithMappings

func (repo *MappingQueryRepo) ReadWithMappings() (
	vhostsWithMappings []dto.VirtualHostWithMappings, err error,
)

Jump to

Keyboard shortcuts

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