DecodeContainerRmOptLabel decodes bool value for the --rm option from string value for a label.
(rmOptLabel string)
| 643 | |
| 644 | // DecodeContainerRmOptLabel decodes bool value for the --rm option from string value for a label. |
| 645 | func DecodeContainerRmOptLabel(rmOptLabel string) (bool, error) { |
| 646 | return strconv.ParseBool(rmOptLabel) |
| 647 | } |
| 648 | |
| 649 | // ParseExtraHosts takes an array of host-to-IP mapping strings, e.g. "localhost:127.0.0.1", |
| 650 | // and a hostGatewayIP for resolving mappings to "host-gateway". |
no outgoing calls
no test coverage detected
searching dependent graphs…