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;
}
Aggregations