Documentation
¶
Overview ¶
Package container provides container and orchestration commands (docker, kubectl, psql).
Index ¶
- type K8sContainerStatus
- type K8sDeployment
- type K8sDeploymentList
- type K8sDeploymentSpec
- type K8sDeploymentStatus
- type K8sEvent
- type K8sEventList
- type K8sGenericItem
- type K8sGenericList
- type K8sIngress
- type K8sIngressBackend
- type K8sIngressHTTP
- type K8sIngressList
- type K8sIngressPath
- type K8sIngressRule
- type K8sIngressService
- type K8sIngressSpec
- type K8sMetadata
- type K8sNamespace
- type K8sNamespaceList
- type K8sNamespaceStatus
- type K8sNode
- type K8sNodeCondition
- type K8sNodeList
- type K8sNodeStatus
- type K8sPod
- type K8sPodList
- type K8sPodStatus
- type K8sService
- type K8sServiceList
- type K8sServicePort
- type K8sServiceSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sContainerStatus ¶
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 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 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 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 K8sServiceSpec ¶
type K8sServiceSpec struct {
Type string `json:"type"`
Ports []K8sServicePort `json:"ports"`
}
Click to show internal directories.
Click to hide internal directories.