v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredNodeMetricInformer

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

NewFilteredNodeMetricInformer constructs a new informer for NodeMetric 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 NewFilteredNodeSLOInformer

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

NewFilteredNodeSLOInformer constructs a new informer for NodeSLO 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 NewNodeMetricInformer

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

NewNodeMetricInformer constructs a new informer for NodeMetric 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 NewNodeSLOInformer

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

NewNodeSLOInformer constructs a new informer for NodeSLO 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 Interface

type Interface interface {
	// NodeMetrics returns a NodeMetricInformer.
	NodeMetrics() NodeMetricInformer
	// NodeSLOs returns a NodeSLOInformer.
	NodeSLOs() NodeSLOInformer
}

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

func New

New returns a new Interface.

type NodeMetricInformer

type NodeMetricInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.NodeMetricLister
}

NodeMetricInformer provides access to a shared informer and lister for NodeMetrics.

type NodeSLOInformer

type NodeSLOInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.NodeSLOLister
}

NodeSLOInformer provides access to a shared informer and lister for NodeSLOs.

Jump to

Keyboard shortcuts

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