2
0

app_instance.go 321 B

12345678910111213
  1. package repository
  2. import (
  3. "context"
  4. "github.com/porter-dev/porter/internal/models"
  5. )
  6. // AppInstanceRepository represents the set of queries on the AppInstance model
  7. type AppInstanceRepository interface {
  8. // Get returns an app instance by its id
  9. Get(ctx context.Context, id string) (*models.AppInstance, error)
  10. }