node

package
v0.0.0-...-062da64 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatus

func NewStatus(status v1.NodeStatus) v1.NodeStatus

Types

type Node

type Node struct {
	ObjectMeta  types.ObjectMeta      `json:"objectMeta"`
	TypeMeta    types.TypeMeta        `json:"typeMeta"`
	NodeSummary *v1alpha1.NodeSummary `json:"nodeSummary,omitempty"`
	Status      v1.NodeStatus         `json:"status"`
}

type NodeCell

type NodeCell api.Node

func (NodeCell) GetProperty

type NodeList

type NodeList struct {
	ListMeta types.ListMeta `json:"listMeta"`

	// Unordered list of Nodes
	Items []Node `json:"items"`

	// List of non-critical errors, that occurred during resource retrieval.
	Errors []error `json:"errors"`
}

NodeList contains a list of node.

func GetNodeList

func GetNodeList(client kubernetes.Interface, dsQuery *dataselect.DataSelectQuery) (*NodeList, error)

GetNodeList returns a list of all Nodes in all cluster.

func GetNodeListFromChannels

func GetNodeListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*NodeList, error)

GetNodeListFromChannels returns a list of all Nodes in the cluster reading required resource list once from the channels.

Jump to

Keyboard shortcuts

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