collinsbot

command module
v0.0.0-...-a495c7a Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

README

collinsbot

Slack collins bot

Docker Container Status

Features

Resolves asset tags and hostnames to useful data (hostname, link, pool, status)

Build

Requires godep: go get github.com/tools/godep

godep go build

Run

Populate your config.json, and pass a -token for your API key.

./collinsbot -config examples/config.json -token="$(cat slack.token)"
Run in docker

An automated build is maintained on the hub at https://registry.hub.docker.com/u/byxorna/collinsbot/. Inject your config into the container and give it a whirl.

docker run -v $(pwd)/my/config.json:/etc/config.json byxorna/collinsbot -config /etc/config.json

TODO

I just randomly picked a go slack library (github.com/nlopes/slack). I am not super happy with it, and it seems pretty messy. Perhaps look into using:

What kind of features should we support?

  • implicitly pull out asset tags and hostnames from all messages
  • subscribe to status changes, provisioning changes on an asset?

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/golang.org/x/net/websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.

Jump to

Keyboard shortcuts

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