Documentation
¶
Index ¶
- type AcmeAccountRepository
- type Applicant
- func Get(record *models.Record) (Applicant, error)
- func NewAliyun(option *ApplyOption) Applicant
- func NewAws(option *ApplyOption) Applicant
- func NewCloudflare(option *ApplyOption) Applicant
- func NewGodaddy(option *ApplyOption) Applicant
- func NewHttpreq(option *ApplyOption) Applicant
- func NewHuaweiCloud(option *ApplyOption) Applicant
- func NewNamesilo(option *ApplyOption) Applicant
- func NewPdns(option *ApplyOption) Applicant
- func NewTencent(option *ApplyOption) Applicant
- type ApplyOption
- type ApplyUser
- type Certificate
- type SSLProviderConfig
- type SSLProviderConfigContent
- type SSLProviderEab
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmeAccountRepository ¶ added in v0.2.8
type AcmeAccountRepository interface {
GetByCAAndEmail(ca, email string) (*domain.AcmeAccount, error)
Save(ca, email, key string, resource *registration.Resource) error
}
type Applicant ¶
type Applicant interface {
Apply() (*Certificate, error)
}
func NewAliyun ¶
func NewAliyun(option *ApplyOption) Applicant
func NewAws ¶
func NewAws(option *ApplyOption) Applicant
func NewCloudflare ¶
func NewCloudflare(option *ApplyOption) Applicant
func NewGodaddy ¶
func NewGodaddy(option *ApplyOption) Applicant
func NewHttpreq ¶
func NewHttpreq(option *ApplyOption) Applicant
func NewHuaweiCloud ¶
func NewHuaweiCloud(option *ApplyOption) Applicant
func NewNamesilo ¶
func NewNamesilo(option *ApplyOption) Applicant
func NewPdns ¶
func NewPdns(option *ApplyOption) Applicant
func NewTencent ¶
func NewTencent(option *ApplyOption) Applicant
type ApplyOption ¶
type ApplyUser ¶
type ApplyUser struct {
Ca string
Email string
Registration *registration.Resource
// contains filtered or unexported fields
}
func (*ApplyUser) GetPrivateKey ¶
func (u *ApplyUser) GetPrivateKey() crypto.PrivateKey
func (ApplyUser) GetRegistration ¶
func (u ApplyUser) GetRegistration() *registration.Resource
type Certificate ¶
type SSLProviderConfig ¶
type SSLProviderConfig struct {
Config SSLProviderConfigContent `json:"config"`
Provider string `json:"provider"`
}
type SSLProviderConfigContent ¶
type SSLProviderConfigContent struct {
Zerossl SSLProviderEab `json:"zerossl"`
Gts SSLProviderEab `json:"gts"`
}
type SSLProviderEab ¶ added in v0.2.8
Click to show internal directories.
Click to hide internal directories.