// *** 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.Inputs
{
public sealed class CacheToLocalArgs : global::Pulumi.ResourceArgs
{
///
/// The compression type to use.
///
[Input("compression")]
public Input? Compression { get; set; }
///
/// Compression level from 0 to 22.
///
[Input("compressionLevel")]
public Input? CompressionLevel { get; set; }
///
/// Path of the local directory to export the cache.
///
[Input("dest", required: true)]
public Input Dest { get; set; } = null!;
///
/// Forcefully apply compression.
///
[Input("forceCompression")]
public Input? ForceCompression { get; set; }
///
/// Ignore errors caused by failed cache exports.
///
[Input("ignoreError")]
public Input? IgnoreError { get; set; }
///
/// The cache mode to use. Defaults to `min`.
///
[Input("mode")]
public Input? Mode { get; set; }
public CacheToLocalArgs()
{
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
IgnoreError = false;
Mode = Pulumi.DockerBuild.CacheMode.Min;
}
public static new CacheToLocalArgs Empty => new CacheToLocalArgs();
}
}