Documentation
¶
Overview ¶
********************************************************************
- Copyright (c) Intel Corporation 2021
- SPDX-License-Identifier: Apache-2.0 *********************************************************************
Index ¶
- func ANSI2String(ansi pthi.AMTANSIString) string
- type AMTCommand
- func (amt AMTCommand) DisableAMT() error
- func (amt AMTCommand) EnableAMT() error
- func (amt AMTCommand) GetCertificateHashes() ([]CertHashEntry, error)
- func (amt AMTCommand) GetChangeEnabled() (ChangeEnabledResponse, error)
- func (amt AMTCommand) GetControlMode() (int, error)
- func (amt AMTCommand) GetDNSSuffix() (string, error)
- func (amt AMTCommand) GetLANInterfaceSettings(useWireless bool) (InterfaceSettings, error)
- func (amt AMTCommand) GetLocalSystemAccount() (LocalSystemAccount, error)
- func (amt AMTCommand) GetOSDNSSuffix() (string, error)
- func (amt AMTCommand) GetRemoteAccessConnectionStatus() (RemoteAccessStatus, error)
- func (amt AMTCommand) GetUUID() (string, error)
- func (amt AMTCommand) GetVersionDataFromME(key string, amtTimeout time.Duration) (string, error)
- func (amt AMTCommand) Initialize() (utils.ReturnCode, error)
- func (amt AMTCommand) Unprovision() (int, error)
- type AMTUnicodeString
- type AMTVersionType
- type CertHashEntry
- type ChangeEnabledResponse
- type CodeVersions
- type Interface
- type InterfaceSettings
- type LocalSystemAccount
- type RemoteAccessStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ANSI2String ¶
func ANSI2String(ansi pthi.AMTANSIString) string
Types ¶
type AMTCommand ¶
func NewAMTCommand ¶
func NewAMTCommand() AMTCommand
func (AMTCommand) DisableAMT ¶
func (amt AMTCommand) DisableAMT() error
func (AMTCommand) EnableAMT ¶
func (amt AMTCommand) EnableAMT() error
func (AMTCommand) GetCertificateHashes ¶
func (amt AMTCommand) GetCertificateHashes() ([]CertHashEntry, error)
func (AMTCommand) GetChangeEnabled ¶
func (amt AMTCommand) GetChangeEnabled() (ChangeEnabledResponse, error)
func (AMTCommand) GetControlMode ¶
func (amt AMTCommand) GetControlMode() (int, error)
GetControlMode ...
func (AMTCommand) GetDNSSuffix ¶
func (amt AMTCommand) GetDNSSuffix() (string, error)
func (AMTCommand) GetLANInterfaceSettings ¶
func (amt AMTCommand) GetLANInterfaceSettings(useWireless bool) (InterfaceSettings, error)
func (AMTCommand) GetLocalSystemAccount ¶
func (amt AMTCommand) GetLocalSystemAccount() (LocalSystemAccount, error)
func (AMTCommand) GetOSDNSSuffix ¶
func (amt AMTCommand) GetOSDNSSuffix() (string, error)
func (AMTCommand) GetRemoteAccessConnectionStatus ¶
func (amt AMTCommand) GetRemoteAccessConnectionStatus() (RemoteAccessStatus, error)
func (AMTCommand) GetVersionDataFromME ¶
GetVersionDataFromME ...
func (AMTCommand) Initialize ¶
func (amt AMTCommand) Initialize() (utils.ReturnCode, error)
Initialize determines if rpc is able to initialize the heci driver
type AMTUnicodeString ¶
AMTUnicodeString ...
type AMTVersionType ¶
type AMTVersionType struct { Description AMTUnicodeString Version AMTUnicodeString }
AMTVersionType ...
type CertHashEntry ¶
CertHashEntry is the GO struct for holding Cert Hash Entries
type ChangeEnabledResponse ¶
type ChangeEnabledResponse uint8
func (ChangeEnabledResponse) IsAMTEnabled ¶
func (r ChangeEnabledResponse) IsAMTEnabled() bool
func (ChangeEnabledResponse) IsNewInterfaceVersion ¶
func (r ChangeEnabledResponse) IsNewInterfaceVersion() bool
func (ChangeEnabledResponse) IsTransitionAllowed ¶
func (r ChangeEnabledResponse) IsTransitionAllowed() bool
type CodeVersions ¶
type CodeVersions struct { BiosVersion [65]uint8 //[BIOS_VERSION_LEN] VersionsCount uint32 Versions [50]AMTVersionType //[VERSIONS_NUMBER] }
CodeVersions ...
type Interface ¶
type Interface interface { Initialize() (utils.ReturnCode, error) GetChangeEnabled() (ChangeEnabledResponse, error) EnableAMT() error DisableAMT() error GetVersionDataFromME(key string, amtTimeout time.Duration) (string, error) GetUUID() (string, error) GetControlMode() (int, error) GetOSDNSSuffix() (string, error) GetDNSSuffix() (string, error) GetCertificateHashes() ([]CertHashEntry, error) GetRemoteAccessConnectionStatus() (RemoteAccessStatus, error) GetLANInterfaceSettings(useWireless bool) (InterfaceSettings, error) GetLocalSystemAccount() (LocalSystemAccount, error) Unprovision() (mode int, err error) }
type InterfaceSettings ¶
type InterfaceSettings struct { IsEnabled bool `json:"isEnable"` LinkStatus string `json:"linkStatus"` DHCPEnabled bool `json:"dhcpEnabled"` DHCPMode string `json:"dhcpMode"` IPAddress string `json:"ipAddress"` //net.IP MACAddress string `json:"macAddress"` }
InterfaceSettings ...
type LocalSystemAccount ¶
LocalSystemAccount holds username and password
Click to show internal directories.
Click to hide internal directories.