internalversion

package
v3.9.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterNetworkInformer added in v3.8.0

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 added in v3.8.0

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 added in v3.8.0

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 added in v3.8.0

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