Soam Vasani
c5425180e8
Make webhook publisher use relative urls
2016-12-20 12:19:51 -08:00
Soam Vasani
0456df0d63
Refactor kubewatcher/webhook publisher
...
Create a Publisher interface. Refactor webhook publisher to satisfy
that interface.
Add some limited retries to webhook publisher.
2016-12-19 14:38:44 -08:00
Soam Vasani
de30886c9e
compile error
2016-12-16 00:43:45 -08:00
Soam Vasani
215f4fc30f
comments
2016-12-15 19:48:45 -08:00
Soam Vasani
53c49d1485
Add an atomic bool to track if a watch is stopped
...
Saw a watch channel close once without actually calling watch.Stop.
Need to investigate this a bit and handle it if necessary.
2016-12-15 09:34:03 -08:00
Soam Vasani
5c6dcca19d
Pass obj type to functions
2016-12-12 08:46:19 -08:00
Soam Vasani
ddb189bda2
Kube requests: add content-type
2016-12-10 19:54:01 -08:00
Soam Vasani
fa093829bc
Kubernetes events watcher
...
Kubewatcher watches the Kubernetes API for Watches that have been
configured on the fission controller. It then posts that event to the
function configured in the watch.
2016-12-09 23:22:18 -08:00