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
Click to show internal directories.
Click to hide internal directories.