cmdenv

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnvSearchFlag = utils.FlagDef{
		Name:      "env-search",
		Shorthand: "s",
		Usage:     "Searches query to filter environments",
	}

	EnvSelfFlag = utils.FlagDef{
		Name:  "env-self",
		Usage: "References to the self environment (the current local environment where the command is executed)",
	}

	EnvPublicKeysFlag = utils.FlagDef{
		Name:      "env-pubkey",
		Shorthand: "k",
		Usage:     "Public keys of environments that can access the vault",
	}

	EnvK8sFlag = utils.FlagDef{
		Name:  "env-k8s",
		Usage: "Shares vault access with the accessible k8s cluster",
	}
)

Functions

func EnvCommand

func EnvCommand() *cobra.Command

func GetPublicKeys added in v0.5.9

func GetPublicKeys(cmd *cobra.Command, root, pq bool) (publicKeys []*crypto.PublicKey, err error)

func ShowEnv added in v0.5.1

func ShowEnv(env environments.Environment, includeEDS, excludeBindingFromEds bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳