Documentation ¶
Index ¶
- type MappingCmdRepo
- func (repo *MappingCmdRepo) Create(createDto dto.CreateMapping) (mappingId valueObject.MappingId, err error)
- func (repo *MappingCmdRepo) Delete(mappingId valueObject.MappingId) error
- func (repo *MappingCmdRepo) DeleteAuto(serviceName valueObject.ServiceName) error
- func (repo *MappingCmdRepo) RecreateByServiceName(serviceName valueObject.ServiceName, operatorAccountId valueObject.AccountId, ...) error
- type MappingQueryRepo
- func (repo *MappingQueryRepo) ReadByHostname(hostname valueObject.Fqdn) ([]entity.Mapping, error)
- func (repo *MappingQueryRepo) ReadById(id valueObject.MappingId) (entity entity.Mapping, err error)
- func (repo *MappingQueryRepo) ReadByServiceName(serviceName valueObject.ServiceName) (entities []entity.Mapping, err error)
- func (repo *MappingQueryRepo) ReadWithMappings() (vhostsWithMappings []dto.VirtualHostWithMappings, err error)
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, )
Click to show internal directories.
Click to hide internal directories.