Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCommandHandlerDomain ¶
func SetupCommandHandlerDomain(ctx context.Context, userService domainApi.UserClient, 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.ReadOnlyTenantUserRepository ClusterRepository repositories.ClusterRepository CertificateRepository repositories.CertificateRepository TenantClusterBindingRepository repositories.TenantClusterBindingRepository ClusterAccessRepo repositories.ReadOnlyClusterAccessRepository }
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.