// *** WARNING: this file was generated by pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.DockerBuild.Outputs { [OutputType] public sealed class BuildContext { /// /// Resources to use for build context. /// /// The location can be: /// * A relative or absolute path to a local directory (`.`, `./app`, /// `/app`, etc.). /// * A remote URL of a Git repository, tarball, or plain text file /// (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`, /// etc.). /// public readonly string Location; /// /// Additional build contexts to use. /// /// These contexts are accessed with `FROM name` or `--from=name` /// statements when using Dockerfile 1.4+ syntax. /// /// Values can be local paths, HTTP URLs, or `docker-image://` images. /// public readonly ImmutableDictionary? Named; [OutputConstructor] private BuildContext( string location, ImmutableDictionary? named) { Location = location; Named = named; } } }