schemonjob

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: AGPL-3.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(j1, j2 *StatusForEventbox) bool

true if same

func New

func New() (input.Input, error)

Types

type ScheMonJob

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

func (*ScheMonJob) Name

func (*ScheMonJob) Name() string

func (*ScheMonJob) Start

func (s *ScheMonJob) Start(handler input.Handler) error

func (*ScheMonJob) Stop

func (s *ScheMonJob) Stop() error

type StatusForEventbox

type StatusForEventbox struct {
	// runtime namespace
	Namespace string `json:"namespace"`
	// runtime name
	Name string `json:"name"`
	// the "nofity" get the status and post it to this url
	Addr []string `json:"addrs"`
	// runtime status
	Status string `json:"status,omitempty"`
	// 扩展字段,比如存储runtime下每个服务的名字及状态
	More map[string]string `json:"more,omitempty"`
}

Jump to

Keyboard shortcuts

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