Initial provider implementation (#18)

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

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,6 @@ namespace Pulumi.Dockerbuild
{
var dst = src ?? new global::Pulumi.InvokeOptions{};
dst.Version = src?.Version ?? Version;
dst.PluginDownloadURL = src?.PluginDownloadURL ?? "github.com/pulumi/pulumi-dockerbuild";
return dst;
}
@@ -63,7 +62,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 +74,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)
{
}
}