analysis

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisGenerator

type AnalysisGenerator interface {
	Analyze(Writer) error
}

type Analyzer

type Analyzer interface {
	Name() AnalyzerName
	BuildTask(subject Subject) (*task.Task, error)
}

type AnalyzerName

type AnalyzerName string

type Artifact

type Artifact struct {
	Datastore string
	// contains filtered or unexported fields
}

func New

func New(datastore string, ref Reference, meta4File metalink.File) Artifact

func (Artifact) GetDatastoreName

func (s Artifact) GetDatastoreName() string

func (Artifact) GetLabels

func (Artifact) GetLabels() []string

func (Artifact) MetalinkFile

func (s Artifact) MetalinkFile() metalink.File

func (Artifact) Reference

func (s Artifact) Reference() interface{}

type JSONWriter

type JSONWriter struct {
	// contains filtered or unexported fields
}

func NewJSONWriter

func NewJSONWriter(writer io.Writer) *JSONWriter

func (*JSONWriter) Write

func (w *JSONWriter) Write(result interface{}) error

type Reference

type Reference struct {
	Subject  Subject
	Analyzer AnalyzerName
}

type Subject

type Subject interface {
	artifact.Artifact

	SupportedAnalyzers() []AnalyzerName
}

type Writer

type Writer interface {
	Write(result interface{}) error
}

Directories

Path Synopsis
cli
boshua.v2
Package boshuaV2 provides the "boshua.v2" provider which supports querying a remote API server for analysis results.
Package boshuaV2 provides the "boshua.v2" provider which supports querying a remote API server for analysis results.
dpbreleaseartifacts
Package dpbreleaseartifacts provides the "dpbreleaseartifacts" provider which supports querying and storing analysis results in a git repository.
Package dpbreleaseartifacts provides the "dpbreleaseartifacts" provider which supports querying and storing analysis results in a git repository.
localcache
Package localcache provides the "localcache" provider which supports querying and storing analysis results in a local directory.
Package localcache provides the "localcache" provider which supports querying and storing analysis results in a local directory.
server

Jump to

Keyboard shortcuts

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