noderesourcetopology

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildNodeResourceTopology

func BuildNodeResourceTopology(sysPath string, kubeletConfig *kubeletconfiginternal.KubeletConfiguration,
	node *corev1.Node) (*topologyapi.NodeResourceTopology, error)

func CreateOrUpdateNodeResourceTopology

func CreateOrUpdateNodeResourceTopology(craneClient craneclientset.Interface, old, new *topologyapi.NodeResourceTopology) error

Types

type NodeResourceTopology

type NodeResourceTopology struct {
	// contains filtered or unexported fields
}

func NewNodeResourceTopology

func NewNodeResourceTopology(nodeName, sysPath string,
	nrtLister topologylisters.NodeResourceTopologyLister, nodeLister corelisters.NodeLister,
	client kubeclient.Interface, craneClient craneclientset.Interface,
) *NodeResourceTopology

func (*NodeResourceTopology) Collect

func (n *NodeResourceTopology) Collect() (map[string][]common.TimeSeries, error)

func (*NodeResourceTopology) GetType

func (n *NodeResourceTopology) GetType() types.CollectType

func (*NodeResourceTopology) Stop

func (n *NodeResourceTopology) Stop() error

Jump to

Keyboard shortcuts

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