Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPPool ¶
type IPPool struct {
ClusterID string `json:"cluster"`
Net string `json:"net"`
Mask int `json:"mask"`
Gateway string `json:"gateway"`
Created string `json:"created"`
Hosts []string `json:"hosts"`
Reserved []string `json:"reserved"`
Available []string `json:"available"`
Active []string `json:"active"`
}
IPPool information for cluster underlay ip resource
type IPPoolDetailResponse ¶
type IPPoolDetailResponse struct {
ID string `json:"_id"`
ClusterID string `json:"clusterId"`
CreateTime string `json:"createTime"`
Datas []*IPPool `json:"data"`
}
IPPoolDetailResponse response from storage
type Pod ¶
type Pod struct {
ID string `json:"_id"`
ResourceName string `json:"resourceName"`
ResourceType string `json:"resourceType"`
Namespace string `json:"namespace"`
ClusterID string `json:"clusterId"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
Data *core.Pod `json:"data"`
}
Pod definition in mongodb
type Taskgroup ¶
type Taskgroup struct {
ID string `json:"_id"`
ResourceName string `json:"resourceName"`
ResourceType string `json:"resourceType"`
Namespace string `json:"namespace"`
ClusterID string `json:"clusterId"`
CreateTime string `json:"create_time"`
UpdateTime string `json:"update_time"`
Data *mesostype.BcsPodStatus `json:"data"`
}
Taskgroup bcs-storage taskgroup data of mesos
Click to show internal directories.
Click to hide internal directories.