类 DockerApi
java.lang.Object
cn.taketoday.buildpack.platform.docker.DockerApi
Provides access to the limited set of Docker APIs needed by pack.
- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Scott Frederick, Rafael Ceccone, Moritz Halbritter, Harry Yang
-
嵌套类概要
嵌套类修饰符和类型类说明classDocker API for container operations.private static final classUpdateListenerused to capture the image digest.private static final classUpdateListenerused to capture the details of an error in a response stream.classDocker API for image operations.private static final classUpdateListenerused to ensure an image load response stream.classDocker API for volume operations. -
字段概要
字段修饰符和类型字段说明(专用程序包) static final Stringprivate final DockerApi.ContainerApiprivate final HttpTransportprivate final DockerApi.ImageApiprivate final JsonStreamprivate final DockerApi.VolumeApi -
构造器概要
构造器构造器说明Create a newDockerApiinstance.DockerApi(DockerConfiguration.DockerHostConfiguration dockerHost) Create a newDockerApiinstance.DockerApi(HttpTransport http) Create a newDockerApiinstance backed by a specificHttpTransportimplementation. -
方法概要
修饰符和类型方法说明private URIprivate URIbuildUrl(String path, Collection<?> params) Return the Docker API for container operations.private HttpTransporthttp()image()Return the Docker API for image operations.private JsonStreamvolume()
-
字段详细资料
-
FORCE_PARAMS
-
API_VERSION
- 另请参阅:
-
http
-
jsonStream
-
image
-
container
-
volume
-
-
构造器详细资料
-
DockerApi
public DockerApi()Create a newDockerApiinstance. -
DockerApi
Create a newDockerApiinstance.- 参数:
dockerHost- the Docker daemon host information
-
DockerApi
DockerApi(HttpTransport http) Create a newDockerApiinstance backed by a specificHttpTransportimplementation.- 参数:
http- the http implementation
-
-
方法详细资料
-
http
-
jsonStream
-
buildUrl
-
buildUrl
-
image
Return the Docker API for image operations.- 返回:
- the image API
-
container
Return the Docker API for container operations.- 返回:
- the container API
-
volume
-