类 DockerImageNames

java.lang.Object
cn.taketoday.test.testcontainers.DockerImageNames

public final class DockerImageNames extends Object
Create DockerImageName instances for services used in integration tests.
从以下版本开始:
4.0
作者:
Stephane Nicoll
  • 方法概要

    修饰符和类型
    方法
    说明
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running Cassandra.
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running Couchbase.
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running Elasticsearch according to the version available on the classpath.
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running Mongo.
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running Neo4j.
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running PostgreSQL.
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running Redis.
    static org.testcontainers.utility.DockerImageName
    Return a DockerImageName suitable for running a Docker registry.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • cassandra

      public static org.testcontainers.utility.DockerImageName cassandra()
      Return a DockerImageName suitable for running Cassandra.
      返回:
      a docker image name for running cassandra
    • couchbase

      public static org.testcontainers.utility.DockerImageName couchbase()
      Return a DockerImageName suitable for running Couchbase.
      返回:
      a docker image name for running couchbase
    • elasticsearch

      public static org.testcontainers.utility.DockerImageName elasticsearch()
      Return a DockerImageName suitable for running Elasticsearch according to the version available on the classpath.
      返回:
      a docker image name for running elasticsearch
    • mongo

      public static org.testcontainers.utility.DockerImageName mongo()
      Return a DockerImageName suitable for running Mongo.
      返回:
      a docker image name for running mongo
    • neo4j

      public static org.testcontainers.utility.DockerImageName neo4j()
      Return a DockerImageName suitable for running Neo4j.
      返回:
      a docker image name for running neo4j
    • postgresql

      public static org.testcontainers.utility.DockerImageName postgresql()
      Return a DockerImageName suitable for running PostgreSQL.
      返回:
      a docker image name for running postgresql
    • redis

      public static org.testcontainers.utility.DockerImageName redis()
      Return a DockerImageName suitable for running Redis.
      返回:
      a docker image name for running redis
    • registry

      public static org.testcontainers.utility.DockerImageName registry()
      Return a DockerImageName suitable for running a Docker registry.
      返回:
      a docker image name for running a registry
      从以下版本开始:
      4.0