Documentation ¶
Index ¶
- func CPUFlags(apiClient *clients.Settings, nsName string, workerImage string) map[string][]string
- func CPUInfo(apiClient *clients.Settings, name, nsname, containerName, image string) map[string]string
- func NfdResourceCount(apiClient *clients.Settings) map[string]int
- func NodeFeatureLabels(apiClient *clients.Settings, nodeSelector map[string]string) (map[string][]string, error)
- func PodLogs(apiClient *clients.Settings, nsname, podName string) (string, error)
- func PodRestartCount(apiClient *clients.Settings, nsname, podName string) (int32, error)
- type PodState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CPUInfo ¶
func CPUInfo(apiClient *clients.Settings, name, nsname, containerName, image string) map[string]string
CPUInfo retrieves cpu info of worker node.
func NfdResourceCount ¶
NfdResourceCount count nfd topology and worker pods.
func NodeFeatureLabels ¶
func NodeFeatureLabels(apiClient *clients.Settings, nodeSelector map[string]string) (map[string][]string, error)
NodeFeatureLabels return a map of all labels found in specific node.
Types ¶
Click to show internal directories.
Click to hide internal directories.