Yifan Gu
e4e008ee2a
examples: Fix flacky example_test.
...
Update the file path.
2015-04-20 12:44:28 -07:00
Tim Hockin
936d59b8d1
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Huamin Chen
dab4f65e96
implement glusterfs volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
Huamin Chen
fd874e03cb
add iscsi volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
markturansky
22ce40fe48
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
Clayton Coleman
9512dec26a
Replace automatic YAML decoding with opt-in YAML decoding
...
Base codecs no longer automically handle YAML. Instead, clients
must convert to JSON first via yaml.ToJSON and runtime.YAMLDecoder.
2015-03-20 00:03:56 -04:00
nikhiljindal
0fcd62c921
Updating integration tests to test both API versions - v1beta1 and 3
2015-03-18 15:24:11 -07:00
Tamer Tas
7646e96322
Refactor examples_test.walkJSONFiles
2015-03-14 18:05:23 +02:00
Alex Mohr
8cc1a3cbf7
Revert "Revert "Deleting old sample JSON; moving those in use; updating referenc..."
2015-03-09 14:44:14 -07:00
Alex Mohr
3f2e2e716b
Revert "Deleting old sample JSON; moving those in use; updating references"
2015-03-09 14:18:40 -07:00
Alex Mohr
eded244f07
Merge pull request #5124 from MikeJeffrey/ex3
...
Deleting old sample JSON; moving those in use; updating references
2015-03-09 10:58:44 -07:00
MikeJeffrey
057d590c24
Deleting old sample JSON; moving those in use; updating references
2015-03-06 17:24:45 -08:00
Daniel Smith
4a7954871b
Add v1beta3 files to update-demo
2015-03-05 11:48:25 -08:00
rsokolowski
6899d37137
Update guestbook example to use replication controller.
2015-02-24 20:21:13 +01:00
Subin M
82f166c54d
renaming folder to v1beta3 and updating testcases
2015-02-24 03:17:22 +05:30
Subin M
b5e4a0364e
updating testcases
2015-02-24 03:00:36 +05:30
Subin M
c0d01bf427
updating testcases
2015-02-24 02:54:16 +05:30
Subin M
3653ffb8e9
testcase updated
2015-02-19 21:16:59 +05:30
Tim Hockin
670a71c7c1
Merge pull request #3856 from smarterclayton/validation_logic_needs_cleanup
...
Validation of ObjectMeta is inconsistently applied
2015-01-29 14:12:44 -08:00
Jeff Lowdermlk
f0f2d2c147
Update update-demo example and e2e test to use kubectl
2015-01-28 15:26:56 -08:00
Clayton Coleman
4a134e54eb
Unify validation logic for create and update paths
...
Ensure ObjectMeta is consistently validated on both create and update
Make PortalIP uncleareable
2015-01-28 13:10:37 -05:00
Clayton Coleman
0c6d486668
Remaining refactor for PodTemplateSpec and fixing test cases
2014-11-11 17:03:20 -05:00
Brendan Burns
faac13b928
Add some validation for externalized service ports.
2014-11-03 13:36:34 -08:00
Clayton Coleman
c447dd1fde
Refactor tests to split ObjectMeta from TypeMeta
2014-10-24 11:22:21 -04:00
Brendan Burns
2d572d3744
Fix tests.
2014-10-21 07:19:55 -07:00
Clayton Coleman
7a472bc380
Rename JSONBase -> TypeMeta in preparation for v1beta3
...
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
derekwaynecarr
db95a19729
Updates to review comments
2014-10-01 10:57:50 -04:00
derekwaynecarr
9b0f645245
Fix examples test by setting a context prior to validation
2014-10-01 10:57:50 -04:00
Clayton Coleman
c77f503adf
Expand syntax validation for other examples
2014-09-19 13:14:33 -04:00
Clayton Coleman
75c2f35d46
Make runtime less global for Codec
...
* Make Codec separate from Scheme
* Move EncodeOrDie off Scheme to take a Codec
* Make Copy work without a Codec
* Create a "latest" package that imports all versions and
sets global defaults for "most recent encoding"
* v1beta1 is the current "latest", v1beta2 exists
* Kill DefaultCodec, replace it with "latest.Codec"
* This updates the client and etcd to store the latest known version
* EmbeddedObject is per schema and per package now
* Move runtime.DefaultScheme to api.Scheme
* Split out WatchEvent since it's not an API object today, treat it
like a special object in api
* Kill DefaultResourceVersioner, instead place it on "latest" (as the
package that understands all packages)
* Move objDiff to runtime.ObjectDiff
2014-09-16 16:26:43 -04:00
Clayton Coleman
e738a328c5
Simple refactor for ease of readability
...
runtime.DefaultCodec -> latest.Codec
2014-09-16 16:12:35 -04:00
Daniel Smith
18aa0512ca
Do interface{} -> runtime.Object rename everywhere
2014-09-07 22:19:24 -07:00
Daniel Smith
5101708b9d
Rename Codec and ResourceVersioner to add Default in front, to allow for types of those names
2014-09-07 22:19:24 -07:00
Daniel Smith
64e9a72f8f
Combine pkg/apitools and pkg/api/common and call the result pkg/runtime
2014-09-02 11:15:44 -07:00
Daniel Smith
fbb0bb830b
Propagate rename; tests pass again.
2014-09-02 10:42:06 -07:00
Daniel Smith
a0992710f9
Invert api and api/v1beta1 dependencies
...
This is some cleanup that has been needed for a while.
There's still one more step that could usefully be done, which is to
split up our api package into the part that provides the helper
functions and the part that provides the internal types. That can come
later.
The v1beta1 package is now a good example of what an api plugin should
do to version its types.
2014-08-29 12:15:30 -07:00
Clayton Coleman
e9731c7b1f
Add unit tests for example syntax
...
Tests api/examples, examples, and any embedded json in readme.
2014-07-23 15:18:55 -04:00