csr

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL