...

Package v1

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

Overview ▾

type EndpointSliceLister

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

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
}

func NewEndpointSliceLister

func NewEndpointSliceLister(indexer cache.Indexer) EndpointSliceLister

NewEndpointSliceLister returns a new EndpointSliceLister.

type EndpointSliceListerExpansion

EndpointSliceListerExpansion allows custom methods to be added to EndpointSliceLister.

type EndpointSliceListerExpansion interface{}

type EndpointSliceNamespaceLister

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

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
}

type EndpointSliceNamespaceListerExpansion

EndpointSliceNamespaceListerExpansion allows custom methods to be added to EndpointSliceNamespaceLister.

type EndpointSliceNamespaceListerExpansion interface{}