internalversion

package
v4.0.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 NewFilteredClusterNetworkInformer

func NewFilteredClusterNetworkInformer(client internalclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredClusterNetworkInformer 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 NewFilteredEgressNetworkPolicyInformer

func NewFilteredEgressNetworkPolicyInformer(client internalclientset.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredEgressNetworkPolicyInformer 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 NewFilteredHostSubnetInformer

func NewFilteredHostSubnetInformer(client internalclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredHostSubnetInformer 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 NewFilteredNetNamespaceInformer

func NewFilteredNetNamespaceInformer(client internalclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredNetNamespaceInformer 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.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL