public class KubernetesConnector extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
KubernetesConnector.InstanceHolder |
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_STATUS_NOT_FOUND |
static String |
POD_PHASE_PENDING |
static String |
POD_PHASE_RUNNING |
| Modifier and Type | Method and Description |
|---|---|
static KubernetesConnector |
getInstance() |
String |
getPodName() |
String |
getPodNamespace() |
boolean |
isConnected() |
boolean |
isCurrentPod(String podNamespace,
String podName) |
Boolean |
isPodActive(String podNamespace,
String podName) |
public static final String POD_PHASE_PENDING
public static final String POD_PHASE_RUNNING
public static final int HTTP_STATUS_NOT_FOUND
public static KubernetesConnector getInstance()
public boolean isConnected()
public String getPodName()
public String getPodNamespace()
Copyright © 2020. All rights reserved.