Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CsrCmd = &cobra.Command{ Use: "csr", Short: "Generate and manage Certificate Signing Request (CSR) operations", RunE: func(cmd *cobra.Command, args []string) error { err := cmd.Help() if err != nil { return err } return errors.New("a subcommand is required. Use 'alpacon csr create', 'alpacon csr list', 'alpacon csr approve', 'alpacon csr deny', 'alpacon csr delete', or 'alpacon csr detail'. Run 'alpacon csr --help' for more information") }, }
Functions ¶
func EnsureSecureConnection ¶
func EnsureSecureConnection(client *client.AlpaconClient)
EnsureSecureConnection checks if the server uses HTTPS and prompts the user to confirm proceeding with an insecure connection if necessary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.