Documentation
¶
Index ¶
Constants ¶
View Source
const ( AcceptTOSFlag = "accept-tos" AcmeDirectoryFlag = "acme-directory" ConfigFlag = "config" EmailFlag = "email" LetsEncryptStagingFlag = "le-staging" LogFlag = "log" SealKeyFlag = "seal-key" )
Flag names
View Source
const (
VulcandKey = "vulcand"
)
Flags
Variables ¶
View Source
var ( AcmeDirectoryProduction = "https://acme-v01.api.letsencrypt.org/directory" AcmeDirectoryStaging = "https://acme-staging.api.letsencrypt.org/directory" LogDefault = "info" StoreDefault = "etcd" StoreNodesDefault = []string{"127.0.0.1:2379"} StorePrefixDefault = "coyote" )
Default flag values
View Source
var RootCmd = &cobra.Command{
Use: "coyote",
Short: "A utility to automate creation of TLS certificates using the ACME protocol",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewCommandError ¶
NewCommandError creates an error with a specified return code
func NewCommandErrorF ¶
NewCommandErrorF creates an error with a specified return code
func NewUserErrorF ¶
NewUserErrorF creates a new user error with a formatted string
Types ¶
type CommandError ¶
type CommandError struct {
// contains filtered or unexported fields
}
CommandError represents an error returned from a command
Click to show internal directories.
Click to hide internal directories.