Search in sources :

Example 6 with KubernetesApiModule

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

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