Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertCommands ¶
type CertCommands struct { Cert CertGetCommand `cmd:"" group:"CERTIFICATES" help:"Get a certificate"` CreateCert CertCreateCommand `cmd:"" group:"CERTIFICATES" help:"Create a new signed certificate"` DeleteCert CertDeleteCommand `cmd:"" group:"CERTIFICATES" help:"Delete a certificate"` }
type CertCreateCommand ¶
type CertCreateCommand struct { Name string `arg:"" name:"name" help:"Certificate name"` Domain string `arg:"" name:"domain" help:"Domain the certificate is for"` Signer string `name:"signer" help:"Signer name, if certificate is to be signed by a CA"` Subject string `name:"subject" help:"Subject name"` SerialNumber *big.Int `name:"serial" help:"Serial number"` Expiry time.Duration `name:"expiry" help:"Expiry duration"` IsCA bool `name:"ca" help:"Certificate is a CA"` KeyType string `name:"type" help:"Key type"` Hosts []string `name:"host" help:"Comma-separated list of host names"` IP []string `name:"ip" help:"Comma-separated list of IP addresses"` }
Certificate Metadata for creating a new certificate
type CertDeleteCommand ¶
type CertDeleteCommand struct {
CertGetCommand
}
type CertGetCommand ¶
type CertGetCommand struct {
Name string `arg:"" name:"name" help:"Certificate Name"`
}
type NameCommands ¶
type NameCommands struct { Names NameListCommand `cmd:"" group:"CERTIFICATES" help:"List names"` Name NameGetCommand `cmd:"get" group:"CERTIFICATES" help:"Get a name"` CreateName NameCreateCommand `cmd:"create" group:"CERTIFICATES" help:"Create a new name"` DeleteName NameDeleteCommand `cmd:"delete" group:"CERTIFICATES" help:"Delete a name"` UpdateName NameUpdateCommand `cmd:"update" group:"CERTIFICATES" help:"Update a name"` }
type NameCreateCommand ¶
type NameCreateCommand struct {
NameMeta
}
type NameDeleteCommand ¶
type NameDeleteCommand struct {
NameGetCommand
}
type NameGetCommand ¶
type NameGetCommand struct {
Id uint64 `arg:"" name:"id" description:"Name ID"`
}
type NameListCommand ¶
type NameListCommand struct {
schema.NameListRequest
}
type NameMeta ¶
type NameMeta struct { Org *string `name:"org" description:"Organization name"` Unit *string `name:"unit" description:"Organization unit"` Country *string `name:"country" description:"Country name"` City *string `name:"city" description:"City name"` State *string `name:"state" description:"State name"` StreetAddress *string `name:"address" description:"Street address"` PostalCode *string `name:"zip" description:"Postal code"` }
type NameUpdateCommand ¶
type NameUpdateCommand struct { NameGetCommand NameMeta }
Click to show internal directories.
Click to hide internal directories.