neon.go 666 B

12345678910111213141516171819202122
  1. package test
  2. import (
  3. "context"
  4. ints "github.com/porter-dev/porter/internal/models/integrations"
  5. "github.com/porter-dev/porter/internal/repository"
  6. )
  7. type NeonIntegrationRepository struct{}
  8. func NewNeonIntegrationRepository(canQuery bool) repository.NeonIntegrationRepository {
  9. return &NeonIntegrationRepository{}
  10. }
  11. func (s *NeonIntegrationRepository) Insert(ctx context.Context, neonInt ints.NeonIntegration) (ints.NeonIntegration, error) {
  12. panic("not implemented") // TODO: Implement
  13. }
  14. func (s *NeonIntegrationRepository) Integrations(ctx context.Context, projectID uint) ([]ints.NeonIntegration, error) {
  15. panic("not implemented") // TODO: Implement
  16. }