Regenerate SDKs
This commit is contained in:
File diff suppressed because one or more lines are too long
10
sdk/dotnet/Image.cs
generated
10
sdk/dotnet/Image.cs
generated
@@ -201,6 +201,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// DockerBuild.Platform.Plan9_amd64,
|
/// DockerBuild.Platform.Plan9_amd64,
|
||||||
/// DockerBuild.Platform.Plan9_386,
|
/// DockerBuild.Platform.Plan9_386,
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -280,6 +281,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// {
|
/// {
|
||||||
/// Location = "app",
|
/// Location = "app",
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -305,6 +307,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// Location = "app",
|
/// Location = "app",
|
||||||
/// },
|
/// },
|
||||||
/// Exec = true,
|
/// Exec = true,
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -329,6 +332,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// {
|
/// {
|
||||||
/// Location = "app",
|
/// Location = "app",
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -349,6 +353,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// {
|
/// {
|
||||||
/// Location = "app",
|
/// Location = "app",
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// Target = "build-me",
|
/// Target = "build-me",
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
@@ -377,6 +382,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// } },
|
/// } },
|
||||||
/// },
|
/// },
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -397,6 +403,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// {
|
/// {
|
||||||
/// Location = "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
/// Location = "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -423,6 +430,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// COPY hello.c ./
|
/// COPY hello.c ./
|
||||||
/// ",
|
/// ",
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -447,6 +455,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// {
|
/// {
|
||||||
/// Location = "app/Dockerfile",
|
/// Location = "app/Dockerfile",
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
@@ -477,6 +486,7 @@ namespace Pulumi.DockerBuild
|
|||||||
/// },
|
/// },
|
||||||
/// },
|
/// },
|
||||||
/// },
|
/// },
|
||||||
|
/// Push = false,
|
||||||
/// });
|
/// });
|
||||||
///
|
///
|
||||||
/// });
|
/// });
|
||||||
|
|||||||
10
sdk/go/dockerbuild/image.go
generated
10
sdk/go/dockerbuild/image.go
generated
@@ -211,6 +211,7 @@ import (
|
|||||||
// dockerbuild.Platform_Plan9_amd64,
|
// dockerbuild.Platform_Plan9_amd64,
|
||||||
// dockerbuild.Platform_Plan9_386,
|
// dockerbuild.Platform_Plan9_386,
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -290,6 +291,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -320,6 +322,7 @@ import (
|
|||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
// Exec: pulumi.Bool(true),
|
// Exec: pulumi.Bool(true),
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -349,6 +352,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -375,6 +379,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// Target: pulumi.String("build-me"),
|
// Target: pulumi.String("build-me"),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
@@ -407,6 +412,7 @@ import (
|
|||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -433,6 +439,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile"),
|
// Location: pulumi.String("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -462,6 +469,7 @@ import (
|
|||||||
// Dockerfile: &dockerbuild.DockerfileArgs{
|
// Dockerfile: &dockerbuild.DockerfileArgs{
|
||||||
// Inline: pulumi.String("FROM busybox\nCOPY hello.c ./\n"),
|
// Inline: pulumi.String("FROM busybox\nCOPY hello.c ./\n"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -491,6 +499,7 @@ import (
|
|||||||
// Dockerfile: &dockerbuild.DockerfileArgs{
|
// Dockerfile: &dockerbuild.DockerfileArgs{
|
||||||
// Location: pulumi.String("app/Dockerfile"),
|
// Location: pulumi.String("app/Dockerfile"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -524,6 +533,7 @@ import (
|
|||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
|
|||||||
10
sdk/go/dockerbuild/x/image.go
generated
10
sdk/go/dockerbuild/x/image.go
generated
@@ -211,6 +211,7 @@ import (
|
|||||||
// dockerbuild.Platform_Plan9_amd64,
|
// dockerbuild.Platform_Plan9_amd64,
|
||||||
// dockerbuild.Platform_Plan9_386,
|
// dockerbuild.Platform_Plan9_386,
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -290,6 +291,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -320,6 +322,7 @@ import (
|
|||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
// Exec: pulumi.Bool(true),
|
// Exec: pulumi.Bool(true),
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -349,6 +352,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -375,6 +379,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("app"),
|
// Location: pulumi.String("app"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// Target: pulumi.String("build-me"),
|
// Target: pulumi.String("build-me"),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
@@ -407,6 +412,7 @@ import (
|
|||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -433,6 +439,7 @@ import (
|
|||||||
// Context: &dockerbuild.BuildContextArgs{
|
// Context: &dockerbuild.BuildContextArgs{
|
||||||
// Location: pulumi.String("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile"),
|
// Location: pulumi.String("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -462,6 +469,7 @@ import (
|
|||||||
// Dockerfile: &dockerbuild.DockerfileArgs{
|
// Dockerfile: &dockerbuild.DockerfileArgs{
|
||||||
// Inline: pulumi.String("FROM busybox\nCOPY hello.c ./\n"),
|
// Inline: pulumi.String("FROM busybox\nCOPY hello.c ./\n"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -491,6 +499,7 @@ import (
|
|||||||
// Dockerfile: &dockerbuild.DockerfileArgs{
|
// Dockerfile: &dockerbuild.DockerfileArgs{
|
||||||
// Location: pulumi.String("app/Dockerfile"),
|
// Location: pulumi.String("app/Dockerfile"),
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -524,6 +533,7 @@ import (
|
|||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
|
// Push: pulumi.Bool(false),
|
||||||
// })
|
// })
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
// return err
|
// return err
|
||||||
|
|||||||
@@ -225,6 +225,7 @@ import javax.annotation.Nullable;
|
|||||||
* .platforms(
|
* .platforms(
|
||||||
* "plan9/amd64",
|
* "plan9/amd64",
|
||||||
* "plan9/386")
|
* "plan9/386")
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -313,6 +314,7 @@ import javax.annotation.Nullable;
|
|||||||
* .context(BuildContextArgs.builder()
|
* .context(BuildContextArgs.builder()
|
||||||
* .location("app")
|
* .location("app")
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -350,6 +352,7 @@ import javax.annotation.Nullable;
|
|||||||
* .location("app")
|
* .location("app")
|
||||||
* .build())
|
* .build())
|
||||||
* .exec(true)
|
* .exec(true)
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -383,6 +386,7 @@ import javax.annotation.Nullable;
|
|||||||
* .context(BuildContextArgs.builder()
|
* .context(BuildContextArgs.builder()
|
||||||
* .location("app")
|
* .location("app")
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -415,6 +419,7 @@ import javax.annotation.Nullable;
|
|||||||
* .context(BuildContextArgs.builder()
|
* .context(BuildContextArgs.builder()
|
||||||
* .location("app")
|
* .location("app")
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .target("build-me")
|
* .target("build-me")
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
@@ -449,6 +454,7 @@ import javax.annotation.Nullable;
|
|||||||
* .location("app")
|
* .location("app")
|
||||||
* .named(Map.of("golang:latest", Map.of("location", "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984")))
|
* .named(Map.of("golang:latest", Map.of("location", "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984")))
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -481,6 +487,7 @@ import javax.annotation.Nullable;
|
|||||||
* .context(BuildContextArgs.builder()
|
* .context(BuildContextArgs.builder()
|
||||||
* .location("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile")
|
* .location("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile")
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -520,6 +527,7 @@ import javax.annotation.Nullable;
|
|||||||
* COPY hello.c ./
|
* COPY hello.c ./
|
||||||
* """)
|
* """)
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -556,6 +564,7 @@ import javax.annotation.Nullable;
|
|||||||
* .dockerfile(DockerfileArgs.builder()
|
* .dockerfile(DockerfileArgs.builder()
|
||||||
* .location("app/Dockerfile")
|
* .location("app/Dockerfile")
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
@@ -595,6 +604,7 @@ import javax.annotation.Nullable;
|
|||||||
* .tar(true)
|
* .tar(true)
|
||||||
* .build())
|
* .build())
|
||||||
* .build())
|
* .build())
|
||||||
|
* .push(false)
|
||||||
* .build());
|
* .build());
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
|
|||||||
32
sdk/nodejs/image.ts
generated
32
sdk/nodejs/image.ts
generated
@@ -291,6 +291,7 @@ import * as utilities from "./utilities";
|
|||||||
* docker_build.Platform.Plan9_amd64,
|
* docker_build.Platform.Plan9_amd64,
|
||||||
* docker_build.Platform.Plan9_386,
|
* docker_build.Platform.Plan9_386,
|
||||||
* ],
|
* ],
|
||||||
|
* push: false,
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Registry export
|
* ### Registry export
|
||||||
@@ -334,6 +335,7 @@ import * as utilities from "./utilities";
|
|||||||
* context: {
|
* context: {
|
||||||
* location: "app",
|
* location: "app",
|
||||||
* },
|
* },
|
||||||
|
* push: false,
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Docker Build Cloud
|
* ### Docker Build Cloud
|
||||||
@@ -350,6 +352,7 @@ import * as utilities from "./utilities";
|
|||||||
* location: "app",
|
* location: "app",
|
||||||
* },
|
* },
|
||||||
* exec: true,
|
* exec: true,
|
||||||
|
* push: false,
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Build arguments
|
* ### Build arguments
|
||||||
@@ -365,6 +368,7 @@ import * as utilities from "./utilities";
|
|||||||
* context: {
|
* context: {
|
||||||
* location: "app",
|
* location: "app",
|
||||||
* },
|
* },
|
||||||
|
* push: false,
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Build target
|
* ### Build target
|
||||||
@@ -377,6 +381,7 @@ import * as utilities from "./utilities";
|
|||||||
* context: {
|
* context: {
|
||||||
* location: "app",
|
* location: "app",
|
||||||
* },
|
* },
|
||||||
|
* push: false,
|
||||||
* target: "build-me",
|
* target: "build-me",
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
@@ -386,14 +391,17 @@ import * as utilities from "./utilities";
|
|||||||
* import * as pulumi from "@pulumi/pulumi";
|
* import * as pulumi from "@pulumi/pulumi";
|
||||||
* import * as docker_build from "@pulumi/docker-build";
|
* import * as docker_build from "@pulumi/docker-build";
|
||||||
*
|
*
|
||||||
* const image = new docker_build.Image("image", {context: {
|
* const image = new docker_build.Image("image", {
|
||||||
* location: "app",
|
* context: {
|
||||||
* named: {
|
* location: "app",
|
||||||
* "golang:latest": {
|
* named: {
|
||||||
* location: "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
* "golang:latest": {
|
||||||
|
* location: "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
||||||
|
* },
|
||||||
* },
|
* },
|
||||||
* },
|
* },
|
||||||
* }});
|
* push: false,
|
||||||
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Remote context
|
* ### Remote context
|
||||||
*
|
*
|
||||||
@@ -401,9 +409,12 @@ import * as utilities from "./utilities";
|
|||||||
* import * as pulumi from "@pulumi/pulumi";
|
* import * as pulumi from "@pulumi/pulumi";
|
||||||
* import * as docker_build from "@pulumi/docker-build";
|
* import * as docker_build from "@pulumi/docker-build";
|
||||||
*
|
*
|
||||||
* const image = new docker_build.Image("image", {context: {
|
* const image = new docker_build.Image("image", {
|
||||||
* location: "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
* context: {
|
||||||
* }});
|
* location: "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
||||||
|
* },
|
||||||
|
* push: false,
|
||||||
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Inline Dockerfile
|
* ### Inline Dockerfile
|
||||||
*
|
*
|
||||||
@@ -420,6 +431,7 @@ import * as utilities from "./utilities";
|
|||||||
* COPY hello.c ./
|
* COPY hello.c ./
|
||||||
* `,
|
* `,
|
||||||
* },
|
* },
|
||||||
|
* push: false,
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Remote context
|
* ### Remote context
|
||||||
@@ -435,6 +447,7 @@ import * as utilities from "./utilities";
|
|||||||
* dockerfile: {
|
* dockerfile: {
|
||||||
* location: "app/Dockerfile",
|
* location: "app/Dockerfile",
|
||||||
* },
|
* },
|
||||||
|
* push: false,
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
* ### Local export
|
* ### Local export
|
||||||
@@ -452,6 +465,7 @@ import * as utilities from "./utilities";
|
|||||||
* tar: true,
|
* tar: true,
|
||||||
* },
|
* },
|
||||||
* }],
|
* }],
|
||||||
|
* push: false,
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
|
|||||||
96
sdk/python/pulumi_docker_build/image.py
generated
96
sdk/python/pulumi_docker_build/image.py
generated
@@ -754,7 +754,8 @@ class Image(pulumi.CustomResource):
|
|||||||
platforms=[
|
platforms=[
|
||||||
docker_build.Platform.PLAN9_AMD64,
|
docker_build.Platform.PLAN9_AMD64,
|
||||||
docker_build.Platform.PLAN9_386,
|
docker_build.Platform.PLAN9_386,
|
||||||
])
|
],
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Registry export
|
### Registry export
|
||||||
```python
|
```python
|
||||||
@@ -793,7 +794,8 @@ class Image(pulumi.CustomResource):
|
|||||||
)],
|
)],
|
||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Docker Build Cloud
|
### Docker Build Cloud
|
||||||
```python
|
```python
|
||||||
@@ -807,7 +809,8 @@ class Image(pulumi.CustomResource):
|
|||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
),
|
),
|
||||||
exec_=True)
|
exec_=True,
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Build arguments
|
### Build arguments
|
||||||
```python
|
```python
|
||||||
@@ -820,7 +823,8 @@ class Image(pulumi.CustomResource):
|
|||||||
},
|
},
|
||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Build target
|
### Build target
|
||||||
```python
|
```python
|
||||||
@@ -831,6 +835,7 @@ class Image(pulumi.CustomResource):
|
|||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
),
|
),
|
||||||
|
push=False,
|
||||||
target="build-me")
|
target="build-me")
|
||||||
```
|
```
|
||||||
### Named contexts
|
### Named contexts
|
||||||
@@ -838,23 +843,27 @@ class Image(pulumi.CustomResource):
|
|||||||
import pulumi
|
import pulumi
|
||||||
import pulumi_docker_build as docker_build
|
import pulumi_docker_build as docker_build
|
||||||
|
|
||||||
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
|
image = docker_build.Image("image",
|
||||||
location="app",
|
context=docker_build.BuildContextArgs(
|
||||||
named={
|
location="app",
|
||||||
"golang:latest": docker_build.ContextArgs(
|
named={
|
||||||
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
"golang:latest": docker_build.ContextArgs(
|
||||||
),
|
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
||||||
},
|
),
|
||||||
))
|
},
|
||||||
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Remote context
|
### Remote context
|
||||||
```python
|
```python
|
||||||
import pulumi
|
import pulumi
|
||||||
import pulumi_docker_build as docker_build
|
import pulumi_docker_build as docker_build
|
||||||
|
|
||||||
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
|
image = docker_build.Image("image",
|
||||||
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
context=docker_build.BuildContextArgs(
|
||||||
))
|
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
||||||
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Inline Dockerfile
|
### Inline Dockerfile
|
||||||
```python
|
```python
|
||||||
@@ -869,7 +878,8 @@ class Image(pulumi.CustomResource):
|
|||||||
inline=\"\"\"FROM busybox
|
inline=\"\"\"FROM busybox
|
||||||
COPY hello.c ./
|
COPY hello.c ./
|
||||||
\"\"\",
|
\"\"\",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Remote context
|
### Remote context
|
||||||
```python
|
```python
|
||||||
@@ -882,7 +892,8 @@ class Image(pulumi.CustomResource):
|
|||||||
),
|
),
|
||||||
dockerfile=docker_build.DockerfileArgs(
|
dockerfile=docker_build.DockerfileArgs(
|
||||||
location="app/Dockerfile",
|
location="app/Dockerfile",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Local export
|
### Local export
|
||||||
```python
|
```python
|
||||||
@@ -897,7 +908,8 @@ class Image(pulumi.CustomResource):
|
|||||||
docker=docker_build.ExportDockerArgs(
|
docker=docker_build.ExportDockerArgs(
|
||||||
tar=True,
|
tar=True,
|
||||||
),
|
),
|
||||||
)])
|
)],
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
@@ -1180,7 +1192,8 @@ class Image(pulumi.CustomResource):
|
|||||||
platforms=[
|
platforms=[
|
||||||
docker_build.Platform.PLAN9_AMD64,
|
docker_build.Platform.PLAN9_AMD64,
|
||||||
docker_build.Platform.PLAN9_386,
|
docker_build.Platform.PLAN9_386,
|
||||||
])
|
],
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Registry export
|
### Registry export
|
||||||
```python
|
```python
|
||||||
@@ -1219,7 +1232,8 @@ class Image(pulumi.CustomResource):
|
|||||||
)],
|
)],
|
||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Docker Build Cloud
|
### Docker Build Cloud
|
||||||
```python
|
```python
|
||||||
@@ -1233,7 +1247,8 @@ class Image(pulumi.CustomResource):
|
|||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
),
|
),
|
||||||
exec_=True)
|
exec_=True,
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Build arguments
|
### Build arguments
|
||||||
```python
|
```python
|
||||||
@@ -1246,7 +1261,8 @@ class Image(pulumi.CustomResource):
|
|||||||
},
|
},
|
||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Build target
|
### Build target
|
||||||
```python
|
```python
|
||||||
@@ -1257,6 +1273,7 @@ class Image(pulumi.CustomResource):
|
|||||||
context=docker_build.BuildContextArgs(
|
context=docker_build.BuildContextArgs(
|
||||||
location="app",
|
location="app",
|
||||||
),
|
),
|
||||||
|
push=False,
|
||||||
target="build-me")
|
target="build-me")
|
||||||
```
|
```
|
||||||
### Named contexts
|
### Named contexts
|
||||||
@@ -1264,23 +1281,27 @@ class Image(pulumi.CustomResource):
|
|||||||
import pulumi
|
import pulumi
|
||||||
import pulumi_docker_build as docker_build
|
import pulumi_docker_build as docker_build
|
||||||
|
|
||||||
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
|
image = docker_build.Image("image",
|
||||||
location="app",
|
context=docker_build.BuildContextArgs(
|
||||||
named={
|
location="app",
|
||||||
"golang:latest": docker_build.ContextArgs(
|
named={
|
||||||
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
"golang:latest": docker_build.ContextArgs(
|
||||||
),
|
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
||||||
},
|
),
|
||||||
))
|
},
|
||||||
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Remote context
|
### Remote context
|
||||||
```python
|
```python
|
||||||
import pulumi
|
import pulumi
|
||||||
import pulumi_docker_build as docker_build
|
import pulumi_docker_build as docker_build
|
||||||
|
|
||||||
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
|
image = docker_build.Image("image",
|
||||||
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
context=docker_build.BuildContextArgs(
|
||||||
))
|
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
||||||
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Inline Dockerfile
|
### Inline Dockerfile
|
||||||
```python
|
```python
|
||||||
@@ -1295,7 +1316,8 @@ class Image(pulumi.CustomResource):
|
|||||||
inline=\"\"\"FROM busybox
|
inline=\"\"\"FROM busybox
|
||||||
COPY hello.c ./
|
COPY hello.c ./
|
||||||
\"\"\",
|
\"\"\",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Remote context
|
### Remote context
|
||||||
```python
|
```python
|
||||||
@@ -1308,7 +1330,8 @@ class Image(pulumi.CustomResource):
|
|||||||
),
|
),
|
||||||
dockerfile=docker_build.DockerfileArgs(
|
dockerfile=docker_build.DockerfileArgs(
|
||||||
location="app/Dockerfile",
|
location="app/Dockerfile",
|
||||||
))
|
),
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
### Local export
|
### Local export
|
||||||
```python
|
```python
|
||||||
@@ -1323,7 +1346,8 @@ class Image(pulumi.CustomResource):
|
|||||||
docker=docker_build.ExportDockerArgs(
|
docker=docker_build.ExportDockerArgs(
|
||||||
tar=True,
|
tar=True,
|
||||||
),
|
),
|
||||||
)])
|
)],
|
||||||
|
push=False)
|
||||||
```
|
```
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
|
|||||||
Reference in New Issue
Block a user