DockerCacheOption
Options for configuring the Docker cache backend.
Initializer
import { DockerCacheOption } from '@alicloud/ros-cdk-core'
const dockerCacheOption: DockerCacheOption = { ... }
Properties
| Name | Type | Description | 
|---|---|---|
type | 
string | 
The type of cache to use. | 
params | 
{[ key: string ]: string} | 
Any parameters to pass into the docker cache backend configuration. | 
typeRequired 
public readonly type: string;
- Type: 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'
paramsOptional 
public readonly params: {[ key: string ]: string};
- Type: {[ key: string ]: string}
 - 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.