WithName injects custom name of environment which will be used as a network name. If the name is not unique across different e2e environments ran at the same moment this will race them. In the same time if name is unique across every environment run for the same test it won't be able to easily clean
(name string)
| 53 | // |
| 54 | // NOTE: Some restrictions apply. See https://stackoverflow.com/a/53478768. |
| 55 | func WithName(name string) EnvironmentOption { |
| 56 | return func(o *environmentOptions) { |
| 57 | o.name = name |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | func WithVolumes(volumes ...string) EnvironmentOption { |
| 62 | return func(o *environmentOptions) { |
no outgoing calls
no test coverage detected
searching dependent graphs…