import "k8s.io/client-go/listers/discovery/v1alpha1"
endpointslice.go expansion_generated.go
type EndpointSliceLister interface { // List lists all EndpointSlices in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1alpha1.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(indexer cache.Indexer) EndpointSliceLister
NewEndpointSliceLister returns a new EndpointSliceLister.
type EndpointSliceListerExpansion interface{}
EndpointSliceListerExpansion allows custom methods to be added to EndpointSliceLister.
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 []*v1alpha1.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) (*v1alpha1.EndpointSlice, error) EndpointSliceNamespaceListerExpansion }
EndpointSliceNamespaceLister helps list and get EndpointSlices. All objects returned here must be treated as read-only.
type EndpointSliceNamespaceListerExpansion interface{}
EndpointSliceNamespaceListerExpansion allows custom methods to be added to EndpointSliceNamespaceLister.
Package v1alpha1 imports 4 packages (graph) and is imported by 8 packages. Updated 2020-04-19. Refresh now. Tools for package owners.