forked from hashicorp/consul
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contributing: start an outline for more docs
Add diagrams for rpc routing and acl entity relationship contributing: create directory structure for new docs WIP diagram for catalog entities Add overview diagram Co-Authored-By: Kelly Devlin <[email protected]>
- Loading branch information
Showing
31 changed files
with
225 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
erDiagram | ||
|
||
Token | ||
Policy | ||
Role | ||
ServiceIdentity | ||
NodeIdentity | ||
AuthMethod | ||
BindingRule | ||
Rule | ||
// TODO: rules are made up of resources and x (enforcement decision or permission?) | ||
// TODO: add Authorizer and Enforcement Decision | ||
|
||
Policy ||--|{ Rule: grants | ||
Role ||--|{ Policy: includes | ||
Role }|--|{ ServiceIdentity: includes | ||
Role }|--|{ NodeIdentity: includes | ||
|
||
Token }|--|{ Policy: includes | ||
Token }|--|{ Role: includes | ||
Token }|--|{ ServiceIdentity: includes | ||
Token }|--|{ NodeIdentity: includes | ||
|
||
AuthMethod ||--|{ BindingRule: defines | ||
AuthMethod ||--|{ Token: creates | ||
|
||
ServiceIdentity ||--|{ Rule: implies | ||
NodeIdentity ||--|{ Rule: implies |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Client Agent | ||
|
||
- agent/cache | ||
- agent/local (local state) | ||
- anti-entropy sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Multi-Cluster Federation | ||
|
||
1. [Network Areas](./network-areas) | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Cluster membership | ||
- hashicorp/serf | ||
- hashicorp/memberlist | ||
- network coordinates | ||
- consul events | ||
- consul exec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Agent Configuration | ||
|
||
- [Checklist for adding a new field](./checklist-adding-config-fields.md) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"theme": "default", | ||
"themeCSS": ".node rect { fill: rgb(220, 71, 125); stroke-width: 1; stroke: black; } .node .label { color: white; } " | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
graph TD | ||
|
||
ServiceMesh[Sercice Mesh] | ||
ServiceDiscovery[Service Discovery] | ||
ClusterMembership[Cluster Membership] | ||
KV[Key/Value Store] | ||
MultiClusterFederation[Multi-Cluster Federation] | ||
|
||
ACL | ||
AgentConfiguration[Agent Configuration] | ||
ClientAgent[Client Agent] | ||
RPC | ||
ClusterPersistence[Cluster Persistence] | ||
|
||
AgentConfiguration --> ClientAgent | ||
ClientAgent --> RPC | ||
ClientAgent --> ACL | ||
RPC --> ClusterPersistence | ||
RPC --> ACL | ||
|
||
MultiClusterFederation --> ClusterMembership | ||
MultiClusterFederation --> RPC | ||
ServiceMesh --> ServiceDiscovery | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Persistence | ||
|
||
- hashicorp/raft | ||
- state.Store - hashicorp/go-memdb | ||
- FSM | ||
- boltdb - https://github.com/boltdb/bolt (https://github.com/etcd-io/bbolt) | ||
- snapshot and restore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# RPC | ||
|
||
- net/rpc - (in the stdlib) | ||
- [Streaming](./streaming) | ||
- routing of "RPC" requests | ||
|
Oops, something went wrong.