Files
pulumi-docker-build/sdk/dotnet/Inputs/CacheToRegistryArgs.cs
Ramon Quitales 8c5a9ac033 Fix weekly pulumi/pulumi update (#501)
Fixes: #497 

This PR follows the `weekly-pulumi-update` CI workflow steps to update
our `pulumi/pulumi` dependency, with manual intervention to resolve
tooling update conflicts. Before generating the SDKs, it's necessary to
update the language tools and otel packages to ensure compatibility with
the latest changes.

Additional command executed for the manual updates:

```sh
TOOLS=(
    "github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3"
    "github.com/pulumi/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/v3"
    "github.com/pulumi/pulumi/sdk/python/cmd/pulumi-language-python/v3"
    "go.opentelemetry.io/otel/exporters/otlp/otlptrace"
)

for TOOL in "${TOOLS[@]}"; do
    go get -u $TOOL
    go mod tidy
done
```

---

Note: the Go directive is upgraded to v1.24 as
`github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3` requires Go
v1.24
([ref](5c96e4e6aa/sdk/go/pulumi-language-go/go.mod (L3))).
2025-04-21 11:26:37 -07:00

83 lines
2.7 KiB
C#
Generated

// *** 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.Inputs
{
public sealed class CacheToRegistryArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// The compression type to use.
/// </summary>
[Input("compression")]
public Input<Pulumi.DockerBuild.CompressionType>? Compression { get; set; }
/// <summary>
/// Compression level from 0 to 22.
/// </summary>
[Input("compressionLevel")]
public Input<int>? CompressionLevel { get; set; }
/// <summary>
/// Forcefully apply compression.
/// </summary>
[Input("forceCompression")]
public Input<bool>? ForceCompression { get; set; }
/// <summary>
/// Ignore errors caused by failed cache exports.
/// </summary>
[Input("ignoreError")]
public Input<bool>? IgnoreError { get; set; }
/// <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>
[Input("imageManifest")]
public Input<bool>? ImageManifest { get; set; }
/// <summary>
/// The cache mode to use. Defaults to `min`.
/// </summary>
[Input("mode")]
public Input<Pulumi.DockerBuild.CacheMode>? Mode { get; set; }
/// <summary>
/// Whether to use OCI media types in exported manifests. Defaults to
/// `true`.
/// </summary>
[Input("ociMediaTypes")]
public Input<bool>? OciMediaTypes { get; set; }
/// <summary>
/// Fully qualified name of the cache image to import.
/// </summary>
[Input("ref", required: true)]
public Input<string> Ref { get; set; } = null!;
public CacheToRegistryArgs()
{
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
IgnoreError = false;
ImageManifest = false;
Mode = Pulumi.DockerBuild.CacheMode.Min;
OciMediaTypes = true;
}
public static new CacheToRegistryArgs Empty => new CacheToRegistryArgs();
}
}