Documentation ¶
Index ¶
- func FindLayer(tx *sql.Tx, hash string) (database.Layer, bool, error)
- func FindLayerDetectors(tx *sql.Tx, id int64) ([]database.Detector, error)
- func FindLayerFeatures(tx *sql.Tx, layerID int64, detectors detector.DetectorMap) ([]database.LayerFeature, error)
- func FindLayerID(tx *sql.Tx, hash string) (int64, bool, error)
- func FindLayerIDs(tx *sql.Tx, hashes []string) ([]int64, bool, error)
- func FindLayerNamespaces(tx *sql.Tx, layerID int64, detectors detector.DetectorMap) ([]database.LayerNamespace, error)
- func PersistAllLayerFeatures(tx *sql.Tx, layerID int64, features []database.LayerFeature) error
- func PersistAllLayerNamespaces(tx *sql.Tx, layerID int64, namespaces []database.LayerNamespace) error
- func PersistLayer(tx *sql.Tx, hash string, features []database.LayerFeature, ...) error
- func PersistLayerDetector(tx *sql.Tx, layerID int64, detectorID int64) error
- func PersistLayerDetectors(tx *sql.Tx, layerID int64, detectorIDs []int64) error
- func PersistLayerFeatures(tx *sql.Tx, features []dbLayerFeature) error
- func PersistLayerNamespaces(tx *sql.Tx, namespaces []dbLayerNamespace) error
- func SoiLayer(tx *sql.Tx, hash string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindLayerDetectors ¶
func FindLayerFeatures ¶
func FindLayerFeatures(tx *sql.Tx, layerID int64, detectors detector.DetectorMap) ([]database.LayerFeature, error)
func FindLayerNamespaces ¶
func FindLayerNamespaces(tx *sql.Tx, layerID int64, detectors detector.DetectorMap) ([]database.LayerNamespace, error)
func PersistAllLayerFeatures ¶
func PersistLayer ¶
func PersistLayer(tx *sql.Tx, hash string, features []database.LayerFeature, namespaces []database.LayerNamespace, detectedBy []database.Detector) error
PersistLayer saves the content of a layer to the database.
func PersistLayerDetector ¶
func PersistLayerDetectors ¶
func PersistLayerFeatures ¶
func PersistLayerNamespaces ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.