cmd

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeycloakConfigUrl = "https://confluence.internal.salesforce.com/download/attachments/335339888/keycloak-config?api=v2"
	KeycloakVersion   = "1.7.5"
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use:               "aws-keycloak [flags] -- <command>",
	Short:             "aws-keycloak allows you to authenticate with AWS using your keycloak credentials",
	Example:           "  aws-keycloak -p power-devx -- aws sts get-caller-identity",
	SilenceUsage:      false,
	SilenceErrors:     false,
	PersistentPreRunE: prerun,
	Args:              cobra.MinimumNArgs(1),
	RunE:              runCommand,
	Version:           KeycloakVersion,
}

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 ValidateProfile added in v1.7.3

func ValidateProfile(p string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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