Documentation ¶
Index ¶
- func NewClusterNetworkInformer(client internalclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewEgressNetworkPolicyInformer(client internalclientset.Interface, namespace string, ...) cache.SharedIndexInformer
- func NewHostSubnetInformer(client internalclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewNetNamespaceInformer(client internalclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ClusterNetworkInformer
- type EgressNetworkPolicyInformer
- type HostSubnetInformer
- type Interface
- type NetNamespaceInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterNetworkInformer ¶
func NewClusterNetworkInformer(client internalclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewClusterNetworkInformer constructs a new informer for ClusterNetwork type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewEgressNetworkPolicyInformer ¶
func NewEgressNetworkPolicyInformer(client internalclientset.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewEgressNetworkPolicyInformer constructs a new informer for EgressNetworkPolicy type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewHostSubnetInformer ¶
func NewHostSubnetInformer(client internalclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewHostSubnetInformer constructs a new informer for HostSubnet type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewNetNamespaceInformer ¶
func NewNetNamespaceInformer(client internalclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewNetNamespaceInformer constructs a new informer for NetNamespace type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type ClusterNetworkInformer ¶
type ClusterNetworkInformer interface { Informer() cache.SharedIndexInformer Lister() internalversion.ClusterNetworkLister }
ClusterNetworkInformer provides access to a shared informer and lister for ClusterNetworks.
type EgressNetworkPolicyInformer ¶
type EgressNetworkPolicyInformer interface { Informer() cache.SharedIndexInformer Lister() internalversion.EgressNetworkPolicyLister }
EgressNetworkPolicyInformer provides access to a shared informer and lister for EgressNetworkPolicies.
type HostSubnetInformer ¶
type HostSubnetInformer interface { Informer() cache.SharedIndexInformer Lister() internalversion.HostSubnetLister }
HostSubnetInformer provides access to a shared informer and lister for HostSubnets.
type Interface ¶
type Interface interface { // ClusterNetworks returns a ClusterNetworkInformer. ClusterNetworks() ClusterNetworkInformer // EgressNetworkPolicies returns a EgressNetworkPolicyInformer. EgressNetworkPolicies() EgressNetworkPolicyInformer // HostSubnets returns a HostSubnetInformer. HostSubnets() HostSubnetInformer // NetNamespaces returns a NetNamespaceInformer. NetNamespaces() NetNamespaceInformer }
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory) Interface
New returns a new Interface.
type NetNamespaceInformer ¶
type NetNamespaceInformer interface { Informer() cache.SharedIndexInformer Lister() internalversion.NetNamespaceLister }
NetNamespaceInformer provides access to a shared informer and lister for NetNamespaces.