Skip to content

Latest commit

 

History

History
82 lines (51 loc) · 2.17 KB

TabletServerManagementApi.md

File metadata and controls

82 lines (51 loc) · 2.17 KB

\TabletServerManagementApi

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

ListTabletServers

map[string]map[string]interface{} ListTabletServers(ctx, cUUID, uniUUID).Execute()

List all tablet servers information

Example

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)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
cUUID string
uniUUID string

Other Parameters

Other parameters are passed through a pointer to a apiListTabletServersRequest struct via the builder pattern

Name Type Description Notes

Return type

map[string]map[string]interface{}

Authorization

apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]