Documentation ¶
Index ¶
- Constants
- type SslCertificates
- type SslCmdRepo
- func (repo *SslCmdRepo) Create(createSslPair dto.CreateSslPair) (sslPairId valueObject.SslPairId, err error)
- func (repo *SslCmdRepo) Delete(sslPairId valueObject.SslPairId) error
- func (repo *SslCmdRepo) DeleteSslPairVhosts(deleteDto dto.DeleteSslPairVhosts) error
- func (repo *SslCmdRepo) ReplaceWithSelfSigned(vhostName valueObject.Fqdn) error
- func (repo *SslCmdRepo) ReplaceWithValidSsl(replaceDto dto.ReplaceWithValidSsl) error
- type SslQueryRepo
- func (repo SslQueryRepo) GetOwnershipValidationHash(sslCrtContent valueObject.SslCertificateContent) (valueObject.Hash, error)
- func (repo SslQueryRepo) Read() ([]entity.SslPair, error)
- func (repo SslQueryRepo) ReadById(sslPairId valueObject.SslPairId) (entity.SslPair, error)
- func (repo SslQueryRepo) ReadByVhostHostname(sslPairVhostHostname valueObject.Fqdn) (entity.SslPair, error)
Constants ¶
View Source
const DomainOwnershipValidationUrlPath string = "/validateOwnership"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SslCertificates ¶
type SslCertificates struct { MainCertificate entity.SslCertificate ChainedCertificates []entity.SslCertificate }
type SslCmdRepo ¶
type SslCmdRepo struct {
// contains filtered or unexported fields
}
func NewSslCmdRepo ¶
func NewSslCmdRepo( persistentDbSvc *internalDbInfra.PersistentDatabaseService, transientDbSvc *internalDbInfra.TransientDatabaseService, ) *SslCmdRepo
func (*SslCmdRepo) Create ¶
func (repo *SslCmdRepo) Create( createSslPair dto.CreateSslPair, ) (sslPairId valueObject.SslPairId, err error)
func (*SslCmdRepo) Delete ¶
func (repo *SslCmdRepo) Delete(sslPairId valueObject.SslPairId) error
func (*SslCmdRepo) DeleteSslPairVhosts ¶
func (repo *SslCmdRepo) DeleteSslPairVhosts( deleteDto dto.DeleteSslPairVhosts, ) error
func (*SslCmdRepo) ReplaceWithSelfSigned ¶
func (repo *SslCmdRepo) ReplaceWithSelfSigned(vhostName valueObject.Fqdn) error
func (*SslCmdRepo) ReplaceWithValidSsl ¶
func (repo *SslCmdRepo) ReplaceWithValidSsl(replaceDto dto.ReplaceWithValidSsl) error
type SslQueryRepo ¶
type SslQueryRepo struct{}
func (SslQueryRepo) GetOwnershipValidationHash ¶
func (repo SslQueryRepo) GetOwnershipValidationHash( sslCrtContent valueObject.SslCertificateContent, ) (valueObject.Hash, error)
func (SslQueryRepo) ReadById ¶
func (repo SslQueryRepo) ReadById( sslPairId valueObject.SslPairId, ) (entity.SslPair, error)
func (SslQueryRepo) ReadByVhostHostname ¶ added in v0.1.5
func (repo SslQueryRepo) ReadByVhostHostname( sslPairVhostHostname valueObject.Fqdn, ) (entity.SslPair, error)
Click to show internal directories.
Click to hide internal directories.