sslInfra

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: 16 Imported by: 0

Documentation

Index

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) Read

func (repo SslQueryRepo) Read() ([]entity.SslPair, 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)

Jump to

Keyboard shortcuts

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