applicant

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

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 Get

func Get(record *models.Record) (Applicant, 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 ApplyOption struct {
	Email              string `json:"email"`
	Domain             string `json:"domain"`
	Access             string `json:"access"`
	KeyAlgorithm       string `json:"keyAlgorithm"`
	Nameservers        string `json:"nameservers"`
	Timeout            int64  `json:"timeout"`
	DisableFollowCNAME bool   `json:"disableFollowCNAME"`
}

type ApplyUser

type ApplyUser struct {
	Ca           string
	Email        string
	Registration *registration.Resource
	// contains filtered or unexported fields
}

func (*ApplyUser) GetEmail

func (u *ApplyUser) GetEmail() string

func (*ApplyUser) GetPrivateKey

func (u *ApplyUser) GetPrivateKey() crypto.PrivateKey

func (ApplyUser) GetRegistration

func (u ApplyUser) GetRegistration() *registration.Resource

type Certificate

type Certificate struct {
	CertUrl           string `json:"certUrl"`
	CertStableUrl     string `json:"certStableUrl"`
	PrivateKey        string `json:"privateKey"`
	Certificate       string `json:"certificate"`
	IssuerCertificate string `json:"issuerCertificate"`
	Csr               string `json:"csr"`
}

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

type SSLProviderEab struct {
	EabHmacKey string `json:"eabHmacKey"`
	EabKid     string `json:"eabKid"`
}

Jump to

Keyboard shortcuts

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