public class ClusterStatus extends Object
| Constructor and Description |
|---|
ClusterStatus() |
| Modifier and Type | Method and Description |
|---|---|
ClusterStatus |
addEndpointsItem(ClusterEndpoints endpointsItem) |
boolean |
equals(Object o) |
Object |
getDeleteOption()
删除配置状态(仅删除请求响应包含)
|
Object |
getDeleteStatus()
删除状态信息(仅删除请求响应包含)
|
List<ClusterEndpoints> |
getEndpoints()
集群中 kube-apiserver 的访问地址。
|
Boolean |
getIsLocked()
CBC资源锁定
|
String |
getJobID()
作业ID
|
String |
getLockScene()
CBC资源锁定场景
|
String |
getLockSource()
锁定资源
|
String |
getLockSourceId()
锁定的资源ID
|
String |
getMessage()
集群变为当前状态的原因的详细信息,在集群在非“Available”状态下时,会返回此参数。
|
String |
getPhase()
集群状态,取值如下 - Available:可用,表示集群处于正常状态。 - Unavailable:不可用,表示集群异常,需手动删除或联系管理员删除。 - ScalingUp:扩容中,表示集群正处于扩容过程中。 - ScalingDown:缩容中,表示集群正处于缩容过程中。 - Creating:创建中,表示集群正处于创建过程中。 - Deleting:删除中,表示集群正处于删除过程中。 - Upgrading:升级中,表示集群正处于升级过程中。 - Resizing:规格变更中,表示集群正处于变更规格中。 - RollingBack:回滚中,表示集群正处于回滚过程中。 - RollbackFailed:回滚异常,表示集群回滚异常,需联系管理员进行回滚重试。 - Empty:集群无任何资源
|
String |
getReason()
集群变为当前状态的原因,在集群在非“Available”状态下时,会返回此参数。
|
int |
hashCode() |
void |
setDeleteOption(Object deleteOption) |
void |
setDeleteStatus(Object deleteStatus) |
void |
setEndpoints(List<ClusterEndpoints> endpoints) |
void |
setIsLocked(Boolean isLocked) |
void |
setJobID(String jobID) |
void |
setLockScene(String lockScene) |
void |
setLockSource(String lockSource) |
void |
setLockSourceId(String lockSourceId) |
void |
setMessage(String message) |
void |
setPhase(String phase) |
void |
setReason(String reason) |
String |
toString() |
ClusterStatus |
withDeleteOption(Object deleteOption) |
ClusterStatus |
withDeleteStatus(Object deleteStatus) |
ClusterStatus |
withEndpoints(java.util.function.Consumer<List<ClusterEndpoints>> endpointsSetter) |
ClusterStatus |
withEndpoints(List<ClusterEndpoints> endpoints) |
ClusterStatus |
withIsLocked(Boolean isLocked) |
ClusterStatus |
withJobID(String jobID) |
ClusterStatus |
withLockScene(String lockScene) |
ClusterStatus |
withLockSource(String lockSource) |
ClusterStatus |
withLockSourceId(String lockSourceId) |
ClusterStatus |
withMessage(String message) |
ClusterStatus |
withPhase(String phase) |
ClusterStatus |
withReason(String reason) |
public ClusterStatus withPhase(String phase)
public String getPhase()
public void setPhase(String phase)
public ClusterStatus withJobID(String jobID)
public String getJobID()
public void setJobID(String jobID)
public ClusterStatus withReason(String reason)
public String getReason()
public void setReason(String reason)
public ClusterStatus withMessage(String message)
public String getMessage()
public void setMessage(String message)
public ClusterStatus withEndpoints(List<ClusterEndpoints> endpoints)
public ClusterStatus addEndpointsItem(ClusterEndpoints endpointsItem)
public ClusterStatus withEndpoints(java.util.function.Consumer<List<ClusterEndpoints>> endpointsSetter)
public List<ClusterEndpoints> getEndpoints()
public void setEndpoints(List<ClusterEndpoints> endpoints)
public ClusterStatus withIsLocked(Boolean isLocked)
public Boolean getIsLocked()
public void setIsLocked(Boolean isLocked)
public ClusterStatus withLockScene(String lockScene)
public String getLockScene()
public void setLockScene(String lockScene)
public ClusterStatus withLockSource(String lockSource)
public String getLockSource()
public void setLockSource(String lockSource)
public ClusterStatus withLockSourceId(String lockSourceId)
public String getLockSourceId()
public void setLockSourceId(String lockSourceId)
public ClusterStatus withDeleteOption(Object deleteOption)
public Object getDeleteOption()
public void setDeleteOption(Object deleteOption)
public ClusterStatus withDeleteStatus(Object deleteStatus)
public Object getDeleteStatus()
public void setDeleteStatus(Object deleteStatus)
Copyright © 2022. All rights reserved.