crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
787a1116
ROOT
/
pkg
/
detectors
/
internal
/
testhelper
/
testhelper.go
Search
History
204 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Extract
( t assert.TestingT, path string, registrations []detectors.InitializedDetector, detectorType reportdetectors.Type, )
:
*InMemoryReport
RegistrationFor
(detectorType reportdetectors.Type)
:
[]detectors.InitializedDetector
InMemoryReport
CustomDetections
:
[]detections.Detection
Detections
:
[]*detections.Detection
Dependencies
:
[]*detections.Detection
Frameworks
:
[]*detections.FrameworkDetection
Errors
:
[]*detections.ErrorDetection
SecretLeaks
:
[]*detections.Detection
CreateView
:
[]*detections.Detection
SchemaGroupDetectorType
:
reportdetectors.Type
SchemaGroupObjectName
:
string
*InMemoryReport
AddDetection
( detectionType detections.DetectionType, detectorType reportdetectors.Type, source source.Source, value interface{}, )
SchemaGroupBegin
(detectorType reportdetectors.Type, node *parser.Node, schema schema.Schema, source *source.Source, parent *parser.Node)
SchemaGroupIsOpen
()
:
bool
SchemaGroupShouldClose
(tableName string)
:
bool
SchemaGroupAddItem
(node *parser.Node, schema schema.Schema, source *source.Source)
SchemaGroupEnd
(idGenerator nodeid.Generator)
AddDataType
( detectionType detections.DetectionType, detectorType reportdetectors.Type, idGenerator nodeid.Generator, values map[parser.NodeID]*datatype.DataType, parent *parser.Node, )
AddInterface
( detectorType reportdetectors.Type, data interfaces.Interface, source source.Source, )
AddFramework
( detectorType reportdetectors.Type, frameworkType frameworks.Type, data interface{}, source source.Source, )
AddDependency
( detectorType reportdetectors.Type, dependency dependencies.Dependency, source source.Source, )
AddSecretLeak
( secret secret.Secret, source source.Source, )
AddError
(filePath string, err error)
All occurrences
Please wait...
Page is in error, reload to recover