Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flows ¶
type Flows struct { ID int `json:"id"` Label string `json:"label"` Name string `json:"name"` FullName string `json:"fullName"` Signature string `json:"signature"` IsExternal bool `json:"isExternal"` Code string `json:"code"` TypeFullName string `json:"typeFullName"` ParentMethodName string `json:"parentMethodName"` ParentMethodSignature string `json:"parentMethodSignature"` ParentFileName string `json:"parentFileName"` ParentPackageName string `json:"parentPackageName"` ParentClassName string `json:"parentClassName"` LineNumber int `json:"lineNumber"` ColumnNumber int `json:"columnNumber"` Tags string `json:"tags"` }
Flows describes the flows on how to reach such reachable.
type ReachablePurls ¶
type ReachablePurls map[string]struct{}
ReachablePurls maps reachable purls based on the report.
func (ReachablePurls) IsPurlReachable ¶
func (rp ReachablePurls) IsPurlReachable(purl string) bool
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is responsible for managing how to read atom files and understand their contents.
func (*Reader) ReachablePurls ¶
ReachablePurls finds all the reachable purls presents in the atom reachability result.
type Response ¶
type Response struct {
Reachables Reachables `json:"reachables"`
}
Response maps the content of an atom reachability report in json format.
Click to show internal directories.
Click to hide internal directories.