Discover Packages
github.com/xlsa/erda
internal
apps
cmp
component-protocol
components
cmp-dashboard-podDetail
podInfo
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Aug 15, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Command struct {
Key string `json:"key"`
Target string `json:"target"`
State CommandState `json:"state"`
JumpOut bool `json:"jumpOut"`
}
type Data struct {
Namespace string `json:"namespace"`
Age string `json:"age"`
Ip string `json:"ip"`
Workload string `json:"workload"`
Node string `json:"node"`
Labels []Tag `json:"labels"`
Annotations []Tag `json:"annotations"`
}
type Field struct {
Label string `json:"label"`
ValueKey string `json:"valueKey"`
RenderType string `json:"renderType,omitempty"`
Operations map[string ]Operation `json:"operations,omitempty"`
SpaceNum int `json:"spaceNum,omitempty"`
}
type Operation struct {
Key string `json:"key"`
Reload bool `json:"reload"`
Command Command `json:"command,omitempty"`
}
type PodInfo struct {
SDK *cptype .SDK `json:"-"`
Type string `json:"type,omitempty"`
Props Props `json:"props"`
Data map[string ]Data `json:"data,omitempty"`
State State `json:"state,omitempty"`
}
type Props struct {
RequestIgnore []string `json:"requestIgnore,omitempty"`
ColumnNum int `json:"columnNum"`
Fields []Field `json:"fields"`
}
type State struct {
ClusterName string `json:"clusterName,omitempty"`
PodID string `json:"podId,omitempty"`
}
type Tag struct {
Label string `json:"label,omitempty"`
Group string `json:"group,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.