DockerCacheOption
Options for configuring the Docker cache backend.
Initializer
import com.aliyun.ros.cdk.assembly.schema.DockerCacheOption;
DockerCacheOption.builder()
.type(java.lang.String)
// .params(java.util.Map<java.lang.String, java.lang.String>)
.build();
Properties
Name | Type | Description |
---|---|---|
type |
java.lang.String |
The type of cache to use. |
params |
java.util.Map |
Any parameters to pass into the docker cache backend configuration. |
type
Required
public java.lang.String getType();
- Type: java.lang.String
- Default: unspecified
The type of cache to use.
Refer to https://docs.docker.com/build/cache/backends/ for full list of backends.
Example
"registry";
params
Optional
public java.util.Map<java.lang.String, java.lang.String> getParams();
- Type: java.util.Map
- Default: {} No options provided
Any parameters to pass into the docker cache backend configuration.
Refer to https://docs.docker.com/build/cache/backends/ for cache backend configuration.