c3-go

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

sandbox

C3 Go

Go implementation of the C3 protocol

License CircleCI Coverage Status Go Report Card GoDoc Automated Release Notes by gren stability-experimental

Install

Requirements
CLI

Install using go get (must have Go installed).

go get -u github.com/c3systems/c3

Show help for C3

$ c3 help
Push image to IPFS
$ c3 push {imageID}
Pull image from IPFS
$ c3 pull {ipfsHash}

Docker config

Configure daemon.json to include the private registry as insecured (momentarily).

{
  "insecure-registries" : [
    "{YOUR_LOCAL_IP}:5000"
  ]
}
  • Linux
    • /etc/docker/daemon.json
  • macOS
    • ~/.docker/daemon.json

Restart the docker daemon after configuring daemon.json

Test

make test

Tests require docker daemon and IPFS daemon to be running

License

Apache 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common
coder
Package coder is a generated protocol buffer package.
Package coder is a generated protocol buffer package.
core
docker/mock
Package mock_docker is a generated GoMock package.
Package mock_docker is a generated GoMock package.
ipfs/mock
Package mock_ipfs is a generated GoMock package.
Package mock_ipfs is a generated GoMock package.
p2p
p2p/mock
Package mock_p2p is a generated GoMock package.
Package mock_p2p is a generated GoMock package.
p2p/protobuff/pb
Package protocols_p2p is a generated protocol buffer package.
Package protocols_p2p is a generated protocol buffer package.
sandbox/mock
Package mock_sandbox is a generated GoMock package.
Package mock_sandbox is a generated GoMock package.
example
go
log
mock
Package mock_registry is a generated GoMock package.
Package mock_registry is a generated GoMock package.

Jump to

Keyboard shortcuts

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