Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzers = map[string]Analyzer{ "history": HistoryAnalyzer{}, "file": FileAnalyzer{}, "apt": AptAnalyzer{}, "pip": PipAnalyzer{}, "node": NodeAnalyzer{}, }
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface { Diff(image1, image2 utils.Image) (utils.Result, error) Analyze(image utils.Image) (utils.Result, error) Name() string }
func GetAnalyzers ¶
type AptAnalyzer ¶
type AptAnalyzer struct { }
func (AptAnalyzer) Name ¶
func (a AptAnalyzer) Name() string
type DiffRequest ¶
type FileAnalyzer ¶
type FileAnalyzer struct { }
func (FileAnalyzer) Name ¶
func (a FileAnalyzer) Name() string
type HistoryAnalyzer ¶
type HistoryAnalyzer struct { }
func (HistoryAnalyzer) Name ¶
func (a HistoryAnalyzer) Name() string
type MultiVersionPackageAnalyzer ¶
type MultiVersionPackageAnalyzer interface { Name() string // contains filtered or unexported methods }
type NodeAnalyzer ¶
type NodeAnalyzer struct { }
func (NodeAnalyzer) Name ¶
func (a NodeAnalyzer) Name() string
type PipAnalyzer ¶
type PipAnalyzer struct { }
func (PipAnalyzer) Diff ¶
PipDiff compares pip-installed Python packages between layers of two different images.
func (PipAnalyzer) Name ¶
func (a PipAnalyzer) Name() string
type SingleRequest ¶
func (SingleRequest) GetAnalysis ¶
func (req SingleRequest) GetAnalysis() (map[string]utils.Result, error)
type SingleVersionPackageAnalyzer ¶
type SingleVersionPackageAnalyzer interface { Name() string // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.