Initial provider implementation (#18)

This brings over the initial buildx prototype from pulumi/pulumi-docker
and fixes various build and release issues.
This commit is contained in:
Bryce Lampe
2024-04-25 11:03:59 -07:00
committed by GitHub
parent 2545dd3089
commit 26c144c916
398 changed files with 65361 additions and 1702 deletions

119
sdk/dotnet/Outputs/ExportImage.cs generated Normal file
View File

@@ -0,0 +1,119 @@
// *** 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 ExportImage
{
/// <summary>
/// Attach an arbitrary key/value annotation to the image.
/// </summary>
public readonly ImmutableDictionary<string, string>? Annotations;
/// <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>
/// Name image with `prefix@&lt;digest&gt;`, used for anonymous images.
/// </summary>
public readonly string? DanglingNamePrefix;
/// <summary>
/// Forcefully apply compression.
/// </summary>
public readonly bool? ForceCompression;
/// <summary>
/// Allow pushing to an insecure registry.
/// </summary>
public readonly bool? Insecure;
/// <summary>
/// Add additional canonical name (`name@&lt;digest&gt;`).
/// </summary>
public readonly bool? NameCanonical;
/// <summary>
/// Specify images names to export. This is overridden if tags are already specified.
/// </summary>
public readonly ImmutableArray<string> Names;
/// <summary>
/// Use OCI media types in exporter manifests.
/// </summary>
public readonly bool? OciMediaTypes;
/// <summary>
/// Push after creating the image. Defaults to `false`.
/// </summary>
public readonly bool? Push;
/// <summary>
/// Push image without name.
/// </summary>
public readonly bool? PushByDigest;
/// <summary>
/// Store resulting images to the worker's image store and ensure all of
/// its blobs are in the content store.
///
/// Defaults to `true`.
///
/// Ignored if the worker doesn't have image store (when using OCI workers,
/// for example).
/// </summary>
public readonly bool? Store;
/// <summary>
/// Unpack image after creation (for use with containerd). Defaults to
/// `false`.
/// </summary>
public readonly bool? Unpack;
[OutputConstructor]
private ExportImage(
ImmutableDictionary<string, string>? annotations,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,
string? danglingNamePrefix,
bool? forceCompression,
bool? insecure,
bool? nameCanonical,
ImmutableArray<string> names,
bool? ociMediaTypes,
bool? push,
bool? pushByDigest,
bool? store,
bool? unpack)
{
Annotations = annotations;
Compression = compression;
CompressionLevel = compressionLevel;
DanglingNamePrefix = danglingNamePrefix;
ForceCompression = forceCompression;
Insecure = insecure;
NameCanonical = nameCanonical;
Names = names;
OciMediaTypes = ociMediaTypes;
Push = push;
PushByDigest = pushByDigest;
Store = store;
Unpack = unpack;
}
}
}