testutil

package
v4.19.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPodLister

func NewPodLister(pods ...*corev1.Pod) corev1lister.PodLister

func NewSecretLister

func NewSecretLister(rs ...*corev1.Secret) corev1lister.SecretLister

func NewServiceLister

func NewServiceLister(svcs ...*corev1.Service) corev1lister.ServiceLister

func SetGormDB

func SetGormDB(m *gomock.Controller, app *mock.MockApplicationInterface) (*gorm.DB, func())

Types

type ValueMatcher

type ValueMatcher struct {
	Value any
}

func (*ValueMatcher) Matches

func (v *ValueMatcher) Matches(x any) bool

func (*ValueMatcher) String

func (v *ValueMatcher) String() string

Jump to

Keyboard shortcuts

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