domain

package
v0.5.0-dev3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

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 GatewayDomain added in v0.4.6

type GatewayDomain struct {
	UserRoleBindingRepository      repositories.UserRoleBindingRepository
	UserRepository                 repositories.UserRepository
	TenantRepository               repositories.TenantRepository
	TenantUserRepository           repositories.TenantUserRepository
	ClusterRepository              repositories.ClusterRepository
	TenantClusterBindingRepository repositories.TenantClusterBindingRepository
	ClusterAccessRepo              repositories.ClusterAccessRepository
}

func NewGatewayDomain added in v0.4.6

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
}

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.
formatters

Jump to

Keyboard shortcuts

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