// *** WARNING: this file was generated by pulumi-language-dotnet. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
public sealed class CacheTo
{
///
/// Push cache to Azure's blob storage service.
///
public readonly Outputs.CacheToAzureBlob? Azblob;
///
/// When `true` this entry will be excluded. Defaults to `false`.
///
public readonly bool? Disabled;
///
/// Recommended for use with GitHub Actions workflows.
///
/// An action like `crazy-max/ghaction-github-runtime` is recommended to
/// expose appropriate credentials to your GitHub workflow.
///
public readonly Outputs.CacheToGitHubActions? Gha;
///
/// 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.
///
public readonly Outputs.CacheToInline? Inline;
///
/// A simple backend which caches imagines on your local filesystem.
///
public readonly Outputs.CacheToLocal? Local;
///
/// A raw string as you would provide it to the Docker CLI (e.g.,
/// `type=inline`)
///
public readonly string? Raw;
///
/// Push caches to remote registries. Incompatible with the `docker` build
/// driver.
///
public readonly Outputs.CacheToRegistry? Registry;
///
/// Push cache to AWS S3 or S3-compatible services such as MinIO.
///
public readonly Outputs.CacheToS3? S3;
[OutputConstructor]
private CacheTo(
Outputs.CacheToAzureBlob? azblob,
bool? disabled,
Outputs.CacheToGitHubActions? gha,
Outputs.CacheToInline? inline,
Outputs.CacheToLocal? local,
string? raw,
Outputs.CacheToRegistry? registry,
Outputs.CacheToS3? s3)
{
Azblob = azblob;
Disabled = disabled;
Gha = gha;
Inline = inline;
Local = local;
Raw = raw;
Registry = registry;
S3 = s3;
}
}
}