Skip to content

DockerCacheOption

Options for configuring the Docker cache backend.

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema"
&alicloudroscdkassemblyschema.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.

TypeRequired

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

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.