clair/database/pgsql
Ales Raszka a8a91379d9 Add test for potential namespace
Test verifies that potential namespace is stored in database and it can
be loaded back to structure.

The commit also fixes few typos and bugs.
2019-03-08 09:51:19 +01:00
..
migrations Add test for potential namespace 2019-03-08 09:51:19 +01:00
testdata Add test for potential namespace 2019-03-08 09:51:19 +01:00
ancestry_test.go database: move dbutil and testutil to database from pkg 2018-10-08 12:10:35 -04:00
ancestry.go Add missing licenses 2019-03-05 11:42:59 -05:00
complex_test.go Move PotentialNamespace to LayerFeature 2019-03-07 11:22:54 +01:00
detector_test.go pgsql: Implement database queries for detector relationship 2018-10-08 11:27:15 -04:00
detector.go pgsql: Remove unnecessary logs 2019-02-26 10:26:49 -05:00
feature_test.go Move PotentialNamespace to LayerFeature 2019-03-07 11:22:54 +01:00
feature_type_test.go database: Add feature_type database model 2019-02-19 16:48:42 -05:00
feature_type.go database: Add feature_type database model 2019-02-19 16:48:42 -05:00
feature.go Store PotentialNamespace in database 2019-03-07 11:22:32 +01:00
keyvalue_test.go database: postgres implementation with tests. 2017-08-10 11:25:29 -04:00
keyvalue.go pgsql: Move queries to corresponding files 2018-10-08 10:42:40 -04:00
layer_test.go Add test for potential namespace 2019-03-08 09:51:19 +01:00
layer.go Add test for potential namespace 2019-03-08 09:51:19 +01:00
lock_test.go pgsql: Fix failed tests 2019-03-06 13:44:23 -05:00
lock.go pgsql: Fix failed tests 2019-03-06 13:44:23 -05:00
migrations_test.go pgsql: Add proper tests for database migration 2019-02-19 16:48:42 -05:00
namespace_test.go pgsql: Implement database queries for detector relationship 2018-10-08 11:27:15 -04:00
namespace.go pgsql: Implement database queries for detector relationship 2018-10-08 11:27:15 -04:00
notification_test.go pgsql: Fix postgres queries for feature_type 2019-02-19 16:48:42 -05:00
notification.go pgsql: Implement database queries for detector relationship 2018-10-08 11:27:15 -04:00
pgsql_test.go pgsql: Fix failed tests 2019-03-06 13:44:23 -05:00
pgsql.go pgsql: Implement database queries for detector relationship 2018-10-08 11:27:15 -04:00
queries.go Add namespace_id as constraints to layer_feature 2019-03-07 11:22:54 +01:00
testutil.go Add test for potential namespace 2019-03-08 09:51:19 +01:00
vulnerability_test.go pgsql: Fix postgres queries for feature_type 2019-02-19 16:48:42 -05:00
vulnerability.go pgsql: Fix postgres queries for feature_type 2019-02-19 16:48:42 -05:00