configuration

package
v0.0.0-...-7295de5 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawUserConfig

type RawUserConfig struct {
	AccountEmail       string
	AccountKeyFile     string
	TOSAgreed          string
	CADir              string
	KeyType            string
	Domains            string
	Filename           string
	OutputDirectory    string
	DisableCP          string
	DNSTimeout         string
	DNSResolver        string
	DNSAuthToken       string
	DNSAuthTokenFile   string
	DNSAuthTokenVault  string
	DNSAuthTokenSecret string
}

func NewRawUserConfig

func NewRawUserConfig() *RawUserConfig

type UserConfig

type UserConfig struct {
	Email                string
	Key                  crypto.PrivateKey
	CADirURL             string
	CADirKeyType         certcrypto.KeyType
	TermsOfServiceAgreed bool
	Domains              []string
	Filename             string
	OutputDirectory      string
	AuthToken            string
	DisableCP            bool
	DNSResolvers         []string
	DNSTimeout           time.Duration
}

func NewUserConfig

func NewUserConfig(storage *stores.Stores) (*UserConfig, error)

Jump to

Keyboard shortcuts

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