message

package
v0.0.0-...-2932577 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeOutRequest

type ChangeOutRequest struct {
	SchemeName string `json:"scheme_name"`
	ActionName string `json:"action_name"`
	OldOut     string `json:"old_out"`
	NewOut     string `json:"new_out"`
}

ChangeOutRequest запрос на замену выходного потока.

type RunActionRequest

type RunActionRequest struct {
	SchemeName string            `json:"scheme_name"`
	ActionName string            `json:"action_name"`
	Action     string            `json:"action"`
	Port       int               `json:"port"`
	In         []string          `json:"in"`
	Out        []string          `json:"out"`
	Args       []string          `json:"args"`
	Env        map[string]string `json:"env"`
}

RunActionRequest запрос к machine_node для запуска действия.

type RuntimeStatus

type RuntimeStatus uint8

RuntimeStatus состояние runtime

const (
	// RuntimeStatusOK runtime работает и отвечает на последний ping.
	RuntimeStatusOK RuntimeStatus = 0
	// RuntimeStatusPending runtime пока считается рабочим, но не ответил на несколько последних ping.
	RuntimeStatusPending RuntimeStatus = 1
)

type RuntimeTelemetry

type RuntimeTelemetry struct {
	SchemeName   string        `json:"scheme_name"`
	ActionName   string        `json:"action_name"`
	Status       RuntimeStatus `json:"status"`
	OldestOutput uint32        `json:"oldest_output"`
}

RuntimeTelemetry набор информации о рантайме.

type StopActionRequest

type StopActionRequest struct {
	SchemeName string `json:"scheme_name"`
	ActionName string `json:"action_name"`
}

StopActionRequest запрос к machine_node для остановки действия.

Jump to

Keyboard shortcuts

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