Socket
Socket
Sign inDemoInstall

@pulumi/cloud

Package Overview
Dependencies
Maintainers
12
Versions
332
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulumi/cloud - npm Package Compare versions

Comparing version 0.9.11-9-g823f2ea to 0.9.12-1-ga17edc1

2

package.json
{
"name": "@pulumi/cloud",
"version": "v0.9.11-9-g823f2ea",
"version": "v0.9.12-1-ga17edc1",
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc