ducky/subscriptions

Paddy 2015-07-13 Parent:fe8f092cc149

7:9e138933e4ce Go to Latest

ducky/subscriptions/services/subscriptionsd.json

Create a client for working with subscriptions. We mostly copied our code.secondbit.org/auth.hg/client package to create a simple client library for communicating with our Subscriptions API. Right now, the client only has support for creating a subscription. It remains untested, but it builds.

History
1 {
2 "kind":"Service",
3 "apiVersion":"v1",
4 "metadata":{
5 "name":"ducky-subscriptionsd",
6 "labels":{
7 "name":"subscriptionsd",
8 "context": "ducky",
9 "repo": "ducky--subscriptionsd",
10 "role": "subscriptions"
11 }
12 },
13 "spec":{
14 "ports": [
15 {
16 "name": "http",
17 "port": 80,
18 "targetPort": "http"
19 }
20 ],
21 "selector":{
22 "name":"subscriptionsd",
23 "context": "ducky",
24 "repo": "ducky--subscriptionsd",
25 "role": "subscriptions"
26 },
27 "type": "LoadBalancer"
28 }
29 }