Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogWriter io.Writer = os.Stderr
Functions ¶
Types ¶
type BoshConfig ¶
func (*BoshConfig) UnmarshalFlag ¶
func (a *BoshConfig) UnmarshalFlag(data string) error
type BrdCommand ¶
type BrdCommand struct { ManifestArg ManifestArg `positional-args:"true" required:"1"` VarKVs []string `long:"var" short:"v" value-name:"VAR=VALUE" description:"Set variable"` VarFiles []string `long:"var-file" value-name:"VAR=PATH" description:"Set variable to file contents"` VarsFiles []string `long:"vars-file" short:"l" value-name:"PATH" description:"Load variables from a YAML file"` Output string `` /* 134-byte string literal not displayed */ VarsEnvs []string `` /* 155-byte string literal not displayed */ OpsFiles []string `long:"ops-file" short:"o" value-name:"PATH" description:"Load manifest operations from a YAML file"` Parallel int `long:"parallel" short:"p" value-name:"PARALLEL" description:"Concurrent download at same time"` Path string `` /* 130-byte string literal not displayed */ VarErrors bool `` /* 129-byte string literal not displayed */ SkipInsecure bool `long:"skip-insecure" short:"k" description:"Skip insecure ssl"` VarErrorsUnused bool `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BrdCommand) Execute ¶
func (c *BrdCommand) Execute(_ []string) error
type CommanderCommand ¶
type CommanderCommand struct { *commander.Script BoshConfig BoshConfig `long:"config" description:"Config file path" env:"BOSH_CONFIG" default:"~/.bosh/config"` ScriptYml ScriptYml `long:"file" short:"f" value-name:"PATH" description:"Path to a script in yml format (use - to load file from stdin)"` Environments []string `long:"environment" short:"e" required:"true" description:"Director environment name or URL"` Username string `long:"username" short:"u" description:"Username to use to connect to director"` Password string `long:"password" short:"p" description:"Password to use to connect to director"` GwDisable bool `long:"gw-disable" description:"Disable usage of gateway connection" env:"BOSH_GW_DISABLE"` GwUsername string `long:"gw-user" description:"Username for gateway connection" env:"BOSH_GW_USER"` GwHost string `long:"gw-host" description:"Host for gateway connection" env:"BOSH_GW_HOST"` GwPrivateKeyPath string `` /* 126-byte string literal not displayed */ Store string `long:"store" value-name:"PATH" description:"Store script in yml format at a path (- write it to stdout)"` }
func (*CommanderCommand) Execute ¶
func (c *CommanderCommand) Execute(_ []string) error
type ManifestArg ¶
type ManifestArg struct {
Manifest Manifest `positional-arg-name:"PATH" description:"Path to a template which could be interpolated (use - to load manifest from stdin)"`
}
type Options ¶
type Options struct { // Example of verbosity with level Verbose bool `short:"v" long:"verbose" description:"Verbose output"` }
type ScriptYml ¶
func (*ScriptYml) UnmarshalFlag ¶
type ScriptYmlArg ¶
type ScriptYmlArg struct {
ScriptYml ScriptYml ` description:"Path to a script in yml format (use - to load file from stdin)"`
}
Click to show internal directories.
Click to hide internal directories.