This brings over the initial buildx prototype from pulumi/pulumi-docker and fixes various build and release issues.
123 lines
3.7 KiB
C#
Generated
123 lines
3.7 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.Inputs
|
|
{
|
|
|
|
public sealed class ExportImageArgs : global::Pulumi.ResourceArgs
|
|
{
|
|
[Input("annotations")]
|
|
private InputMap<string>? _annotations;
|
|
|
|
/// <summary>
|
|
/// Attach an arbitrary key/value annotation to the image.
|
|
/// </summary>
|
|
public InputMap<string> Annotations
|
|
{
|
|
get => _annotations ?? (_annotations = new InputMap<string>());
|
|
set => _annotations = value;
|
|
}
|
|
|
|
/// <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>
|
|
/// Name image with `prefix@<digest>`, used for anonymous images.
|
|
/// </summary>
|
|
[Input("danglingNamePrefix")]
|
|
public Input<string>? DanglingNamePrefix { get; set; }
|
|
|
|
/// <summary>
|
|
/// Forcefully apply compression.
|
|
/// </summary>
|
|
[Input("forceCompression")]
|
|
public Input<bool>? ForceCompression { get; set; }
|
|
|
|
/// <summary>
|
|
/// Allow pushing to an insecure registry.
|
|
/// </summary>
|
|
[Input("insecure")]
|
|
public Input<bool>? Insecure { get; set; }
|
|
|
|
/// <summary>
|
|
/// Add additional canonical name (`name@<digest>`).
|
|
/// </summary>
|
|
[Input("nameCanonical")]
|
|
public Input<bool>? NameCanonical { get; set; }
|
|
|
|
[Input("names")]
|
|
private InputList<string>? _names;
|
|
|
|
/// <summary>
|
|
/// Specify images names to export. This is overridden if tags are already specified.
|
|
/// </summary>
|
|
public InputList<string> Names
|
|
{
|
|
get => _names ?? (_names = new InputList<string>());
|
|
set => _names = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Use OCI media types in exporter manifests.
|
|
/// </summary>
|
|
[Input("ociMediaTypes")]
|
|
public Input<bool>? OciMediaTypes { get; set; }
|
|
|
|
/// <summary>
|
|
/// Push after creating the image. Defaults to `false`.
|
|
/// </summary>
|
|
[Input("push")]
|
|
public Input<bool>? Push { get; set; }
|
|
|
|
/// <summary>
|
|
/// Push image without name.
|
|
/// </summary>
|
|
[Input("pushByDigest")]
|
|
public Input<bool>? PushByDigest { get; set; }
|
|
|
|
/// <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>
|
|
[Input("store")]
|
|
public Input<bool>? Store { get; set; }
|
|
|
|
/// <summary>
|
|
/// Unpack image after creation (for use with containerd). Defaults to
|
|
/// `false`.
|
|
/// </summary>
|
|
[Input("unpack")]
|
|
public Input<bool>? Unpack { get; set; }
|
|
|
|
public ExportImageArgs()
|
|
{
|
|
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
|
|
CompressionLevel = 0;
|
|
ForceCompression = false;
|
|
OciMediaTypes = false;
|
|
Store = true;
|
|
}
|
|
public static new ExportImageArgs Empty => new ExportImageArgs();
|
|
}
|
|
}
|