2024-03-12 16:33:14 +00:00
|
|
|
package secret
|
2024-03-13 04:17:42 +00:00
|
|
|
|
|
|
|
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",
|
|
|
|
}
|