validations

package
v1.36.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 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 IstioCheckTestAsserter added in v1.22.0

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

func (IstioCheckTestAsserter) AssertNoValidations added in v1.22.0

func (tb IstioCheckTestAsserter) AssertNoValidations()

func (IstioCheckTestAsserter) AssertValidationAt added in v1.22.0

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

func (IstioCheckTestAsserter) AssertValidationsPresent added in v1.22.0

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

type ValidationsTestAsserter added in v1.22.0

type ValidationsTestAsserter struct {
	T           *testing.T
	Validations models.IstioValidations
}

func (ValidationsTestAsserter) AssertNoValidations added in v1.22.0

func (vta ValidationsTestAsserter) AssertNoValidations()

func (ValidationsTestAsserter) AssertValidationAt added in v1.22.0

func (vta ValidationsTestAsserter) AssertValidationAt(key models.IstioValidationKey, severity models.SeverityLevel, path, message string)

func (ValidationsTestAsserter) AssertValidationsPresent added in v1.22.0

func (vta ValidationsTestAsserter) AssertValidationsPresent(count int)

Jump to

Keyboard shortcuts

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