Documentation ¶ Index ¶ type Deployment type NsModel type Pod Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Deployment ¶ type Deployment struct { Name string NameSpace string Replicas [3]int32 //3个值,分别是总副本数,可用副本数 ,不可用副本数 Images string IsComplete bool //是否完成 Message string // 显示错误信息 CreateTime string Pods []*Pod } type NsModel ¶ type NsModel struct { Name string } type Pod ¶ type Pod struct { Name string NameSpace string //新增一个命名空间 Images string NodeName string IP []string // 第一个是 POD IP 第二个是 node ip Phase string // pod 当前所处的阶段 IsReady bool //判断pod 是否就绪 Message string CreateTime string } Source Files ¶ View all Source files deploymentModel.go podModel.go Click to show internal directories. Click to hide internal directories.