v1

package
v4.0.0-beta.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 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 NetworkPolicyLister

type NetworkPolicyLister interface {
	// List lists all NetworkPolicies in the indexer.
	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.

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.
	List(selector labels.Selector) (ret []*v1.NetworkPolicy, err error)
	// Get retrieves the NetworkPolicy from the indexer for a given namespace and name.
	Get(name string) (*v1.NetworkPolicy, error)
	NetworkPolicyNamespaceListerExpansion
}

NetworkPolicyNamespaceLister helps list and get NetworkPolicies.

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