Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentCmdArgs ¶
type AgentCmdArgs struct {
Host *string `short:"h" long:"host" description:"Agent server host" default:"0.0.0.0"`
Port *uint `short:"p" long:"port" description:"Agent server port" default:"17779"`
DirectCommand *string `short:"d" long:"default-command" description:"The command string that will be executed directly"`
ConfigPath *string `short:"c" long:"config" description:"Explicit configuration file"`
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.