Documentation ¶
Overview ¶
Package meshdb contains the schemas, generated code, and interfaces for interacting with the mesh database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { // ID returns the ID of the node. ID() string // Domain returns the domain of the mesh network. Domain() string // Leader returns the current Raft leader. Leader() (string, error) // Storage returns a storage interface for use by the application. Storage() storage.Storage // Raft returns the underlying Raft database. Raft() raft.Raft // Plugins returns the plugins for the current node. Plugins() plugins.Manager // WireGuard returns the Wireguard interface. WireGuard() wireguard.Interface }
Store is the interface for interacting with the mesh database. It is a reduced version of the mesh.Mesh interface.
Directories ¶
Path | Synopsis |
---|---|
Package networking contains interfaces to the database models for Network ACLs and Routes.
|
Package networking contains interfaces to the database models for Network ACLs and Routes. |
Package peers contains an interface for managing nodes in the mesh.
|
Package peers contains an interface for managing nodes in the mesh. |
Package raftlogs provides facilities for applying raft logs to a database.
|
Package raftlogs provides facilities for applying raft logs to a database. |
Package rbac contains interfaces to the database models for RBAC.
|
Package rbac contains interfaces to the database models for RBAC. |
Package snapshots provides an interface for managing raft snapshots.
|
Package snapshots provides an interface for managing raft snapshots. |
Package state provides an interface for querying mesh state.
|
Package state provides an interface for querying mesh state. |
Click to show internal directories.
Click to hide internal directories.