-
Notifications
You must be signed in to change notification settings - Fork 64
/
event.pb.netconn.go
88 lines (83 loc) · 3.3 KB
/
event.pb.netconn.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// Code generated by kraftkit.sh/tools/protoc-gen-go-netconn. DO NOT EDIT.
// source: machine/qemu/qmp/v7alpha2/event.proto
package qmpv7alpha2
type EventType string
const (
EVENT_ACPI_DEVICE_OST = EventType("ACPI_DEVICE_OST")
EVENT_BALLOON_CHANGE = EventType("BALLOON_CHANGE")
EVENT_BLOCK_IMAGE_CORRUPTED = EventType("BLOCK_IMAGE_CORRUPTED")
EVENT_BLOCK_IO_ERROR = EventType("BLOCK_IO_ERROR")
EVENT_BLOCK_JOB_CANCELLED = EventType("BLOCK_JOB_CANCELLED")
EVENT_BLOCK_JOB_COMPLETED = EventType("BLOCK_JOB_COMPLETED")
EVENT_BLOCK_JOB_ERROR = EventType("BLOCK_JOB_ERROR")
EVENT_BLOCK_JOB_PENDING = EventType("BLOCK_JOB_PENDING")
EVENT_BLOCK_JOB_READY = EventType("BLOCK_JOB_READY")
EVENT_DEVICE_DELETED = EventType("DEVICE_DELETED")
EVENT_DEVICE_TRAY_MOVED = EventType("DEVICE_TRAY_MOVED")
EVENT_DEVICE_UNPLUG_GUEST_ERROR = EventType("DEVICE_UNPLUG_GUEST_ERROR")
EVENT_DUMP_COMPLETED = EventType("DUMP_COMPLETED")
EVENT_FAILOVER_NEGOTIATED = EventType("FAILOVER_NEGOTIATED")
EVENT_GUEST_CRASHLOADED = EventType("GUEST_CRASHLOADED")
EVENT_GUEST_PANICKED = EventType("GUEST_PANICKED")
EVENT_MEM_UNPLUG_ERRO = EventType("MEM_UNPLUG_ERRO")
EVENT_MEMORY_DEVICE_SIZE_CHANGE = EventType("MEMORY_DEVICE_SIZE_CHANGE")
EVENT_MEMORY_FAILURE = EventType("MEMORY_FAILURE")
EVENT_NIC_RX_FILTER_CHANGED = EventType("NIC_RX_FILTER_CHANGED")
EVENT_POWERDOWN = EventType("POWERDOWN")
EVENT_PR_MANAGER_STATUS_CHANGED = EventType("PR_MANAGER_STATUS_CHANGED")
EVENT_QUORUM_FAILURE = EventType("QUORUM_FAILURE")
EVENT_RESET = EventType("RESET")
EVENT_RESUME = EventType("RESUME")
EVENT_SHUTDOWN = EventType("SHUTDOWN")
EVENT_STOP = EventType("STOP")
EVENT_SUSPEND = EventType("SUSPEND")
EVENT_UNPLUG_PRIMARY = EventType("UNPLUG_PRIMARY")
EVENT_VFU_CLIENT_HANGUP = EventType("VFU_CLIENT_HANGUP")
EVENT_VNC_CONNECTED = EventType("VNC_CONNECTED")
EVENT_VNC_DISCONNECTED = EventType("VNC_DISCONNECTED")
EVENT_VSERPORT_CHANGE = EventType("VSERPORT_CHANGE")
EVENT_WAKEUP = EventType("WAKEUP")
EVENT_WATCHDOG = EventType("WATCHDOG")
)
func (e EventType) String() string {
return string(e)
}
func EventTypes() []EventType {
return []EventType{
EVENT_ACPI_DEVICE_OST,
EVENT_BALLOON_CHANGE,
EVENT_BLOCK_IMAGE_CORRUPTED,
EVENT_BLOCK_IO_ERROR,
EVENT_BLOCK_JOB_CANCELLED,
EVENT_BLOCK_JOB_COMPLETED,
EVENT_BLOCK_JOB_ERROR,
EVENT_BLOCK_JOB_PENDING,
EVENT_BLOCK_JOB_READY,
EVENT_DEVICE_DELETED,
EVENT_DEVICE_TRAY_MOVED,
EVENT_DEVICE_UNPLUG_GUEST_ERROR,
EVENT_DUMP_COMPLETED,
EVENT_FAILOVER_NEGOTIATED,
EVENT_GUEST_CRASHLOADED,
EVENT_GUEST_PANICKED,
EVENT_MEM_UNPLUG_ERRO,
EVENT_MEMORY_DEVICE_SIZE_CHANGE,
EVENT_MEMORY_FAILURE,
EVENT_NIC_RX_FILTER_CHANGED,
EVENT_POWERDOWN,
EVENT_PR_MANAGER_STATUS_CHANGED,
EVENT_QUORUM_FAILURE,
EVENT_RESET,
EVENT_RESUME,
EVENT_SHUTDOWN,
EVENT_STOP,
EVENT_SUSPEND,
EVENT_UNPLUG_PRIMARY,
EVENT_VFU_CLIENT_HANGUP,
EVENT_VNC_CONNECTED,
EVENT_VNC_DISCONNECTED,
EVENT_VSERPORT_CHANGE,
EVENT_WAKEUP,
EVENT_WATCHDOG,
}
}