analyzer

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConditionVariables

func BuildConditionVariables(condition v1.Condition, data map[string]interface{}) (map[string]interface{}, error)

func EvalCondition

func EvalCondition(condition v1.Condition, vars map[string]interface{}) (bool, error)

Types

type Analyzer

type Analyzer struct {
	Logger log.Logger
	Fs     afero.Fs
}

func New

func New(logger log.Logger, fs afero.Fs) *Analyzer

func (*Analyzer) AnalyzeBundle

func (a *Analyzer) AnalyzeBundle(ctx context.Context, spec api.Analyze, archivePath string) ([]api.Result, error)

type RefNotFoundError

type RefNotFoundError struct {
	Ref meta.Ref
}

Jump to

Keyboard shortcuts

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