Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HelperMain ¶
func Inject ¶ added in v0.3.1
func Inject(session *Session, merged spec.MergedConfig) spec.MergedConfig
Types ¶
type Report ¶
type Report struct {
ID string `json:"id"`
Backend string `json:"backend,omitempty"`
Enabled bool `json:"enabled"`
HelperArch string `json:"helperArch,omitempty"`
Host string `json:"host,omitempty"`
Port int `json:"port,omitempty"`
StatePath string `json:"statePath"`
ConfigPath string `json:"configPath,omitempty"`
PIDPath string `json:"pidPath,omitempty"`
StatusPath string `json:"statusPath,omitempty"`
HelperPath string `json:"helperPath"`
MountPath string `json:"mountPath"`
BinPath string `json:"binPath"`
Status string `json:"status"`
}
func ReportFromSession ¶ added in v0.3.1
type Session ¶
type Session struct {
ID string `json:"id"`
Backend string `json:"backend,omitempty"`
Enabled bool `json:"enabled"`
HelperArch string `json:"helperArch,omitempty"`
Host string `json:"host,omitempty"`
Hosts []string `json:"hosts,omitempty"`
Port int `json:"port,omitempty"`
Token string `json:"token,omitempty"`
StatePath string `json:"statePath"`
ConfigPath string `json:"configPath,omitempty"`
PIDPath string `json:"pidPath,omitempty"`
StatusPath string `json:"statusPath,omitempty"`
HelperPath string `json:"helperPath"`
MountPath string `json:"mountPath"`
BinPath string `json:"binPath"`
Status string `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.