Documentation
¶
Index ¶
- Constants
- Variables
- type Algo
- type Digest_
- func (p *Digest_) Equals(other *Digest_) bool
- func (p *Digest_) GetDigest() []byte
- func (p *Digest_) GetHashAlgo() Algo
- func (p *Digest_) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Digest_) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Digest_) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Digest_) String() string
- func (p *Digest_) Write(ctx context.Context, oprot thrift.TProtocol) error
- type Event
- func (p *Event) Equals(other *Event) bool
- func (p *Event) GetData() []byte
- func (p *Event) GetDigest() *Digest_
- func (p *Event) GetPCRIndex() int8
- func (p *Event) GetType() int32
- func (p *Event) IsSetDigest() bool
- func (p *Event) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Event) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Event) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Event) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Event) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Event) String() string
- func (p *Event) Write(ctx context.Context, oprot thrift.TProtocol) error
- type EventLog
- func (p *EventLog) Equals(other *EventLog) bool
- func (p *EventLog) GetEvents() []*Event
- func (p *EventLog) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *EventLog) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *EventLog) String() string
- func (p *EventLog) Write(ctx context.Context, oprot thrift.TProtocol) error
- type Version
- func (p *Version) Equals(other *Version) bool
- func (p *Version) GetMajor() int8
- func (p *Version) GetMinor() int8
- func (p *Version) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Version) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Version) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Version) String() string
- func (p *Version) Write(ctx context.Context, oprot thrift.TProtocol) error
Constants ¶
View Source
const EV_ACTION = 5
View Source
const EV_COMPACT_HASH = 12
View Source
const EV_CPU_MICROCODE = 9
View Source
const EV_EFI_ACTION = 2147483655
View Source
const EV_EFI_BOOT_SERVICES_APPLICATION = 2147483651
View Source
const EV_EFI_BOOT_SERVICES_DRIVER = 2147483652
View Source
const EV_EFI_EVENT_BASE = 2147483648
View Source
const EV_EFI_GPT_EVENT = 2147483654
View Source
const EV_EFI_HANDOFF_TABLES = 2147483657
View Source
const EV_EFI_HCRTM_EVENT = 2147483664
View Source
const EV_EFI_PLATFORM_FIRMWARE_BLOB = 2147483656
View Source
const EV_EFI_RUNTIME_SERVICES_DRIVER = 2147483653
View Source
const EV_EFI_VARIABLE_AUTHORITY = 2147483872
View Source
const EV_EFI_VARIABLE_BOOT = 2147483650
View Source
const EV_EFI_VARIABLE_DRIVER_CONFIG = 2147483649
View Source
const EV_EVENT_TAG = 6
View Source
const EV_IPL = 13
View Source
const EV_IPL_PARTITION_DATA = 14
View Source
const EV_NONHOST_CODE = 15
View Source
const EV_NONHOST_CONFIG = 16
View Source
const EV_NONHOST_INFO = 17
View Source
const EV_NO_ACTION = 3
View Source
const EV_OMIT_BOOT_DEVICE_EVENTS = 18
View Source
const EV_PLATFORM_CONFIG_FLAGS = 10
View Source
const EV_POST_CODE = 1
View Source
const EV_PREBOOT_CERT = 0
View Source
const EV_SEPARATOR = 4
View Source
const EV_S_CRTM_CONTENTS = 7
View Source
const EV_S_CRTM_VERSION = 8
View Source
const EV_TABLE_OF_DEVICES = 11
View Source
const EV_UNUSED = 2
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type Algo ¶
type Algo int64
func AlgoFromString ¶
func (Algo) MarshalText ¶
func (*Algo) UnmarshalText ¶
type Digest_ ¶
type Digest_ struct { HashAlgo Algo `thrift:"HashAlgo,1" db:"HashAlgo" json:"HashAlgo"` Digest []byte `thrift:"Digest,2" db:"Digest" json:"Digest"` }
Attributes:
- HashAlgo
- Digest
var Event_Digest_DEFAULT *Digest_
func NewDigest_ ¶
func NewDigest_() *Digest_
func (*Digest_) GetHashAlgo ¶
func (*Digest_) ReadField1 ¶
func (*Digest_) ReadField2 ¶
type Event ¶
type Event struct { PCRIndex int8 `thrift:"PCRIndex,1" db:"PCRIndex" json:"PCRIndex"` Type int32 `thrift:"Type,2" db:"Type" json:"Type"` Data []byte `thrift:"Data,3" db:"Data" json:"Data"` Digest *Digest_ `thrift:"Digest,4" db:"Digest" json:"Digest"` }
Attributes:
- PCRIndex
- Type
- Data
- Digest
func (*Event) GetPCRIndex ¶
func (*Event) IsSetDigest ¶
func (*Event) ReadField1 ¶
func (*Event) ReadField2 ¶
func (*Event) ReadField3 ¶
func (*Event) ReadField4 ¶
type EventLog ¶
type EventLog struct {
Events []*Event `thrift:"Events,1" db:"Events" json:"Events"`
}
Attributes:
- Events
func NewEventLog ¶
func NewEventLog() *EventLog
func (*EventLog) ReadField1 ¶
type Version ¶
type Version struct { Major int8 `thrift:"Major,1" db:"Major" json:"Major"` Minor int8 `thrift:"Minor,2" db:"Minor" json:"Minor"` }
Attributes:
- Major
- Minor
func NewVersion ¶
func NewVersion() *Version
func (*Version) ReadField1 ¶
func (*Version) ReadField2 ¶
Click to show internal directories.
Click to hide internal directories.