domain

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 24 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 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
}

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