container

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package container provides container and orchestration commands (docker, kubectl, psql).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sContainerStatus

type K8sContainerStatus struct {
	Name         string         `json:"name"`
	RestartCount int            `json:"restartCount"`
	State        map[string]any `json:"state"`
}

type K8sDeployment added in v0.28.0

type K8sDeployment struct {
	Metadata K8sMetadata         `json:"metadata"`
	Spec     K8sDeploymentSpec   `json:"spec"`
	Status   K8sDeploymentStatus `json:"status"`
}

type K8sDeploymentList added in v0.28.0

type K8sDeploymentList struct {
	Items []K8sDeployment `json:"items"`
}

type K8sDeploymentSpec added in v0.28.0

type K8sDeploymentSpec struct {
	Replicas int `json:"replicas"`
}

type K8sDeploymentStatus added in v0.28.0

type K8sDeploymentStatus struct {
	Replicas          int `json:"replicas"`
	ReadyReplicas     int `json:"readyReplicas"`
	UpdatedReplicas   int `json:"updatedReplicas"`
	AvailableReplicas int `json:"availableReplicas"`
}

type K8sEvent added in v0.28.0

type K8sEvent struct {
	Metadata K8sMetadata `json:"metadata"`
	Type     string      `json:"type"`
	Reason   string      `json:"reason"`
	Message  string      `json:"message"`
}

type K8sEventList added in v0.28.0

type K8sEventList struct {
	Items []K8sEvent `json:"items"`
}

type K8sGenericItem added in v0.28.0

type K8sGenericItem struct {
	Metadata K8sMetadata `json:"metadata"`
}

type K8sGenericList added in v0.28.0

type K8sGenericList struct {
	Items []K8sGenericItem `json:"items"`
}

type K8sIngress added in v0.28.0

type K8sIngress struct {
	Metadata K8sMetadata    `json:"metadata"`
	Spec     K8sIngressSpec `json:"spec"`
}

type K8sIngressBackend added in v0.28.0

type K8sIngressBackend struct {
	Service K8sIngressService `json:"service"`
}

type K8sIngressHTTP added in v0.28.0

type K8sIngressHTTP struct {
	Paths []K8sIngressPath `json:"paths"`
}

type K8sIngressList added in v0.28.0

type K8sIngressList struct {
	Items []K8sIngress `json:"items"`
}

type K8sIngressPath added in v0.28.0

type K8sIngressPath struct {
	Path    string            `json:"path"`
	Backend K8sIngressBackend `json:"backend"`
}

type K8sIngressRule added in v0.28.0

type K8sIngressRule struct {
	Host string          `json:"host"`
	HTTP *K8sIngressHTTP `json:"http"`
}

type K8sIngressService added in v0.28.0

type K8sIngressService struct {
	Name string `json:"name"`
}

type K8sIngressSpec added in v0.28.0

type K8sIngressSpec struct {
	Rules []K8sIngressRule `json:"rules"`
}

type K8sMetadata

type K8sMetadata struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

type K8sNamespace added in v0.28.0

type K8sNamespace struct {
	Metadata K8sMetadata        `json:"metadata"`
	Status   K8sNamespaceStatus `json:"status"`
}

type K8sNamespaceList added in v0.28.0

type K8sNamespaceList struct {
	Items []K8sNamespace `json:"items"`
}

type K8sNamespaceStatus added in v0.28.0

type K8sNamespaceStatus struct {
	Phase string `json:"phase"`
}

type K8sNode added in v0.28.0

type K8sNode struct {
	Metadata K8sMetadata   `json:"metadata"`
	Status   K8sNodeStatus `json:"status"`
}

type K8sNodeCondition added in v0.28.0

type K8sNodeCondition struct {
	Type   string `json:"type"`
	Status string `json:"status"`
}

type K8sNodeList added in v0.28.0

type K8sNodeList struct {
	Items []K8sNode `json:"items"`
}

type K8sNodeStatus added in v0.28.0

type K8sNodeStatus struct {
	Conditions []K8sNodeCondition `json:"conditions"`
	NodeInfo   map[string]string  `json:"nodeInfo"`
	Capacity   map[string]string  `json:"capacity"`
}

type K8sPod

type K8sPod struct {
	Metadata K8sMetadata  `json:"metadata"`
	Status   K8sPodStatus `json:"status"`
}

type K8sPodList

type K8sPodList struct {
	Items []K8sPod `json:"items"`
}

type K8sPodStatus

type K8sPodStatus struct {
	Phase             string               `json:"phase"`
	ContainerStatuses []K8sContainerStatus `json:"containerStatuses"`
}

type K8sService

type K8sService struct {
	Metadata K8sMetadata    `json:"metadata"`
	Spec     K8sServiceSpec `json:"spec"`
}

type K8sServiceList

type K8sServiceList struct {
	Items []K8sService `json:"items"`
}

type K8sServicePort

type K8sServicePort struct {
	Port       int    `json:"port"`
	TargetPort string `json:"targetPort"`
}

type K8sServiceSpec

type K8sServiceSpec struct {
	Type  string           `json:"type"`
	Ports []K8sServicePort `json:"ports"`
}

Jump to

Keyboard shortcuts

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