2017-11-03 20:58:41 +03:00
|
|
|
/*
|
|
|
|
* This file generated by internal/lvgen/generate.go. DO NOT EDIT BY HAND!
|
|
|
|
*
|
|
|
|
* To regenerate, run 'go generate' in internal/lvgen.
|
|
|
|
*/
|
|
|
|
|
2017-11-16 23:49:40 +03:00
|
|
|
// Package constants contains libvirt procedure identifiers and other enums and
|
|
|
|
// constants.
|
2017-11-03 20:58:41 +03:00
|
|
|
package constants
|
|
|
|
|
|
|
|
// These are libvirt procedure numbers which correspond to each respective
|
|
|
|
// API call between remote_internal driver and libvirtd. Each procedure is
|
|
|
|
// identified by a unique number which *may change in any future libvirt
|
|
|
|
// update*.
|
|
|
|
//
|
|
|
|
// Examples:
|
|
|
|
// REMOTE_PROC_CONNECT_OPEN = 1
|
|
|
|
// REMOTE_PROC_DOMAIN_DEFINE_XML = 11
|
|
|
|
// REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED = 207,
|
|
|
|
const (
|
|
|
|
// From enums:
|
2017-11-17 01:14:05 +03:00
|
|
|
{{range .EnumVals}} // {{.Name}} is libvirt's {{.LVName}}
|
|
|
|
{{.Name}} = {{.Val}}
|
2017-11-08 00:05:12 +03:00
|
|
|
{{end}}
|
2017-11-03 20:58:41 +03:00
|
|
|
|
|
|
|
// From consts:
|
2017-11-17 01:14:05 +03:00
|
|
|
{{range .Consts}} // {{.Name}} is libvirt's {{.LVName}}
|
|
|
|
{{.Name}} = {{.Val}}
|
2017-11-08 00:05:12 +03:00
|
|
|
{{end -}}
|
2017-11-03 20:58:41 +03:00
|
|
|
)
|