apcbsecanalysis

package
v0.0.0-...-f44e450 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const APCBSecurityTokensAnalyzerID = "APCBSecurityTokens"

Variables

View Source
var GoUnusedProtection__ int
View Source
var TokenValue_Boolean_DEFAULT bool
View Source
var TokenValue_Byte_DEFAULT int8
View Source
var TokenValue_DWord_DEFAULT int32
View Source
var TokenValue_Word_DEFAULT int16

Functions

This section is empty.

Types

type BIOSDirectoryTokens

type BIOSDirectoryTokens struct {
	BIOSDirectoryLevel int8     `thrift:"BIOSDirectoryLevel,1" db:"BIOSDirectoryLevel" json:"BIOSDirectoryLevel"`
	Tokens             []*Token `thrift:"Tokens,2" db:"Tokens" json:"Tokens"`
}

Attributes:

  • BIOSDirectoryLevel
  • Tokens

func NewBIOSDirectoryTokens

func NewBIOSDirectoryTokens() *BIOSDirectoryTokens

func (*BIOSDirectoryTokens) Equals

func (p *BIOSDirectoryTokens) Equals(other *BIOSDirectoryTokens) bool

func (*BIOSDirectoryTokens) GetBIOSDirectoryLevel

func (p *BIOSDirectoryTokens) GetBIOSDirectoryLevel() int8

func (*BIOSDirectoryTokens) GetTokens

func (p *BIOSDirectoryTokens) GetTokens() []*Token

func (*BIOSDirectoryTokens) Read

func (*BIOSDirectoryTokens) ReadField1

func (p *BIOSDirectoryTokens) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSDirectoryTokens) ReadField2

func (p *BIOSDirectoryTokens) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSDirectoryTokens) String

func (p *BIOSDirectoryTokens) String() string

func (*BIOSDirectoryTokens) Write

type CustomReport

type CustomReport struct {
	DirectoryTokens []*BIOSDirectoryTokens `thrift:"DirectoryTokens,1" db:"DirectoryTokens" json:"DirectoryTokens"`
}

Attributes:

  • DirectoryTokens

func NewCustomReport

func NewCustomReport() *CustomReport

func (*CustomReport) Equals

func (p *CustomReport) Equals(other *CustomReport) bool

func (*CustomReport) GetDirectoryTokens

func (p *CustomReport) GetDirectoryTokens() []*BIOSDirectoryTokens

func (*CustomReport) Read

func (p *CustomReport) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*CustomReport) ReadField1

func (p *CustomReport) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*CustomReport) String

func (p *CustomReport) String() string

func (*CustomReport) Write

func (p *CustomReport) Write(ctx context.Context, oprot thrift.TProtocol) error

type Token

type Token struct {
	ID           TokenID     `thrift:"ID,1" db:"ID" json:"ID"`
	PriorityMask int8        `thrift:"PriorityMask,2" db:"PriorityMask" json:"PriorityMask"`
	BoardMask    int16       `thrift:"BoardMask,3" db:"BoardMask" json:"BoardMask"`
	Value        *TokenValue `thrift:"Value,4" db:"Value" json:"Value"`
}

Attributes:

  • ID
  • PriorityMask
  • BoardMask
  • Value

func NewToken

func NewToken() *Token

func (*Token) Equals

func (p *Token) Equals(other *Token) bool

func (*Token) GetBoardMask

func (p *Token) GetBoardMask() int16

func (*Token) GetID

func (p *Token) GetID() TokenID

func (*Token) GetPriorityMask

func (p *Token) GetPriorityMask() int8

func (*Token) GetValue

func (p *Token) GetValue() *TokenValue

func (*Token) IsSetValue

func (p *Token) IsSetValue() bool

func (*Token) Read

func (p *Token) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*Token) ReadField1

func (p *Token) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*Token) ReadField2

func (p *Token) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*Token) ReadField3

func (p *Token) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*Token) ReadField4

func (p *Token) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*Token) String

func (p *Token) String() string

func (*Token) Write

func (p *Token) Write(ctx context.Context, oprot thrift.TProtocol) error

type TokenID

type TokenID int64
const (
	TokenID_PSPMeasureConfig   TokenID = 1
	TokenID_PSPEnableDebugMode TokenID = 2
	TokenID_PSPErrorDisplay    TokenID = 3
	TokenID_PSPStopOnError     TokenID = 4
)

func TokenIDFromString

func TokenIDFromString(s string) (TokenID, error)

func TokenIDPtr

func TokenIDPtr(v TokenID) *TokenID

func (TokenID) MarshalText

func (p TokenID) MarshalText() ([]byte, error)

func (*TokenID) Scan

func (p *TokenID) Scan(value interface{}) error

func (TokenID) String

func (p TokenID) String() string

func (*TokenID) UnmarshalText

func (p *TokenID) UnmarshalText(text []byte) error

func (*TokenID) Value

func (p *TokenID) Value() (driver.Value, error)

type TokenValue

type TokenValue struct {
	Boolean *bool  `thrift:"Boolean,1" db:"Boolean" json:"Boolean,omitempty"`
	Byte    *int8  `thrift:"Byte,2" db:"Byte" json:"Byte,omitempty"`
	Word    *int16 `thrift:"Word,3" db:"Word" json:"Word,omitempty"`
	DWord   *int32 `thrift:"DWord,4" db:"DWord" json:"DWord,omitempty"`
}

Attributes:

  • Boolean
  • Byte
  • Word
  • DWord
var Token_Value_DEFAULT *TokenValue

func NewTokenValue

func NewTokenValue() *TokenValue

func (*TokenValue) CountSetFieldsTokenValue

func (p *TokenValue) CountSetFieldsTokenValue() int

func (*TokenValue) Equals

func (p *TokenValue) Equals(other *TokenValue) bool

func (*TokenValue) GetBoolean

func (p *TokenValue) GetBoolean() bool

func (*TokenValue) GetByte

func (p *TokenValue) GetByte() int8

func (*TokenValue) GetDWord

func (p *TokenValue) GetDWord() int32

func (*TokenValue) GetWord

func (p *TokenValue) GetWord() int16

func (*TokenValue) IsSetBoolean

func (p *TokenValue) IsSetBoolean() bool

func (*TokenValue) IsSetByte

func (p *TokenValue) IsSetByte() bool

func (*TokenValue) IsSetDWord

func (p *TokenValue) IsSetDWord() bool

func (*TokenValue) IsSetWord

func (p *TokenValue) IsSetWord() bool

func (*TokenValue) Read

func (p *TokenValue) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenValue) ReadField1

func (p *TokenValue) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenValue) ReadField2

func (p *TokenValue) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenValue) ReadField3

func (p *TokenValue) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenValue) ReadField4

func (p *TokenValue) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenValue) String

func (p *TokenValue) String() string

func (*TokenValue) Write

func (p *TokenValue) Write(ctx context.Context, oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

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