Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InfoStyle = color.New(color.FgCyan, color.BgBlack, color.Bold).SprintFunc() SuccessStyle = color.New(color.FgGreen, color.BgBlack, color.Bold).SprintFunc() FailureStyle = color.New(color.FgRed, color.BgBlack, color.Bold).SprintFunc() LinkStyle = color.New(color.Underline).SprintFunc() )
styles
View Source
var ( CheckMark = "✔" Cross = "✘" )
platform dependent strings
Functions ¶
func SetUIState ¶
func SetUIState(state UIState)
SetUIState globally sets the state and thus choses the view that should render
func ShowAppraisalLink ¶ added in v3.3.2
func ShowAppraisalLink(link string)
Types ¶
type UIState ¶
type UIState uint32
const ( StCollectFirmwareInfo UIState = iota StQuotePCR StSendEvidence StAttestationSuccess StAttestationRunning StAttestationFailed StSelectTASuccess StSelectTAFailed StCreateKeys StEnrollKeys StEnrollSuccess StEnrollFailed StNoRoot StDeviceVulnerable StDeviceTrusted StChainAllGood StChainFailSupplyChain StChainFailConfiguration StChainFailFirmware StChainFailBootloader StChainFailOperatingSystem StChainFailEndpointProtection StTscUnsupported StEppUnsupported )
Click to show internal directories.
Click to hide internal directories.