cerana

module
v0.0.0-...-5c345c6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2016 License: MIT

README

Cerana

Build Status Freenode Gitter

This project adheres to the Contributor Covenant code of conduct.

By participating, you are expected to uphold this code. Please report unacceptable behavior to abuse@cerana.org.

Contributing

Information about contributing to code in the projects contained within this repo can be found in CONTRIBUTING.md

Cerana overview

We have some design docs which we'll be adding to and that directory will eventually also get user documentation.

Components in this repo

License

The code in this repo is made available under the MIT License

Directories

Path Synopsis
Package acomm is a library for asynchronous JSON-RPC-like communication between services.
Package acomm is a library for asynchronous JSON-RPC-like communication between services.
cmd
bundle-heartbeat
Usage: Usage of ./bundle-heartbeat: -u, --clusterDataURL string url of coordinator for the cluster information -c, --configFile string path to config file -l, --logLevel string log level: debug/info/warn/error/fatal/panic (default "warning") -n, --nodeDataURL string url of coordinator for node information retrieval -r, --requestTimeout duration default timeout for external requests made -t, --tickInterval duration tick run frequency -i, --tickRetryInterval duration tick retry on error frequency Note: Long flag names can be specified in either fooBar or foo[_-.]bar form.
Usage: Usage of ./bundle-heartbeat: -u, --clusterDataURL string url of coordinator for the cluster information -c, --configFile string path to config file -l, --logLevel string log level: debug/info/warn/error/fatal/panic (default "warning") -n, --nodeDataURL string url of coordinator for node information retrieval -r, --requestTimeout duration default timeout for external requests made -t, --tickInterval duration tick run frequency -i, --tickRetryInterval duration tick retry on error frequency Note: Long flag names can be specified in either fooBar or foo[_-.]bar form.
coordinator
Usage $ coordinator -h Usage of coordinator: -c, --config_file="": path to config file -p, --external_port=8080: port for the http external request server to listen -l, --log_level="warning": log level: debug/info/warn/error/fatal/panic -t, --request_timeout=0: default timeout for requests in seconds -n, --service_name="": name of the coordinator -s, --socket_dir="/tmp/cerana": base directory in which to create task sockets
Usage $ coordinator -h Usage of coordinator: -c, --config_file="": path to config file -p, --external_port=8080: port for the http external request server to listen -l, --log_level="warning": log level: debug/info/warn/error/fatal/panic -t, --request_timeout=0: default timeout for requests in seconds -n, --service_name="": name of the coordinator -s, --socket_dir="/tmp/cerana": base directory in which to create task sockets
coordinator-cli
Usage $ ./coordinator-cli -h Usage of ./coordinator-cli: -c, --coordinator_url string url of the coordinator -r, --http_addr string address for http server to listen for responses and stream request data (default ":4080") -j, --json_args read a json args object form STDIN -a, --request_arg value task specific argument the form 'key=value'.
Usage $ ./coordinator-cli -h Usage of ./coordinator-cli: -c, --coordinator_url string url of the coordinator -r, --http_addr string address for http server to listen for responses and stream request data (default ":4080") -j, --json_args read a json args object form STDIN -a, --request_arg value task specific argument the form 'key=value'.
dataset-heartbeat
Usage: $ dataset-heartbeat -h Usage of dataset-heartbeat: -u, --clusterDataURL string url of coordinator for the cluster information -c, --configFile string path to config file -a, --datasetPrefix string dataset directory -l, --logLevel string log level: debug/info/warn/error/fatal/panic (default "warning") -n, --nodeDataURL string url of coordinator for node information retrieval -r, --requestTimeout duration default timeout for external requests made -t, --tickInterval duration tick run frequency -i, --tickRetryInterval duration tick retry on error frequency Note: Long flag names can be specified in either fooBar or foo[_-.]bar form.
Usage: $ dataset-heartbeat -h Usage of dataset-heartbeat: -u, --clusterDataURL string url of coordinator for the cluster information -c, --configFile string path to config file -a, --datasetPrefix string dataset directory -l, --logLevel string log level: debug/info/warn/error/fatal/panic (default "warning") -n, --nodeDataURL string url of coordinator for node information retrieval -r, --requestTimeout duration default timeout for external requests made -t, --tickInterval duration tick run frequency -i, --tickRetryInterval duration tick retry on error frequency Note: Long flag names can be specified in either fooBar or foo[_-.]bar form.
node-heartbeat
Usage: Usage of ./node-heartbeat: -u, --clusterDataURL string url of coordinator for the cluster information -c, --configFile string path to config file -l, --logLevel string log level: debug/info/warn/error/fatal/panic (default "warning") -n, --nodeDataURL string url of coordinator for node information retrieval -r, --requestTimeout duration default timeout for external requests made -t, --tickInterval duration tick run frequency -i, --tickRetryInterval duration tick retry on error frequency Note: Long flag names can be specified in either fooBar or foo[_-.]bar form.
Usage: Usage of ./node-heartbeat: -u, --clusterDataURL string url of coordinator for the cluster information -c, --configFile string path to config file -l, --logLevel string log level: debug/info/warn/error/fatal/panic (default "warning") -n, --nodeDataURL string url of coordinator for node information retrieval -r, --requestTimeout duration default timeout for external requests made -t, --tickInterval duration tick run frequency -i, --tickRetryInterval duration tick retry on error frequency Note: Long flag names can be specified in either fooBar or foo[_-.]bar form.
service-provider
Usage $ service-provider -h Usage of service-provider: -c, --config_file string path to config file -u, --coordinator_url string url of coordinator for making requests -p, --default_priority uint default task priority (default 50) -l, --log_level string log level: debug/info/warn/error/fatal/panic (default "warning") -t, --request_timeout uint default timeout for requests made by this provider in seconds -n, --service_name string provider service name -s, --socket_dir string base directory in which to create task sockets (default "/tmp/cerana")
Usage $ service-provider -h Usage of service-provider: -c, --config_file string path to config file -u, --coordinator_url string url of coordinator for making requests -p, --default_priority uint default task priority (default 50) -l, --log_level string log level: debug/info/warn/error/fatal/panic (default "warning") -t, --request_timeout uint default timeout for requests made by this provider in seconds -n, --service_name string provider service name -s, --socket_dir string base directory in which to create task sockets (default "/tmp/cerana")
zfs
Package coordinator is a request router and proxy, to be used with Providers.
Package coordinator is a request router and proxy, to be used with Providers.
internal
tests/common
Package common contains common utilities and suites to be used in other tests
Package common contains common utilities and suites to be used in other tests
pkg
errors
Package errors provides richer error handling functionality Errors created or wrapped include a stack trace, optional additional context messages, and optional additional relevant data.
Package errors provides richer error handling functionality Errors created or wrapped include a stack trace, optional additional context messages, and optional additional relevant data.
errorutils
Package errorutils provides helper functions for dealing with errors.
Package errorutils provides helper functions for dealing with errors.
kv
Package kv abstracts a distributed/clustered kv store for use with cerana kv does not aim to be a full-featured generic kv abstraction, but can be useful anyway.
Package kv abstracts a distributed/clustered kv store for use with cerana kv does not aim to be a full-featured generic kv abstraction, but can be useful anyway.
logrusx
Package logrusx is a logrus formatter that adds better error value handling to the logrus.JSONFormatter
Package logrusx is a logrus formatter that adds better error value handling to the logrus.JSONFormatter
Package provider is the framework for creating Providers.
Package provider is the framework for creating Providers.
examples/simple
Package simple is a simple task provider proof of concept.
Package simple is a simple task provider proof of concept.
examples/simple/cmd/provider-simple
Usage $ provider-simple -h Usage of provider-simple: -c, --config_file="": path to config file -p, --default_priority=50: default task priority -l, --log_level="warning": log level: debug/info/warn/error/fatal/panic -t, --request_timeout=0: default timeout for requests made by this provider in seconds -s, --socket_dir="/tmp/cerana": base directory in which to create task sockets
Usage $ provider-simple -h Usage of provider-simple: -c, --config_file="": path to config file -p, --default_priority=50: default task priority -l, --log_level="warning": log level: debug/info/warn/error/fatal/panic -t, --request_timeout=0: default timeout for requests made by this provider in seconds -s, --socket_dir="/tmp/cerana": base directory in which to create task sockets
providers
kv
zfs
zfs
nv

Jump to

Keyboard shortcuts

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