Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseInfra ¶
type BaseInfra struct{}
BaseInfra represents a BaseInfra command.
func (*BaseInfra) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type ConfigProvider ¶
type ConfigProvider struct{}
ConfigProvider represents a ConfigProvider command.
func (*ConfigProvider) AfterRun ¶
func (cpCmd *ConfigProvider) AfterRun() error
AfterRun performs any necessary post-run cleanup.
func (*ConfigProvider) BeforeRun ¶
func (cpCmd *ConfigProvider) BeforeRun() error
BeforeRun makes any necessary post-parsing transformations.
func (*ConfigProvider) InstallFlags ¶
func (cpCmd *ConfigProvider) InstallFlags(flags *flag.FlagSet)
InstallFlags sets up parsing for command line flags.
func (*ConfigProvider) Parse ¶
func (cpCmd *ConfigProvider) Parse(args []string) error
Parse parses the command line arguments for the stop command.
func (*ConfigProvider) Run ¶
func (cpCmd *ConfigProvider) Run() int
Run executes the Nodejs initializer that prompts the user.
type Counters ¶
type Counters struct {
// contains filtered or unexported fields
}
Counters implements the `kelda counters` command.
func (*Counters) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon contains the options for running the Kelda daemon.
func NewDaemonCommand ¶
func NewDaemonCommand() *Daemon
NewDaemonCommand creates a new Daemon command instance.
func (*Daemon) InstallFlags ¶
InstallFlags sets up parsing for command line flags
type Debug ¶
type Debug struct {
// contains filtered or unexported fields
}
Debug contains the options for downloading debug logs from machines and containers.
func NewDebugCommand ¶
func NewDebugCommand() *Debug
NewDebugCommand creates a new Debug command instance.
func (*Debug) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log is the structure for the `kelda logs` command.
func (*Log) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type Minion ¶
type Minion struct {
// contains filtered or unexported fields
}
Minion contains the options for running the Kelda minion.
func NewMinionCommand ¶
func NewMinionCommand() *Minion
NewMinionCommand creates a new Minion command instance.
func (*Minion) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type Run ¶
type Run struct {
// contains filtered or unexported fields
}
Run contains the options for running blueprints.
func (*Run) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
SSH contains the options for SSHing into machines.
func (*SSH) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type Secret ¶
type Secret struct {
// contains filtered or unexported fields
}
Secret defines the options for the Secret command.
func (*Secret) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type Show ¶
type Show struct {
// contains filtered or unexported fields
}
Show contains the options for querying machines and containers.
func NewShowCommand ¶
func NewShowCommand() *Show
NewShowCommand creates a new Show command instance.
func (*Show) InstallFlags ¶
InstallFlags sets up parsing for command line flags
type Stop ¶
type Stop struct {
// contains filtered or unexported fields
}
Stop contains the options for stopping namespaces.
func NewStopCommand ¶
func NewStopCommand() *Stop
NewStopCommand creates a new Stop command instance.
func (*Stop) InstallFlags ¶
InstallFlags sets up parsing for command line flags.
type SubCommand ¶
type SubCommand interface { // InstallFlags sets up parsing for command line flags. InstallFlags(*flag.FlagSet) // BeforeRun is called after command line flags have been parsed, but // before the Run method is called. It gives commands an opportunity to // transform parsed flags into a more consumable form. BeforeRun() error // AfterRun is called after the Run method so that commands can perform // post-run cleanup. AfterRun() error // The function to run once the flags have been parsed. The return value // is the exit code. Run() int // Give the non-flag command line arguments to the subcommand so that it can // parse it for later execution. Parse(args []string) error }
SubCommand defines the conversion between the user CLI flags and functionality within the code.
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
Version prints the Kelda version information.
func NewVersionCommand ¶
func NewVersionCommand() *Version
NewVersionCommand creates a new Version command instance.
func (*Version) InstallFlags ¶
InstallFlags sets up parsing for command line flags.