runner

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = `1.0.4`
)

Variables

This section is empty.

Functions

func EnvOptions

func EnvOptions(options *types.Options)

func ParseOptions

func ParseOptions() *types.Options

func ValidateOptions

func ValidateOptions(options *types.Options)

Types

type Runner

type Runner struct {
	Options      *types.Options
	Config       config.Config
	Client       *acme.ACMEClient
	Certificates map[string]certificate.CertificateInfo
	JsonFilePath string
	Baidu        *baiduyun.BaiduYun
	AliYun       *aliyun.AliYun
}

Runner 结构体保存所有证书申请的相关信息

func NewRunner

func NewRunner(opts *types.Options) (*Runner, error)

NewRunner 创建一个新的 Runner 实例

func (*Runner) Output

func (r *Runner) Output() error

func (*Runner) Run

func (r *Runner) Run() error

Run 执行证书申请流程

func (*Runner) UpdateAliYun added in v1.0.4

func (r *Runner) UpdateAliYun() error

func (*Runner) UpdateBaiduCdnCertificate

func (r *Runner) UpdateBaiduCdnCertificate() error

Jump to

Keyboard shortcuts

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