new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static NetworkingV1beta1Ingress createIngress(String namespace, NetworkingV1beta1Ingress ingressBody)
          throws ApiException {
    NetworkingV1beta1Ingress ingress;
    try {
      NetworkingV1beta1Api apiInstance = new NetworkingV1beta1Api(apiClient);
      ingress = apiInstance.createNamespacedIngress(
              namespace, //namespace
              ingressBody, // NetworkingV1beta1Ingress object, representing the ingress details
              PRETTY, // pretty print output
              null, // when present, indicates that modifications should not be persisted
              null // a name associated with the actor or entity that is making these changes
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }

    return ingress;
  }
/**
   * Create an Ingress in the specified namespace.
   *
   * @param namespace the namespace in which the ingress will be created
   * @param ingressBody NetworkingV1beta1Ingress object, representing the ingress details
   * @return the ingress created
   * @throws ApiException if Kubernetes client API call fails
   */
Create an Ingress in the specified namespace.
@param namespace the namespace in which the ingress will be created
@param ingressBody NetworkingV1beta1Ingress object, representing the ingress details
@return the ingress created
@throws ApiException if Kubernetes client API call fails
Create an Ingress in the specified namespace . @param namespace the namespace in which the ingress will be created @param ingressBody NetworkingV1beta1Ingress object representing the ingress details @return the ingress created @throws ApiException if Kubernetes client API call fails
public static NetworkingV1beta1Ingress createIngress(String namespace, NetworkingV1beta1Ingress ingressBody)
          throws ApiException {
    NetworkingV1beta1Ingress ingress;
    try {
      NetworkingV1beta1Api apiInstance = new NetworkingV1beta1Api(apiClient);
      ingress = apiInstance.createNamespacedIngress(
              namespace, 
              ingressBody, 
              PRETTY, 
              null, 
              null 
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }
    return ingress;
  }
public static NetworkingV1beta1Ingress createIngress ( String namespace , NetworkingV1beta1Ingress ingressBody ) throws ApiException { NetworkingV1beta1Ingress ingress ; try { NetworkingV1beta1Api apiInstance = new NetworkingV1beta1Api ( apiClient ) ; ingress = apiInstance . createNamespacedIngress ( namespace , ingressBody , PRETTY , null , null ) ; } catch ( ApiException apex ) { getLogger ( ) . warning ( apex . getResponseBody ( ) ) ; throw apex ; } return ingress ; }
Create an Ingress in the specified namespace.
Create an Ingress in the specified namespace .
//namespace // NetworkingV1beta1Ingress object, representing the ingress details // pretty print output // when present, indicates that modifications should not be persisted // a name associated with the actor or entity that is making these changes