go-libvirt-plain/internal/lvgen/constants.tmpl

31 lines
846 B
Cheetah

/*
* This file generated by internal/lvgen/generate.go. DO NOT EDIT BY HAND!
*
* To regenerate, run 'go generate' in internal/lvgen.
*/
// Package constants contains libvirt procedure identifiers and other enums and
// constants.
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:
{{range .EnumVals}} // {{.Name}} is libvirt's {{.LVName}}
{{.Name}} = {{.Val}}
{{end}}
// From consts:
{{range .Consts}} // {{.Name}} is libvirt's {{.LVName}}
{{.Name}} = {{.Val}}
{{end -}}
)