CacheToRegistry constructor

const CacheToRegistry({
  1. Input<CompressionType>? compression,
  2. Input<int>? compressionLevel,
  3. Input<bool>? forceCompression,
  4. Input<bool>? ignoreError,
  5. Input<bool>? imageManifest,
  6. Input<CacheMode>? mode,
  7. Input<bool>? ociMediaTypes,
  8. required Input<String> ref,
})

Creates a new CacheToRegistry. compression The compression type to use. compressionLevel Compression level from 0 to 22. forceCompression Forcefully apply compression. ignoreError Ignore errors caused by failed cache exports. imageManifest Export cache manifest as an OCI-compatible image manifest instead of a mode The cache mode to use. Defaults to min. ociMediaTypes Whether to use OCI media types in exported manifests. Defaults to ref Fully qualified name of the cache image to import.

Implementation

const CacheToRegistry({
  this.compression,
  this.compressionLevel,
  this.forceCompression,
  this.ignoreError,
  this.imageManifest,
  this.mode,
  this.ociMediaTypes,
  required this.ref,
});