Search in sources :

Example 1 with StackGresDbOpsCondition

use of io.stackgres.common.crd.sgdbops.StackGresDbOpsCondition in project stackgres by ongres.

the class DbOpsTransformer method getResourceCondition.

private DbOpsCondition getResourceCondition(StackGresDbOpsCondition source) {
    if (source == null) {
        return null;
    }
    DbOpsCondition transformation = new DbOpsCondition();
    transformation.setType(source.getType());
    transformation.setStatus(source.getStatus());
    transformation.setLastTransitionTime(source.getLastTransitionTime());
    transformation.setReason(source.getReason());
    transformation.setMessage(source.getMessage());
    return transformation;
}
Also used : StackGresDbOpsCondition(io.stackgres.common.crd.sgdbops.StackGresDbOpsCondition) DbOpsCondition(io.stackgres.apiweb.dto.dbops.DbOpsCondition)

Aggregations

DbOpsCondition (io.stackgres.apiweb.dto.dbops.DbOpsCondition)1 StackGresDbOpsCondition (io.stackgres.common.crd.sgdbops.StackGresDbOpsCondition)1