client-go: Index | Files

package v1

import ""


Package Files

expansion_generated.go networkpolicy.go

type NetworkPolicyLister Uses

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

NetworkPolicyLister helps list NetworkPolicies.

func NewNetworkPolicyLister Uses

func NewNetworkPolicyLister(indexer cache.Indexer) NetworkPolicyLister

NewNetworkPolicyLister returns a new NetworkPolicyLister.

type NetworkPolicyListerExpansion Uses

type NetworkPolicyListerExpansion interface{}

NetworkPolicyListerExpansion allows custom methods to be added to NetworkPolicyLister.

type NetworkPolicyNamespaceLister Uses

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)

NetworkPolicyNamespaceLister helps list and get NetworkPolicies.

type NetworkPolicyNamespaceListerExpansion Uses

type NetworkPolicyNamespaceListerExpansion interface{}

NetworkPolicyNamespaceListerExpansion allows custom methods to be added to NetworkPolicyNamespaceLister.

Package v1 imports 4 packages (graph) and is imported by 38 packages. Updated 2018-04-16. Refresh now. Tools for package owners.