clustvirt/lib/secret/lib.go
Matthew Stobbs f96a911722 host will now load VM data
- 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
2024-03-12 22:17:42 -06:00

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",
}