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.
Click to show internal directories.
Click to hide internal directories.