api

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BadUnmarshalRequestErrorCode = "bad_unmarshal"
	NoActionErrorCode            = "action_not_found"
	ETCDErrorCode                = "etcd_error"
	InternalError                = "internal_error"
	BadTelemetry                 = "bad_telemetry"
)

Возможные коды ошибок.

Functions

func ChangeActionOut

func ChangeActionOut(r *http.Request) (*httplib.Response, error)

ChangeActionOut перенапрявляет выходной поток действия в другой узел.

func Ping

func Ping(r *http.Request) (*httplib.Response, error)

Ping возвращает информацию о состоянии запущенных действий.

func RunAction

func RunAction(r *http.Request) (*httplib.Response, error)

RunAction запускает action.

func StopAction

func StopAction(r *http.Request) (*httplib.Response, error)

StopAction останавливает action.

Types

This section is empty.

Jump to

Keyboard shortcuts

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