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