public class ClusterEndpoints extends Object
| Constructor and Description |
|---|
ClusterEndpoints() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getType()
集群访问地址的类型 - Internal:用户子网内访问的地址 - External:公网访问的地址
|
String |
getUrl()
集群中 kube-apiserver 的访问地址
|
int |
hashCode() |
void |
setType(String type) |
void |
setUrl(String url) |
String |
toString() |
ClusterEndpoints |
withType(String type) |
ClusterEndpoints |
withUrl(String url) |
public ClusterEndpoints withUrl(String url)
public String getUrl()
public void setUrl(String url)
public ClusterEndpoints withType(String type)
public String getType()
public void setType(String type)
Copyright © 2022. All rights reserved.