v1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredIPInformer

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

NewFilteredIPInformer constructs a new informer for IP 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 NewFilteredNATInformer

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

NewFilteredNATInformer constructs a new informer for NAT 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 NewFilteredPoolInformer

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

NewFilteredPoolInformer constructs a new informer for Pool 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 NewFilteredSecurityInformer

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

NewFilteredSecurityInformer constructs a new informer for Security 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 NewFilteredServiceInformer

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

NewFilteredServiceInformer constructs a new informer for Service 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 NewIPInformer

func NewIPInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewIPInformer constructs a new informer for IP 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 NewNATInformer

func NewNATInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewNATInformer constructs a new informer for NAT 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 NewPoolInformer

func NewPoolInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPoolInformer constructs a new informer for Pool 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 NewSecurityInformer

func NewSecurityInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewSecurityInformer constructs a new informer for Security 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 NewServiceInformer

func NewServiceInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewServiceInformer constructs a new informer for Service 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 IPInformer

type IPInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.IPLister
}

IPInformer provides access to a shared informer and lister for IPs.

type Interface

type Interface interface {
	// IPs returns a IPInformer.
	IPs() IPInformer
	// NATs returns a NATInformer.
	NATs() NATInformer
	// Pools returns a PoolInformer.
	Pools() PoolInformer
	// Securities returns a SecurityInformer.
	Securities() SecurityInformer
	// Services returns a ServiceInformer.
	Services() ServiceInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type NATInformer

type NATInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.NATLister
}

NATInformer provides access to a shared informer and lister for NATs.

type PoolInformer

type PoolInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.PoolLister
}

PoolInformer provides access to a shared informer and lister for Pools.

type SecurityInformer

type SecurityInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.SecurityLister
}

SecurityInformer provides access to a shared informer and lister for Securities.

type ServiceInformer

type ServiceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.ServiceLister
}

ServiceInformer provides access to a shared informer and lister for Services.

Jump to

Keyboard shortcuts

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