testing

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyFilterManager

type EmptyFilterManager struct {
}

func (*EmptyFilterManager) FindObjectFilter

func (fm *EmptyFilterManager) FindObjectFilter(req *http.Request) (filter.ObjectFilter, bool)

func (*EmptyFilterManager) FindResponseFilter

func (fm *EmptyFilterManager) FindResponseFilter(req *http.Request) (filter.ResponseFilter, bool)

func (*EmptyFilterManager) HasSynced

func (fm *EmptyFilterManager) HasSynced() bool

type FakeEndpointSliceFilter

type FakeEndpointSliceFilter struct {
	NodeName string
}

func (*FakeEndpointSliceFilter) FindObjectFilter

func (fm *FakeEndpointSliceFilter) FindObjectFilter(req *http.Request) (filter.ObjectFilter, bool)

func (*FakeEndpointSliceFilter) FindResponseFilter

func (fm *FakeEndpointSliceFilter) FindResponseFilter(req *http.Request) (filter.ResponseFilter, bool)

func (*FakeEndpointSliceFilter) HasSynced

func (fm *FakeEndpointSliceFilter) HasSynced() bool

type IgnoreEndpointslicesWithNodeName

type IgnoreEndpointslicesWithNodeName struct {
	IgnoreNodeName string
}

func (*IgnoreEndpointslicesWithNodeName) Filter

func (ie *IgnoreEndpointslicesWithNodeName) Filter(obj runtime.Object, stopCh <-chan struct{}) runtime.Object

Filter is used for filtering runtime object all filter logic should be located in it.

func (*IgnoreEndpointslicesWithNodeName) Name

type MockCacheableObject

type MockCacheableObject struct {
	Obj runtime.Object
}

func (*MockCacheableObject) CacheEncode

func (mc *MockCacheableObject) CacheEncode(id runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error

func (*MockCacheableObject) DeepCopyObject

func (mc *MockCacheableObject) DeepCopyObject() runtime.Object

func (*MockCacheableObject) GetObject

func (mc *MockCacheableObject) GetObject() runtime.Object

func (*MockCacheableObject) GetObjectKind

func (mc *MockCacheableObject) GetObjectKind() schema.ObjectKind

Jump to

Keyboard shortcuts

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