registry.go 514 B

12345678910111213141516171819202122
  1. package types
  2. import "github.com/porter-dev/porter/internal/models/integrations"
  3. type Registry struct {
  4. ID uint `json:"id"`
  5. // The project that this integration belongs to
  6. ProjectID uint `json:"project_id"`
  7. // Name of the registry
  8. Name string `json:"name"`
  9. // URL of the registry
  10. URL string `json:"url"`
  11. // The integration service for this registry
  12. Service integrations.IntegrationService `json:"service"`
  13. // The infra id, if registry was provisioned with Porter
  14. InfraID uint `json:"infra_id"`
  15. }