Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProcessInfo ¶
func GetProcessInfo() ([]types.PodResourceUsage, error)
func List ¶
func List() []types.PodResourceUsage
Types ¶
type GPU ¶
func (GPU) MemoryUsage ¶
type PodResourceUsage ¶
type PodResourceUsage struct { Namespace string Name string HostName string PodPid uint32 GpuMemory *GPU }
func (PodResourceUsage) GpuMemoryUsed ¶
func (pod PodResourceUsage) GpuMemoryUsed() types.GPU
func (PodResourceUsage) Pid ¶
func (pod PodResourceUsage) Pid() uint32
func (PodResourceUsage) PodHostName ¶
func (pod PodResourceUsage) PodHostName() string
func (PodResourceUsage) PodName ¶
func (pod PodResourceUsage) PodName() string
func (PodResourceUsage) PodNamespace ¶
func (pod PodResourceUsage) PodNamespace() string
Click to show internal directories.
Click to hide internal directories.