Documentation
¶
Index ¶
- func NewConnectionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredConnectionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredHostInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewHostInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ConnectionInformer
- type HostInformer
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectionInformer ¶
func NewConnectionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewConnectionInformer constructs a new informer for Connection 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 NewFilteredConnectionInformer ¶
func NewFilteredConnectionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredConnectionInformer constructs a new informer for Connection 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 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 ConnectionInformer ¶
type ConnectionInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1alpha1.ConnectionLister
}
ConnectionInformer provides access to a shared informer and lister for Connections.
type HostInformer ¶
type HostInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1alpha1.HostLister
}
HostInformer provides access to a shared informer and lister for Hosts.
type Interface ¶
type Interface interface {
// Connections returns a ConnectionInformer.
Connections() ConnectionInformer
// Hosts returns a HostInformer.
Hosts() HostInformer
}
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.