scanner

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	OriginalContent   string
	RemediatedContent string
	Issues            []*issue.Issue
	EnabledChecks     []string
	ParsedWorkflow    *workflowtypes.GitHubWorkflow
	JobNames          []string

	Progress map[string]progresstypes.Progress
}

func NewScanner

func NewScanner(content string) (*Scanner, error)

func (*Scanner) EnableAllChecks

func (s *Scanner) EnableAllChecks()

func (*Scanner) EnableChecks added in v0.3.0

func (s *Scanner) EnableChecks(checks []string)

func (Scanner) GetOutput

func (s Scanner) GetOutput() string

func (*Scanner) ScanWorkflow

func (s *Scanner) ScanWorkflow() error

Jump to

Keyboard shortcuts

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