sslInfra

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: EPL-2.0 Imports: 15 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) error

func (*SslCmdRepo) Delete

func (repo *SslCmdRepo) Delete(sslId valueObject.SslId) 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(sslPair entity.SslPair) 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(sslId valueObject.SslId) (entity.SslPair, error)

Jump to

Keyboard shortcuts

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