use of io.kubernetes.client.models.V1PersistentVolume in project java by kubernetes-client.
the class CoreV1ApiTest method patchPersistentVolumeTest.
/**
* partially update the specified PersistentVolume
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void patchPersistentVolumeTest() throws ApiException {
String name = null;
Object body = null;
String pretty = null;
V1PersistentVolume response = api.patchPersistentVolume(name, body, pretty);
// TODO: test validations
}
use of io.kubernetes.client.models.V1PersistentVolume in project java by kubernetes-client.
the class CoreV1ApiTest method createPersistentVolumeTest.
/**
* create a PersistentVolume
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void createPersistentVolumeTest() throws ApiException {
V1PersistentVolume body = null;
String pretty = null;
V1PersistentVolume response = api.createPersistentVolume(body, pretty);
// TODO: test validations
}
use of io.kubernetes.client.models.V1PersistentVolume in project java by kubernetes-client.
the class CoreV1ApiTest method readPersistentVolumeTest.
/**
* read the specified PersistentVolume
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void readPersistentVolumeTest() throws ApiException {
String name = null;
String pretty = null;
Boolean exact = null;
Boolean export = null;
V1PersistentVolume response = api.readPersistentVolume(name, pretty, exact, export);
// TODO: test validations
}
use of io.kubernetes.client.models.V1PersistentVolume in project weblogic-kubernetes-operator by oracle.
the class CreateDomainGeneratedFilesOptionalFeaturesDisabledTest method getExpectedWeblogicDomainPersistentVolume.
@Override
protected V1PersistentVolume getExpectedWeblogicDomainPersistentVolume() {
V1PersistentVolume expected = super.getExpectedWeblogicDomainPersistentVolume();
expected.getSpec().hostPath(newHostPathVolumeSource().path(getInputs().getWeblogicDomainStoragePath()));
return expected;
}
Aggregations