issue

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Command returns a command that creates an authority.

Types

type Options

type Options struct {

	// CommonName defines the common name for an certificate.
	CommonName string `mapstructure:"commonName"`

	// Country defines the country for an certificate.
	Country string `mapstructure:"country"`

	// DNSNames defines the subject alternative names for a certificate.
	DNSNames []string `mapstructure:"dnsNames"`

	// Expires defines the duration for which an certificate is valid.
	Expires time.Duration `mapstructure:"expires"`

	// Locality defines the city or county for an certificate.
	Locality string `mapstructure:"locality"`

	// Organization defines the organization for an certificate.
	Organization string `mapstructure:"organization"`

	// OrganizationalUnit defines the organization unit for an certificate.
	OrganizationalUnit string `mapstructure:"organizationalUnit"`

	// PostalCode defines the postal code for an certificate.
	PostalCode string `mapstructure:"postalCode"`

	// State defines the state or province for an certificate.
	State string `mapstructure:"state"`

	// StreetAddress defines the street address for an certificate.
	StreetAddress string `mapstructure:"streetAddress"`
}

Options defines the options for the issue command.

Jump to

Keyboard shortcuts

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