Search in sources :

Example 1 with DistributedLogsPersistentVolume

use of io.stackgres.apiweb.dto.distributedlogs.DistributedLogsPersistentVolume in project stackgres by ongres.

the class DistributedLogsTransformer method getResourcePersistentVolume.

private DistributedLogsPersistentVolume getResourcePersistentVolume(StackGresDistributedLogsPersistentVolume source) {
    DistributedLogsPersistentVolume transformation = new DistributedLogsPersistentVolume();
    transformation.setSize(source.getSize());
    transformation.setStorageClass(source.getStorageClass());
    return transformation;
}
Also used : DistributedLogsPersistentVolume(io.stackgres.apiweb.dto.distributedlogs.DistributedLogsPersistentVolume) StackGresDistributedLogsPersistentVolume(io.stackgres.common.crd.sgdistributedlogs.StackGresDistributedLogsPersistentVolume)

Aggregations

DistributedLogsPersistentVolume (io.stackgres.apiweb.dto.distributedlogs.DistributedLogsPersistentVolume)1 StackGresDistributedLogsPersistentVolume (io.stackgres.common.crd.sgdistributedlogs.StackGresDistributedLogsPersistentVolume)1