New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

codexd

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codexd

Filesystem snapshotting and replication built atop LegionD

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-83.33%
Maintainers
2
Weekly downloads
 
Created
Source

codexd

##About

###Description Filesystem snapshotting and replication build atop LegionD. CodexD currently implements one persistence type: tar. Future persistence types include btrfs and zfs.

###Author ContainerShip Developers - developers@containership.io

##Getting Started

###Demos

###Installation npm install codexd --save

###Examples

####Instantiation Instantiates a new CodexD object. It is important to note that CodexD depends on LegionD.

var CodexD = require("codexd");
var LegionD = require("legiond");
var legiond = new LegionD();

var codexd = new CodexD({
    legiond: legiond
});

####Create a Volume Create a new volume to be managed by CodexD.

var uuid = codexd.create_uuid();

codexd.create_volume({
    id: uuid
}, function(err){
    if(err)
        throw err;
});

####Get Volumes Get all volumes.

console.log(codexd.get_volumes());

####Get Volume Get a specific volume.

console.log(codexd.get_volumes(uuid));

####Get Snapshot Searches LegionD cluster for desired volume, creates a snapshot, transfers it to the current legiond node, and restores it.

codexd.get_snapshot(uuid, function(err){
    if(err)
        throw err;
});

####Remove a Volume

codexd.remove_volume(uuid, function(err){
    if(err)
        throw err;
});

##Contributing Pull requests and issues are encouraged! Help us make CodexD even more awesome :)

Keywords

FAQs

Package last updated on 15 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc