v1alpha1

package
v1.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPLister

type IPLister interface {
	// List lists all IPs in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.IP, err error)
	// IPs returns an object that can list and get IPs.
	IPs(namespace string) IPNamespaceLister
	IPListerExpansion
}

IPLister helps list IPs. All objects returned here must be treated as read-only.

func NewIPLister

func NewIPLister(indexer cache.Indexer) IPLister

NewIPLister returns a new IPLister.

type IPListerExpansion

type IPListerExpansion interface{}

IPListerExpansion allows custom methods to be added to IPLister.

type IPNamespaceLister

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

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

type IPNamespaceListerExpansion

type IPNamespaceListerExpansion interface{}

IPNamespaceListerExpansion allows custom methods to be added to IPNamespaceLister.

Jump to

Keyboard shortcuts

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