testcases

package
v1.6.1-integrations Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tests = make([]TestCase, 0)

Functions

This section is empty.

Types

type LogValidation

type LogValidation struct {
	LogFile        string
	ValidationFunc Validation
}

type ResultsValidation

type ResultsValidation struct {
	ResultsFile    string
	ResultsFormats []string
}

type TestCase

type TestCase struct {
	Name       string
	Args       args
	WantStatus []int
	Validation Validation
}

type TestTemplates

type TestTemplates struct {
	Help          string
	ScanHelp      string
	RemediateHelp string
}

type Validation

type Validation func(string) bool

Source Files

Jump to

Keyboard shortcuts

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