edge-connect-client/internal/ports/driving/instance_service.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

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
}