validations

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestAsserter

type TestAsserter interface {
	AssertNoValidations()
	AssertValidationsPresent(int)
	AssertValidationAt(int, models.SeverityLevel, string, string)
}

type ValidationTestAsserter

type ValidationTestAsserter struct {
	T           *testing.T
	Validations []*models.IstioCheck
	Valid       bool
}

func (ValidationTestAsserter) AssertNoValidations

func (tb ValidationTestAsserter) AssertNoValidations()

func (ValidationTestAsserter) AssertValidationAt

func (tb ValidationTestAsserter) AssertValidationAt(i int, severity models.SeverityLevel, path, message string)

func (ValidationTestAsserter) AssertValidationsPresent

func (tb ValidationTestAsserter) AssertValidationsPresent(count int, valid bool)

Jump to

Keyboard shortcuts

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