Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BBLNotFound error = errors.New("A bbl environment could not be found, please create a new environment before running this command again.")
View Source
var DirectorNotReachable error = errors.New("We couldn't communicate to the director in your state file. You may need to run `bbl up`.")
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func New ¶
func New(commands CommandSet, configuration Configuration, usage usage) App
type CommandSet ¶
type Configuration ¶
type Configuration struct { Global GlobalConfiguration Command string SubcommandFlags StringSlice State storage.State ShowCommandHelp bool }
type EnvironmentValidator ¶
type EnvironmentValidator struct {
// contains filtered or unexported fields
}
func NewEnvironmentValidator ¶
func NewEnvironmentValidator(awsEnvironmentValidator environmentValidator, gcpEnvironmentValidator environmentValidator) EnvironmentValidator
type GlobalConfiguration ¶
type StateValidator ¶ added in v1.2.1
type StateValidator struct {
// contains filtered or unexported fields
}
func NewStateValidator ¶ added in v1.2.1
func NewStateValidator(stateDir string) StateValidator
func (StateValidator) Validate ¶ added in v1.2.1
func (s StateValidator) Validate() error
type StringSlice ¶
type StringSlice []string
func (StringSlice) ContainsAny ¶
func (s StringSlice) ContainsAny(targets ...string) bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.