schemonjob

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

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