MCPcopy Create free account
hub / github.com/deepflowio/deepflow / orgIDs

Function orgIDs

cli/ctl/ingester_check.go:389–403  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

387}
388
389func orgIDs(cmd *cobra.Command) {
390 conn := getConn(cmd)
391 if conn == nil {
392 return
393 }
394 defer conn.Close()
395 fmt.Printf("request trisolaris(%s), params(%+v)\n", conn.Target(), paramData)
396 client := trident.NewSynchronizerClient(conn)
397 resp, err := client.GetOrgIDs(context.Background(), &trident.OrgIDsRequest{})
398 if err != nil {
399 fmt.Println(err)
400 return
401 }
402 fmt.Println(resp)
403}

Callers 1

regiterCommandFunction · 0.85

Calls 3

getConnFunction · 0.85
CloseMethod · 0.65
GetOrgIDsMethod · 0.45

Tested by

no test coverage detected