checker

package
v0.0.0-...-6186498 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

@host localhost:8099 @BasePath /api/v1

Types

type ExtConfig

type ExtConfig struct {
	Schedule []ScheduleTask `json:"schedule"`
}

ExtConfig defines the MonitorConnection extensions configuration

func (ExtConfig) Validate

func (cfg ExtConfig) Validate() error

Validate validates value

type ScheduleTask

type ScheduleTask struct {
	CombinedOutput bool              `json:"combinedOutput,omitempty"`
	Command        []string          `json:"command"`
	Cron           string            `json:"cron"`
	DataFormat     parser.DataFormat `json:"dataFormat"`
	Environment    []string          `json:"environment,omitempty"`
}

ScheduleTask defines command

func (ScheduleTask) String

func (t ScheduleTask) String() string

Jump to

Keyboard shortcuts

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