Parameters
Parameter | Type | Description |
---|---|---|
ctx | context.Context | Context for cancellation/timeouts |
Returns
Type | Description |
---|---|
[]string | List of index names (empty slice if no indexes exist) |
error | Any error encountered during the operation |
Exceptions
Error
Error
- Throws if the API request fails due to network connectivity issues.
- Throws if the server returns an HTTP error status.
- Throws if authentication fails (invalid API key).
Service Errors
Service Errors
- Throws if the CyborgDB service is unavailable or unreachable.
- Throws if there are internal server errors on the CyborgDB service.