DockerCacheOption
Options for configuring the Docker cache backend.
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
&alicloudroscdkcore.DockerCacheOption {
Type: *string,
Params: *map[string]*string,
}
Properties
Name | Type | Description |
---|---|---|
Type |
*string |
The type of cache to use. |
Params |
map[string]string |
Any parameters to pass into the docker cache backend configuration. |
Type
Required
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"
Params
Optional
Params *map[string]*string
- Type: map[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.