Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentCmdArgs ¶
type AgentCmdArgs struct {
ConfigPath *string `short:"c" long:"config" description:"Explicit configuration file"`
Host *string `short:"h" long:"host" description:"Agent http server host"`
Port *uint `short:"p" long:"port" description:"Agent http server port"`
DirectCommand *string `short:"d" long:"default-command" description:"The command string that will be executed directly"`
StaticPath []string `short:"s" long:"static-path" description:"Path of static web resources"`
Verbose []bool `short:"v" long:"verbose" description:"Show verbose debug information"`
}
func ParseArgs ¶
func ParseArgs() (AgentCmdArgs, error)
func (*AgentCmdArgs) AgentServerOptions ¶ added in v1.0.5
func (a *AgentCmdArgs) AgentServerOptions() *services.ServerOptions
Click to show internal directories.
Click to hide internal directories.