checker

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzerResult

type AnalyzerResult struct {
	Pass        *gqlanalysis.Pass
	Diagnostics []*gqlanalysis.Diagnostic
	Result      interface{}
	Err         error
}

type Checker

type Checker struct {
	Schema              string
	Query               string
	Stderr              io.Writer
	Fsys                fs.FS
	HTTPClient          *http.Client
	IntrospectionHeader http.Header
}

func (*Checker) Run

func (c *Checker) Run(analyzers ...*gqlanalysis.Analyzer) (exitcode int)

func (*Checker) RunSingle

func (c *Checker) RunSingle(a *gqlanalysis.Analyzer) ([]*AnalyzerResult, error)

Jump to

Keyboard shortcuts

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