use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class KubernetesApiResponseTest method setup.
@Before
public void setup() throws IOException {
ApiClient apiClient = new ClientBuilder().setBasePath("http://localhost:" + 8485).build();
podClient = new GenericKubernetesApi<>(V1Pod.class, V1PodList.class, "", "v1", "pods", apiClient);
}
use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class ExecTest method setup.
@Before
public void setup() throws IOException {
client = new ClientBuilder().setBasePath("http://localhost:" + wireMockRule.port()).build();
namespace = "default";
podName = "apod";
// TODO: When WireMock supports multiple query params with the same name expand
// this
// See: https://github.com/tomakehurst/wiremock/issues/398
cmd = new String[] { "cmd" };
}
use of io.kubernetes.client.util.ClientBuilder in project java by kubernetes-client.
the class PodLogsTest method setup.
@Before
public void setup() throws IOException {
client = new ClientBuilder().setBasePath("http://localhost:" + wireMockRule.port()).build();
namespace = "default";
podName = "apod";
container = "container";
}
Aggregations