domain

package
v0.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

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
}

Directories

Path Synopsis
constants
scopes
Package scopes sets the scope of permissions granted to a role: System, Tenant or Cluster.
Package scopes sets the scope of permissions granted to a role: System, Tenant or Cluster.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL