infos.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package client
  2. type TokenInfo struct {
  3. Name string `json:"name"`
  4. }
  5. type NamespaceInfo struct {
  6. ID string `json:"id"`
  7. Name string `json:"name"`
  8. Creator string `json:"creator"`
  9. CreatedTime string `json:"createdTime"`
  10. }
  11. type DataSourceInfo struct {
  12. Namespace string `json:"namespace"`
  13. Name string `json:"name"`
  14. Type string `json:"type"`
  15. Spec string `json:"spec"`
  16. Creator string `json:"creator"`
  17. CreatedTime string `json:"createdTime"`
  18. }
  19. type DataContainerInfo struct {
  20. Namespace string `json:"namespace"`
  21. DataSource string `json:"dataSource"`
  22. Name string `json:"name"`
  23. Spec string `json:"spec"`
  24. Creator string `json:"creator"`
  25. CreatedTime string `json:"createdTime"`
  26. }
  27. type SqlInfo struct {
  28. Namespace string `json:"namespace"`
  29. DataSource string `json:"dataSource"`
  30. Name string `json:"name"`
  31. Spec string `json:"spec"`
  32. Creator string `json:"creator"`
  33. CreatedTime string `json:"createdTime"`
  34. }
  35. type ExecuteSqlLogInfo struct {
  36. Namespace string `json:"namespace"`
  37. DataSource string `json:"dataSource"`
  38. SQL string `json:"sql"`
  39. Executor string `json:"executor"`
  40. ExecuteTime string `json:"executeTime"`
  41. }