Skip to content

DockerCacheOption

Options for configuring the Docker cache backend.

Initializer

import ros_cdk_assembly_schema
ros_cdk_assembly_schema.DockerCacheOption(
  type: str,
  params: typing.Mapping[str] = None
)

Properties

Name Type Description
type str The type of cache to use.
params typing.Mapping[str] Any parameters to pass into the docker cache backend configuration.

typeRequired

type: str
  • Type: str
  • 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: typing.Mapping[str]
  • Type: typing.Mapping[str]
  • 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.