test

package
v0.117.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTest = errors.New("test failed")

Functions

func NewTestCmd

func NewTestCmd() *cobra.Command

Types

type CirrusAnnotation added in v0.55.0

type CirrusAnnotation struct {
	Level      string `json:"string"`
	Message    string `json:"message"`
	RawDetails string `json:"raw_details"`
	Path       string `json:"path"`
	StartLine  int64  `json:"start_line"`
	EndLine    int64  `json:"end_line"`
}

type Comparison added in v0.55.0

type Comparison struct {
	FoundDifference bool
	Message         string
	RawDetails      string
	Path            string
}

func (*Comparison) AsCirrusAnnotation added in v0.55.0

func (comparison *Comparison) AsCirrusAnnotation() *CirrusAnnotation

type Configuration

type Configuration struct {
	Environment   map[string]string `yaml:"env"`
	AffectedFiles []string          `yaml:"affected_files"`
}

func LoadConfiguration

func LoadConfiguration(path string) (*Configuration, error)

Jump to

Keyboard shortcuts

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