RetrieveObjects retrieves objects from the specified endpoint. The endpoint must contain a %s placeholder that will be replaced with items from the args slice. The objects are put into the outCh as they are retrieved.
(endpoint string, args []string, outCh chan *vt.Object, errCh chan error)
| 46 | // must contain a %s placeholder that will be replaced with items from the args |
| 47 | // slice. The objects are put into the outCh as they are retrieved. |
| 48 | func (c *APIClient) RetrieveObjects(endpoint string, args []string, outCh chan *vt.Object, errCh chan error) error { |
| 49 | return c.RetrieveObjectsWithFallback([]string{endpoint}, args, outCh, errCh) |
| 50 | } |
| 51 | |
| 52 | // RetrieveObjectsWithFallback retrieves objects from the specified endpoints. It |
| 53 | // tries the endpoints in the order they are provided until one of them returns |
nothing calls this directly
no test coverage detected