Rename to docker-build

This commit is contained in:
Bryce Lampe
2024-04-15 14:51:07 -07:00
parent 4cd6d49ba9
commit 12bf5dd689
139 changed files with 638 additions and 645 deletions

View File

@@ -4,7 +4,7 @@
using System;
using System.Collections.Immutable;
namespace Pulumi.Dockerbuild
namespace Pulumi.DockerBuild
{
public static class Config
{
@@ -30,7 +30,7 @@ namespace Pulumi.Dockerbuild
}
}
private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("dockerbuild");
private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("docker-build");
private static readonly __Value<string?> _host = new __Value<string?>(() => __config.Get("host") ?? Utilities.GetEnv("DOCKER_HOST") ?? "");
/// <summary>

2
sdk/dotnet/Enums.cs generated
View File

@@ -5,7 +5,7 @@ using System;
using System.ComponentModel;
using Pulumi;
namespace Pulumi.Dockerbuild
namespace Pulumi.DockerBuild
{
[EnumType]
public readonly struct CacheMode : IEquatable<CacheMode>

24
sdk/dotnet/Image.cs generated
View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild
namespace Pulumi.DockerBuild
{
/// <summary>
/// A Docker image built using buildx -- Docker's interface to the improved
@@ -491,7 +491,7 @@ namespace Pulumi.Dockerbuild
///
/// ```
/// </summary>
[DockerbuildResourceType("dockerbuild:index:Image")]
[DockerBuildResourceType("docker-build:index:Image")]
public partial class Image : global::Pulumi.CustomResource
{
/// <summary>
@@ -658,7 +658,7 @@ namespace Pulumi.Dockerbuild
/// Equivalent to Docker's `--network` flag.
/// </summary>
[Output("network")]
public Output<Pulumi.Dockerbuild.NetworkMode?> Network { get; private set; } = null!;
public Output<Pulumi.DockerBuild.NetworkMode?> Network { get; private set; } = null!;
/// <summary>
/// Do not import cache manifests when building the image.
@@ -674,7 +674,7 @@ namespace Pulumi.Dockerbuild
/// Equivalent to Docker's `--platform` flag.
/// </summary>
[Output("platforms")]
public Output<ImmutableArray<Pulumi.Dockerbuild.Platform>> Platforms { get; private set; } = null!;
public Output<ImmutableArray<Pulumi.DockerBuild.Platform>> Platforms { get; private set; } = null!;
/// <summary>
/// Always pull referenced images.
@@ -777,12 +777,12 @@ namespace Pulumi.Dockerbuild
/// <param name="args">The arguments used to populate this resource's properties</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public Image(string name, ImageArgs? args = null, CustomResourceOptions? options = null)
: base("dockerbuild:index:Image", name, args ?? new ImageArgs(), MakeResourceOptions(options, ""))
: base("docker-build:index:Image", name, args ?? new ImageArgs(), MakeResourceOptions(options, ""))
{
}
private Image(string name, Input<string> id, CustomResourceOptions? options = null)
: base("dockerbuild:index:Image", name, null, MakeResourceOptions(options, id))
: base("docker-build:index:Image", name, null, MakeResourceOptions(options, id))
{
}
@@ -791,7 +791,7 @@ namespace Pulumi.Dockerbuild
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github.com/pulumi/pulumi-dockerbuild",
PluginDownloadURL = "github.com/pulumi/pulumi-docker-build",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
@@ -994,7 +994,7 @@ namespace Pulumi.Dockerbuild
/// Equivalent to Docker's `--network` flag.
/// </summary>
[Input("network")]
public Input<Pulumi.Dockerbuild.NetworkMode>? Network { get; set; }
public Input<Pulumi.DockerBuild.NetworkMode>? Network { get; set; }
/// <summary>
/// Do not import cache manifests when building the image.
@@ -1005,16 +1005,16 @@ namespace Pulumi.Dockerbuild
public Input<bool>? NoCache { get; set; }
[Input("platforms")]
private InputList<Pulumi.Dockerbuild.Platform>? _platforms;
private InputList<Pulumi.DockerBuild.Platform>? _platforms;
/// <summary>
/// Set target platform(s) for the build. Defaults to the host's platform.
///
/// Equivalent to Docker's `--platform` flag.
/// </summary>
public InputList<Pulumi.Dockerbuild.Platform> Platforms
public InputList<Pulumi.DockerBuild.Platform> Platforms
{
get => _platforms ?? (_platforms = new InputList<Pulumi.Dockerbuild.Platform>());
get => _platforms ?? (_platforms = new InputList<Pulumi.DockerBuild.Platform>());
set => _platforms = value;
}
@@ -1117,7 +1117,7 @@ namespace Pulumi.Dockerbuild
public ImageArgs()
{
Network = Pulumi.Dockerbuild.NetworkMode.@Default;
Network = Pulumi.DockerBuild.NetworkMode.@Default;
}
public static new ImageArgs Empty => new ImageArgs();
}

46
sdk/dotnet/Index.cs generated
View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild
namespace Pulumi.DockerBuild
{
/// <summary>
/// An index (or manifest list) referencing one or more existing images.
@@ -24,17 +24,17 @@ namespace Pulumi.Dockerbuild
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Dockerbuild = Pulumi.Dockerbuild;
/// using DockerBuild = Pulumi.DockerBuild;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var amd64 = new Dockerbuild.Image("amd64", new()
/// var amd64 = new DockerBuild.Image("amd64", new()
/// {
/// CacheFrom = new[]
/// {
/// new Dockerbuild.Inputs.CacheFromArgs
/// new DockerBuild.Inputs.CacheFromArgs
/// {
/// Registry = new Dockerbuild.Inputs.CacheFromRegistryArgs
/// Registry = new DockerBuild.Inputs.CacheFromRegistryArgs
/// {
/// Ref = "docker.io/pulumi/pulumi:cache-amd64",
/// },
@@ -42,22 +42,22 @@ namespace Pulumi.Dockerbuild
/// },
/// CacheTo = new[]
/// {
/// new Dockerbuild.Inputs.CacheToArgs
/// new DockerBuild.Inputs.CacheToArgs
/// {
/// Registry = new Dockerbuild.Inputs.CacheToRegistryArgs
/// Registry = new DockerBuild.Inputs.CacheToRegistryArgs
/// {
/// Mode = Dockerbuild.CacheMode.Max,
/// Mode = DockerBuild.CacheMode.Max,
/// Ref = "docker.io/pulumi/pulumi:cache-amd64",
/// },
/// },
/// },
/// Context = new Dockerbuild.Inputs.BuildContextArgs
/// Context = new DockerBuild.Inputs.BuildContextArgs
/// {
/// Location = "app",
/// },
/// Platforms = new[]
/// {
/// Dockerbuild.Platform.Linux_amd64,
/// DockerBuild.Platform.Linux_amd64,
/// },
/// Tags = new[]
/// {
@@ -65,13 +65,13 @@ namespace Pulumi.Dockerbuild
/// },
/// });
///
/// var arm64 = new Dockerbuild.Image("arm64", new()
/// var arm64 = new DockerBuild.Image("arm64", new()
/// {
/// CacheFrom = new[]
/// {
/// new Dockerbuild.Inputs.CacheFromArgs
/// new DockerBuild.Inputs.CacheFromArgs
/// {
/// Registry = new Dockerbuild.Inputs.CacheFromRegistryArgs
/// Registry = new DockerBuild.Inputs.CacheFromRegistryArgs
/// {
/// Ref = "docker.io/pulumi/pulumi:cache-arm64",
/// },
@@ -79,22 +79,22 @@ namespace Pulumi.Dockerbuild
/// },
/// CacheTo = new[]
/// {
/// new Dockerbuild.Inputs.CacheToArgs
/// new DockerBuild.Inputs.CacheToArgs
/// {
/// Registry = new Dockerbuild.Inputs.CacheToRegistryArgs
/// Registry = new DockerBuild.Inputs.CacheToRegistryArgs
/// {
/// Mode = Dockerbuild.CacheMode.Max,
/// Mode = DockerBuild.CacheMode.Max,
/// Ref = "docker.io/pulumi/pulumi:cache-arm64",
/// },
/// },
/// },
/// Context = new Dockerbuild.Inputs.BuildContextArgs
/// Context = new DockerBuild.Inputs.BuildContextArgs
/// {
/// Location = "app",
/// },
/// Platforms = new[]
/// {
/// Dockerbuild.Platform.Linux_arm64,
/// DockerBuild.Platform.Linux_arm64,
/// },
/// Tags = new[]
/// {
@@ -102,7 +102,7 @@ namespace Pulumi.Dockerbuild
/// },
/// });
///
/// var index = new Dockerbuild.Index("index", new()
/// var index = new DockerBuild.Index("index", new()
/// {
/// Sources = new[]
/// {
@@ -120,7 +120,7 @@ namespace Pulumi.Dockerbuild
///
/// ```
/// </summary>
[DockerbuildResourceType("dockerbuild:index:Index")]
[DockerBuildResourceType("docker-build:index:Index")]
public partial class Index : global::Pulumi.CustomResource
{
/// <summary>
@@ -168,12 +168,12 @@ namespace Pulumi.Dockerbuild
/// <param name="args">The arguments used to populate this resource's properties</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public Index(string name, IndexArgs args, CustomResourceOptions? options = null)
: base("dockerbuild:index:Index", name, args ?? new IndexArgs(), MakeResourceOptions(options, ""))
: base("docker-build:index:Index", name, args ?? new IndexArgs(), MakeResourceOptions(options, ""))
{
}
private Index(string name, Input<string> id, CustomResourceOptions? options = null)
: base("dockerbuild:index:Index", name, null, MakeResourceOptions(options, id))
: base("docker-build:index:Index", name, null, MakeResourceOptions(options, id))
{
}
@@ -182,7 +182,7 @@ namespace Pulumi.Dockerbuild
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github.com/pulumi/pulumi-dockerbuild",
PluginDownloadURL = "github.com/pulumi/pulumi-docker-build",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class BuildContextArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class BuilderConfigArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheFromArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheFromAzureBlobArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheFromGitHubActionsArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheFromLocalArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheFromRegistryArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheFromS3Args : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheToArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheToAzureBlobArgs : global::Pulumi.ResourceArgs
@@ -28,7 +28,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The cache mode to use. Defaults to `min`.
/// </summary>
[Input("mode")]
public Input<Pulumi.Dockerbuild.CacheMode>? Mode { get; set; }
public Input<Pulumi.DockerBuild.CacheMode>? Mode { get; set; }
/// <summary>
/// The name of the cache image.
@@ -55,7 +55,7 @@ namespace Pulumi.Dockerbuild.Inputs
public CacheToAzureBlobArgs()
{
IgnoreError = false;
Mode = Pulumi.Dockerbuild.CacheMode.Min;
Mode = Pulumi.DockerBuild.CacheMode.Min;
}
public static new CacheToAzureBlobArgs Empty => new CacheToAzureBlobArgs();
}

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheToGitHubActionsArgs : global::Pulumi.ResourceArgs
@@ -22,7 +22,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The cache mode to use. Defaults to `min`.
/// </summary>
[Input("mode")]
public Input<Pulumi.Dockerbuild.CacheMode>? Mode { get; set; }
public Input<Pulumi.DockerBuild.CacheMode>? Mode { get; set; }
/// <summary>
/// The scope to use for cache keys. Defaults to `buildkit`.
@@ -67,7 +67,7 @@ namespace Pulumi.Dockerbuild.Inputs
public CacheToGitHubActionsArgs()
{
IgnoreError = false;
Mode = Pulumi.Dockerbuild.CacheMode.Min;
Mode = Pulumi.DockerBuild.CacheMode.Min;
Scope = Utilities.GetEnv("buildkit") ?? "";
Token = Utilities.GetEnv("ACTIONS_RUNTIME_TOKEN") ?? "";
Url = Utilities.GetEnv("ACTIONS_RUNTIME_URL") ?? "";

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
/// <summary>

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheToLocalArgs : global::Pulumi.ResourceArgs
@@ -16,7 +16,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The compression type to use.
/// </summary>
[Input("compression")]
public Input<Pulumi.Dockerbuild.CompressionType>? Compression { get; set; }
public Input<Pulumi.DockerBuild.CompressionType>? Compression { get; set; }
/// <summary>
/// Compression level from 0 to 22.
@@ -46,15 +46,15 @@ namespace Pulumi.Dockerbuild.Inputs
/// The cache mode to use. Defaults to `min`.
/// </summary>
[Input("mode")]
public Input<Pulumi.Dockerbuild.CacheMode>? Mode { get; set; }
public Input<Pulumi.DockerBuild.CacheMode>? Mode { get; set; }
public CacheToLocalArgs()
{
Compression = Pulumi.Dockerbuild.CompressionType.Gzip;
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
IgnoreError = false;
Mode = Pulumi.Dockerbuild.CacheMode.Min;
Mode = Pulumi.DockerBuild.CacheMode.Min;
}
public static new CacheToLocalArgs Empty => new CacheToLocalArgs();
}

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheToRegistryArgs : global::Pulumi.ResourceArgs
@@ -16,7 +16,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The compression type to use.
/// </summary>
[Input("compression")]
public Input<Pulumi.Dockerbuild.CompressionType>? Compression { get; set; }
public Input<Pulumi.DockerBuild.CompressionType>? Compression { get; set; }
/// <summary>
/// Compression level from 0 to 22.
@@ -52,7 +52,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The cache mode to use. Defaults to `min`.
/// </summary>
[Input("mode")]
public Input<Pulumi.Dockerbuild.CacheMode>? Mode { get; set; }
public Input<Pulumi.DockerBuild.CacheMode>? Mode { get; set; }
/// <summary>
/// Whether to use OCI media types in exported manifests. Defaults to
@@ -69,12 +69,12 @@ namespace Pulumi.Dockerbuild.Inputs
public CacheToRegistryArgs()
{
Compression = Pulumi.Dockerbuild.CompressionType.Gzip;
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
IgnoreError = false;
ImageManifest = false;
Mode = Pulumi.Dockerbuild.CacheMode.Min;
Mode = Pulumi.DockerBuild.CacheMode.Min;
OciMediaTypes = true;
}
public static new CacheToRegistryArgs Empty => new CacheToRegistryArgs();

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class CacheToS3Args : global::Pulumi.ResourceArgs
@@ -52,7 +52,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The cache mode to use. Defaults to `min`.
/// </summary>
[Input("mode")]
public Input<Pulumi.Dockerbuild.CacheMode>? Mode { get; set; }
public Input<Pulumi.DockerBuild.CacheMode>? Mode { get; set; }
/// <summary>
/// Name of the cache image.
@@ -108,7 +108,7 @@ namespace Pulumi.Dockerbuild.Inputs
{
AccessKeyId = Utilities.GetEnv("AWS_ACCESS_KEY_ID") ?? "";
IgnoreError = false;
Mode = Pulumi.Dockerbuild.CacheMode.Min;
Mode = Pulumi.DockerBuild.CacheMode.Min;
Region = Utilities.GetEnv("AWS_REGION") ?? "";
SecretAccessKey = Utilities.GetEnv("AWS_SECRET_ACCESS_KEY") ?? "";
SessionToken = Utilities.GetEnv("AWS_SESSION_TOKEN") ?? "";

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ContextArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class DockerfileArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportCacheOnlyArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportDockerArgs : global::Pulumi.ResourceArgs
@@ -28,7 +28,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The compression type to use.
/// </summary>
[Input("compression")]
public Input<Pulumi.Dockerbuild.CompressionType>? Compression { get; set; }
public Input<Pulumi.DockerBuild.CompressionType>? Compression { get; set; }
/// <summary>
/// Compression level from 0 to 22.
@@ -74,7 +74,7 @@ namespace Pulumi.Dockerbuild.Inputs
public ExportDockerArgs()
{
Compression = Pulumi.Dockerbuild.CompressionType.Gzip;
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
OciMediaTypes = false;

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportImageArgs : global::Pulumi.ResourceArgs
@@ -28,7 +28,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The compression type to use.
/// </summary>
[Input("compression")]
public Input<Pulumi.Dockerbuild.CompressionType>? Compression { get; set; }
public Input<Pulumi.DockerBuild.CompressionType>? Compression { get; set; }
/// <summary>
/// Compression level from 0 to 22.
@@ -111,7 +111,7 @@ namespace Pulumi.Dockerbuild.Inputs
public ExportImageArgs()
{
Compression = Pulumi.Dockerbuild.CompressionType.Gzip;
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
OciMediaTypes = false;

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportLocalArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportOCIArgs : global::Pulumi.ResourceArgs
@@ -28,7 +28,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The compression type to use.
/// </summary>
[Input("compression")]
public Input<Pulumi.Dockerbuild.CompressionType>? Compression { get; set; }
public Input<Pulumi.DockerBuild.CompressionType>? Compression { get; set; }
/// <summary>
/// Compression level from 0 to 22.
@@ -74,7 +74,7 @@ namespace Pulumi.Dockerbuild.Inputs
public ExportOCIArgs()
{
Compression = Pulumi.Dockerbuild.CompressionType.Gzip;
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
OciMediaTypes = true;

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportRegistryArgs : global::Pulumi.ResourceArgs
@@ -28,7 +28,7 @@ namespace Pulumi.Dockerbuild.Inputs
/// The compression type to use.
/// </summary>
[Input("compression")]
public Input<Pulumi.Dockerbuild.CompressionType>? Compression { get; set; }
public Input<Pulumi.DockerBuild.CompressionType>? Compression { get; set; }
/// <summary>
/// Compression level from 0 to 22.
@@ -111,7 +111,7 @@ namespace Pulumi.Dockerbuild.Inputs
public ExportRegistryArgs()
{
Compression = Pulumi.Dockerbuild.CompressionType.Gzip;
Compression = Pulumi.DockerBuild.CompressionType.Gzip;
CompressionLevel = 0;
ForceCompression = false;
OciMediaTypes = false;

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class ExportTarArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class RegistryArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Inputs
namespace Pulumi.DockerBuild.Inputs
{
public sealed class SSHArgs : global::Pulumi.ResourceArgs

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -24,7 +24,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The cache mode to use. Defaults to `min`.
/// </summary>
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
public readonly Pulumi.DockerBuild.CacheMode? Mode;
/// <summary>
/// The name of the cache image.
/// </summary>
@@ -40,7 +40,7 @@ namespace Pulumi.Dockerbuild.Outputs
bool? ignoreError,
Pulumi.Dockerbuild.CacheMode? mode,
Pulumi.DockerBuild.CacheMode? mode,
string name,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -20,7 +20,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The cache mode to use. Defaults to `min`.
/// </summary>
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
public readonly Pulumi.DockerBuild.CacheMode? Mode;
/// <summary>
/// The scope to use for cache keys. Defaults to `buildkit`.
///
@@ -50,7 +50,7 @@ namespace Pulumi.Dockerbuild.Outputs
private CacheToGitHubActions(
bool? ignoreError,
Pulumi.Dockerbuild.CacheMode? mode,
Pulumi.DockerBuild.CacheMode? mode,
string? scope,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
/// <summary>

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -16,7 +16,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The compression type to use.
/// </summary>
public readonly Pulumi.Dockerbuild.CompressionType? Compression;
public readonly Pulumi.DockerBuild.CompressionType? Compression;
/// <summary>
/// Compression level from 0 to 22.
/// </summary>
@@ -36,11 +36,11 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The cache mode to use. Defaults to `min`.
/// </summary>
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
public readonly Pulumi.DockerBuild.CacheMode? Mode;
[OutputConstructor]
private CacheToLocal(
Pulumi.Dockerbuild.CompressionType? compression,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,
@@ -50,7 +50,7 @@ namespace Pulumi.Dockerbuild.Outputs
bool? ignoreError,
Pulumi.Dockerbuild.CacheMode? mode)
Pulumi.DockerBuild.CacheMode? mode)
{
Compression = compression;
CompressionLevel = compressionLevel;

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -16,7 +16,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The compression type to use.
/// </summary>
public readonly Pulumi.Dockerbuild.CompressionType? Compression;
public readonly Pulumi.DockerBuild.CompressionType? Compression;
/// <summary>
/// Compression level from 0 to 22.
/// </summary>
@@ -42,7 +42,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The cache mode to use. Defaults to `min`.
/// </summary>
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
public readonly Pulumi.DockerBuild.CacheMode? Mode;
/// <summary>
/// Whether to use OCI media types in exported manifests. Defaults to
/// `true`.
@@ -55,7 +55,7 @@ namespace Pulumi.Dockerbuild.Outputs
[OutputConstructor]
private CacheToRegistry(
Pulumi.Dockerbuild.CompressionType? compression,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,
@@ -65,7 +65,7 @@ namespace Pulumi.Dockerbuild.Outputs
bool? imageManifest,
Pulumi.Dockerbuild.CacheMode? mode,
Pulumi.DockerBuild.CacheMode? mode,
bool? ociMediaTypes,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -40,7 +40,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The cache mode to use. Defaults to `min`.
/// </summary>
public readonly Pulumi.Dockerbuild.CacheMode? Mode;
public readonly Pulumi.DockerBuild.CacheMode? Mode;
/// <summary>
/// Name of the cache image.
/// </summary>
@@ -76,7 +76,7 @@ namespace Pulumi.Dockerbuild.Outputs
string? manifestsPrefix,
Pulumi.Dockerbuild.CacheMode? mode,
Pulumi.DockerBuild.CacheMode? mode,
string? name,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -20,7 +20,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The compression type to use.
/// </summary>
public readonly Pulumi.Dockerbuild.CompressionType? Compression;
public readonly Pulumi.DockerBuild.CompressionType? Compression;
/// <summary>
/// Compression level from 0 to 22.
/// </summary>
@@ -50,7 +50,7 @@ namespace Pulumi.Dockerbuild.Outputs
private ExportDocker(
ImmutableDictionary<string, string>? annotations,
Pulumi.Dockerbuild.CompressionType? compression,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -20,7 +20,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The compression type to use.
/// </summary>
public readonly Pulumi.Dockerbuild.CompressionType? Compression;
public readonly Pulumi.DockerBuild.CompressionType? Compression;
/// <summary>
/// Compression level from 0 to 22.
/// </summary>
@@ -77,7 +77,7 @@ namespace Pulumi.Dockerbuild.Outputs
private ExportImage(
ImmutableDictionary<string, string>? annotations,
Pulumi.Dockerbuild.CompressionType? compression,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -20,7 +20,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The compression type to use.
/// </summary>
public readonly Pulumi.Dockerbuild.CompressionType? Compression;
public readonly Pulumi.DockerBuild.CompressionType? Compression;
/// <summary>
/// Compression level from 0 to 22.
/// </summary>
@@ -50,7 +50,7 @@ namespace Pulumi.Dockerbuild.Outputs
private ExportOCI(
ImmutableDictionary<string, string>? annotations,
Pulumi.Dockerbuild.CompressionType? compression,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]
@@ -20,7 +20,7 @@ namespace Pulumi.Dockerbuild.Outputs
/// <summary>
/// The compression type to use.
/// </summary>
public readonly Pulumi.Dockerbuild.CompressionType? Compression;
public readonly Pulumi.DockerBuild.CompressionType? Compression;
/// <summary>
/// Compression level from 0 to 22.
/// </summary>
@@ -77,7 +77,7 @@ namespace Pulumi.Dockerbuild.Outputs
private ExportRegistry(
ImmutableDictionary<string, string>? annotations,
Pulumi.Dockerbuild.CompressionType? compression,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,7 +7,7 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild.Outputs
namespace Pulumi.DockerBuild.Outputs
{
[OutputType]

View File

@@ -7,9 +7,9 @@ using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Dockerbuild
namespace Pulumi.DockerBuild
{
[DockerbuildResourceType("pulumi:providers:dockerbuild")]
[DockerBuildResourceType("pulumi:providers:docker-build")]
public partial class Provider : global::Pulumi.ProviderResource
{
/// <summary>
@@ -27,7 +27,7 @@ namespace Pulumi.Dockerbuild
/// <param name="args">The arguments used to populate this resource's properties</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? options = null)
: base("dockerbuild", name, args ?? new ProviderArgs(), MakeResourceOptions(options, ""))
: base("docker-build", name, args ?? new ProviderArgs(), MakeResourceOptions(options, ""))
{
}
@@ -36,7 +36,7 @@ namespace Pulumi.Dockerbuild
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github.com/pulumi/pulumi-dockerbuild",
PluginDownloadURL = "github.com/pulumi/pulumi-docker-build",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.

View File

@@ -7,7 +7,7 @@
<Description>A Pulumi provider for Docker buildx</Description>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://pulumi.io</PackageProjectUrl>
<RepositoryUrl>https://github.com/pulumi/pulumi-dockerbuild</RepositoryUrl>
<RepositoryUrl>https://github.com/pulumi/pulumi-docker-build</RepositoryUrl>
<PackageIcon>logo.png</PackageIcon>
<TargetFramework>net6.0</TargetFramework>

View File

@@ -1,7 +1,7 @@
// *** WARNING: this file was generated by pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
namespace Pulumi.Dockerbuild
namespace Pulumi.DockerBuild
{
static class Utilities
{
@@ -53,7 +53,7 @@ namespace Pulumi.Dockerbuild
{
var dst = src ?? new global::Pulumi.InvokeOptions{};
dst.Version = src?.Version ?? Version;
dst.PluginDownloadURL = src?.PluginDownloadURL ?? "github.com/pulumi/pulumi-dockerbuild";
dst.PluginDownloadURL = src?.PluginDownloadURL ?? "github.com/pulumi/pulumi-docker-build";
return dst;
}
@@ -63,7 +63,7 @@ namespace Pulumi.Dockerbuild
static Utilities()
{
var assembly = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Utilities)).Assembly;
using var stream = assembly.GetManifestResourceStream("Pulumi.Dockerbuild.version.txt");
using var stream = assembly.GetManifestResourceStream("Pulumi.DockerBuild.version.txt");
using var reader = new global::System.IO.StreamReader(stream ?? throw new global::System.NotSupportedException("Missing embedded version.txt file"));
version = reader.ReadToEnd().Trim();
var parts = version.Split("\n");
@@ -75,9 +75,9 @@ namespace Pulumi.Dockerbuild
}
}
internal sealed class DockerbuildResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute
internal sealed class DockerBuildResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute
{
public DockerbuildResourceTypeAttribute(string type) : base(type, Utilities.Version)
public DockerBuildResourceTypeAttribute(string type) : base(type, Utilities.Version)
{
}
}

View File

@@ -1,5 +1,5 @@
{
"resource": true,
"name": "dockerbuild",
"server": "github.com/pulumi/pulumi-dockerbuild"
"name": "docker-build",
"server": "github.com/pulumi/pulumi-docker-build"
}