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:
9
sdk/dotnet/Utilities.cs
generated
9
sdk/dotnet/Utilities.cs
generated
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user