types

package
Version: 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: 0

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"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL