testenv

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilePath

func FilePath(elements ...string) string

Types

type Player

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

func NewRecordPlayer

func NewRecordPlayer(ctx context.Context, client client.Client, filename string) (*Player, error)

func (*Player) Error

func (p *Player) Error() <-chan error

func (*Player) GetClient

func (p *Player) GetClient() client.Client

func (*Player) Resume

func (p *Player) Resume()

Resume the playback of the sequence of events observed after initial sync

func (*Player) WaitForCacheSync

func (p *Player) WaitForCacheSync() error

Fill the API with the initial list of objects

type TestEnv

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

func NewEnv

func NewEnv() (*TestEnv, error)

func (*TestEnv) Client

func (t *TestEnv) Client() client.Client

func (*TestEnv) ClientConfig

func (t *TestEnv) ClientConfig() *rest.Config

func (*TestEnv) Stop

func (t *TestEnv) Stop() error

Jump to

Keyboard shortcuts

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