acme

package
v0.0.0-...-97db044 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

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

func NewAccount

func NewAccount(store *storage.Account, email string) *Account

func (*Account) GetEmail

func (a *Account) GetEmail() string

func (*Account) GetPrivateKey

func (a *Account) GetPrivateKey() crypto.PrivateKey

func (*Account) GetRegistration

func (a *Account) GetRegistration() *registration.Resource

func (*Account) IsRegistered

func (a *Account) IsRegistered() bool

func (*Account) LoadFromStorage

func (a *Account) LoadFromStorage() error

func (*Account) PersistToStorage

func (a *Account) PersistToStorage() error

func (*Account) SaveRegistration

func (a *Account) SaveRegistration(reg *registration.Resource)

func (*Account) SetNewPrivateKey

func (a *Account) SetNewPrivateKey()

type Integration

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

func NewIntegration

func NewIntegration(client *lego.Client, cluster string, certStorage *tlsstorage.Certificate, log logger.Logger) *Integration

func (*Integration) EnableAutoRenewal

func (i *Integration) EnableAutoRenewal(vhost *route.VirtualHost)

EnableAutoRenewal will administer the current domains of the vhost to a watchlist that gets checked every day

func (*Integration) IsScheduledForIssuing

func (i *Integration) IsScheduledForIssuing(vhost *route.VirtualHost) bool

IsScheduledForIssuing will tell if a vhost is about to partake in an ACME challenge

func (*Integration) IssueCertificates

func (i *Integration) IssueCertificates() (reloadRequired bool, err error)

func (*Integration) PrepareVhostForIssuing

func (i *Integration) PrepareVhostForIssuing(vhost *route.VirtualHost) *route.VirtualHost

PrepareVhostForIssuing will add the vhost to the issue backlog and update the vhost config for any ACME challenge

func (*Integration) ScheduleRenewals

func (i *Integration) ScheduleRenewals() (reloadRequired bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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