edge/pkg/module/app/repository.go

14 lines
277 B
Go

package app
import (
"context"
"forge.cadoles.com/arcad/edge/pkg/app"
)
type Repository interface {
List(context.Context) ([]*app.Manifest, error)
Get(context.Context, app.ID) (*app.Manifest, error)
GetURL(ctx context.Context, id app.ID, from string) (string, error)
}