upstash.go 522 B

123456789101112131415161718
  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 UpstashIntegrationRepository struct{}
  8. func NewUpstashIntegrationRepository(canQuery bool) repository.UpstashIntegrationRepository {
  9. return &UpstashIntegrationRepository{}
  10. }
  11. func (s *UpstashIntegrationRepository) Insert(ctx context.Context, upstashInt ints.UpstashIntegration) (ints.UpstashIntegration, error) {
  12. panic("not implemented") // TODO: Implement
  13. }