Commit Graph

3492 Commits

Author SHA1 Message Date
k8s-ci-robot 9b846df21f
Merge pull request #232 from mengqiy/mock_fs
add mock fs and file for testing
2018-01-30 10:11:06 -08:00
ymqytw 8368d2e3ba mock fs and file for testing 2018-01-30 09:59:51 -08:00
k8s-ci-robot 62ba5fb685
Merge pull request #231 from monopole/addinit
Add init command.
2018-01-29 15:50:34 -08:00
Jeffrey Regan eebd1921d8 Add init command. 2018-01-29 15:46:38 -08:00
k8s-ci-robot e3643eac14
Merge pull request #230 from mengqiy/remove_ptv
delete dead code
2018-01-29 13:03:31 -08:00
ymqytw 20faf5d931 delete dead code 2018-01-29 12:56:45 -08:00
k8s-ci-robot f080129c2b
Merge pull request #229 from mengqiy/fix_nameref
fix name ref issue
2018-01-26 16:33:31 -08:00
ymqytw 333d6e8ddf fix name ref issue 2018-01-26 15:03:01 -08:00
k8s-ci-robot 775ef29560
Merge pull request #225 from mengqiy/rebase
Rebase kinflate on new utils
2018-01-26 13:37:31 -08:00
ymqytw 553437f678 update test to ensure each layer of manifest will be applied 2018-01-26 11:40:38 -08:00
ymqytw 154242c1a0 update cm|secret and kinflate 2018-01-26 11:10:10 -08:00
ymqytw adfc372027 rebase kinflate on new utils and remove dead code 2018-01-25 12:02:50 -08:00
ymqytw e0d1ff954c support construct unstructured configmap and secret 2018-01-25 11:25:43 -08:00
k8s-ci-robot d4d9c237c4
Merge pull request #219 from mengqiy/namereference
util to update name reference
2018-01-24 14:57:31 -08:00
ymqytw fc54207123 add util to update name reference 2018-01-24 14:43:56 -08:00
k8s-ci-robot f9dd21c734
Merge pull request #222 from mengqiy/format_nameprefix
fix golink and refactor test
2018-01-24 14:18:39 -08:00
k8s-ci-robot 66eb14fc83
Merge pull request #182 from jberkhahn/plugin_framework
Add framework to init config in a plugin
2018-01-24 13:38:39 -08:00
ymqytw 331dee4a7d fix golink and refactor test 2018-01-23 18:11:54 -08:00
k8s-ci-robot 6df35a4c44
Merge pull request #218 from mengqiy/labels_annotations
additional labels and annotations util
2018-01-23 17:04:30 -08:00
ymqytw 9ab47fd44f add MapTransformer and constructor for labels and annotations 2018-01-23 16:58:01 -08:00
ymqytw eec253d14c fix golint, refactor test 2018-01-23 12:55:52 -08:00
ymqytw 808a43fad6 additional labels and annotations util 2018-01-22 15:50:47 -08:00
k8s-ci-robot 6da251948c
Merge pull request #215 from mengqiy/nameprefix
Nameprefix util
2018-01-22 10:32:34 -08:00
ymqytw 28ea59a0ee change transformer interface and pathconfig definition 2018-01-22 09:39:25 -08:00
ymqytw 1c14f2b735 prefix name util 2018-01-19 16:10:02 -08:00
ymqytw a5e7bc08ff encode and decode util 2018-01-19 11:09:44 -08:00
k8s-ci-robot 94bc04db5e
Merge pull request #214 from mengqiy/mutate
update mutate func
2018-01-19 10:12:28 -08:00
ymqytw 8fb1e1a267 update mutate func 2018-01-19 09:54:34 -08:00
Jonathan Berkhahn 734f4c193c minor fixes to plugin client 2018-01-17 16:38:08 -08:00
Jonathan Berkhahn 7bb3a0b2ea Refactor plugin utils 2018-01-17 13:32:47 -08:00
k8s-ci-robot 9f9d77c156
Merge pull request #213 from hoegaarden/update_docs
Test framework: Update docs
2018-01-17 11:29:26 -08:00
k8s-ci-robot 5bdd804723
Merge pull request #211 from apelisse/fix-pre-commit
pre-commit: Check gofmt output for errors
2018-01-17 11:28:26 -08:00
k8s-ci-robot 6047b53376
Merge pull request #209 from hoegaarden/etcd-to-url
Test framework: Configure the APIServer with the URL to Etcd
2018-01-17 11:18:28 -08:00
k8s-ci-robot e62d410c11
Merge pull request #207 from totherme/simplify-interface
Test framework: Simplify UX
2018-01-17 11:17:27 -08:00
k8s-ci-robot eb62d45199
Merge pull request #208 from hoegaarden/fix_gofmt_for_kinflate
Fix formatting issues as suggested by gofmt
2018-01-17 11:16:26 -08:00
Gareth Smith 24e13e5c03 Update and add documentation 2018-01-17 11:12:52 +00:00
Antoine Pelisse ec387513c1 pre-commit: Check gofmt output for errors
gofmt doesn't return an error exit code when it fails (because some
files are improperly formatted). Make sure that the output is empty
instead.
2018-01-16 09:15:55 -08:00
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 ca719c861d Remove obsolete tests, examples & fakes 2018-01-15 17:18:52 +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