new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static boolean deleteIngress(String name, String namespace) throws ApiException {
    try {
      NetworkingV1beta1Api apiInstance = new NetworkingV1beta1Api(apiClient);
      apiInstance.deleteNamespacedIngress(
              name, // ingress name
              namespace, // namespace
              PRETTY, // String | If 'true', then the output is pretty printed.
              null, // String | dry run or permanent change
              GRACE_PERIOD, // Integer | The duration in seconds before the object should be deleted.
              null, // Boolean | Deprecated: use the PropagationPolicy.
              BACKGROUND, // String | Whether and how garbage collection will be performed.
              null // V1DeleteOptions.
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }

    return true;
  }
/**
   * Delete an ingress in the specified namespace.
   *
   * @param name  ingress name to be deleted
   * @param namespace namespace in which the specified ingress exists
   * @return true if deleting ingress succeed, false otherwise
   * @throws ApiException if Kubernetes API client call fails
   */
Delete an ingress in the specified namespace.
@param name  ingress name to be deleted
@param namespace namespace in which the specified ingress exists
@return true if deleting ingress succeed, false otherwise
@throws ApiException if Kubernetes API client call fails
Delete an ingress in the specified namespace . @param name ingress name to be deleted @param namespace namespace in which the specified ingress exists @return true if deleting ingress succeed false otherwise @throws ApiException if Kubernetes API client call fails
public static boolean deleteIngress(String name, String namespace) throws ApiException {
    try {
      NetworkingV1beta1Api apiInstance = new NetworkingV1beta1Api(apiClient);
      apiInstance.deleteNamespacedIngress(
              name, 
              namespace, 
              PRETTY, 
              null, 
              GRACE_PERIOD, 
              null, 
              BACKGROUND, 
              null 
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }
    return true;
  }
public static boolean deleteIngress ( String name , String namespace ) throws ApiException { try { NetworkingV1beta1Api apiInstance = new NetworkingV1beta1Api ( apiClient ) ; apiInstance . deleteNamespacedIngress ( name , namespace , PRETTY , null , GRACE_PERIOD , null , BACKGROUND , null ) ; } catch ( ApiException apex ) { getLogger ( ) . warning ( apex . getResponseBody ( ) ) ; throw apex ; } return true ; }
Delete an ingress in the specified namespace.
Delete an ingress in the specified namespace .
// ingress name // namespace // String | If 'true', then the output is pretty printed. // String | dry run or permanent change // Integer | The duration in seconds before the object should be deleted. // Boolean | Deprecated: use the PropagationPolicy. // String | Whether and how garbage collection will be performed. // V1DeleteOptions.