create

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 issues a certificate.

Types

type Options

type Options struct {

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

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

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

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

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

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

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

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

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

Options defines the options for the create command.

Jump to

Keyboard shortcuts

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