CacheTo class

Constructors

CacheTo({Input<CacheToAzureBlob>? azblob, Input<bool>? disabled, Input<CacheToGitHubActions>? gha, Input<Map<String, dynamic>>? inline, Input<CacheToLocal>? local, Input<String>? raw, Input<CacheToRegistry>? registry, Input<CacheToS3>? s3})
Creates a new CacheTo. azblob Push cache to Azure's blob storage service. disabled When true this entry will be excluded. Defaults to false. gha Recommended for use with GitHub Actions workflows. inline The inline cache storage backend is the simplest implementation to get local A simple backend which caches imagines on your local filesystem. raw A raw string as you would provide it to the Docker CLI (e.g., registry Push caches to remote registries. Incompatible with the docker build s3 Push cache to AWS S3 or S3-compatible services such as MinIO.
const
CacheTo.fromMap(Map<String, dynamic> map)
factory

Properties

azblob → Input<CacheToAzureBlob>?
Push cache to Azure's blob storage service.
final
disabled → Input<bool>?
When true this entry will be excluded. Defaults to false.
final
gha → Input<CacheToGitHubActions>?
Recommended for use with GitHub Actions workflows.
final
hashCode → int
The hash code for this object.
no setterinherited
inline → Input<Map<String, dynamic>>?
The inline cache storage backend is the simplest implementation to get started with, but it does not handle multi-stage builds. Consider the registry cache backend instead.
final
local → Input<CacheToLocal>?
A simple backend which caches imagines on your local filesystem.
final
raw → Input<String>?
A raw string as you would provide it to the Docker CLI (e.g., type=inline)
final
registry → Input<CacheToRegistry>?
Push caches to remote registries. Incompatible with the docker build driver.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
s3 → Input<CacheToS3>?
Push cache to AWS S3 or S3-compatible services such as MinIO.
final

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