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 ¶
func (NodeCell) GetProperty ¶
func (self NodeCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
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.
Click to show internal directories.
Click to hide internal directories.