Hannes Hörl
e97a005ae8
Use internal function to generate Etcd's arguments
2018-01-16 14:22:58 +00:00
Hannes Hörl
7bced00e1f
Have the APIServer take a *url.URL to Etcd
...
Instead of creating, starting and stopping Etcd from within APIServer,
the APIServer now only gets the coordinates of an Etcd handed in.
The setup and wiring of both Etcd and APIServer is implemented in the
ControlPlane.
2018-01-16 14:09:09 +00:00
Gareth Smith
01c1b7e190
Remove Start/Stop funcs in favour of methods
2018-01-15 17:18:52 +00:00
Gareth Smith
5f60d519e9
Make the start message a member of the ProcessState
2018-01-15 17:18:52 +00:00
Gareth Smith
29f17a4569
Introduce DefaultedProcessInput
...
This intermediate structure can be constructed without reference to
external URLs.
2018-01-15 17:18:52 +00:00
Hannes Hörl
2c1fea7616
Make Start/Stop methods of ProcessState
2018-01-15 17:18:52 +00:00
Hannes Hörl
ba978619bc
Move session to the ProcessState
2018-01-15 17:18:52 +00:00
Hannes Hörl
57dae09fc2
Test NewProcessState() function
...
... with some integrationy unit tests
2018-01-15 17:18:52 +00:00
Hannes Hörl
44fd7ffa55
Test Stop() function
...
... with some integrationy unit tests
2018-01-15 17:18:52 +00:00
Hannes Hörl
9ff0bc948a
Test Start() function
...
... with some integrationy unit tests
2018-01-15 17:18:52 +00:00
Hannes Hörl
9990f29acd
Rename CommonStuff to ProcessState
2018-01-15 17:18:52 +00:00
Hannes Hörl
4022e2b56f
Convert methods to functions and remove Process{}
2018-01-15 17:18:52 +00:00
Gareth Smith
ae971bb91e
Deduplicate methods in Etcd & APIServer
2018-01-15 17:18:52 +00:00
Hannes Hörl
b786202c38
Move AddressManager to an internal package
2018-01-08 12:22:11 +00:00
Hannes Hörl
40566a76e1
Hide the BinPathFinder in our internal package
2018-01-08 10:58:34 +00:00