boundary

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 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
	GetProjectId() 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