package v1

import "k8s.io/client-go/listers/discovery/v1"

Index

Types

type EndpointSliceLister

type EndpointSliceLister interface {
	// List lists all EndpointSlices in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.EndpointSlice, err error)
	// EndpointSlices returns an object that can list and get EndpointSlices.
	EndpointSlices(namespace string) EndpointSliceNamespaceLister
	EndpointSliceListerExpansion
}

EndpointSliceLister helps list EndpointSlices. All objects returned here must be treated as read-only.

func NewEndpointSliceLister

func NewEndpointSliceLister(indexer cache.Indexer) EndpointSliceLister

NewEndpointSliceLister returns a new EndpointSliceLister.

type EndpointSliceListerExpansion

type EndpointSliceListerExpansion interface{}

EndpointSliceListerExpansion allows custom methods to be added to EndpointSliceLister.

type EndpointSliceNamespaceLister

type EndpointSliceNamespaceLister interface {
	// List lists all EndpointSlices in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.EndpointSlice, err error)
	// Get retrieves the EndpointSlice from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.EndpointSlice, error)
	EndpointSliceNamespaceListerExpansion
}

EndpointSliceNamespaceLister helps list and get EndpointSlices. All objects returned here must be treated as read-only.

type EndpointSliceNamespaceListerExpansion

type EndpointSliceNamespaceListerExpansion interface{}

EndpointSliceNamespaceListerExpansion allows custom methods to be added to EndpointSliceNamespaceLister.

Source Files

endpointslice.go expansion_generated.go

Version
v0.23.0
Published
Dec 7, 2021
Platform
js/wasm
Imports
4 packages
Last checked
17 minutes ago

Tools for package owners.