// *** 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 CacheToLocal
{
///
/// The compression type to use.
///
public readonly Pulumi.DockerBuild.CompressionType? Compression;
///
/// Compression level from 0 to 22.
///
public readonly int? CompressionLevel;
///
/// Path of the local directory to export the cache.
///
public readonly string Dest;
///
/// Forcefully apply compression.
///
public readonly bool? ForceCompression;
///
/// Ignore errors caused by failed cache exports.
///
public readonly bool? IgnoreError;
///
/// The cache mode to use. Defaults to `min`.
///
public readonly Pulumi.DockerBuild.CacheMode? Mode;
[OutputConstructor]
private CacheToLocal(
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,
string dest,
bool? forceCompression,
bool? ignoreError,
Pulumi.DockerBuild.CacheMode? mode)
{
Compression = compression;
CompressionLevel = compressionLevel;
Dest = dest;
ForceCompression = forceCompression;
IgnoreError = ignoreError;
Mode = mode;
}
}
}