model

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package model provides model definition for startup processor

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dcb

type Dcb struct {
	DCBlength uint32
	BaudRate  uint32

	XonLim    uint16
	XoffLim   uint16
	ByteSize  byte
	Parity    byte
	StopBits  byte
	XonChar   byte
	XoffChar  byte
	ErrorChar byte
	EOFChar   byte
	EvtChar   byte
	// contains filtered or unexported fields
}

Dcb structure http://pinvoke.net/default.aspx/Structures/DCB.html

type DriverInfo

type DriverInfo struct {
	Name    string
	Version string
}

DriverInfo represents driver information that is written to console.

type EventLog

type EventLog struct {
	ID           uint32               `json:"Id"`
	LogName      string               `json:"LogName"`
	Level        uint8                `json:"Level"`
	ProviderName string               `json:"ProviderName"`
	Message      string               `json:"Message"`
	Properties   []EventLogProperties `json:"Properties"`
	TimeCreated  string               `json:"TimeCreated"`
}

EventLog contains Id, LogName, Level, ProviderName, Message, Properties, and TimeCreated from result of Get-WinEvent

type EventLogProperties

type EventLogProperties struct {
	Value interface{} `json:"Value"`
}

EventLogProperties contains Value used by EventLog struct. The value can be any type.

type NitroEnclavesPackageInfo

type NitroEnclavesPackageInfo struct {
	Name    string `json:"PSChildName"`
	Version string `json:"Version"`
}

NitroEnclavesEntity contains Version from HKLM:\SOFTWARE\Amazon\AwsNitroEnclaves.

type OperatingSystemInfo

type OperatingSystemInfo struct {
	Version            string `json:"Version"`
	OperatingSystemSKU int    `json:"OperatingSystemSKU"`
}

OperatingSystemInfo contains Version and OperatingSystemSKU from Win32_OperatingSystem.

type PnpEntity

type PnpEntity struct {
	DeviceID string `json:"DeviceID"`
	Service  string `json:"Service"`
	Name     string `json:"Name"`
}

PnpEntity contains DeviceId, Service, Name from Win32_PnpEntity.

type PnpSignedDriver

type PnpSignedDriver struct {
	Description   string `json:"Description"`
	DriverVersion string `json:"DriverVersion"`
}

PnpSignedDriver contains Description, DriverVersion from Win32_PnpSignedDriver.

type PvPackageInfo

type PvPackageInfo struct {
	Name    string `json:"PSChildName"`
	Version string `json:"Version"`
}

PvEntity contains Version from HKLM:\SOFTWARE\Amazon\PVDriver.

type WindowsDriver

type WindowsDriver struct {
	OriginalFileName string `json:"OriginalFileName"`
	Version          string `json:"Version"`
}

WindowsDriver contains OriginalFileName and Version from result of Get-WindowsDriver.

type WindowsInfo

type WindowsInfo struct {
	ProductName               string `json:"ProductName"`
	BuildLabEx                string `json:"BuildLabEx"`
	CurrentMajorVersionNumber int    `json:"CurrentMajorVersionNumber"`
	CurrentMinorVersionNumber int    `json:"CurrentMinorVersionNumber"`
}

WindowsInfo contains ProductName and BuildLabEx from HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion.

Jump to

Keyboard shortcuts

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