clair

package
v0.0.0-...-930013b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2016 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultClairUpdateDuration = "1h0m0s"
	DefaultClairLogLevel       = "info"
	DefaultClairDBPath         = "/db"
	DefaultClairVulnPriority   = "Low"
)

Variables

This section is empty.

Functions

func ClairGetVulns

func ClairGetVulns(ID string, ParentID string, Path string) ([]*database.Vulnerability, error)

func ClairServiceInit

func ClairServiceInit() error

func ClairServiceStop

func ClairServiceStop()

Types

type ClairConfig

type ClairConfig struct {
	KeepDB       bool
	DBPath       string
	LogLevel     string
	Duration     string
	VulnPriority string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL