test_helpers

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 15 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchActualLRP

func MatchActualLRP(expected *models.ActualLRP) types.GomegaMatcher

func MatchActualLRPGroup

func MatchActualLRPGroup(expected *models.ActualLRPGroup) types.GomegaMatcher

func NewSQLRunner

func NewSQLRunner(dbName string) sqlrunner.SQLRunner

func ReplaceQuestionMarks

func ReplaceQuestionMarks(queryString string) string

func UseMySQL

func UseMySQL() bool

func UsePostgres

func UsePostgres() bool

func UseSQL

func UseSQL() bool

Types

type DeepEqualMatcher

type DeepEqualMatcher struct {
	// contains filtered or unexported fields
}

func DeepEqual

func DeepEqual(expected interface{}) DeepEqualMatcher

func (DeepEqualMatcher) FailureMessage

func (m DeepEqualMatcher) FailureMessage(actual interface{}) (message string)

func (DeepEqualMatcher) Match

func (m DeepEqualMatcher) Match(actual interface{}) (success bool, err error)

func (DeepEqualMatcher) NegatedFailureMessage

func (m DeepEqualMatcher) NegatedFailureMessage(actual interface{}) (message string)

type LocketHelper

type LocketHelper struct {
	LocketClient locketmodels.LocketClient
	// contains filtered or unexported fields
}

func NewLocketHelper

func NewLocketHelper(logger lager.Logger, LocketClient locketmodels.LocketClient) *LocketHelper

func (*LocketHelper) RegisterCell

func (h *LocketHelper) RegisterCell(cell *models.CellPresence)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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