Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commands ¶
type Commands struct { PatchDataModel PatchDataModelHandler DeleteDataModel DeleteDataModelHandler }
func NewCommands ¶
func NewCommands(dataModelRepo datamodel.Repository, workspaceReadModel workspacequery.WorkspaceReadModel, dataModelFactory *datamodel.Factory, dataModelReadModel datamodelquery.DataModelReadModel, eventBus eventbus.EventBus) *Commands
type DeleteDataModelCommand ¶
type DeleteDataModelHandler ¶
type DeleteDataModelHandler interface {
Handle(ctx context.Context, cmd *DeleteDataModelCommand) error
}
func NewDeleteDataModelHandler ¶
func NewDeleteDataModelHandler(svc datamodel.Service, workspaceReadModel workspacequery.WorkspaceReadModel, dataModelReadModel datamodelquery.DataModelReadModel) DeleteDataModelHandler
type PatchDataModelCommand ¶
type PatchDataModelHandler ¶
type PatchDataModelHandler interface {
Handle(ctx context.Context, cmd *PatchDataModelCommand) (string, error)
}
func NewPatchDataModelHandler ¶
func NewPatchDataModelHandler(svc datamodel.Service, workspaceReadModel workspacequery.WorkspaceReadModel, dataModelReadModel datamodelquery.DataModelReadModel) PatchDataModelHandler
Click to show internal directories.
Click to hide internal directories.