kv

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultStoreKeySuffix = "/acme/account/object"

DefaultStoreKeySuffix is the default suffix/storage.

Variables

This section is empty.

Functions

func Dump

func Dump(ctx context.Context, config *Config, baseConfig *dumper.BaseConfig) error

Dump Dumps KV content to certificates.

Types

type AccountOld added in v2.5.0

type AccountOld struct {
	Email              string
	Registration       *registration.Resource
	PrivateKey         []byte
	KeyType            certcrypto.KeyType
	DomainsCertificate DomainsCertificates
	ChallengeCerts     map[string]*ChallengeCert
	HTTPChallenge      map[string]map[string][]byte
}

AccountOld is used to store lets encrypt registration info.

type CertificateOld added in v2.5.0

type CertificateOld struct {
	Domain        string
	CertURL       string
	CertStableURL string
	PrivateKey    []byte
	Certificate   []byte
}

CertificateOld is used to store certificate info.

type ChallengeCert

type ChallengeCert struct {
	Certificate []byte
	PrivateKey  []byte
}

ChallengeCert stores a challenge certificate.

type Config

type Config struct {
	StoreName string
	Prefix    string
	Suffix    string
	Endpoints []string
	Options   valkeyrie.Config
}

Config KV configuration.

type DomainsCertificate

type DomainsCertificate struct {
	Domains     traefikv1.Domain
	Certificate *CertificateOld
}

DomainsCertificate contains a certificate for multiple domains.

type DomainsCertificates

type DomainsCertificates struct {
	Certs []*DomainsCertificate
}

DomainsCertificates stores a certificate for multiple domains.

Jump to

Keyboard shortcuts

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