create

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`

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

	// 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