testhelper

package
v0.0.0-...-257a958 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePodClient

type FakePodClient struct {
	*FakePodExecutor
	Namespace, Name string
	PendingTimeout  time.Duration
}

func (*FakePodClient) Exec

func (f *FakePodClient) Exec(namespace, name string, opts *coreapi.PodExecOptions) (remotecommand.Executor, error)

func (*FakePodClient) GetLogs

func (FakePodClient) GetPendingTimeout

func (f FakePodClient) GetPendingTimeout() time.Duration

func (*FakePodClient) WithNewLoggingClient

func (f *FakePodClient) WithNewLoggingClient() kubernetes.PodClient

type FakePodExecutor

type FakePodExecutor struct {
	loggingclient.LoggingClient
	Failures    sets.Set[string]
	CreatedPods []*coreapi.Pod
	// contains filtered or unexported fields
}

func (*FakePodExecutor) Create

func (*FakePodExecutor) Watch

Jump to

Keyboard shortcuts

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