Commit Graph

229 Commits

Author SHA1 Message Date
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
Gareth Smith ae971bb91e Deduplicate methods in Etcd & APIServer 2018-01-15 17:18:52 +00:00
Gareth Smith 12403c5eaf Simplify and clean more 2018-01-15 17:18:51 +00:00
Gareth Smith 284bf217da Ignore unit tests, simplify interfaces 2018-01-15 17:18:51 +00:00
Hannes Hörl a656304e55 Fix formatting issues as suggested by gofmt 2018-01-15 17:15:58 +00:00
k8s-ci-robot 9ab04c5381
Merge pull request #205 from mengqiy/cm_secret
more support for configmap and secret
2018-01-12 09:11:24 -08:00
ymqytw e3ca383a35 add test for kinflate 2018-01-10 14:23:52 -08:00
ymqytw bf2ba35a03 more support for configmap and secret 2018-01-10 14:23:07 -08:00
k8s-ci-robot c61d60e246
Merge pull request #204 from mengqiy/update_helper
add one more update helper function
2018-01-10 09:24:10 -08:00
ymqytw 72bee8b87b add one more update helper function 2018-01-10 09:16:25 -08:00
k8s-ci-robot 7dcee36477
Merge pull request #203 from mengqiy/update_helpers
Add some update helpers for kinflate
2018-01-09 16:48:11 -08:00
ymqytw 611389d2a0 update helpers 2018-01-09 15:51:49 -08:00
ymqytw 627e10582f move update metadata function 2018-01-09 15:49:31 -08:00
k8s-ci-robot 7fdbf30305
Merge pull request #200 from mengqiy/configmap_secret
configmap and secret helper functions
2018-01-09 15:25:11 -08:00