types

package
v1.122.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapacityAvailable

type CapacityAvailable struct {
	Capacity  float64 `json:"capacity"`
	Available float64 `json:"available"`
}

type KurlNodes

type KurlNodes struct {
	Nodes         []Node `json:"nodes"`
	HA            bool   `json:"ha"`
	IsKurlEnabled bool   `json:"isKurlEnabled"`
}

type Node

type Node struct {
	Name           string            `json:"name"`
	IsConnected    bool              `json:"isConnected"`
	IsReady        bool              `json:"isReady"`
	IsPrimaryNode  bool              `json:"isPrimaryNode"`
	CanDelete      bool              `json:"canDelete"`
	KubeletVersion string            `json:"kubeletVersion"`
	CPU            CapacityAvailable `json:"cpu"`
	Memory         CapacityAvailable `json:"memory"`
	Pods           CapacityAvailable `json:"pods"`
	Labels         []string          `json:"labels"`
	Conditions     NodeConditions    `json:"conditions"`
}

type NodeConditions

type NodeConditions struct {
	MemoryPressure bool `json:"memoryPressure"`
	DiskPressure   bool `json:"diskPressure"`
	PidPressure    bool `json:"pidPressure"`
	Ready          bool `json:"ready"`
}

Jump to

Keyboard shortcuts

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