cmd

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	GitCommit string
	BuildTime string
	GoVersion string
)

compile time build info

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type AwsAuthProfile

type AwsAuthProfile struct {
	Name      string `json:name`
	AccountId string `json:account_id`
	UserName  string `json:user_name`
	Region    string `json:region`
	Output    string `json:output`
}

type AwsRoleProfile

type AwsRoleProfile struct {
	Name          string `json:name`
	SourceProfile string `json:source_profile`
	RoleName      string `json:role_name`
	RoleArn       string `json:role_arn`
	MfaSerial     string `json:mfa_serial`
	ExternalId    string `json:external_id`
}

type PortrayConfig

type PortrayConfig struct {
	AuthProfiles map[string]AwsAuthProfile `json:auth_profiles`
	Profiles     map[string]AwsRoleProfile `json:profiles`
}

Jump to

Keyboard shortcuts

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