manager

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(mgrAddr *string, reposdir *string, prelaunched_injectors *string) error

Start creates the HTTP server and creates the Web Interface

func StartBatch

func StartBatch(mgrAddr *string, reposdir *string, prelaunched_injectors *string, script_file *string) error

Start the Batch mode

Types

type DaemonStatus

type DaemonStatus int

DaemonStatus indicates the status of the Daemon

type PlayerCommand

type PlayerCommand struct {
	Cmd      string `json:"cmd"`
	Value    string `json:"value"`
	MoreInfo string `json:"moreinfo"`
}

PlayerCommand describes the commands exchanged in JSON message

type PlayerResults

type PlayerResults struct {
	Type       string `json:"type"`
	Status     string `json:"status"`
	Level      string `json:"level"`
	Msg        string `json:"msg"`
	HostName   string `json:"hostname"`
	ScriptFile string `json:"scriptfile"`
}

PlayerResults describes the structure of exchanged Results !

type PlayerStatus

type PlayerStatus struct {
	Type   string `json:"type"`
	Status string `json:"status"`
	Level  string `json:"level"`
	Msg    string `json:"msg"`
}

PlayerStatus describes the structure of exchanged JSON message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL