Library for interacting with etcd-based service reporting. Intended to be used as a base image.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chris Smith e1898c4177 Add method to get networks for a container. 8 years ago
test Ignore EtcdResult from pylint. 8 years ago
Dockerfile Initial version 8 years ago
README.md Add test info 8 years ago
circle.yml Add CircleCI config 8 years ago
etcdlib.py Add method to get networks for a container. 8 years ago

README.md

Docker service reporter library

This is a docker image intended as a base layer for things interacting with my service reporter container.

It provides a python library for interacting with etcd, with convenience functions for retrieving the higher-level data structures (such as containers and labels) that the reporter service creates.

Tests CircleCI

A separate Dockerfile for tests is located in the tests directory. It depends on a ‘dev’ label of csmith/service-reporter-lib. You can build and run the tests like so:

docker build -t csmith/service-reporter-lib:dev .
docker build -t csmith/service-reporter-lib-test:dev test
docker run --rm -it csmith/service-reporter-lib-test:dev