Fixes https://github.com/pulumi/pulumi-docker-build/issues/551 (sort of - the underlying problem that this repo pins SDK dependencies that don't get automatically update by the workflow still exists, but it should at least work until the codegen APIs change again.)
35 lines
967 B
Python
Generated
35 lines
967 B
Python
Generated
# coding=utf-8
|
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
|
|
import builtins as _builtins
|
|
import warnings
|
|
import sys
|
|
import pulumi
|
|
import pulumi.runtime
|
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
if sys.version_info >= (3, 11):
|
|
from typing import NotRequired, TypedDict, TypeAlias
|
|
else:
|
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
from .. import _utilities
|
|
from .. import outputs as _root_outputs
|
|
|
|
import types
|
|
|
|
__config__ = pulumi.Config('docker-build')
|
|
|
|
|
|
class _ExportableConfig(types.ModuleType):
|
|
@_builtins.property
|
|
def host(self) -> str:
|
|
"""
|
|
The build daemon's address.
|
|
"""
|
|
return __config__.get('host') or (_utilities.get_env('DOCKER_HOST') or '')
|
|
|
|
@_builtins.property
|
|
def registries(self) -> Optional[str]:
|
|
return __config__.get('registries')
|
|
|