database.go 492 B

123456789101112131415161718192021
  1. package types
  2. type Database struct {
  3. ID uint `json:"id"`
  4. // The project that this integration belongs to
  5. ProjectID uint `json:"project_id"`
  6. // The infra id, if cluster was provisioned with Porter
  7. InfraID uint `json:"infra_id"`
  8. ClusterID uint `json:"cluster_id"`
  9. InstanceID string `json:"instance_id"`
  10. InstanceEndpoint string `json:"instance_endpoint"`
  11. InstanceName string `json:"instance_name"`
  12. Status string `json:"status"`
  13. }
  14. type ListDatabaseResponse []*Database