processors

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2018 License: AGPL-3.0 Imports: 16 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cgo

type Cgo struct {
}

func NewCgo

func NewCgo() *Cgo

func (Cgo) Finish

func (Cgo) Finish()

func (Cgo) Name

func (p Cgo) Name() string

func (Cgo) Process

func (p Cgo) Process(issues []result.Issue) ([]result.Issue, error)

type Diff

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

func NewDiff

func NewDiff(onlyNew bool, fromRev, patchFilePath string) *Diff

func (Diff) Finish

func (Diff) Finish()

func (Diff) Name

func (p Diff) Name() string

func (Diff) Process

func (p Diff) Process(issues []result.Issue) ([]result.Issue, error)

type Exclude

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

func NewExclude

func NewExclude(pattern string) *Exclude

func (Exclude) Finish

func (p Exclude) Finish()

func (Exclude) Name

func (p Exclude) Name() string

func (Exclude) Process

func (p Exclude) Process(issues []result.Issue) ([]result.Issue, error)

type MaxFromLinter

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

func NewMaxFromLinter

func NewMaxFromLinter(limit int) *MaxFromLinter

func (MaxFromLinter) Finish

func (p MaxFromLinter) Finish()

func (MaxFromLinter) Name

func (p MaxFromLinter) Name() string

func (*MaxFromLinter) Process

func (p *MaxFromLinter) Process(issues []result.Issue) ([]result.Issue, error)

type MaxPerFileFromLinter

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

func NewMaxPerFileFromLinter

func NewMaxPerFileFromLinter() *MaxPerFileFromLinter

func (MaxPerFileFromLinter) Finish

func (p MaxPerFileFromLinter) Finish()

func (MaxPerFileFromLinter) Name

func (p MaxPerFileFromLinter) Name() string

func (*MaxPerFileFromLinter) Process

func (p *MaxPerFileFromLinter) Process(issues []result.Issue) ([]result.Issue, error)

type MaxSameIssues

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

func NewMaxSameIssues

func NewMaxSameIssues(limit int) *MaxSameIssues

func (MaxSameIssues) Finish

func (p MaxSameIssues) Finish()

func (MaxSameIssues) Name

func (MaxSameIssues) Name() string

func (*MaxSameIssues) Process

func (p *MaxSameIssues) Process(issues []result.Issue) ([]result.Issue, error)

type Nolint

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

func NewNolint

func NewNolint(fset *token.FileSet) *Nolint

func (Nolint) Finish

func (p Nolint) Finish()

func (Nolint) Name

func (p Nolint) Name() string

func (*Nolint) Process

func (p *Nolint) Process(issues []result.Issue) ([]result.Issue, error)

type PathPrettifier

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

func NewPathPrettifier

func NewPathPrettifier() *PathPrettifier

func (PathPrettifier) Finish

func (p PathPrettifier) Finish()

func (PathPrettifier) Name

func (p PathPrettifier) Name() string

func (PathPrettifier) Process

func (p PathPrettifier) Process(issues []result.Issue) ([]result.Issue, error)

type Processor

type Processor interface {
	Process(issues []result.Issue) ([]result.Issue, error)
	Name() string
	Finish()
}

type UniqByLine

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

func NewUniqByLine

func NewUniqByLine() *UniqByLine

func (UniqByLine) Finish

func (p UniqByLine) Finish()

func (UniqByLine) Name

func (p UniqByLine) Name() string

func (*UniqByLine) Process

func (p *UniqByLine) Process(issues []result.Issue) ([]result.Issue, error)

Jump to

Keyboard shortcuts

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