@pulumi/cloud
Advanced tools
Comparing version 0.9.11-9-g823f2ea to 0.9.12-1-g6aa7e22
{ | ||
"name": "@pulumi/cloud", | ||
"version": "v0.9.11-9-g823f2ea", | ||
"version": "v0.9.12-1-g6aa7e22", | ||
"description": "A highly productive, cloud neutral programming model.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -31,7 +31,7 @@ import * as pulumi from "pulumi"; | ||
/** | ||
* A path to a folder within the current program directory where a Docker build should be run to | ||
* construct the image for this Container. If `image` is also specified, the built container will | ||
* be tagged with that name, but otherwise will get an auto-generated image name. | ||
* Either a path to a folder in which a Docker build should be run to construct the image for this | ||
* Container, or a ContainerBuild object with more detailed build instructions. If `image` is also specified, the | ||
* built container will be tagged with that name, but otherwise will get an auto-generated image name. | ||
*/ | ||
build?: string; | ||
build?: string | ContainerBuild; | ||
/** | ||
@@ -89,2 +89,26 @@ * The function code to use as the implementation of the contaner. If `function` is specified, | ||
} | ||
/** | ||
* ContainerBuild may be used to specify detailed instructions about how to build a container. | ||
*/ | ||
export interface ContainerBuild { | ||
/** | ||
* context is a path to a directory to use for the Docker build context, usually the directory in which the | ||
* Dockerfile resides (although dockerfile may be used to choose a custom location independent of this choice). | ||
* If not specified, the context defaults to the current working directory; if a relative path is used, it | ||
* is relative to the current working directory that Pulumi is evaluating. | ||
*/ | ||
context?: string; | ||
/** | ||
* dockerfile may be used to override the default Dockerfile name and/or location. By default, it is assumed | ||
* to be a file named Dockerfile in the root of the build context. | ||
*/ | ||
dockerfile?: string; | ||
/** | ||
* An optional map of named build-time argument variables to set during the Docker build. This flag allows you | ||
* to pass built-time variables that can be accessed like environment variables inside the `RUN` instruction. | ||
*/ | ||
args?: { | ||
[key: string]: string; | ||
}; | ||
} | ||
export interface ContainerPort { | ||
@@ -169,6 +193,17 @@ port: number; | ||
* The exposed hostname and port for connecting to the given containerName | ||
* on the given containerPort. | ||
*/ | ||
endpoints: Promise<{ | ||
[containerName: string]: { | ||
[port: number]: Endpoint; | ||
}; | ||
}>; | ||
/** | ||
* The exposed hostname and port for connecting to the given containerName | ||
* on the given containerPort. If containerName is not provided, the first | ||
* container in the service is used. If containerPort is not provided, the | ||
* first exposed port is used. | ||
*/ | ||
* | ||
* Only usable on the inside. | ||
*/ | ||
getEndpoint(containerName?: string, containerPort?: number): Promise<Endpoint>; | ||
@@ -175,0 +210,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
36712
834