Search in sources :

Example 1 with V1beta1Ingress

use of io.kubernetes.client.models.V1beta1Ingress in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method createNamespacedIngressTest.

/**
 * create an Ingress
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void createNamespacedIngressTest() throws ApiException {
    String namespace = null;
    V1beta1Ingress body = null;
    String pretty = null;
    V1beta1Ingress response = api.createNamespacedIngress(namespace, body, pretty);
// TODO: test validations
}
Also used : V1beta1Ingress(io.kubernetes.client.models.V1beta1Ingress) Test(org.junit.Test)

Example 2 with V1beta1Ingress

use of io.kubernetes.client.models.V1beta1Ingress in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method replaceNamespacedIngressTest.

/**
 * replace the specified Ingress
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void replaceNamespacedIngressTest() throws ApiException {
    String name = null;
    String namespace = null;
    V1beta1Ingress body = null;
    String pretty = null;
    V1beta1Ingress response = api.replaceNamespacedIngress(name, namespace, body, pretty);
// TODO: test validations
}
Also used : V1beta1Ingress(io.kubernetes.client.models.V1beta1Ingress) Test(org.junit.Test)

Example 3 with V1beta1Ingress

use of io.kubernetes.client.models.V1beta1Ingress in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method patchNamespacedIngressTest.

/**
 * partially update the specified Ingress
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void patchNamespacedIngressTest() throws ApiException {
    String name = null;
    String namespace = null;
    Object body = null;
    String pretty = null;
    V1beta1Ingress response = api.patchNamespacedIngress(name, namespace, body, pretty);
// TODO: test validations
}
Also used : V1beta1Ingress(io.kubernetes.client.models.V1beta1Ingress) Test(org.junit.Test)

Example 4 with V1beta1Ingress

use of io.kubernetes.client.models.V1beta1Ingress in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method readNamespacedIngressTest.

/**
 * read the specified Ingress
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void readNamespacedIngressTest() throws ApiException {
    String name = null;
    String namespace = null;
    String pretty = null;
    Boolean exact = null;
    Boolean export = null;
    V1beta1Ingress response = api.readNamespacedIngress(name, namespace, pretty, exact, export);
// TODO: test validations
}
Also used : V1beta1Ingress(io.kubernetes.client.models.V1beta1Ingress) Test(org.junit.Test)

Example 5 with V1beta1Ingress

use of io.kubernetes.client.models.V1beta1Ingress in project java by kubernetes-client.

the class ExtensionsV1beta1ApiTest method patchNamespacedIngressStatusTest.

/**
 * partially update status of the specified Ingress
 *
 * @throws ApiException
 *          if the Api call fails
 */
@Test
public void patchNamespacedIngressStatusTest() throws ApiException {
    String name = null;
    String namespace = null;
    Object body = null;
    String pretty = null;
    V1beta1Ingress response = api.patchNamespacedIngressStatus(name, namespace, body, pretty);
// TODO: test validations
}
Also used : V1beta1Ingress(io.kubernetes.client.models.V1beta1Ingress) Test(org.junit.Test)

Aggregations

V1beta1Ingress (io.kubernetes.client.models.V1beta1Ingress)29 Type (java.lang.reflect.Type)14 Test (org.junit.Test)13 ProgressRequestBody (io.kubernetes.client.ProgressRequestBody)7 ProgressResponseBody (io.kubernetes.client.ProgressResponseBody)7 V1ObjectMeta (io.kubernetes.client.models.V1ObjectMeta)6 AtomicReference (java.util.concurrent.atomic.AtomicReference)2 Fiber (oracle.kubernetes.operator.work.Fiber)2 CompletionCallback (oracle.kubernetes.operator.work.Fiber.CompletionCallback)2 Packet (oracle.kubernetes.operator.work.Packet)2 Step (oracle.kubernetes.operator.work.Step)2 HttpUserAgentTest (com.meterware.pseudoserver.HttpUserAgentTest)1 ApiException (io.kubernetes.client.ApiException)1 JSON (io.kubernetes.client.JSON)1 V1ConfigMap (io.kubernetes.client.models.V1ConfigMap)1 V1DeleteOptions (io.kubernetes.client.models.V1DeleteOptions)1 V1EnvVar (io.kubernetes.client.models.V1EnvVar)1 V1PersistentVolumeClaimList (io.kubernetes.client.models.V1PersistentVolumeClaimList)1 V1Pod (io.kubernetes.client.models.V1Pod)1 V1PodList (io.kubernetes.client.models.V1PodList)1