Search in sources :

Example 1 with AzureModule

use of com.instaclustr.esop.azure.AzureModule in project esop by instaclustr.

the class StorageModules method configure.

@Override
protected void configure() {
    install(new KubernetesApiModule());
    install(new S3Module());
    install(new AzureModule());
    install(new GCPModule());
    install(new LocalFileModule());
    install(new OracleModule());
    install(new MinioModule());
    install(new CephModule());
}
Also used : CephModule(com.instaclustr.esop.s3.ceph.CephModule) S3Module(com.instaclustr.esop.s3.aws.S3Module) OracleModule(com.instaclustr.esop.s3.oracle.OracleModule) MinioModule(com.instaclustr.esop.s3.minio.MinioModule) KubernetesApiModule(com.instaclustr.kubernetes.KubernetesApiModule) AzureModule(com.instaclustr.esop.azure.AzureModule) GCPModule(com.instaclustr.esop.gcp.GCPModule) LocalFileModule(com.instaclustr.esop.local.LocalFileModule)

Example 2 with AzureModule

use of com.instaclustr.esop.azure.AzureModule in project esop by instaclustr.

the class BaseAzureBackupRestoreTest method inject.

public void inject() {
    final List<Module> modules = new ArrayList<Module>() {

        {
            add(new KubernetesApiModule());
            add(new AzureModule());
        }
    };
    modules.addAll(defaultModules);
    final Injector injector = Guice.createInjector(modules);
    injector.injectMembers(this);
}
Also used : Injector(com.google.inject.Injector) KubernetesApiModule(com.instaclustr.kubernetes.KubernetesApiModule) ArrayList(java.util.ArrayList) AzureModule(com.instaclustr.esop.azure.AzureModule) Module(com.google.inject.Module) AzureModule(com.instaclustr.esop.azure.AzureModule) KubernetesApiModule(com.instaclustr.kubernetes.KubernetesApiModule)

Aggregations

AzureModule (com.instaclustr.esop.azure.AzureModule)2 KubernetesApiModule (com.instaclustr.kubernetes.KubernetesApiModule)2 Injector (com.google.inject.Injector)1 Module (com.google.inject.Module)1 GCPModule (com.instaclustr.esop.gcp.GCPModule)1 LocalFileModule (com.instaclustr.esop.local.LocalFileModule)1 S3Module (com.instaclustr.esop.s3.aws.S3Module)1 CephModule (com.instaclustr.esop.s3.ceph.CephModule)1 MinioModule (com.instaclustr.esop.s3.minio.MinioModule)1 OracleModule (com.instaclustr.esop.s3.oracle.OracleModule)1 ArrayList (java.util.ArrayList)1