use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class DefaultSharedIndexInformerWireMockTest method setup.
@Before
public void setup() throws IOException {
client = new ClientBuilder().setBasePath("http://localhost:" + wireMockRule.port()).build();
namespace = "default";
podName = "apod";
container = "container";
}
use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class AttachTest method setup.
@Before
public void setup() throws IOException {
client = new ClientBuilder().setBasePath("http://localhost:" + wireMockRule.port()).build();
namespace = "default";
podName = "apod";
container = "acontainer";
}
use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class KubectlLabelTest method setup.
@Before
public void setup() throws IOException {
ModelMapper.addModelMap("", "v1", "Pod", "pods", true, V1Pod.class);
ModelMapper.addModelMap("", "v1", "Node", "nodes", false, V1Node.class);
apiClient = new ClientBuilder().setBasePath("http://localhost:" + 8384).build();
}
use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class KubectlRolloutTest method setup.
@Before
public void setup() throws IOException {
ModelMapper.addModelMap("apps", "v1", "Deployment", "deployments", true, V1Deployment.class, V1DeploymentList.class);
ModelMapper.addModelMap("apps", "v1", "DaemonSet", "daemonsets", true, V1DaemonSet.class, V1DaemonSetList.class);
ModelMapper.addModelMap("apps", "v1", "StatefulSet", "statefulsets", true, V1StatefulSet.class, V1StatefulSetList.class);
apiClient = new ClientBuilder().setBasePath("http://localhost:" + wireMockRule.port()).build();
}
use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class CopyTest method setup.
@Before
public void setup() throws IOException {
client = new ClientBuilder().setBasePath("http://localhost:" + wireMockRule.port()).build();
namespace = "default";
podName = "apod";
}
Aggregations