Documentation ¶
Overview ¶
Package bcs provides bcs api client.
Package bcs provides bcs api client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Project ¶
type Project struct { Name string `json:"name"` ProjectId string `json:"projectID"` Code string `json:"projectCode"` CcBizID string `json:"businessID"` Creator string `json:"creator"` Kind string `json:"kind"` RawCreateTime string `json:"createTime"` }
Project 项目信息
func ListAuthorizedProjects ¶
ListAuthorizedProjects 通过 用户 获取项目信息
func ListProjects ¶
ListProjects 按项目 Code 查询
type QueryNodeData ¶
type QueryNodeData struct { ClusterID string `json:"clusterID"` Namespace string `json:"namespace"` ResourceName string `json:"resourceName"` ResourceType string `json:"resourceType"` CreateTime string `json:"createTime"` UpdateTime string `json:"updateTime"` Data *corev1.Node `json:"data"` }
QueryNodeData 通过集群ID和 Node name 查询 Node 信息
type QueryPodData ¶
type QueryPodData struct { ClusterID string `json:"clusterID"` Namespace string `json:"namespace"` ResourceName string `json:"resourceName"` ResourceType string `json:"resourceType"` CreateTime string `json:"createTime"` UpdateTime string `json:"updateTime"` Data *corev1.Pod `json:"data"` }
QueryPodData 通过集群ID和 pod UID 查询 pod 信息返回
Click to show internal directories.
Click to hide internal directories.