common

package
v0.0.0-...-02c6b06 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(log logr.Logger, runs *tests.Runs) plugins.Plugin

Types

type Config

type Config struct {
	// Configures the default test that should be executed when no parameters are specified.
	Default *tests.TestConfig `json:"default,omitempty"`
	// Tests defines repo specific test commands that can execute specific tests.
	Tests []SubCommand `json:"tests,omitempty"`
}

Config is the defaults configuration that can be configured using the repository configuration for the test command

type SubCommand

type SubCommand struct {
	// SubCommand defines the subcommand that should match the "/test <subCommand>" call
	// to trigger the configured test
	SubCommand       string `json:"subCommand"`
	tests.TestConfig `json:",inline"`
}

Jump to

Keyboard shortcuts

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