edge-connect-client/internal/ports/driven/app_repository.go
Stephan Lo 1c13c93512 refactor(arch): Relocate domain and ports packages
Moves the `domain` and `ports` packages from `internal/core` to `internal`.

This refactoring simplifies the directory structure by elevating the core architectural concepts of domain and ports to the top level of the `internal` directory. The `core` directory is now removed as its only purpose was to house these two packages.

All import paths across the project have been updated to reflect this change.
2025-10-09 01:16:31 +02:00

14 lines
531 B
Go

package driven
import (
"context"
"edp.buildth.ing/DevFW-CICD/edge-connect-client/internal/domain"
)
type AppRepository interface {
CreateApp(ctx context.Context, region string, app *domain.App) error
ShowApp(ctx context.Context, region string, appKey domain.AppKey) (*domain.App, error)
ShowApps(ctx context.Context, region string, appKey domain.AppKey) ([]domain.App, error)
DeleteApp(ctx context.Context, region string, appKey domain.AppKey) error
UpdateApp(ctx context.Context, region string, app *domain.App) error
}