File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/main/java/com/dajudge/kindcontainer Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public ApiServerContainer(final String apiServerImage) {
7979 .withExposedPorts (6443 );
8080 }
8181
82- public KubernetesClient getClient () {
82+ public DefaultKubernetesClient getClient () {
8383 return new DefaultKubernetesClient (config );
8484 }
8585
Original file line number Diff line number Diff line change @@ -257,23 +257,23 @@ private static String getInternalIpAddress(final BaseKindContainer<?> container)
257257 );
258258 }
259259
260- public KubernetesClient client () {
260+ public DefaultKubernetesClient client () {
261261 return client (kubeconfig ());
262262 }
263263
264- private KubernetesClient client (final String kubeconfig ) {
264+ private DefaultKubernetesClient client (final String kubeconfig ) {
265265 return new DefaultKubernetesClient (fromKubeconfig (kubeconfig ));
266266 }
267267
268- public void withClient (final Consumer <KubernetesClient > callable ) {
268+ public void withClient (final Consumer <DefaultKubernetesClient > callable ) {
269269 withClient (client -> {
270270 callable .accept (client );
271271 return null ;
272272 });
273273 }
274274
275- public <R > R withClient (final Function <KubernetesClient , R > callable ) {
276- try (final KubernetesClient client = client ()) {
275+ public <R > R withClient (final Function <DefaultKubernetesClient , R > callable ) {
276+ try (final DefaultKubernetesClient client = client ()) {
277277 return callable .apply (client );
278278 }
279279 }
You can’t perform that action at this time.
0 commit comments