Closed AnalogJ closed 8 years ago
use https://github.com/rancher/python-agent/blob/master/cattle/agent/ to handle websocket events, rather than ruby?
working event handler as of 10-12-2015. https://github.com/mediadepot/docker-rancher-events/commit/22c8141389e44ed2aa01b01fa87334ef29023f46
http://forums.rancher.com/t/api-key-for-all-environments/279/3?u=analogj
http://forums.rancher.com/t/aws-elb-ws-problems/1202/2?u=analogj
var url = 'ws://'+accessKey+':'+secretKey+'@'+host+'/v1/subscribe?eventNames=resource.change'; var socket = new WebSocket(url); https://gist.github.com/vincent99/491afed2306ba448dd89