Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCredentialValidator ¶
type AWSCredentialValidator struct {
// contains filtered or unexported fields
}
func NewAWSCredentialValidator ¶
func NewAWSCredentialValidator(configuration Configuration) AWSCredentialValidator
func (AWSCredentialValidator) Validate ¶
func (a AWSCredentialValidator) Validate() error
type App ¶
type App struct {
// contains filtered or unexported fields
}
func New ¶
func New(commands CommandSet, configuration Configuration, stateStore stateStore, usage usage) App
type CommandFinder ¶
type CommandFinder interface {
FindCommand([]string) CommandFinderResult
}
func NewCommandFinder ¶
func NewCommandFinder() CommandFinder
type CommandFinderResult ¶
type CommandLineParser ¶
type CommandLineParser struct {
// contains filtered or unexported fields
}
func NewCommandLineParser ¶
func NewCommandLineParser(usage func(), commandSet CommandSet) CommandLineParser
func (CommandLineParser) Parse ¶
func (p CommandLineParser) Parse(arguments []string) (CommandLineConfiguration, error)
type CommandSet ¶
type Configuration ¶
type Configuration struct { Global GlobalConfiguration Command string SubcommandFlags StringSlice State storage.State }
type ConfigurationParser ¶
type ConfigurationParser struct {
// contains filtered or unexported fields
}
func NewConfigurationParser ¶
func NewConfigurationParser(commandLineParser commandLineParser) ConfigurationParser
func (ConfigurationParser) Parse ¶
func (p ConfigurationParser) Parse(arguments []string) (Configuration, error)
type GlobalConfiguration ¶
type StringSlice ¶
type StringSlice []string
func (StringSlice) ContainsAny ¶
func (s StringSlice) ContainsAny(targets ...string) bool
Click to show internal directories.
Click to hide internal directories.