Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableModules = map[string]CamerataModule{}
View Source
var ModulesList = []string{}
Functions ¶
func ModuleArgsMap ¶
func Register ¶
func Register(name string, cm CamerataModule, description string)
Types ¶
type CamerataModule ¶
type CamerataModule interface { Prepare(string, *camssh.SshConnection) error Setup(args *cliargs.Arguments, stdout *output.StdoutManager, stderr *output.StderrManager) Run() error }
func NewModule ¶
func NewModule(args *cliargs.Arguments, stdout *output.StdoutManager, stderr *output.StderrManager) (CamerataModule, error)
type TCamerataModule ¶
type TCamerataModule struct { Host string Args *cliargs.Arguments Sshconn *camssh.SshConnection Stdout *output.StdoutManager Stderr *output.StderrManager }
Click to show internal directories.
Click to hide internal directories.