ConfigParser parses load balancer configs.
| 229 | |
| 230 | // ConfigParser parses load balancer configs. |
| 231 | type ConfigParser interface { |
| 232 | // ParseConfig parses the JSON load balancer config provided into an |
| 233 | // internal form or returns an error if the config is invalid. For future |
| 234 | // compatibility reasons, unknown fields in the config should be ignored. |
| 235 | ParseConfig(LoadBalancingConfigJSON json.RawMessage) (serviceconfig.LoadBalancingConfig, error) |
| 236 | } |
| 237 | |
| 238 | // PickInfo contains additional information for the Pick operation. |
| 239 | type PickInfo struct { |
no outgoing calls
no test coverage detected