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.
14 lines
531 B
Go
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
|
|
}
|