Search in sources :

Example 1 with KubernetesApiModule

use of com.instaclustr.kubernetes.KubernetesApiModule 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 KubernetesApiModule

use of com.instaclustr.kubernetes.KubernetesApiModule in project esop by instaclustr.

the class ManifestTest method setup.

@BeforeMethod
public void setup() throws Exception {
    final List<Module> modules = new ArrayList<Module>() {

        {
            add(new KubernetesApiModule());
            add(new ExecutorsModule());
            add(new CassandraModule());
            add(new JacksonModule());
        }
    };
    final Injector injector = Guice.createInjector(modules);
    injector.injectMembers(this);
    operationsService = new OperationsService(executorServiceSupplier.get());
    cassandra = getCassandra();
    cassandra.start();
    waitForCql();
    session = CqlSession.builder().build();
}
Also used : CassandraModule(com.instaclustr.cassandra.CassandraModule) ExecutorsModule(com.instaclustr.threading.ExecutorsModule) Injector(com.google.inject.Injector) KubernetesApiModule(com.instaclustr.kubernetes.KubernetesApiModule) ArrayList(java.util.ArrayList) Module(com.google.inject.Module) KubernetesApiModule(com.instaclustr.kubernetes.KubernetesApiModule) CassandraModule(com.instaclustr.cassandra.CassandraModule) ExecutorsModule(com.instaclustr.threading.ExecutorsModule) JacksonModule(com.instaclustr.jackson.JacksonModule) JacksonModule(com.instaclustr.jackson.JacksonModule) OperationsService(com.instaclustr.operations.OperationsService) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 3 with KubernetesApiModule

use of com.instaclustr.kubernetes.KubernetesApiModule in project esop by instaclustr.

the class BaseAWSS3BackupRestoreTest method inject.

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

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

Example 4 with KubernetesApiModule

use of com.instaclustr.kubernetes.KubernetesApiModule in project esop by instaclustr.

the class BaseCephS3BackupRestoreTest method inject.

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

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

Example 5 with KubernetesApiModule

use of com.instaclustr.kubernetes.KubernetesApiModule in project esop by instaclustr.

the class BaseGoogleStorageBackupRestoreTest method inject.

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

        {
            add(new KubernetesApiModule());
            add(new GCPModule());
        }
    };
    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) GCPModule(com.instaclustr.esop.gcp.GCPModule) Module(com.google.inject.Module) KubernetesApiModule(com.instaclustr.kubernetes.KubernetesApiModule) GCPModule(com.instaclustr.esop.gcp.GCPModule)

Aggregations

KubernetesApiModule (com.instaclustr.kubernetes.KubernetesApiModule)6 Injector (com.google.inject.Injector)5 Module (com.google.inject.Module)5 ArrayList (java.util.ArrayList)5 AzureModule (com.instaclustr.esop.azure.AzureModule)2 GCPModule (com.instaclustr.esop.gcp.GCPModule)2 S3Module (com.instaclustr.esop.s3.aws.S3Module)2 CephModule (com.instaclustr.esop.s3.ceph.CephModule)2 CassandraModule (com.instaclustr.cassandra.CassandraModule)1 LocalFileModule (com.instaclustr.esop.local.LocalFileModule)1 MinioModule (com.instaclustr.esop.s3.minio.MinioModule)1 OracleModule (com.instaclustr.esop.s3.oracle.OracleModule)1 JacksonModule (com.instaclustr.jackson.JacksonModule)1 OperationsService (com.instaclustr.operations.OperationsService)1 ExecutorsModule (com.instaclustr.threading.ExecutorsModule)1 BeforeMethod (org.testng.annotations.BeforeMethod)1