Documentation ¶
Index ¶
- func NewCertificateProjection(id uuid.UUID) eventsourcing.Projection
- func NewClusterProjection(id uuid.UUID) eventsourcing.Projection
- func NewTenantProjection(id uuid.UUID) eventsourcing.Projection
- func NewUserProjection(id uuid.UUID) eventsourcing.Projection
- type Certificate
- type Cluster
- type DomainProjection
- type Tenant
- type TenantUser
- type User
- type UserRoleBinding
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertificateProjection ¶
func NewCertificateProjection(id uuid.UUID) eventsourcing.Projection
func NewClusterProjection ¶
func NewClusterProjection(id uuid.UUID) eventsourcing.Projection
func NewTenantProjection ¶
func NewTenantProjection(id uuid.UUID) eventsourcing.Projection
func NewUserProjection ¶
func NewUserProjection(id uuid.UUID) eventsourcing.Projection
Types ¶
type Certificate ¶
type Certificate struct { *DomainProjection *projections.Certificate SigningRequest []byte }
func (*Certificate) ID ¶
func (p *Certificate) ID() uuid.UUID
ID implements the ID method of the Aggregate interface.
func (*Certificate) Proto ¶
func (p *Certificate) Proto() *projections.Certificate
Proto gets the underlying proto representation.
type Cluster ¶
type Cluster struct { *DomainProjection *projections.Cluster }
func (*Cluster) Proto ¶
func (p *Cluster) Proto() *projections.Cluster
Proto gets the underlying proto representation.
type DomainProjection ¶
type DomainProjection struct { projections.LifecycleMetadata // contains filtered or unexported fields }
func NewDomainProjection ¶
func NewDomainProjection() *DomainProjection
func (*DomainProjection) IncrementVersion ¶
func (p *DomainProjection) IncrementVersion()
IncrementVersion implements the IncrementVersion method of the Projection interface.
func (*DomainProjection) Version ¶
func (p *DomainProjection) Version() uint64
Version implements the Version method of the Projection interface.
type Tenant ¶
type Tenant struct { *DomainProjection *projections.Tenant }
func (*Tenant) Proto ¶
func (p *Tenant) Proto() *projections.Tenant
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 (*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.