use of io.stackgres.common.extension.StackGresExtensionIndexAnyVersion in project stackgres by ongres.
the class ExtensionsResourceTest method getIndexAnyVersion.
private StackGresExtensionIndexAnyVersion getIndexAnyVersion(String postgresVersion, StackGresClusterExtension clusterExtension) {
StackGresCluster cluster = new StackGresCluster();
cluster.setSpec(new StackGresClusterSpec());
cluster.getSpec().setPostgres(new StackGresClusterPostgres());
cluster.getSpec().getPostgres().setVersion(postgresVersion);
return new StackGresExtensionIndexAnyVersion(cluster, clusterExtension);
}
Aggregations