Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.