Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { Region string RegionIsSet bool IAAS string Namespace string NamespaceIsSet bool IAASIsSet bool }
Args are arguments passed to the destroy command
func (*Args) MarkSetFlags ¶
func (a *Args) MarkSetFlags(c FlagSetChecker) error
MarkSetFlags is marking which destroy Args have been set
type ContextWrapper ¶
type ContextWrapper struct {
// contains filtered or unexported fields
}
ContextWrapper wraps a CLI context for testing
func (*ContextWrapper) FlagNames ¶
func (t *ContextWrapper) FlagNames() (names []string)
FlagNames lists all flags it's possible for a user to provide
func (*ContextWrapper) IsSet ¶
func (t *ContextWrapper) IsSet(name string) bool
IsSet tells you if a user provided a flag
type FlagSetChecker ¶
FlagSetChecker allows us to find out if flags were set, adn what the names of all flags are
Click to show internal directories.
Click to hide internal directories.