AsEnvironmentPlaceholder
Method
func (ParameterResource) AsEnvironmentPlaceholder(dockerComposeService DockerComposeServiceResource) (string, error)Signature
method
AsEnvironmentPlaceholder Creates a Docker Compose environment variable placeholder from a parameter builder
AsEnvironmentPlaceholder(dockerComposeService DockerComposeServiceResource) (string, error)Parameters
dockerComposeService DockerComposeServiceResource The Docker Compose service resource to associate the environment variable with.Returns
(string, error) A string representing the environment variable placeholder in Docker Compose syntax (e.g., ${ENV_).
Returns (string, error).
Applies to
This method applies to the following types:
type
ParameterResource