Documentation ¶
Index ¶
- func NewFilteredHostInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredPortGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredVirtualSwitchInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewHostInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPortGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewVirtualSwitchInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type HostInformer
- type Interface
- type PortGroupInformer
- type VirtualSwitchInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 NewFilteredPortGroupInformer ¶
func NewFilteredPortGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPortGroupInformer constructs a new informer for PortGroup 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 NewFilteredVirtualSwitchInformer ¶
func NewFilteredVirtualSwitchInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredVirtualSwitchInformer constructs a new informer for VirtualSwitch 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.
func NewPortGroupInformer ¶
func NewPortGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPortGroupInformer constructs a new informer for PortGroup 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 NewVirtualSwitchInformer ¶
func NewVirtualSwitchInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewVirtualSwitchInformer constructs a new informer for VirtualSwitch 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 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 { // Hosts returns a HostInformer. Hosts() HostInformer // PortGroups returns a PortGroupInformer. PortGroups() PortGroupInformer // VirtualSwitches returns a VirtualSwitchInformer. VirtualSwitches() VirtualSwitchInformer }
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.
type PortGroupInformer ¶
type PortGroupInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.PortGroupLister }
PortGroupInformer provides access to a shared informer and lister for PortGroups.
type VirtualSwitchInformer ¶
type VirtualSwitchInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.VirtualSwitchLister }
VirtualSwitchInformer provides access to a shared informer and lister for VirtualSwitches.