Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCommandHandlerDomain ¶
func SetupCommandHandlerDomain(ctx context.Context, esClient esApi.EventStoreClient) error
SetupCommandHandlerDomain sets up the necessary handlers/repositories for the command side of es/cqrs.
Types ¶
type QueryHandlerDomain ¶
type QueryHandlerDomain struct { UserRoleBindingRepository repositories.UserRoleBindingRepository UserRepository repositories.UserRepository TenantRepository repositories.TenantRepository TenantUserRepository repositories.TenantUserRepository ClusterRepository repositories.ClusterRepository TenantClusterBindingRepository repositories.TenantClusterBindingRepository ClusterAccessRepo repositories.ClusterAccessRepository }
func NewQueryHandlerDomain ¶
func NewQueryHandlerDomain(ctx context.Context, eventBus eventsourcing.EventBusConsumer, esClient eventsourcingApi.EventStoreClient) (*QueryHandlerDomain, error)
Click to show internal directories.
Click to hide internal directories.