v1

package
v0.19.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 4 Imported by: 268

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkPolicyLister

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

NetworkPolicyLister helps list NetworkPolicies. All objects returned here must be treated as read-only.

func NewNetworkPolicyLister

func NewNetworkPolicyLister(indexer cache.Indexer) NetworkPolicyLister

NewNetworkPolicyLister returns a new NetworkPolicyLister.

type NetworkPolicyListerExpansion

type NetworkPolicyListerExpansion interface{}

NetworkPolicyListerExpansion allows custom methods to be added to NetworkPolicyLister.

type NetworkPolicyNamespaceLister

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

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

type NetworkPolicyNamespaceListerExpansion

type NetworkPolicyNamespaceListerExpansion interface{}

NetworkPolicyNamespaceListerExpansion allows custom methods to be added to NetworkPolicyNamespaceLister.

Jump to

Keyboard shortcuts

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