Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { DomainProjection *projections.Cluster }
func NewClusterProjection ¶
func (*Cluster) Proto ¶
func (p *Cluster) Proto() *projections.Cluster
Proto gets the underlying proto representation.
type DomainProjection ¶
type DomainProjection interface { LifecycleMetadata ID() uuid.UUID Version() uint64 IncrementVersion() GetLifecycleMetadata() *projections.LifecycleMetadata }
func NewDomainProjection ¶
func NewDomainProjection() DomainProjection
type LifecycleMetadata ¶ added in v0.4.0
type LifecycleMetadata interface { GetCreated() *timestamppb.Timestamp GetCreatedById() string GetLastModified() *timestamppb.Timestamp GetLastModifiedById() string GetDeletedById() string GetDeleted() *timestamppb.Timestamp }
type Tenant ¶
type Tenant struct { DomainProjection *projections.Tenant }
func NewTenantProjection ¶
func (*Tenant) Proto ¶
func (p *Tenant) Proto() *projections.Tenant
Proto gets the underlying proto representation.
type TenantClusterBinding ¶ added in v0.3.0
type TenantClusterBinding struct { DomainProjection *projections.TenantClusterBinding }
func NewTenantClusterBindingProjection ¶ added in v0.3.0
func NewTenantClusterBindingProjection(id uuid.UUID) *TenantClusterBinding
func (*TenantClusterBinding) ID ¶ added in v0.3.0
func (p *TenantClusterBinding) ID() uuid.UUID
ID implements the ID method of the Aggregate interface.
func (*TenantClusterBinding) Proto ¶ added in v0.3.0
func (p *TenantClusterBinding) Proto() *projections.TenantClusterBinding
Proto gets the underlying proto representation.
type TenantUser ¶
type TenantUser struct { DomainProjection *projections.TenantUser }
func NewTenantUserProjection ¶
func NewTenantUserProjection(tenantId uuid.UUID, user *User, rolebindings []*UserRoleBinding) *TenantUser
func (*TenantUser) ID ¶
func (p *TenantUser) ID() uuid.UUID
ID implements the ID method of the Aggregate interface.
func (*TenantUser) Proto ¶
func (p *TenantUser) Proto() *projections.TenantUser
Proto gets the underlying proto representation.
type User ¶
type User struct { DomainProjection *projections.User }
func NewUserProjection ¶
func (*User) Proto ¶
func (p *User) Proto() *projections.User
Proto gets the underlying proto representation.
type UserRoleBinding ¶
type UserRoleBinding struct { DomainProjection *projections.UserRoleBinding }
func NewUserRoleBinding ¶
func NewUserRoleBinding(id uuid.UUID) *UserRoleBinding
func (*UserRoleBinding) ID ¶
func (p *UserRoleBinding) ID() uuid.UUID
ID implements the ID method of the Aggregate interface.
func (*UserRoleBinding) Proto ¶
func (p *UserRoleBinding) Proto() *projections.UserRoleBinding
Proto gets the underlying proto representation.
Click to show internal directories.
Click to hide internal directories.