// *** 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 CacheFrom
{
///
/// Upload build caches to Azure's blob storage service.
///
public readonly Outputs.CacheFromAzureBlob? 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.CacheFromGitHubActions? Gha;
///
/// A simple backend which caches images on your local filesystem.
///
public readonly Outputs.CacheFromLocal? Local;
///
/// A raw string as you would provide it to the Docker CLI (e.g.,
/// `type=inline`).
///
public readonly string? Raw;
///
/// Upload build caches to remote registries.
///
public readonly Outputs.CacheFromRegistry? Registry;
///
/// Upload build caches to AWS S3 or an S3-compatible services such as
/// MinIO.
///
public readonly Outputs.CacheFromS3? S3;
[OutputConstructor]
private CacheFrom(
Outputs.CacheFromAzureBlob? azblob,
bool? disabled,
Outputs.CacheFromGitHubActions? gha,
Outputs.CacheFromLocal? local,
string? raw,
Outputs.CacheFromRegistry? registry,
Outputs.CacheFromS3? s3)
{
Azblob = azblob;
Disabled = disabled;
Gha = gha;
Local = local;
Raw = raw;
Registry = registry;
S3 = s3;
}
}
}