eventlog

package
v0.0.0-...-70d8f92 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UDS_PATH = "unix:/run/ccnp/uds/eventlog.sock"
)

Variables

This section is empty.

Functions

func WithCount

func WithCount(count int32) func(*GetPlatformEventlogOptions)

func WithEventlogCategory

func WithEventlogCategory(eventlogCategory pb.CATEGORY) func(*GetPlatformEventlogOptions)

func WithStartPosition

func WithStartPosition(startPosition int32) func(*GetPlatformEventlogOptions)

Types

type CCEventLogEntry

type CCEventLogEntry struct {
	RegIdx  uint32
	EvtType uint32
	EvtSize uint32
	AlgId   uint16
	Event   []uint8
	Digest  []uint8
}

func GetPlatformEventlog

func GetPlatformEventlog(opts ...func(*GetPlatformEventlogOptions)) ([]CCEventLogEntry, error)

type GetPlatformEventlogOptions

type GetPlatformEventlogOptions struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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