types

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 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 Container

type Container struct {
	Time         string            `json:"time"`
	ID           string            `json:"id"`
	Image        string            `json:"image"`
	Name         string            `json:"name"`
	State        string            `json:"state"`
	Labels       map[string]string `json:"labels"`
	HealthStatus string            `json:"health_status"`
}

type ContainerMetrics

type ContainerMetrics struct {
	Name                  string  `json:"name"`
	Time                  string  `json:"time"`
	CPUUsagePercentage    float64 `json:"cpu_usage_percentage"`
	MemoryUsagePercentage float64 `json:"memory_usage_percentage"`
	MemoryUsed            uint64  `json:"memory_used"`
	MemoryAvailable       uint64  `json:"available_memory"`
}

Jump to

Keyboard shortcuts

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