CacheToRegistry class

Constructors

CacheToRegistry({Input<CompressionType>? compression, Input<int>? compressionLevel, Input<bool>? forceCompression, Input<bool>? ignoreError, Input<bool>? imageManifest, Input<CacheMode>? mode, Input<bool>? ociMediaTypes, 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.
const
CacheToRegistry.fromMap(Map<String, dynamic> map)
factory

Properties

compression → Input<CompressionType>?
The compression type to use.
final
compressionLevel → Input<int>?
Compression level from 0 to 22.
final
forceCompression → Input<bool>?
Forcefully apply compression.
final
hashCode → int
The hash code for this object.
no setterinherited
ignoreError → Input<bool>?
Ignore errors caused by failed cache exports.
final
imageManifest → Input<bool>?
Export cache manifest as an OCI-compatible image manifest instead of a manifest list. Requires ociMediaTypes to also be true.
final
mode → Input<CacheMode>?
The cache mode to use. Defaults to min.
final
ociMediaTypes → Input<bool>?
Whether to use OCI media types in exported manifests. Defaults to true.
final
ref → Input<String>
Fully qualified name of the cache image to import.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited