types

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByPriority

type ByPriority []EvaluateResult

func (ByPriority) Len

func (a ByPriority) Len() int

func (ByPriority) Less

func (a ByPriority) Less(i, j int) bool

func (ByPriority) Swap

func (a ByPriority) Swap(i, j int)

type ByRefType

type ByRefType []EvaluateResult

func (ByRefType) Len

func (a ByRefType) Len() int

func (ByRefType) Less

func (a ByRefType) Less(i, j int) bool

func (ByRefType) Swap

func (a ByRefType) Swap(i, j int)

type EvaluateResult

type EvaluateResult struct {
	Owner string `json:"owner"`
	Repo  string `json:"repo"`

	CheckType string `json:"checkType"`
	Reason    string `json:"reason"`

	Workflow           string `json:"workflow"`
	Message            string `json:"message"`
	OriginalLineNumber int    `json:"originalLineNumber"`
	OriginalContent    string `json:"originalContent"`

	RemediatedContent string `json:"remediatedContent"`
	RemediatedRef     string `json:"remediatedRef"`
	RemediatedRefType string `json:"remediatedRefType"`
}

type Evaluator

type Evaluator struct {
	Name string `yaml:"name"`
	Rego string `yaml:"rego"`
}

Jump to

Keyboard shortcuts

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