Matthew Stobbs
f96a911722
- All host node info is done using goroutines to speed up the process as much as possible - The vast majority of data is stored at this point - Need to work out refreshes, using either polling or events
15 lines
495 B
Go
15 lines
495 B
Go
package secret
|
|
|
|
import "libvirt.org/go/libvirt"
|
|
|
|
// SecretUsageTypeMap provides string representation to secret types used by
|
|
// libvirt
|
|
var SecretUsageTypeMap map[libvirt.SecretUsageType]string = map[libvirt.SecretUsageType]string{
|
|
libvirt.SECRET_USAGE_TYPE_NONE: "none",
|
|
libvirt.SECRET_USAGE_TYPE_VOLUME: "volume",
|
|
libvirt.SECRET_USAGE_TYPE_ISCSI: "iscsi",
|
|
libvirt.SECRET_USAGE_TYPE_VTPM: "vtpm",
|
|
libvirt.SECRET_USAGE_TYPE_TLS: "tls",
|
|
libvirt.SECRET_USAGE_TYPE_CEPH: "ceph",
|
|
}
|