controllers

package
v0.8.59 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAllJobs added in v0.7.0

func DeleteAllJobs(c *gin.Context)

func DeleteJob added in v0.7.0

func DeleteJob(c *gin.Context)

func DeleteScript added in v0.7.0

func DeleteScript(c *gin.Context)

func GetAllJobs added in v0.7.0

func GetAllJobs(c *gin.Context)

func GetDownloadPcap

func GetDownloadPcap(c *gin.Context)

func GetItem

func GetItem(c *gin.Context, opts *misc.Opts)

func GetJob added in v0.7.0

func GetJob(c *gin.Context)

func GetNameResolutionHistory

func GetNameResolutionHistory(c *gin.Context)

func GetReplay

func GetReplay(c *gin.Context)

func GetSchedulerStatus added in v0.7.0

func GetSchedulerStatus(c *gin.Context)

func GetTotalSize added in v0.8.2

func GetTotalSize(c *gin.Context)

func PostMerge

func PostMerge(c *gin.Context)

func PostRunAllJobs added in v0.7.0

func PostRunAllJobs(c *gin.Context)

func PostRunJob added in v0.7.0

func PostRunJob(c *gin.Context)

func PostSchedulerStart added in v0.7.0

func PostSchedulerStart(c *gin.Context)

func PostSchedulerStop added in v0.7.0

func PostSchedulerStop(c *gin.Context)

func PostSelfHostNode added in v0.7.0

func PostSelfHostNode(c *gin.Context)

func PostSetTargeted added in v0.6.0

func PostSetTargeted(c *gin.Context, procfs string, updateTargetsQueue *queue.Queue)

func PutEnv added in v0.7.0

func PutEnv(c *gin.Context)

func PutScript added in v0.7.0

func PutScript(c *gin.Context)

func ScriptLogsHandler added in v0.7.0

func ScriptLogsHandler(c *gin.Context)

func SetLicense added in v0.7.0

func SetLicense(c *gin.Context)

func WebsocketHandler

func WebsocketHandler(c *gin.Context, opts *misc.Opts)

Types

type Connection added in v0.8.21

type Connection struct {
	// contains filtered or unexported fields
}

type Context added in v0.8.18

type Context struct {
	// contains filtered or unexported fields
}

type ResultJob added in v0.7.0

type ResultJob struct {
	Tag              string    `json:"tag"`
	LastRun          time.Time `json:"lastRun"`
	NextRun          time.Time `json:"nextRun"`
	RunCount         int       `json:"runCount"`
	ScheduledAtTimes []string  `json:"scheduledAtTimes"`
	IsRunning        bool      `json:"isRunning"`
	IsPending        bool      `json:"isPending"`
}

func (*ResultJob) Fill added in v0.7.0

func (j *ResultJob) Fill(x *gocron.Job)

type Script added in v0.7.0

type Script struct {
	Node  string `json:"node"`
	IP    string `json:"ip"`
	Title string `json:"title"`
	Code  string `json:"code"`
}

type Self added in v0.7.0

type Self struct {
	Host string `json:"host"`
	Node string `json:"node"`
}

Jump to

Keyboard shortcuts

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