ai_metathings_constant_state

package
v1.1.27-debug Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeviceState_name = map[int32]string{
	0: "DEVICE_STATE_UNKNOWN",
	1: "DEVICE_STATE_ONLINE",
	2: "DEVICE_STATE_OFFLINE",
}
View Source
var DeviceState_value = map[string]int32{
	"DEVICE_STATE_UNKNOWN": 0,
	"DEVICE_STATE_ONLINE":  1,
	"DEVICE_STATE_OFFLINE": 2,
}
View Source
var ModuleState_name = map[int32]string{
	0: "MODULE_STATE_UNKNOWN",
	1: "MODULE_STATE_ONLINE",
	2: "MODULE_STATE_OFFLINE",
}
View Source
var ModuleState_value = map[string]int32{
	"MODULE_STATE_UNKNOWN": 0,
	"MODULE_STATE_ONLINE":  1,
	"MODULE_STATE_OFFLINE": 2,
}
View Source
var TaskState_name = map[int32]string{
	0:  "TASK_STATE_UNKNOWN",
	10: "TASK_STATE_CREATED",
	20: "TASK_STATE_PENDING",
	30: "TASK_STATE_RUNNING",
	40: "TASK_STATE_DONE",
	50: "TASK_STATE_ERROR",
}
View Source
var TaskState_value = map[string]int32{
	"TASK_STATE_UNKNOWN": 0,
	"TASK_STATE_CREATED": 10,
	"TASK_STATE_PENDING": 20,
	"TASK_STATE_RUNNING": 30,
	"TASK_STATE_DONE":    40,
	"TASK_STATE_ERROR":   50,
}

Functions

This section is empty.

Types

type DeviceState

type DeviceState int32
const (
	DeviceState_DEVICE_STATE_UNKNOWN DeviceState = 0
	DeviceState_DEVICE_STATE_ONLINE  DeviceState = 1
	DeviceState_DEVICE_STATE_OFFLINE DeviceState = 2
)

func (DeviceState) EnumDescriptor

func (DeviceState) EnumDescriptor() ([]byte, []int)

func (DeviceState) String

func (x DeviceState) String() string

type ModuleState

type ModuleState int32
const (
	ModuleState_MODULE_STATE_UNKNOWN ModuleState = 0
	ModuleState_MODULE_STATE_ONLINE  ModuleState = 1
	ModuleState_MODULE_STATE_OFFLINE ModuleState = 2
)

func (ModuleState) EnumDescriptor

func (ModuleState) EnumDescriptor() ([]byte, []int)

func (ModuleState) String

func (x ModuleState) String() string

type TaskState added in v1.1.28

type TaskState int32
const (
	TaskState_TASK_STATE_UNKNOWN TaskState = 0
	TaskState_TASK_STATE_CREATED TaskState = 10
	TaskState_TASK_STATE_PENDING TaskState = 20
	TaskState_TASK_STATE_RUNNING TaskState = 30
	TaskState_TASK_STATE_DONE    TaskState = 40
	TaskState_TASK_STATE_ERROR   TaskState = 50
)

func (TaskState) EnumDescriptor added in v1.1.28

func (TaskState) EnumDescriptor() ([]byte, []int)

func (TaskState) String added in v1.1.28

func (x TaskState) String() string

Jump to

Keyboard shortcuts

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