boundary

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package boundary contains global interfaces and other definitions that define the Boundary domain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregate

type Aggregate interface {
	Entity
	GetVersion() uint32
	GetCreateTime() *timestamp.Timestamp
	GetUpdateTime() *timestamp.Timestamp
}

An Aggregate is an entity that is the root of a transactional consistency boundary.

type AuthzProtectedEntity added in v0.8.0

type AuthzProtectedEntity interface {
	Entity
	GetScopeId() string
	GetUserId() string
}

AuthzProtectedEntity is used by some functions (primarily scopeids.AuthzProtectedEntityProvider-conforming implementations) to deliver some common information necessary for calculating authz.

type Entity

type Entity interface {
	GetPublicId() string
}

An Entity is an object distinguished by its identity, rather than its attributes. It can contain value objects and other entities.

type Resource

type Resource interface {
	Aggregate
	GetName() string
	GetDescription() string
}

A Resource is an aggregate with a name and description.

Jump to

Keyboard shortcuts

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