Documentation ¶
Index ¶
- Constants
- Variables
- func NewCreateCmd(fs afero.Fs) *cobra.Command
- func NewRelyingPartyCmd(fs afero.Fs, veraisonClient common.IVeraisonClient) *cobra.Command
- type SevCoreComponents
- type SevDefinedTags
- type SevEvidence
- type SevInstanceInfo
- type SevKeys
- type SevMetadata
- type SevOperations
- type SevOracleRecommendedTags
- type SevOracleTags
- type SevOtherMeasurements
- type SevRegionInfo
- type SevShapeConfig
- type SevSwInfo
- type SevToken
Constants ¶
View Source
const SEVTokenMediaType = "application/sev"
Variables ¶
Functions ¶
func NewRelyingPartyCmd ¶
Types ¶
type SevCoreComponents ¶
type SevDefinedTags ¶
type SevDefinedTags struct { Operations SevOperations `cbor:"99129,keyasint" json:"Operations"` OracleRecommendedTags SevOracleRecommendedTags `cbor:"99128,keyasint" json:"Oracle-Recommended-Tags"` OracleTags SevOracleTags `cbor:"99127,keyasint" json:"Oracle-Tags"` }
type SevEvidence ¶
type SevEvidence struct { Nonce []byte `cbor:"99979,keyasint" json:"sev-nonce"` UniqueId string `cbor:"99978,keyasint" json:"sev-uniqueid"` Keys SevKeys `cbor:"99977,keyasint" json:"sev-keys"` Core SevCoreComponents `cbor:"99976,keyasint" json:"sev-core-components"` SwInfo SevSwInfo `cbor:"99975,keyasint" json:"sev-sw-info"` OtherMeasurements SevOtherMeasurements `cbor:"99974,keyasint" json:"sev-other-measurements"` InstanceInfo SevInstanceInfo `cbor:"99973,keyasint" json:"sev-instance-info"` }
type SevInstanceInfo ¶
type SevInstanceInfo struct { AvailabilityDomain string `cbor:"99199,keyasint" json:"availabilityDomain"` CanonicalRegionName string `cbor:"99198,keyasint" json:"canonicalRegionName"` CompartmentId string `cbor:"99197,keyasint" json:"compartmentId"` DefinedTags SevDefinedTags `cbor:"99196,keyasint" json:"definedTags"` DisplayName string `cbor:"99195,keyasint" json:"displayName"` FaultDomain string `cbor:"99194,keyasint" json:"faultDomain"` Hostname string `cbor:"99193,keyasint" json:"hostname"` Id string `cbor:"99192,keyasint" json:"id"` Image string `cbor:"99191,keyasint" json:"image"` Metadata SevMetadata `cbor:"99190,keyasint" json:"metadata"` Region string `cbor:"99188,keyasint" json:"region"` RegionInfo SevRegionInfo `cbor:"99187,keyasint" json:"regionInfo"` Shape string `cbor:"99186,keyasint" json:"shape"` ShapeConfig SevShapeConfig `cbor:"99185,keyasint" json:"shapeConfig"` State string `cbor:"99184,keyasint" json:"state"` TimeCreated float64 `cbor:"99183,keyasint" json:"timeCreated"` // contains filtered or unexported fields }
type SevMetadata ¶
type SevMetadata struct {
SshAuthorizedKeys string `cbor:"99069,keyasint" json:"ssh_authorized_keys"`
}
type SevOperations ¶
type SevOracleTags ¶
type SevOtherMeasurements ¶
type SevOtherMeasurements struct {
ImaBootAggregate []byte `cbor:"99299,keyasint" json:"ima-boot-aggregate"`
}
type SevRegionInfo ¶
type SevShapeConfig ¶
type SevShapeConfig struct { BaselineOcpuUtilization string `cbor:"99049,keyasint" json:"baselineOcpuUtilization"` MaxVnicAttachments float64 `cbor:"99048,keyasint" json:"maxVnicAttachments"` MemoryInGBs float64 `cbor:"99047,keyasint" json:"memoryInGBs"` NetworkingBandwidthInGbps float64 `cbor:"99046,keyasint" json:"networkingBandwidthInGbps"` Ocpus float64 `cbor:"99045,keyasint" json:"ocpus"` }
type SevToken ¶
type SevToken struct { Evidence SevEvidence `cbor:"99989,keyasint" json:"evidence"` ReferenceId string `cbor:"99988,keyasint" json:"reference-id"` TrustAnchorId string `cbor:"99987,keyasint" json:"trust-anchor-id"` }
Click to show internal directories.
Click to hide internal directories.