This brings over the initial buildx prototype from pulumi/pulumi-docker and fixes various build and release issues.
85 lines
2.5 KiB
C#
Generated
85 lines
2.5 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 CacheToRegistry
|
|
{
|
|
/// <summary>
|
|
/// The compression type to use.
|
|
/// </summary>
|
|
public readonly Pulumi.DockerBuild.CompressionType? Compression;
|
|
/// <summary>
|
|
/// Compression level from 0 to 22.
|
|
/// </summary>
|
|
public readonly int? CompressionLevel;
|
|
/// <summary>
|
|
/// Forcefully apply compression.
|
|
/// </summary>
|
|
public readonly bool? ForceCompression;
|
|
/// <summary>
|
|
/// Ignore errors caused by failed cache exports.
|
|
/// </summary>
|
|
public readonly bool? IgnoreError;
|
|
/// <summary>
|
|
/// Export cache manifest as an OCI-compatible image manifest instead of a
|
|
/// manifest list. Requires `ociMediaTypes` to also be `true`.
|
|
///
|
|
/// Some registries like AWS ECR will not work with caching if this is
|
|
/// `false`.
|
|
///
|
|
/// Defaults to `false` to match Docker's default behavior.
|
|
/// </summary>
|
|
public readonly bool? ImageManifest;
|
|
/// <summary>
|
|
/// The cache mode to use. Defaults to `min`.
|
|
/// </summary>
|
|
public readonly Pulumi.DockerBuild.CacheMode? Mode;
|
|
/// <summary>
|
|
/// Whether to use OCI media types in exported manifests. Defaults to
|
|
/// `true`.
|
|
/// </summary>
|
|
public readonly bool? OciMediaTypes;
|
|
/// <summary>
|
|
/// Fully qualified name of the cache image to import.
|
|
/// </summary>
|
|
public readonly string Ref;
|
|
|
|
[OutputConstructor]
|
|
private CacheToRegistry(
|
|
Pulumi.DockerBuild.CompressionType? compression,
|
|
|
|
int? compressionLevel,
|
|
|
|
bool? forceCompression,
|
|
|
|
bool? ignoreError,
|
|
|
|
bool? imageManifest,
|
|
|
|
Pulumi.DockerBuild.CacheMode? mode,
|
|
|
|
bool? ociMediaTypes,
|
|
|
|
string @ref)
|
|
{
|
|
Compression = compression;
|
|
CompressionLevel = compressionLevel;
|
|
ForceCompression = forceCompression;
|
|
IgnoreError = ignoreError;
|
|
ImageManifest = imageManifest;
|
|
Mode = mode;
|
|
OciMediaTypes = ociMediaTypes;
|
|
Ref = @ref;
|
|
}
|
|
}
|
|
}
|