informer

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 16 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) 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