DockerComposeEnvironmentResource.ConfigureEnvFile
Method
type DockerComposeEnvironmentResource interface { // ... omitted for brevity ConfigureEnvFile(configure func(obj *Dict[string, CapturedEnvironmentVariable])) DockerComposeEnvironmentResource}Signature
method
ConfigureEnvFile builderConfigures the captured environment variables for the Docker Compose environment before they are written to the .env file.
ConfigureEnvFile(configure func(obj *Dict[string, CapturedEnvironmentVariable])) DockerComposeEnvironmentResourceParameters
configurefunc(obj *Dict[string, CapturedEnvironmentVariable]) callbackA method that can be used for customizing the captured environment variables.Returns
DockerComposeEnvironmentResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: