pspsignanalysis

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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PSPSignatureAnalyzerID = "PSPSignature"

Variables

View Source
var GoUnusedProtection__ int
View Source
var ValidatedItem_Entry_DEFAULT *psptypes.DirectoryEntry

Functions

This section is empty.

Types

type CustomReport

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

Attributes:

  • Items

func NewCustomReport

func NewCustomReport() *CustomReport

func (*CustomReport) Equals

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

func (*CustomReport) GetItems

func (p *CustomReport) GetItems() []*ValidatedItem

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 ValidatedItem

type ValidatedItem struct {
	Directory             psptypes.DirectoryType   `thrift:"Directory,1" db:"Directory" json:"Directory"`
	Entry                 *psptypes.DirectoryEntry `thrift:"Entry,2" db:"Entry" json:"Entry,omitempty"`
	ValidationResult_     Validation               `thrift:"ValidationResult,3" db:"ValidationResult" json:"ValidationResult"`
	ValidationDescription string                   `thrift:"ValidationDescription,4" db:"ValidationDescription" json:"ValidationDescription"`
}

Attributes:

  • Directory
  • Entry
  • ValidationResult_
  • ValidationDescription

func NewValidatedItem

func NewValidatedItem() *ValidatedItem

func (*ValidatedItem) Equals

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

func (*ValidatedItem) GetDirectory

func (p *ValidatedItem) GetDirectory() psptypes.DirectoryType

func (*ValidatedItem) GetEntry

func (p *ValidatedItem) GetEntry() *psptypes.DirectoryEntry

func (*ValidatedItem) GetValidationDescription

func (p *ValidatedItem) GetValidationDescription() string

func (*ValidatedItem) GetValidationResult_

func (p *ValidatedItem) GetValidationResult_() Validation

func (*ValidatedItem) IsSetEntry

func (p *ValidatedItem) IsSetEntry() bool

func (*ValidatedItem) Read

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

func (*ValidatedItem) ReadField1

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

func (*ValidatedItem) ReadField2

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

func (*ValidatedItem) ReadField3

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

func (*ValidatedItem) ReadField4

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

func (*ValidatedItem) String

func (p *ValidatedItem) String() string

func (*ValidatedItem) Write

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

type Validation

type Validation int64
const (
	Validation_Unknown            Validation = 0
	Validation_NotFound           Validation = 1
	Validation_InvalidFormat      Validation = 2
	Validation_KeyNotFound        Validation = 3
	Validation_IncorrectSignature Validation = 4
	Validation_Correct            Validation = 5
)

func ValidationFromString

func ValidationFromString(s string) (Validation, error)

func ValidationPtr

func ValidationPtr(v Validation) *Validation

func (Validation) MarshalText

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

func (*Validation) Scan

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

func (Validation) String

func (p Validation) String() string

func (*Validation) UnmarshalText

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

func (*Validation) Value

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

Jump to

Keyboard shortcuts

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