new-integration-tests/src/test/java/oracle/weblogic/kubernetes/assertions/impl/Kubernetes.java
public static boolean doesServiceExist(
      String serviceName, Map<String, String> label, String namespace)
      throws ApiException {
    boolean exist = false;
    V1Service service = getService(serviceName, label, namespace);
    if (service != null) {
      exist = true;
    }
    return exist;
  }
/**
   * Checks if a Kubernetes service object exists in a given namespace.
   * @param serviceName name of the service to check for
   * @param label the key value pair with which the service is decorated with
   * @param namespace the namespace in which to check for the service
   * @return true if the service is found otherwise false
   * @throws ApiException when there is error in querying the cluster
   */
Checks if a Kubernetes service object exists in a given namespace.
Checks if a Kubernetes service object exists in a given namespace .
public static boolean doesServiceExist(
      String serviceName, Map<String, String> label, String namespace)
      throws ApiException {
    boolean exist = false;
    V1Service service = getService(serviceName, label, namespace);
    if (service != null) {
      exist = true;
    }
    return exist;
  }
public static boolean doesServiceExist ( String serviceName , Map < String , String > label , String namespace ) throws ApiException { boolean exist = false ; V1Service service = getService ( serviceName , label , namespace ) ; if ( service != null ) { exist = true ; } return exist ; }
Checks if a Kubernetes service object exists in a given namespace.
Checks if a Kubernetes service object exists in a given namespace .