ConfigureEnvFile
Method
func (DockerComposeEnvironmentResource) ConfigureEnvFile(configure func(obj *Dict[string, CapturedEnvironmentVariable])) DockerComposeEnvironmentResourceSignature
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().
Applies to
This method applies to the following types: