sunbeam-microcluster

module
v0.0.0-...-599e01a Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0

README

sunbeam-microcluster

The cluster daemon for Sunbeam based on MicroCluster library

Building sunbeam-microcluster

The MicroCluster library makes use of dqlite which provides a raft based sqlite compatible database for shared state across the Sunbeam cluster.

This requires a few dependencies to be installed:

sudo add-apt-repository -y ppa:dqlite/dev
sudo apt install gcc make dqlite-tools libdqlite-dev libraft-canonical-dev -y
sudo snap install --channel 1.21 --classic go

after which is possible to build sunbeam-microcluster:

make build

Have fun!

Directories

Path Synopsis
api
Package api provides the REST API endpoints.
Package api provides the REST API endpoints.
types
Package types provides shared types and structs.
Package types provides shared types and structs.
cmd
sunbeamd
Package sunbeamd provides the cluster daemon.
Package sunbeamd provides the cluster daemon.
Package database provides the database access functions and schema.
Package database provides the database access functions and schema.
Package sunbeam provides the interface to talk to database
Package sunbeam provides the interface to talk to database
Package version provides shared version information.
Package version provides shared version information.

Jump to

Keyboard shortcuts

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