Documentation ¶
Index ¶
- Constants
- Variables
- type CustomReport
- func (p *CustomReport) Equals(other *CustomReport) bool
- func (p *CustomReport) GetItems() []*ValidatedItem
- func (p *CustomReport) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *CustomReport) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *CustomReport) String() string
- func (p *CustomReport) Write(ctx context.Context, oprot thrift.TProtocol) error
- type ValidatedItem
- func (p *ValidatedItem) Equals(other *ValidatedItem) bool
- func (p *ValidatedItem) GetDirectory() psptypes.DirectoryType
- func (p *ValidatedItem) GetEntry() *psptypes.DirectoryEntry
- func (p *ValidatedItem) GetValidationDescription() string
- func (p *ValidatedItem) GetValidationResult_() Validation
- func (p *ValidatedItem) IsSetEntry() bool
- func (p *ValidatedItem) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ValidatedItem) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ValidatedItem) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ValidatedItem) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ValidatedItem) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ValidatedItem) String() string
- func (p *ValidatedItem) Write(ctx context.Context, oprot thrift.TProtocol) error
- type Validation
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) ReadField1 ¶
func (*CustomReport) String ¶
func (p *CustomReport) String() string
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) ReadField1 ¶
func (*ValidatedItem) ReadField2 ¶
func (*ValidatedItem) ReadField3 ¶
func (*ValidatedItem) ReadField4 ¶
func (*ValidatedItem) String ¶
func (p *ValidatedItem) String() string
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
Click to show internal directories.
Click to hide internal directories.