Search in sources :

Example 21 with V1beta2StatefulSet

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

the class AppsV1beta2ApiTest method patchNamespacedStatefulSetTest.

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

Example 22 with V1beta2StatefulSet

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

the class AppsV1beta2ApiTest method patchNamespacedStatefulSetStatusTest.

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

Example 23 with V1beta2StatefulSet

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

the class AppsV1beta2ApiTest method createNamespacedStatefulSetTest.

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

Aggregations

V1beta2StatefulSet (io.kubernetes.client.models.V1beta2StatefulSet)23 Type (java.lang.reflect.Type)14 ProgressRequestBody (io.kubernetes.client.ProgressRequestBody)7 ProgressResponseBody (io.kubernetes.client.ProgressResponseBody)7 Test (org.junit.Test)7 IntOrString (io.kubernetes.client.custom.IntOrString)1 V1LabelSelector (io.kubernetes.client.models.V1LabelSelector)1 V1ObjectMeta (io.kubernetes.client.models.V1ObjectMeta)1 V1PodTemplateSpec (io.kubernetes.client.models.V1PodTemplateSpec)1 V1Service (io.kubernetes.client.models.V1Service)1 V1beta2StatefulSetSpec (io.kubernetes.client.models.V1beta2StatefulSetSpec)1 File (java.io.File)1