Forklift buildx provider
This commit is contained in:
47
sdk/dotnet/Outputs/BuildContext.cs
generated
Normal file
47
sdk/dotnet/Outputs/BuildContext.cs
generated
Normal file
@@ -0,0 +1,47 @@
|
||||
// *** 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 BuildContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Resources to use for build context.
|
||||
///
|
||||
/// The location can be:
|
||||
/// * A relative or absolute path to a local directory (`.`, `./app`,
|
||||
/// `/app`, etc.).
|
||||
/// * A remote URL of a Git repository, tarball, or plain text file
|
||||
/// (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
|
||||
/// etc.).
|
||||
/// </summary>
|
||||
public readonly string Location;
|
||||
/// <summary>
|
||||
/// Additional build contexts to use.
|
||||
///
|
||||
/// These contexts are accessed with `FROM name` or `--from=name`
|
||||
/// statements when using Dockerfile 1.4+ syntax.
|
||||
///
|
||||
/// Values can be local paths, HTTP URLs, or `docker-image://` images.
|
||||
/// </summary>
|
||||
public readonly ImmutableDictionary<string, Outputs.Context>? Named;
|
||||
|
||||
[OutputConstructor]
|
||||
private BuildContext(
|
||||
string location,
|
||||
|
||||
ImmutableDictionary<string, Outputs.Context>? named)
|
||||
{
|
||||
Location = location;
|
||||
Named = named;
|
||||
}
|
||||
}
|
||||
}
|
||||
32
sdk/dotnet/Outputs/BuilderConfig.cs
generated
Normal file
32
sdk/dotnet/Outputs/BuilderConfig.cs
generated
Normal file
@@ -0,0 +1,32 @@
|
||||
// *** 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 BuilderConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Name of an existing buildx builder to use.
|
||||
///
|
||||
/// Only `docker-container`, `kubernetes`, or `remote` drivers are
|
||||
/// supported. The legacy `docker` driver is not supported.
|
||||
///
|
||||
/// Equivalent to Docker's `--builder` flag.
|
||||
/// </summary>
|
||||
public readonly string? Name;
|
||||
|
||||
[OutputConstructor]
|
||||
private BuilderConfig(string? name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
75
sdk/dotnet/Outputs/CacheFrom.cs
generated
Normal file
75
sdk/dotnet/Outputs/CacheFrom.cs
generated
Normal file
@@ -0,0 +1,75 @@
|
||||
// *** 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 CacheFrom
|
||||
{
|
||||
/// <summary>
|
||||
/// Upload build caches to Azure's blob storage service.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheFromAzureBlob? Azblob;
|
||||
/// <summary>
|
||||
/// When `true` this entry will be excluded. Defaults to `false`.
|
||||
/// </summary>
|
||||
public readonly bool? Disabled;
|
||||
/// <summary>
|
||||
/// Recommended for use with GitHub Actions workflows.
|
||||
///
|
||||
/// An action like `crazy-max/ghaction-github-runtime` is recommended to
|
||||
/// expose appropriate credentials to your GitHub workflow.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheFromGitHubActions? Gha;
|
||||
/// <summary>
|
||||
/// A simple backend which caches images on your local filesystem.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheFromLocal? Local;
|
||||
/// <summary>
|
||||
/// A raw string as you would provide it to the Docker CLI (e.g.,
|
||||
/// `type=inline`).
|
||||
/// </summary>
|
||||
public readonly string? Raw;
|
||||
/// <summary>
|
||||
/// Upload build caches to remote registries.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheFromRegistry? Registry;
|
||||
/// <summary>
|
||||
/// Upload build caches to AWS S3 or an S3-compatible services such as
|
||||
/// MinIO.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheFromS3? S3;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheFrom(
|
||||
Outputs.CacheFromAzureBlob? azblob,
|
||||
|
||||
bool? disabled,
|
||||
|
||||
Outputs.CacheFromGitHubActions? gha,
|
||||
|
||||
Outputs.CacheFromLocal? local,
|
||||
|
||||
string? raw,
|
||||
|
||||
Outputs.CacheFromRegistry? registry,
|
||||
|
||||
Outputs.CacheFromS3? s3)
|
||||
{
|
||||
Azblob = azblob;
|
||||
Disabled = disabled;
|
||||
Gha = gha;
|
||||
Local = local;
|
||||
Raw = raw;
|
||||
Registry = registry;
|
||||
S3 = s3;
|
||||
}
|
||||
}
|
||||
}
|
||||
42
sdk/dotnet/Outputs/CacheFromAzureBlob.cs
generated
Normal file
42
sdk/dotnet/Outputs/CacheFromAzureBlob.cs
generated
Normal file
@@ -0,0 +1,42 @@
|
||||
// *** 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 CacheFromAzureBlob
|
||||
{
|
||||
/// <summary>
|
||||
/// Base URL of the storage account.
|
||||
/// </summary>
|
||||
public readonly string? AccountUrl;
|
||||
/// <summary>
|
||||
/// The name of the cache image.
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// Blob storage account key.
|
||||
/// </summary>
|
||||
public readonly string? SecretAccessKey;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheFromAzureBlob(
|
||||
string? accountUrl,
|
||||
|
||||
string name,
|
||||
|
||||
string? secretAccessKey)
|
||||
{
|
||||
AccountUrl = accountUrl;
|
||||
Name = name;
|
||||
SecretAccessKey = secretAccessKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
54
sdk/dotnet/Outputs/CacheFromGitHubActions.cs
generated
Normal file
54
sdk/dotnet/Outputs/CacheFromGitHubActions.cs
generated
Normal file
@@ -0,0 +1,54 @@
|
||||
// *** 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 CacheFromGitHubActions
|
||||
{
|
||||
/// <summary>
|
||||
/// The scope to use for cache keys. Defaults to `buildkit`.
|
||||
///
|
||||
/// This should be set if building and caching multiple images in one
|
||||
/// workflow, otherwise caches will overwrite each other.
|
||||
/// </summary>
|
||||
public readonly string? Scope;
|
||||
/// <summary>
|
||||
/// The GitHub Actions token to use. This is not a personal access tokens
|
||||
/// and is typically generated automatically as part of each job.
|
||||
///
|
||||
/// Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
|
||||
/// `crazy-max/ghaction-github-runtime` is recommended to expose this
|
||||
/// environment variable to your jobs.
|
||||
/// </summary>
|
||||
public readonly string? Token;
|
||||
/// <summary>
|
||||
/// The cache server URL to use for artifacts.
|
||||
///
|
||||
/// Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like
|
||||
/// `crazy-max/ghaction-github-runtime` is recommended to expose this
|
||||
/// environment variable to your jobs.
|
||||
/// </summary>
|
||||
public readonly string? Url;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheFromGitHubActions(
|
||||
string? scope,
|
||||
|
||||
string? token,
|
||||
|
||||
string? url)
|
||||
{
|
||||
Scope = scope;
|
||||
Token = token;
|
||||
Url = url;
|
||||
}
|
||||
}
|
||||
}
|
||||
35
sdk/dotnet/Outputs/CacheFromLocal.cs
generated
Normal file
35
sdk/dotnet/Outputs/CacheFromLocal.cs
generated
Normal file
@@ -0,0 +1,35 @@
|
||||
// *** 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 CacheFromLocal
|
||||
{
|
||||
/// <summary>
|
||||
/// Digest of manifest to import.
|
||||
/// </summary>
|
||||
public readonly string? Digest;
|
||||
/// <summary>
|
||||
/// Path of the local directory where cache gets imported from.
|
||||
/// </summary>
|
||||
public readonly string Src;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheFromLocal(
|
||||
string? digest,
|
||||
|
||||
string src)
|
||||
{
|
||||
Digest = digest;
|
||||
Src = src;
|
||||
}
|
||||
}
|
||||
}
|
||||
27
sdk/dotnet/Outputs/CacheFromRegistry.cs
generated
Normal file
27
sdk/dotnet/Outputs/CacheFromRegistry.cs
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// *** 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 CacheFromRegistry
|
||||
{
|
||||
/// <summary>
|
||||
/// Fully qualified name of the cache image to import.
|
||||
/// </summary>
|
||||
public readonly string Ref;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheFromRegistry(string @ref)
|
||||
{
|
||||
Ref = @ref;
|
||||
}
|
||||
}
|
||||
}
|
||||
91
sdk/dotnet/Outputs/CacheFromS3.cs
generated
Normal file
91
sdk/dotnet/Outputs/CacheFromS3.cs
generated
Normal file
@@ -0,0 +1,91 @@
|
||||
// *** 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 CacheFromS3
|
||||
{
|
||||
/// <summary>
|
||||
/// Defaults to `$AWS_ACCESS_KEY_ID`.
|
||||
/// </summary>
|
||||
public readonly string? AccessKeyId;
|
||||
/// <summary>
|
||||
/// Prefix to prepend to blob filenames.
|
||||
/// </summary>
|
||||
public readonly string? BlobsPrefix;
|
||||
/// <summary>
|
||||
/// Name of the S3 bucket.
|
||||
/// </summary>
|
||||
public readonly string Bucket;
|
||||
/// <summary>
|
||||
/// Endpoint of the S3 bucket.
|
||||
/// </summary>
|
||||
public readonly string? EndpointUrl;
|
||||
/// <summary>
|
||||
/// Prefix to prepend on manifest filenames.
|
||||
/// </summary>
|
||||
public readonly string? ManifestsPrefix;
|
||||
/// <summary>
|
||||
/// Name of the cache image.
|
||||
/// </summary>
|
||||
public readonly string? Name;
|
||||
/// <summary>
|
||||
/// The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
||||
/// </summary>
|
||||
public readonly string Region;
|
||||
/// <summary>
|
||||
/// Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
||||
/// </summary>
|
||||
public readonly string? SecretAccessKey;
|
||||
/// <summary>
|
||||
/// Defaults to `$AWS_SESSION_TOKEN`.
|
||||
/// </summary>
|
||||
public readonly string? SessionToken;
|
||||
/// <summary>
|
||||
/// Uses `bucket` in the URL instead of hostname when `true`.
|
||||
/// </summary>
|
||||
public readonly bool? UsePathStyle;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheFromS3(
|
||||
string? accessKeyId,
|
||||
|
||||
string? blobsPrefix,
|
||||
|
||||
string bucket,
|
||||
|
||||
string? endpointUrl,
|
||||
|
||||
string? manifestsPrefix,
|
||||
|
||||
string? name,
|
||||
|
||||
string region,
|
||||
|
||||
string? secretAccessKey,
|
||||
|
||||
string? sessionToken,
|
||||
|
||||
bool? usePathStyle)
|
||||
{
|
||||
AccessKeyId = accessKeyId;
|
||||
BlobsPrefix = blobsPrefix;
|
||||
Bucket = bucket;
|
||||
EndpointUrl = endpointUrl;
|
||||
ManifestsPrefix = manifestsPrefix;
|
||||
Name = name;
|
||||
Region = region;
|
||||
SecretAccessKey = secretAccessKey;
|
||||
SessionToken = sessionToken;
|
||||
UsePathStyle = usePathStyle;
|
||||
}
|
||||
}
|
||||
}
|
||||
84
sdk/dotnet/Outputs/CacheTo.cs
generated
Normal file
84
sdk/dotnet/Outputs/CacheTo.cs
generated
Normal file
@@ -0,0 +1,84 @@
|
||||
// *** 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 CacheTo
|
||||
{
|
||||
/// <summary>
|
||||
/// Push cache to Azure's blob storage service.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheToAzureBlob? Azblob;
|
||||
/// <summary>
|
||||
/// When `true` this entry will be excluded. Defaults to `false`.
|
||||
/// </summary>
|
||||
public readonly bool? Disabled;
|
||||
/// <summary>
|
||||
/// Recommended for use with GitHub Actions workflows.
|
||||
///
|
||||
/// An action like `crazy-max/ghaction-github-runtime` is recommended to
|
||||
/// expose appropriate credentials to your GitHub workflow.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheToGitHubActions? Gha;
|
||||
/// <summary>
|
||||
/// The inline cache storage backend is the simplest implementation to get
|
||||
/// started with, but it does not handle multi-stage builds. Consider the
|
||||
/// `registry` cache backend instead.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheToInline? Inline;
|
||||
/// <summary>
|
||||
/// A simple backend which caches imagines on your local filesystem.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheToLocal? Local;
|
||||
/// <summary>
|
||||
/// A raw string as you would provide it to the Docker CLI (e.g.,
|
||||
/// `type=inline`)
|
||||
/// </summary>
|
||||
public readonly string? Raw;
|
||||
/// <summary>
|
||||
/// Push caches to remote registries. Incompatible with the `docker` build
|
||||
/// driver.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheToRegistry? Registry;
|
||||
/// <summary>
|
||||
/// Push cache to AWS S3 or S3-compatible services such as MinIO.
|
||||
/// </summary>
|
||||
public readonly Outputs.CacheToS3? S3;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheTo(
|
||||
Outputs.CacheToAzureBlob? azblob,
|
||||
|
||||
bool? disabled,
|
||||
|
||||
Outputs.CacheToGitHubActions? gha,
|
||||
|
||||
Outputs.CacheToInline? inline,
|
||||
|
||||
Outputs.CacheToLocal? local,
|
||||
|
||||
string? raw,
|
||||
|
||||
Outputs.CacheToRegistry? registry,
|
||||
|
||||
Outputs.CacheToS3? s3)
|
||||
{
|
||||
Azblob = azblob;
|
||||
Disabled = disabled;
|
||||
Gha = gha;
|
||||
Inline = inline;
|
||||
Local = local;
|
||||
Raw = raw;
|
||||
Registry = registry;
|
||||
S3 = s3;
|
||||
}
|
||||
}
|
||||
}
|
||||
56
sdk/dotnet/Outputs/CacheToAzureBlob.cs
generated
Normal file
56
sdk/dotnet/Outputs/CacheToAzureBlob.cs
generated
Normal file
@@ -0,0 +1,56 @@
|
||||
// *** 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 CacheToAzureBlob
|
||||
{
|
||||
/// <summary>
|
||||
/// Base URL of the storage account.
|
||||
/// </summary>
|
||||
public readonly string? AccountUrl;
|
||||
/// <summary>
|
||||
/// Ignore errors caused by failed cache exports.
|
||||
/// </summary>
|
||||
public readonly bool? IgnoreError;
|
||||
/// <summary>
|
||||
/// The cache mode to use. Defaults to `min`.
|
||||
/// </summary>
|
||||
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
|
||||
/// <summary>
|
||||
/// The name of the cache image.
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// Blob storage account key.
|
||||
/// </summary>
|
||||
public readonly string? SecretAccessKey;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheToAzureBlob(
|
||||
string? accountUrl,
|
||||
|
||||
bool? ignoreError,
|
||||
|
||||
Pulumi.Dockerbuild.CacheMode? mode,
|
||||
|
||||
string name,
|
||||
|
||||
string? secretAccessKey)
|
||||
{
|
||||
AccountUrl = accountUrl;
|
||||
IgnoreError = ignoreError;
|
||||
Mode = mode;
|
||||
Name = name;
|
||||
SecretAccessKey = secretAccessKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
68
sdk/dotnet/Outputs/CacheToGitHubActions.cs
generated
Normal file
68
sdk/dotnet/Outputs/CacheToGitHubActions.cs
generated
Normal file
@@ -0,0 +1,68 @@
|
||||
// *** 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 CacheToGitHubActions
|
||||
{
|
||||
/// <summary>
|
||||
/// Ignore errors caused by failed cache exports.
|
||||
/// </summary>
|
||||
public readonly bool? IgnoreError;
|
||||
/// <summary>
|
||||
/// The cache mode to use. Defaults to `min`.
|
||||
/// </summary>
|
||||
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
|
||||
/// <summary>
|
||||
/// The scope to use for cache keys. Defaults to `buildkit`.
|
||||
///
|
||||
/// This should be set if building and caching multiple images in one
|
||||
/// workflow, otherwise caches will overwrite each other.
|
||||
/// </summary>
|
||||
public readonly string? Scope;
|
||||
/// <summary>
|
||||
/// The GitHub Actions token to use. This is not a personal access tokens
|
||||
/// and is typically generated automatically as part of each job.
|
||||
///
|
||||
/// Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
|
||||
/// `crazy-max/ghaction-github-runtime` is recommended to expose this
|
||||
/// environment variable to your jobs.
|
||||
/// </summary>
|
||||
public readonly string? Token;
|
||||
/// <summary>
|
||||
/// The cache server URL to use for artifacts.
|
||||
///
|
||||
/// Defaults to `$ACTIONS_RUNTIME_URL`, although a separate action like
|
||||
/// `crazy-max/ghaction-github-runtime` is recommended to expose this
|
||||
/// environment variable to your jobs.
|
||||
/// </summary>
|
||||
public readonly string? Url;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheToGitHubActions(
|
||||
bool? ignoreError,
|
||||
|
||||
Pulumi.Dockerbuild.CacheMode? mode,
|
||||
|
||||
string? scope,
|
||||
|
||||
string? token,
|
||||
|
||||
string? url)
|
||||
{
|
||||
IgnoreError = ignoreError;
|
||||
Mode = mode;
|
||||
Scope = scope;
|
||||
Token = token;
|
||||
Url = url;
|
||||
}
|
||||
}
|
||||
}
|
||||
24
sdk/dotnet/Outputs/CacheToInline.cs
generated
Normal file
24
sdk/dotnet/Outputs/CacheToInline.cs
generated
Normal file
@@ -0,0 +1,24 @@
|
||||
// *** 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
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Include an inline cache with the exported image.
|
||||
/// </summary>
|
||||
[OutputType]
|
||||
public sealed class CacheToInline
|
||||
{
|
||||
[OutputConstructor]
|
||||
private CacheToInline()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
63
sdk/dotnet/Outputs/CacheToLocal.cs
generated
Normal file
63
sdk/dotnet/Outputs/CacheToLocal.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
// *** 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 CacheToLocal
|
||||
{
|
||||
/// <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>
|
||||
/// Path of the local directory to export the cache.
|
||||
/// </summary>
|
||||
public readonly string Dest;
|
||||
/// <summary>
|
||||
/// Forcefully apply compression.
|
||||
/// </summary>
|
||||
public readonly bool? ForceCompression;
|
||||
/// <summary>
|
||||
/// Ignore errors caused by failed cache exports.
|
||||
/// </summary>
|
||||
public readonly bool? IgnoreError;
|
||||
/// <summary>
|
||||
/// The cache mode to use. Defaults to `min`.
|
||||
/// </summary>
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
84
sdk/dotnet/Outputs/CacheToRegistry.cs
generated
Normal file
84
sdk/dotnet/Outputs/CacheToRegistry.cs
generated
Normal file
@@ -0,0 +1,84 @@
|
||||
// *** 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 CacheToRegistry
|
||||
{
|
||||
/// <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>
|
||||
/// Forcefully apply compression.
|
||||
/// </summary>
|
||||
public readonly bool? ForceCompression;
|
||||
/// <summary>
|
||||
/// Ignore errors caused by failed cache exports.
|
||||
/// </summary>
|
||||
public readonly bool? IgnoreError;
|
||||
/// <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>
|
||||
public readonly bool? ImageManifest;
|
||||
/// <summary>
|
||||
/// The cache mode to use. Defaults to `min`.
|
||||
/// </summary>
|
||||
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
|
||||
/// <summary>
|
||||
/// Whether to use OCI media types in exported manifests. Defaults to
|
||||
/// `true`.
|
||||
/// </summary>
|
||||
public readonly bool? OciMediaTypes;
|
||||
/// <summary>
|
||||
/// Fully qualified name of the cache image to import.
|
||||
/// </summary>
|
||||
public readonly string Ref;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheToRegistry(
|
||||
Pulumi.Dockerbuild.CompressionType? compression,
|
||||
|
||||
int? compressionLevel,
|
||||
|
||||
bool? forceCompression,
|
||||
|
||||
bool? ignoreError,
|
||||
|
||||
bool? imageManifest,
|
||||
|
||||
Pulumi.Dockerbuild.CacheMode? mode,
|
||||
|
||||
bool? ociMediaTypes,
|
||||
|
||||
string @ref)
|
||||
{
|
||||
Compression = compression;
|
||||
CompressionLevel = compressionLevel;
|
||||
ForceCompression = forceCompression;
|
||||
IgnoreError = ignoreError;
|
||||
ImageManifest = imageManifest;
|
||||
Mode = mode;
|
||||
OciMediaTypes = ociMediaTypes;
|
||||
Ref = @ref;
|
||||
}
|
||||
}
|
||||
}
|
||||
105
sdk/dotnet/Outputs/CacheToS3.cs
generated
Normal file
105
sdk/dotnet/Outputs/CacheToS3.cs
generated
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** 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 CacheToS3
|
||||
{
|
||||
/// <summary>
|
||||
/// Defaults to `$AWS_ACCESS_KEY_ID`.
|
||||
/// </summary>
|
||||
public readonly string? AccessKeyId;
|
||||
/// <summary>
|
||||
/// Prefix to prepend to blob filenames.
|
||||
/// </summary>
|
||||
public readonly string? BlobsPrefix;
|
||||
/// <summary>
|
||||
/// Name of the S3 bucket.
|
||||
/// </summary>
|
||||
public readonly string Bucket;
|
||||
/// <summary>
|
||||
/// Endpoint of the S3 bucket.
|
||||
/// </summary>
|
||||
public readonly string? EndpointUrl;
|
||||
/// <summary>
|
||||
/// Ignore errors caused by failed cache exports.
|
||||
/// </summary>
|
||||
public readonly bool? IgnoreError;
|
||||
/// <summary>
|
||||
/// Prefix to prepend on manifest filenames.
|
||||
/// </summary>
|
||||
public readonly string? ManifestsPrefix;
|
||||
/// <summary>
|
||||
/// The cache mode to use. Defaults to `min`.
|
||||
/// </summary>
|
||||
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
|
||||
/// <summary>
|
||||
/// Name of the cache image.
|
||||
/// </summary>
|
||||
public readonly string? Name;
|
||||
/// <summary>
|
||||
/// The geographic location of the bucket. Defaults to `$AWS_REGION`.
|
||||
/// </summary>
|
||||
public readonly string Region;
|
||||
/// <summary>
|
||||
/// Defaults to `$AWS_SECRET_ACCESS_KEY`.
|
||||
/// </summary>
|
||||
public readonly string? SecretAccessKey;
|
||||
/// <summary>
|
||||
/// Defaults to `$AWS_SESSION_TOKEN`.
|
||||
/// </summary>
|
||||
public readonly string? SessionToken;
|
||||
/// <summary>
|
||||
/// Uses `bucket` in the URL instead of hostname when `true`.
|
||||
/// </summary>
|
||||
public readonly bool? UsePathStyle;
|
||||
|
||||
[OutputConstructor]
|
||||
private CacheToS3(
|
||||
string? accessKeyId,
|
||||
|
||||
string? blobsPrefix,
|
||||
|
||||
string bucket,
|
||||
|
||||
string? endpointUrl,
|
||||
|
||||
bool? ignoreError,
|
||||
|
||||
string? manifestsPrefix,
|
||||
|
||||
Pulumi.Dockerbuild.CacheMode? mode,
|
||||
|
||||
string? name,
|
||||
|
||||
string region,
|
||||
|
||||
string? secretAccessKey,
|
||||
|
||||
string? sessionToken,
|
||||
|
||||
bool? usePathStyle)
|
||||
{
|
||||
AccessKeyId = accessKeyId;
|
||||
BlobsPrefix = blobsPrefix;
|
||||
Bucket = bucket;
|
||||
EndpointUrl = endpointUrl;
|
||||
IgnoreError = ignoreError;
|
||||
ManifestsPrefix = manifestsPrefix;
|
||||
Mode = mode;
|
||||
Name = name;
|
||||
Region = region;
|
||||
SecretAccessKey = secretAccessKey;
|
||||
SessionToken = sessionToken;
|
||||
UsePathStyle = usePathStyle;
|
||||
}
|
||||
}
|
||||
}
|
||||
34
sdk/dotnet/Outputs/Context.cs
generated
Normal file
34
sdk/dotnet/Outputs/Context.cs
generated
Normal file
@@ -0,0 +1,34 @@
|
||||
// *** 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 Context
|
||||
{
|
||||
/// <summary>
|
||||
/// Resources to use for build context.
|
||||
///
|
||||
/// The location can be:
|
||||
/// * A relative or absolute path to a local directory (`.`, `./app`,
|
||||
/// `/app`, etc.).
|
||||
/// * A remote URL of a Git repository, tarball, or plain text file
|
||||
/// (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
|
||||
/// etc.).
|
||||
/// </summary>
|
||||
public readonly string Location;
|
||||
|
||||
[OutputConstructor]
|
||||
private Context(string location)
|
||||
{
|
||||
Location = location;
|
||||
}
|
||||
}
|
||||
}
|
||||
45
sdk/dotnet/Outputs/Dockerfile.cs
generated
Normal file
45
sdk/dotnet/Outputs/Dockerfile.cs
generated
Normal file
@@ -0,0 +1,45 @@
|
||||
// *** 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 Dockerfile
|
||||
{
|
||||
/// <summary>
|
||||
/// Raw Dockerfile contents.
|
||||
///
|
||||
/// Conflicts with `location`.
|
||||
///
|
||||
/// Equivalent to invoking Docker with `-f -`.
|
||||
/// </summary>
|
||||
public readonly string? Inline;
|
||||
/// <summary>
|
||||
/// Location of the Dockerfile to use.
|
||||
///
|
||||
/// Can be a relative or absolute path to a local file, or a remote URL.
|
||||
///
|
||||
/// Defaults to `${context.location}/Dockerfile` if context is on-disk.
|
||||
///
|
||||
/// Conflicts with `inline`.
|
||||
/// </summary>
|
||||
public readonly string? Location;
|
||||
|
||||
[OutputConstructor]
|
||||
private Dockerfile(
|
||||
string? inline,
|
||||
|
||||
string? location)
|
||||
{
|
||||
Inline = inline;
|
||||
Location = location;
|
||||
}
|
||||
}
|
||||
}
|
||||
86
sdk/dotnet/Outputs/Export.cs
generated
Normal file
86
sdk/dotnet/Outputs/Export.cs
generated
Normal file
@@ -0,0 +1,86 @@
|
||||
// *** 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 Export
|
||||
{
|
||||
/// <summary>
|
||||
/// A no-op export. Helpful for silencing the 'no exports' warning if you
|
||||
/// just want to populate caches.
|
||||
/// </summary>
|
||||
public readonly Outputs.ExportCacheOnly? Cacheonly;
|
||||
/// <summary>
|
||||
/// When `true` this entry will be excluded. Defaults to `false`.
|
||||
/// </summary>
|
||||
public readonly bool? Disabled;
|
||||
/// <summary>
|
||||
/// Export as a Docker image layout.
|
||||
/// </summary>
|
||||
public readonly Outputs.ExportDocker? Docker;
|
||||
/// <summary>
|
||||
/// Outputs the build result into a container image format.
|
||||
/// </summary>
|
||||
public readonly Outputs.ExportImage? Image;
|
||||
/// <summary>
|
||||
/// Export to a local directory as files and directories.
|
||||
/// </summary>
|
||||
public readonly Outputs.ExportLocal? Local;
|
||||
/// <summary>
|
||||
/// Identical to the Docker exporter but uses OCI media types by default.
|
||||
/// </summary>
|
||||
public readonly Outputs.ExportOCI? Oci;
|
||||
/// <summary>
|
||||
/// A raw string as you would provide it to the Docker CLI (e.g.,
|
||||
/// `type=docker`)
|
||||
/// </summary>
|
||||
public readonly string? Raw;
|
||||
/// <summary>
|
||||
/// Identical to the Image exporter, but pushes by default.
|
||||
/// </summary>
|
||||
public readonly Outputs.ExportRegistry? Registry;
|
||||
/// <summary>
|
||||
/// Export to a local directory as a tarball.
|
||||
/// </summary>
|
||||
public readonly Outputs.ExportTar? Tar;
|
||||
|
||||
[OutputConstructor]
|
||||
private Export(
|
||||
Outputs.ExportCacheOnly? cacheonly,
|
||||
|
||||
bool? disabled,
|
||||
|
||||
Outputs.ExportDocker? docker,
|
||||
|
||||
Outputs.ExportImage? image,
|
||||
|
||||
Outputs.ExportLocal? local,
|
||||
|
||||
Outputs.ExportOCI? oci,
|
||||
|
||||
string? raw,
|
||||
|
||||
Outputs.ExportRegistry? registry,
|
||||
|
||||
Outputs.ExportTar? tar)
|
||||
{
|
||||
Cacheonly = cacheonly;
|
||||
Disabled = disabled;
|
||||
Docker = docker;
|
||||
Image = image;
|
||||
Local = local;
|
||||
Oci = oci;
|
||||
Raw = raw;
|
||||
Registry = registry;
|
||||
Tar = tar;
|
||||
}
|
||||
}
|
||||
}
|
||||
21
sdk/dotnet/Outputs/ExportCacheOnly.cs
generated
Normal file
21
sdk/dotnet/Outputs/ExportCacheOnly.cs
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// *** 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 ExportCacheOnly
|
||||
{
|
||||
[OutputConstructor]
|
||||
private ExportCacheOnly()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
77
sdk/dotnet/Outputs/ExportDocker.cs
generated
Normal file
77
sdk/dotnet/Outputs/ExportDocker.cs
generated
Normal file
@@ -0,0 +1,77 @@
|
||||
// *** 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 ExportDocker
|
||||
{
|
||||
/// <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>
|
||||
/// The local export path.
|
||||
/// </summary>
|
||||
public readonly string? Dest;
|
||||
/// <summary>
|
||||
/// Forcefully apply compression.
|
||||
/// </summary>
|
||||
public readonly bool? ForceCompression;
|
||||
/// <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>
|
||||
/// Bundle the output into a tarball layout.
|
||||
/// </summary>
|
||||
public readonly bool? Tar;
|
||||
|
||||
[OutputConstructor]
|
||||
private ExportDocker(
|
||||
ImmutableDictionary<string, string>? annotations,
|
||||
|
||||
Pulumi.Dockerbuild.CompressionType? compression,
|
||||
|
||||
int? compressionLevel,
|
||||
|
||||
string? dest,
|
||||
|
||||
bool? forceCompression,
|
||||
|
||||
ImmutableArray<string> names,
|
||||
|
||||
bool? ociMediaTypes,
|
||||
|
||||
bool? tar)
|
||||
{
|
||||
Annotations = annotations;
|
||||
Compression = compression;
|
||||
CompressionLevel = compressionLevel;
|
||||
Dest = dest;
|
||||
ForceCompression = forceCompression;
|
||||
Names = names;
|
||||
OciMediaTypes = ociMediaTypes;
|
||||
Tar = tar;
|
||||
}
|
||||
}
|
||||
}
|
||||
119
sdk/dotnet/Outputs/ExportImage.cs
generated
Normal file
119
sdk/dotnet/Outputs/ExportImage.cs
generated
Normal 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@<digest>`, 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@<digest>`).
|
||||
/// </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;
|
||||
}
|
||||
}
|
||||
}
|
||||
27
sdk/dotnet/Outputs/ExportLocal.cs
generated
Normal file
27
sdk/dotnet/Outputs/ExportLocal.cs
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// *** 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 ExportLocal
|
||||
{
|
||||
/// <summary>
|
||||
/// Output path.
|
||||
/// </summary>
|
||||
public readonly string Dest;
|
||||
|
||||
[OutputConstructor]
|
||||
private ExportLocal(string dest)
|
||||
{
|
||||
Dest = dest;
|
||||
}
|
||||
}
|
||||
}
|
||||
77
sdk/dotnet/Outputs/ExportOCI.cs
generated
Normal file
77
sdk/dotnet/Outputs/ExportOCI.cs
generated
Normal file
@@ -0,0 +1,77 @@
|
||||
// *** 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 ExportOCI
|
||||
{
|
||||
/// <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>
|
||||
/// The local export path.
|
||||
/// </summary>
|
||||
public readonly string? Dest;
|
||||
/// <summary>
|
||||
/// Forcefully apply compression.
|
||||
/// </summary>
|
||||
public readonly bool? ForceCompression;
|
||||
/// <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>
|
||||
/// Bundle the output into a tarball layout.
|
||||
/// </summary>
|
||||
public readonly bool? Tar;
|
||||
|
||||
[OutputConstructor]
|
||||
private ExportOCI(
|
||||
ImmutableDictionary<string, string>? annotations,
|
||||
|
||||
Pulumi.Dockerbuild.CompressionType? compression,
|
||||
|
||||
int? compressionLevel,
|
||||
|
||||
string? dest,
|
||||
|
||||
bool? forceCompression,
|
||||
|
||||
ImmutableArray<string> names,
|
||||
|
||||
bool? ociMediaTypes,
|
||||
|
||||
bool? tar)
|
||||
{
|
||||
Annotations = annotations;
|
||||
Compression = compression;
|
||||
CompressionLevel = compressionLevel;
|
||||
Dest = dest;
|
||||
ForceCompression = forceCompression;
|
||||
Names = names;
|
||||
OciMediaTypes = ociMediaTypes;
|
||||
Tar = tar;
|
||||
}
|
||||
}
|
||||
}
|
||||
119
sdk/dotnet/Outputs/ExportRegistry.cs
generated
Normal file
119
sdk/dotnet/Outputs/ExportRegistry.cs
generated
Normal 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 ExportRegistry
|
||||
{
|
||||
/// <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@<digest>`, 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@<digest>`).
|
||||
/// </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 `true`.
|
||||
/// </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 ExportRegistry(
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
27
sdk/dotnet/Outputs/ExportTar.cs
generated
Normal file
27
sdk/dotnet/Outputs/ExportTar.cs
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// *** 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 ExportTar
|
||||
{
|
||||
/// <summary>
|
||||
/// Output path.
|
||||
/// </summary>
|
||||
public readonly string Dest;
|
||||
|
||||
[OutputConstructor]
|
||||
private ExportTar(string dest)
|
||||
{
|
||||
Dest = dest;
|
||||
}
|
||||
}
|
||||
}
|
||||
42
sdk/dotnet/Outputs/Registry.cs
generated
Normal file
42
sdk/dotnet/Outputs/Registry.cs
generated
Normal file
@@ -0,0 +1,42 @@
|
||||
// *** 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 Registry
|
||||
{
|
||||
/// <summary>
|
||||
/// The registry's address (e.g. "docker.io").
|
||||
/// </summary>
|
||||
public readonly string Address;
|
||||
/// <summary>
|
||||
/// Password or token for the registry.
|
||||
/// </summary>
|
||||
public readonly string? Password;
|
||||
/// <summary>
|
||||
/// Username for the registry.
|
||||
/// </summary>
|
||||
public readonly string? Username;
|
||||
|
||||
[OutputConstructor]
|
||||
private Registry(
|
||||
string address,
|
||||
|
||||
string? password,
|
||||
|
||||
string? username)
|
||||
{
|
||||
Address = address;
|
||||
Password = password;
|
||||
Username = username;
|
||||
}
|
||||
}
|
||||
}
|
||||
45
sdk/dotnet/Outputs/SSH.cs
generated
Normal file
45
sdk/dotnet/Outputs/SSH.cs
generated
Normal file
@@ -0,0 +1,45 @@
|
||||
// *** 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 SSH
|
||||
{
|
||||
/// <summary>
|
||||
/// Useful for distinguishing different servers that are part of the same
|
||||
/// build.
|
||||
///
|
||||
/// A value of `default` is appropriate if only dealing with a single host.
|
||||
/// </summary>
|
||||
public readonly string Id;
|
||||
/// <summary>
|
||||
/// SSH agent socket or private keys to expose to the build under the given
|
||||
/// identifier.
|
||||
///
|
||||
/// Defaults to `[$SSH_AUTH_SOCK]`.
|
||||
///
|
||||
/// Note that your keys are **not** automatically added when using an
|
||||
/// agent. Run `ssh-add -l` locally to confirm which public keys are
|
||||
/// visible to the agent; these will be exposed to your build.
|
||||
/// </summary>
|
||||
public readonly ImmutableArray<string> Paths;
|
||||
|
||||
[OutputConstructor]
|
||||
private SSH(
|
||||
string id,
|
||||
|
||||
ImmutableArray<string> paths)
|
||||
{
|
||||
Id = id;
|
||||
Paths = paths;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user