containerstatus

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerStatus

type ContainerStatus struct {
	Name      string                  `json:"name,omitempty"`
	Image     string                  `json:"image,omitempty"`
	Ready     bool                    `json:"ready,omitempty"`
	Resources DeploymentResources     `json:"resources,omitempty"`
	Message   string                  `json:"message,omitempty"`
	Restarts  ContainerStatusRestarts `json:"restarts,omitempty"`
}

type ContainerStatusRestarts

type ContainerStatusRestarts struct {
	LastRestartTime string  `json:"lastRestartTime,omitempty"`
	ExitCode        float32 `json:"exitCode"`
	Reason          string  `json:"reason,omitempty"`
	Count           float32 `json:"count"`
}

type DeploymentResources

type DeploymentResources struct {
	Replicas      float32 `json:"replicas"`
	ReplicasReady float32 `json:"replicasReady"`
	Cpu           float32 `json:"cpu"`
	Memory        float32 `json:"memory"`
}

Jump to

Keyboard shortcuts

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