v1

package
v0.0.0-...-ccb6e0e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckInformer

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

NewCheckInformer constructs a new informer for Check 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 NewFilteredCheckInformer

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

NewFilteredCheckInformer constructs a new informer for Check 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 NewFilteredHostGroupInformer

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

NewFilteredHostGroupInformer constructs a new informer for HostGroup 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 NewFilteredHostInformer

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

NewFilteredHostInformer constructs a new informer for Host 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 NewHostGroupInformer

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

NewHostGroupInformer constructs a new informer for HostGroup 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 NewHostInformer

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

NewHostInformer constructs a new informer for Host 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 CheckInformer

type CheckInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.CheckLister
}

CheckInformer provides access to a shared informer and lister for Checks.

type HostGroupInformer

type HostGroupInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.HostGroupLister
}

HostGroupInformer provides access to a shared informer and lister for HostGroups.

type HostInformer

type HostInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.HostLister
}

HostInformer provides access to a shared informer and lister for Hosts.

type Interface

type Interface interface {
	// Checks returns a CheckInformer.
	Checks() CheckInformer
	// Hosts returns a HostInformer.
	Hosts() HostInformer
	// HostGroups returns a HostGroupInformer.
	HostGroups() HostGroupInformer
}

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

func New

New returns a new Interface.

Jump to

Keyboard shortcuts

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