v1

package
Version: v3.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 9 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterNetworkInformer

func NewClusterNetworkInformer(client versioned.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 versioned.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 versioned.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 versioned.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 versioned.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 versioned.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 versioned.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 versioned.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() v1.ClusterNetworkLister
}

ClusterNetworkInformer provides access to a shared informer and lister for ClusterNetworks.

type EgressNetworkPolicyInformer

type EgressNetworkPolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.EgressNetworkPolicyLister
}

EgressNetworkPolicyInformer provides access to a shared informer and lister for EgressNetworkPolicies.

type HostSubnetInformer

type HostSubnetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.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() v1.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