manifest

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCertificates

func GenerateCertificates(output io.Writer, manifestFile, stateFile, destDir string) error

GenerateCertificates generates certificates and private keys and stores them into directory pointed by the destination parameter.

Types

type CertificateManifest

type CertificateManifest struct {
	api.Certificate

	KeyTypeAsString      string   `json:"key_type"`
	KeyUsagesAsString    []string `json:"key_usages"`
	ExtKeyUsagesAsString []string `json:"ext_key_usages"`
	ExpiresAsString      string   `json:"expires"`
	IssuerAsString       string   `json:"issuer"`
	Filename             string   `json:"filename"`
	SerialNumberAsInt    *int64   `json:"serial"`
	Revoked              bool     `json:"revoked"`
}

CertificateManifest is used to unmarshal the certificate YAML document.

type Manifest

type Manifest struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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