Search in sources :

Example 1 with StackGresDbOpsMinorVersionUpgrade

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

the class DbOpsTransformer method getResourceMinorVersionUpgrade.

private DbOpsMinorVersionUpgrade getResourceMinorVersionUpgrade(StackGresDbOpsMinorVersionUpgrade source) {
    if (source == null) {
        return null;
    }
    DbOpsMinorVersionUpgrade transformation = new DbOpsMinorVersionUpgrade();
    transformation.setMethod(source.getMethod());
    return transformation;
}
Also used : DbOpsMinorVersionUpgrade(io.stackgres.apiweb.dto.dbops.DbOpsMinorVersionUpgrade) StackGresDbOpsMinorVersionUpgrade(io.stackgres.common.crd.sgdbops.StackGresDbOpsMinorVersionUpgrade)

Example 2 with StackGresDbOpsMinorVersionUpgrade

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

the class DbOpsTransformer method getCustomResourceMinorVersionUpgrade.

private StackGresDbOpsMinorVersionUpgrade getCustomResourceMinorVersionUpgrade(DbOpsMinorVersionUpgrade source) {
    if (source == null) {
        return null;
    }
    StackGresDbOpsMinorVersionUpgrade transformation = new StackGresDbOpsMinorVersionUpgrade();
    transformation.setMethod(source.getMethod());
    return transformation;
}
Also used : StackGresDbOpsMinorVersionUpgrade(io.stackgres.common.crd.sgdbops.StackGresDbOpsMinorVersionUpgrade)

Aggregations

StackGresDbOpsMinorVersionUpgrade (io.stackgres.common.crd.sgdbops.StackGresDbOpsMinorVersionUpgrade)2 DbOpsMinorVersionUpgrade (io.stackgres.apiweb.dto.dbops.DbOpsMinorVersionUpgrade)1