upstash.go 389 B

12345678910111213
  1. package repository
  2. import (
  3. "context"
  4. ints "github.com/porter-dev/porter/internal/models/integrations"
  5. )
  6. // UpstashIntegrationRepository represents the set of queries on an Upstash integration
  7. type UpstashIntegrationRepository interface {
  8. // Insert creates a new upstash integration
  9. Insert(ctx context.Context, upstashInt ints.UpstashIntegration) (ints.UpstashIntegration, error)
  10. }