(endpoint string, namespace uint64)
| 569 | } |
| 570 | |
| 571 | func GrootHttpLoginNamespace(endpoint string, namespace uint64) *HttpToken { |
| 572 | token, err := HttpLogin(&LoginParams{ |
| 573 | Endpoint: endpoint, |
| 574 | UserID: x.GrootId, |
| 575 | Passwd: "password", |
| 576 | Namespace: namespace, |
| 577 | }) |
| 578 | x.Check(err) |
| 579 | return token |
| 580 | } |
| 581 | |
| 582 | // CurlFailureConfig stores information about the expected failure of a curl test. |
| 583 | type CurlFailureConfig struct { |
searching dependent graphs…