informer

package
v0.0.0-...-949823d Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Informer

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

Informer is a fake informer that adds events to the Kubernetes API server to send events to clients.

func New

func New() *Informer

func (*Informer) Add

func (i *Informer) Add(t *testing.T, obj runtime.Object)

func (*Informer) Delete

func (i *Informer) Delete(t *testing.T, obj runtime.Object)

func (*Informer) DeleteWait

func (i *Informer) DeleteWait(t *testing.T, ctx context.Context, obj runtime.Object)

func (*Informer) Handler

func (i *Informer) Handler(t *testing.T, wrapped http.Handler) http.HandlerFunc

func (*Informer) Modify

func (i *Informer) Modify(t *testing.T, obj runtime.Object)

Jump to

Keyboard shortcuts

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