analyze_e2e

package
v0.0.0-...-f146e69 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAnalyze

func NewCmdAnalyze(parentName string, streams genericclioptions.IOStreams) *cobra.Command

Types

type AnalyzeOptions

type AnalyzeOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewAnalyzeOptions

func NewAnalyzeOptions(streams genericclioptions.IOStreams) *AnalyzeOptions

func (*AnalyzeOptions) Complete

func (o *AnalyzeOptions) Complete(command *cobra.Command, args []string) error

func (*AnalyzeOptions) Run

func (o *AnalyzeOptions) Run() error

func (*AnalyzeOptions) Validate

func (o *AnalyzeOptions) Validate() error

type AnalyzeResult

type AnalyzeResult struct {
	ArtifactName string
	Output       string
	Error        error
}

func GetArtifacts

func GetArtifacts(baseURL string) ([]AnalyzeResult, error)

type Analyzer

type Analyzer interface {
	Analyze(content []byte) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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