vmtype

package
v2.4.0-pre Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VMType

type VMType uint32

VMType describes different vm types we support. Introduced for Azure SNP / Trusted Launch attestation.

const (
	// Unknown is the default value for VMType and should not be used.
	Unknown VMType = iota
	// AzureCVM is an Azure Confidential Virtual Machine (CVM).
	AzureCVM
	// AzureTrustedLaunch is an Azure Trusted Launch VM.
	AzureTrustedLaunch
)

func FromString

func FromString(s string) VMType

FromString returns a VMType from a string.

func (VMType) String

func (i VMType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL