Files
pulumi-docker-build/sdk/dotnet/Outputs/CacheTo.cs
Bryce Lampe 26c144c916 Initial provider implementation (#18)
This brings over the initial buildx prototype from pulumi/pulumi-docker
and fixes various build and release issues.
2024-04-25 11:03:59 -07:00

85 lines
2.6 KiB
C#
Generated

// *** WARNING: this file was generated by pulumi. ***
// *** 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
{
/// <summary>
/// Push cache to Azure's blob storage service.
/// </summary>
public readonly Outputs.CacheToAzureBlob? Azblob;
/// <summary>
/// When `true` this entry will be excluded. Defaults to `false`.
/// </summary>
public readonly bool? Disabled;
/// <summary>
/// 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.
/// </summary>
public readonly Outputs.CacheToGitHubActions? Gha;
/// <summary>
/// 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.
/// </summary>
public readonly Outputs.CacheToInline? Inline;
/// <summary>
/// A simple backend which caches imagines on your local filesystem.
/// </summary>
public readonly Outputs.CacheToLocal? Local;
/// <summary>
/// A raw string as you would provide it to the Docker CLI (e.g.,
/// `type=inline`)
/// </summary>
public readonly string? Raw;
/// <summary>
/// Push caches to remote registries. Incompatible with the `docker` build
/// driver.
/// </summary>
public readonly Outputs.CacheToRegistry? Registry;
/// <summary>
/// Push cache to AWS S3 or S3-compatible services such as MinIO.
/// </summary>
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;
}
}
}