testutils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCapturingTestLogger

func NewCapturingTestLogger(lvl zzzlog.Level, w io.Writer) zzzlogi.Logger

func NewCapturingVanillaTestLogger

func NewCapturingVanillaTestLogger(lvl zzzlog.Level, w io.Writer) zzzlogi.Logger

func NewTestContext

func NewTestContext(info *TestContextInfo) context.Context

func NewTestLogger

func NewTestLogger() zzzlogi.Logger

func NewVanillaTestContext

func NewVanillaTestContext() context.Context

Types

type TestContextInfo

type TestContextInfo struct {
	InspectLevel            inspect.HomelabInspectLevel
	Logger                  zzzlogi.Logger
	Version                 *version.VersionInfo
	DockerHost              docker.APIClient
	ContainerPurgeKillDelay time.Duration
	UseRealUserInfo         bool
	UseRealHostInfo         bool
}

Jump to

Keyboard shortcuts

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