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.
15 lines
749 B
Go
15 lines
749 B
Go
package driving
|
|
|
|
import (
|
|
"context"
|
|
"edp.buildth.ing/DevFW-CICD/edge-connect-client/internal/domain"
|
|
)
|
|
|
|
type AppInstanceService interface {
|
|
CreateAppInstance(ctx context.Context, region string, appInst *domain.AppInstance) error
|
|
ShowAppInstance(ctx context.Context, region string, appInstKey domain.AppInstanceKey) (*domain.AppInstance, error)
|
|
ShowAppInstances(ctx context.Context, region string, appInstKey domain.AppInstanceKey) ([]domain.AppInstance, error)
|
|
DeleteAppInstance(ctx context.Context, region string, appInstKey domain.AppInstanceKey) error
|
|
UpdateAppInstance(ctx context.Context, region string, appInst *domain.AppInstance) error
|
|
RefreshAppInstance(ctx context.Context, region string, appInstKey domain.AppInstanceKey) error
|
|
}
|