infos.go 1005 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. }