caravela

command module
v0.0.0-...-10b4495 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

Caravela : Decentralized Container Orchestration

Build Tests

License Go Report Card GoDoc stability-experimental PRs Welcome

Shamelessly cloned and repurposed for Go 1.17 from André Pires: https://github.com/strabox/caravela.

My thoughts on where I think this mess is headed is written here.

Prerequisites

For everything to work you will need the following installed and running:

  • Ubuntu 18+
  • Docker Engine
  • IPFS Daemon

This project also uses IPDR so requires a few aliases in /etc/hosts, this can be done with the command:

echo '127.0.0.1 docker.local' | sudo tee -a /etc/hosts
echo '::1       docker.local' | sudo tee -a /etc/hosts

You may also need to flush your local DNS caches:

sudo systemd-resolve --flush-caches

Currently how building works:

git clone https://github.com/ThomasPluck/caravela
cd caravela && make build

Commands are unmodified from André Pires' original implementation, these include:

COMMANDS:
     help, h  Shows a list of commands or help for one command
   Caravela system management:
     join, j    Join a caravela instance
     create, c  Create a caravela instance
     exit, e    Shutdown from the CARAVELA instance, makes the node leave
   User's containers management:
     run, r        Launch a container in the Caravela instance
     container, c  Options for managing user's containers

GLOBAL OPTIONS:
   --log value, -l value  Controls the granularity of the log traces (default: "fatal")
   --ip value             IP of the caravela instance/daemon to send the request (default: "127.0.0.1")
   --help, -h             show help
   --version, -v          print the version

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
client
Client package provides a client that allows to interact with the a CARAVELA's daemon sending the requests to it.
Client package provides a client that allows to interact with the a CARAVELA's daemon sending the requests to it.
types
Types package includes all the structures shared between the caravela's server/daemon and its clients.
Types package includes all the structures shared between the caravela's server/daemon and its clients.
cli package provides a CLI (Command Line Interface) for the CARAVELA system, wrapping up the REST API provided in the package github.com/ThomasPluck/caravela/backend/client.
cli package provides a CLI (Command Line Interface) for the CARAVELA system, wrapping up the REST API provided in the package github.com/ThomasPluck/caravela/backend/client.
Node package contains the main logic for a CARAVELA's node.
Node package contains the main logic for a CARAVELA's node.
Version package contains the information about the version of the code.
Version package contains the information about the version of the code.

Jump to

Keyboard shortcuts

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