migrate

package
v5.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accounts

func Accounts(root string, cfg *configuration.Configuration) error

Accounts migrates the old accounts directory structure to the new one.

func Certificates

func Certificates(root string, cfg *configuration.Configuration) error

Types

type OldAccount

type OldAccount struct {
	Email        string       `json:"email"`
	Registration *OldResource `json:"registration"`

	// Extra field to check if the account has been migrated.
	Origin string `json:"origin,omitempty"`
}

type OldResource

type OldResource struct {
	Body acme.Account `json:"body"`
	URI  string       `json:"uri,omitempty"`
}

Jump to

Keyboard shortcuts

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