imp

package
v0.18.35 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerCmd

type DockerCmd struct {
	Image string
	// contains filtered or unexported fields
}

DockerCmd an image to launch

type ExecCmd

type ExecCmd struct {
	Bin      string
	FrontPar api.Par
	EndPar   api.Par
	Docker   DockerCmd
	// contains filtered or unexported fields
}

ExecCmd defines a predefined command to run against a file

func (*ExecCmd) DidRun

func (e *ExecCmd) DidRun()

DidRun should be called after all other Runs to clean up

func (*ExecCmd) Name

func (e *ExecCmd) Name() string

Name returns the command name

func (*ExecCmd) Run

func (e *ExecCmd) Run(filepath string, rep chan linter.Report)

Run does the work required to lint the given filepath

func (*ExecCmd) WillRun

func (e *ExecCmd) WillRun() error

WillRun does preflight checks for the 'Run'

Jump to

Keyboard shortcuts

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