ocf

package
v2.0.0-...-057b331 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAcmeCertManagerFromConfiguration

func NewAcmeCertManagerFromConfiguration(config Config) (*acme.CertManager, error)

NewAcmeCertManagerFromConfiguration creates certificate manager from config.

Types

type Config

type Config struct {
	CAPool                         string        `envconfig:"CA_POOL" env:"CA_POOL" long:"ca" description:"file path to the root certificate in PEM format"`
	CADirURL                       string        `` /* 129-byte string literal not displayed */
	Domains                        []string      `envconfig:"DOMAINS" env:"DOMAINS" long:"domains" description:"the domain's names for which we'll be getting a certificate"`
	Email                          string        `` /* 132-byte string literal not displayed */
	TickFrequency                  time.Duration `` /* 159-byte string literal not displayed */
	ChallengeListenPort            uint16        `` /* 175-byte string literal not displayed */
	DisableVerifyClientCertificate bool          `` /* 175-byte string literal not displayed */
	DeviceID                       string        `envconfig:"DEVICE_ID" env:"DEVICE_ID" long:"device_id" description:"DeviceID for OCF Identity Certificate"`
	UseSystemCertPool              bool          `` /* 158-byte string literal not displayed */
}

Config set configuration.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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