Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "unknown"
Functions ¶
Types ¶
type ClusterInfo ¶
type Options ¶
type Options struct { Version bool `help:"Show program version"` KubeConfig string `group:"Input" short:"k" help:"Kubeconfig file" type:"path" default:"~/.kube/config"` CredentialsFile string `group:"Input" short:"c" help:"AWS Credentials File" type:"existingfile" default:"~/.aws/credentials"` Regions []string `group:"Input" help:"List of regions to check" env:"AWS_REGIONS" default:"us-east-1,us-east-2,us-west-1,us-west-2"` Profiles []string `group:"Input" help:"List of AWS profiles to use. Will discover profiles if not specified" env:"AWS_PROFILES"` Debug bool `group:"Info" help:"Show debugging information"` OutputFormat string `group:"Info" enum:"auto,jsonl,terminal" default:"auto" help:"How to show program output (auto|terminal|jsonl)"` Quiet bool `group:"Info" help:"Be less verbose than usual"` }
Options is the structure of program options
func (*Options) AfterApply ¶
AfterApply runs after the options are parsed but before anything runs
type Stats ¶
type VersionCmd ¶
type VersionCmd struct{}
VersionCmd prints the program version
func (*VersionCmd) Run ¶
func (v *VersionCmd) Run(program *Options) error
Click to show internal directories.
Click to hide internal directories.