public class KubeClientConfig extends Object implements IKubeClientConfig
| Constructor and Description |
|---|
KubeClientConfig() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ICluster> |
getClusters()
A map of userinfo to cluster info where the key is
NAMESPACE/URL/USERNAME
|
Collection<IContext> |
getContexts() |
String |
getCurrentContext()
The name of the current cluster context
|
Collection<IUser> |
getUsers() |
void |
setApiVersion(String apiVersion) |
void |
setClusters(Collection<ICluster> clusters) |
void |
setContexts(Collection<IContext> contexts) |
void |
setCurrentContext(String currentContext) |
void |
setUsers(Collection<IUser> users) |
public void setApiVersion(String apiVersion)
public Collection<ICluster> getClusters()
IKubeClientConfiggetClusters in interface IKubeClientConfigpublic void setClusters(Collection<ICluster> clusters)
public Collection<IContext> getContexts()
getContexts in interface IKubeClientConfigpublic void setContexts(Collection<IContext> contexts)
public String getCurrentContext()
IKubeClientConfiggetCurrentContext in interface IKubeClientConfigpublic void setCurrentContext(String currentContext)
public Collection<IUser> getUsers()
getUsers in interface IKubeClientConfigpublic void setUsers(Collection<IUser> users)
Copyright © 2019 Red Hat, Inc. All Rights Reserved.