All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
ListTabletServers | Get /api/v1/customers/{cUUID}/universes/{uniUUID}/tablet-servers | List all tablet servers information |
map[string]map[string]interface{} ListTabletServers(ctx, cUUID, uniUUID).Execute()
List all tablet servers information
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.TabletServerManagementApi.ListTabletServers(context.Background(), cUUID, uniUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TabletServerManagementApi.ListTabletServers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListTabletServers`: map[string]map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `TabletServerManagementApi.ListTabletServers`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uniUUID | string |
Other parameters are passed through a pointer to a apiListTabletServersRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
map[string]map[string]interface{}
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]