clair: github.com/coreos/clair/database/pgsql/feature Index | Files

package feature

import "github.com/coreos/clair/database/pgsql/feature"

Index

Package Files

feature.go feature_type.go namespaced_feature.go

func FindFeatureIDs Uses

func FindFeatureIDs(tx *sql.Tx, fs []database.Feature) ([]sql.NullInt64, error)

func FindNamespacedFeatureIDs Uses

func FindNamespacedFeatureIDs(tx *sql.Tx, nfs []database.NamespacedFeature) ([]sql.NullInt64, error)

func PersistFeatures Uses

func PersistFeatures(tx *sql.Tx, features []database.Feature) error

func PersistNamespacedFeatures Uses

func PersistNamespacedFeatures(tx *sql.Tx, features []database.NamespacedFeature) error

type FeatureTypes Uses

type FeatureTypes struct {
    ByID   map[int]database.FeatureType
    ByName map[database.FeatureType]int
}

func GetFeatureTypeMap Uses

func GetFeatureTypeMap(tx *sql.Tx) (*FeatureTypes, error)

Package feature imports 7 packages (graph) and is imported by 8 packages. Updated 2019-03-27. Refresh now. Tools for package owners.