-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add userName userId projectName projectId
- Loading branch information
1 parent
809f129
commit 4fa9a96
Showing
5 changed files
with
95 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
package libvirt_schema | ||
|
||
type DomainState uint8 | ||
|
||
const ( | ||
//no state | ||
DOMAIN_NOSTATE = DomainState(0) | ||
DOMAIN_NOSTATE = DomainState(0) | ||
//the domain is running | ||
DOMAIN_RUNNING = DomainState(1) | ||
DOMAIN_RUNNING = DomainState(1) | ||
//the domain is blocked on resource | ||
DOMAIN_BLOCKED = DomainState(2) | ||
DOMAIN_BLOCKED = DomainState(2) | ||
//the domain is paused by user | ||
DOMAIN_PAUSED = DomainState(3) | ||
DOMAIN_PAUSED = DomainState(3) | ||
//the domain is being shut down | ||
DOMAIN_SHUTDOWN = DomainState(4) | ||
DOMAIN_SHUTDOWN = DomainState(4) | ||
//the domain is shut off | ||
DOMAIN_SHUTOFF = DomainState(5) | ||
DOMAIN_SHUTOFF = DomainState(5) | ||
//the domain is crashed | ||
DOMAIN_CRASHED = DomainState(6) | ||
DOMAIN_CRASHED = DomainState(6) | ||
//the domain is suspended by guest power management | ||
DOMAIN_PMSUSPENDED = DomainState(7) | ||
//this enum value will increase over time as new events are added to the libvirt API. It reflects the last state supported by this version of the libvirt API. | ||
DOMAIN_LAST = DomainState(8) | ||
DOMAIN_LAST = DomainState(8) | ||
) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.