clustvirt/lib/secret/lib.go

15 lines
495 B
Go
Raw Normal View History

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