testing

package
v0.0.0-...-d680719 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupFakeContext

func SetupFakeContext(t *testing.T) (context.Context, []controller.Informer)

SetupFakeContext sets up the Context and the fake filtered informers for the tests.

func TestLogger

func TestLogger(t *testing.T) *zap.SugaredLogger

TestLogger sets up the Logger

func WithLogger

func WithLogger(ctx context.Context, t *testing.T) context.Context

WithLogger returns the Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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