Documentation ¶
Index ¶
- type Account
- func (a *Account) GetEmail() string
- func (a *Account) GetPrivateKey() crypto.PrivateKey
- func (a *Account) GetRegistration() *registration.Resource
- func (a *Account) IsRegistered() bool
- func (a *Account) LoadFromStorage() error
- func (a *Account) PersistToStorage() error
- func (a *Account) SaveRegistration(reg *registration.Resource)
- func (a *Account) SetNewPrivateKey()
- type Integration
- func (i *Integration) EnableAutoRenewal(vhost *route.VirtualHost)
- func (i *Integration) IsScheduledForIssuing(vhost *route.VirtualHost) bool
- func (i *Integration) IssueCertificates() (reloadRequired bool, err error)
- func (i *Integration) PrepareVhostForIssuing(vhost *route.VirtualHost) *route.VirtualHost
- func (i *Integration) ScheduleRenewals() (reloadRequired bool)
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 (*Account) GetPrivateKey ¶
func (a *Account) GetPrivateKey() crypto.PrivateKey
func (*Account) GetRegistration ¶
func (a *Account) GetRegistration() *registration.Resource
func (*Account) IsRegistered ¶
func (*Account) LoadFromStorage ¶
func (*Account) PersistToStorage ¶
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)
Click to show internal directories.
Click to hide internal directories.