Commit Graph

4027 Commits (8a833ca70160048773102892b0ce236b800def9a)

Author SHA1 Message Date
Clayton Coleman 8a833ca701 Add a List type that can contain arbitrary objects
Supports objects that the core schema may not recognize and
preserves them unmodified as runtime.Unknown
2014-12-09 10:31:17 -05:00
Clayton Coleman db2c59ff61 Allow conversion between []runtime.Object and []runtime.RawExtension
This allows generic lists with unrecognized objects to be roundtripped
between internal and external objects.
2014-12-09 10:31:17 -05:00
Clayton Coleman 1eaa5c41f9 RawExtension was not properly marshalled
MarshalJSON can't use a pointer to a struct for RawExtension:

http://stackoverflow.com/questions/21390979/custom-marshaljson-never-gets-called-in-go
2014-12-09 10:31:14 -05:00
Clayton Coleman 714dbf4522 Shrink runtime.TypeMeta to be equivalent to api TypeMeta
Remove unused fuzzing
2014-12-07 20:49:07 -05:00
Clayton Coleman dd24b013cb Use if err := ; err != nil instead of two lines 2014-12-07 20:48:16 -05:00
Clayton Coleman 84d84c50c2 Add a strongly typed error for unrecognized kind/type/version 2014-12-07 20:48:16 -05:00
Daniel Smith 3910b2d6e1 Merge pull request #2568 from derekwaynecarr/self_link_ns
make selfLink namespace aware
2014-12-05 22:48:06 -08:00
Daniel Smith d03be4c0a2 Merge pull request #2776 from brendandburns/fix
Fix detect-minions.
2014-12-05 15:48:06 -08:00
Brendan Burns 8364fa5c93 Fix detect-minions. 2014-12-05 15:42:28 -08:00
Daniel Smith 071997593b Merge pull request #2775 from brendandburns/fix
Fix the update test.
2014-12-05 15:30:29 -08:00
Brendan Burns 2a53b002ef Fix the update test. 2014-12-05 15:21:53 -08:00
Brendan Burns f5dd5138ef Merge pull request #2774 from brendandburns/fix
Make certs.sh executable.
2014-12-05 15:19:18 -08:00
derekwaynecarr ef25520baa make selfLink namespace aware 2014-12-05 17:37:11 -05:00
Brendan Burns c60742a436 Make certs.sh executable. 2014-12-05 14:11:19 -08:00
Brendan Burns b811eb8303 Merge pull request #2760 from liggitt/bindata_bump
Add script to build ui assets, rebuild with latest go-bindata
2014-12-05 14:09:10 -08:00
bgrant0607 b824eb0350 Merge pull request #2771 from rlarocque2/print_synccloud_errors
Print SyncCloud errors
2014-12-05 13:46:10 -08:00
bgrant0607 f95503dc2d Merge pull request #2767 from ironcladlou/watch-error-handling
Log ErrUnexpectedEOF from watches as warnings
2014-12-05 13:43:26 -08:00
Dawn Chen 73ebc9e714 Merge pull request #2769 from jdef/docker_noname
avoid panics when docker CT has no name
2014-12-05 13:39:59 -08:00
bgrant0607 cf7f3de767 Merge pull request #2762 from rajdeepd/master
Added a New test case for GetMinion
2014-12-05 13:24:24 -08:00
James DeFelice 76ef747927 avoid panics when docker CT has no name 2014-12-05 15:48:25 -05:00
Eric Tune fd8279f046 Merge pull request #2699 from lavalamp/fix5
reenable update test
2014-12-05 12:38:15 -08:00
Dan Mace 0ad8342a55 Log ErrUnexpectedEOF from watches as warnings
Watches are often established via long-running HTTP GET requests which
will inevitably time out during the normal course of operations. When
the watches time out, an io.EOF or an io.ErrUnexpectedEOF will bubble
up to client components such as StreamWatcher and Reflector. Treat EOF
as a clean watch termination. Treat ErrUnexpectedEOF as a less-clean
but non-fatal watch termination and log the event at the warning level.

This greatly reduces the amount of log noise generated during what is
ultimately normal operation, and adds the flexibility for the operator
to make a distinction between the EOF conditions if so desired (by
adjusting the logging level).
2014-12-05 15:03:07 -05:00
Richard Larocque 51efd38e75 Print SyncCloud errors
This small change would have saved me a lot of time while investigating
issue #2746.
2014-12-05 11:50:21 -08:00
bgrant0607 7d3cac35a5 Merge pull request #2757 from MikeJeffrey/master
Using kubectl in getting started guides
2014-12-05 09:26:14 -08:00
Rajdeep Dua 2791a92f2c Added a New test case for GetMinion 2014-12-05 01:49:43 -08:00
Jordan Liggitt 4ab41f5be8 Add script to build ui assets, rebuild with latest go-bindata 2014-12-04 22:38:00 -08:00
Brendan Burns 39bf3d2950 Merge pull request #2677 from jay-lau/master
No need to add two "containers" section for one pod
2014-12-04 21:18:23 -08:00
Daniel Smith 2261c3e71c Merge pull request #2756 from liggitt/yaml_bump
Bump yaml, test full int64 serialization
2014-12-04 15:16:04 -08:00
Daniel Smith 24a1497d5c reenable update test 2014-12-04 15:13:11 -08:00
Jordan Liggitt 22eee15fe7 Remove uint64 bitshift workaround 2014-12-04 15:00:23 -08:00
Michael Jeffrey e69389f7e2 Using kubectl in getting started guides 2014-12-04 14:56:40 -08:00
Jeff Lowdermilk a1faab9ffe Merge pull request #2730 from satnam6502/scripting
Add missing project argument to gcloud commands
2014-12-04 14:30:20 -08:00
Jordan Liggitt 0968254840 bump(gopkg.in/v2/yaml): d466437aa4adc35830964cffc5b5f262c63ddcb4 2014-12-04 14:19:07 -08:00
Brendan Burns e2cf1690da Merge pull request #2753 from MikeJeffrey/kubectl
Use kubectl in getting started guide
2014-12-04 14:15:36 -08:00
roberthbailey 4cef5c59f7 Merge pull request #2755 from MikeJeffrey/awstypo
Typo in header
2014-12-04 13:27:40 -08:00
bgrant0607 56eba5cb47 Merge pull request #2626 from jasonkuhrt/patch-1
Fix incorrect pod spec in tutorial
2014-12-04 11:21:02 -08:00
Daniel Smith 9dfd5a1247 Merge pull request #2731 from brendandburns/bash
Adjust the regexp so that we can handle extra sub versions.
2014-12-04 11:12:47 -08:00
Daniel Smith b765d6038a Merge pull request #2747 from erictune/cleanup6
Rename util.config.Watcher -> util.config.Broadcaster.
2014-12-04 11:12:04 -08:00
Daniel Smith df98babf6e Merge pull request #2748 from erictune/clean7
Rename watch.Mux -> watch.Broadcaster
2014-12-04 11:09:43 -08:00
MikeJeffrey 8de8e4f89f Typo in header 2014-12-04 10:59:55 -08:00
Michael Jeffrey b1df1c3485 Use kubectl in getting started guide 2014-12-04 10:49:50 -08:00
Michael Jeffrey 4656ed830f Use kubectl in GCE getting started guide 2014-12-04 10:29:30 -08:00
bgrant0607 75daf86da2 Merge pull request #2745 from thockin/serve_hostname
Hold serve_hostname code in kubernetes repo
2014-12-04 09:09:42 -08:00
bgrant0607 2fe2963b12 Merge pull request #2750 from deads2k/deads-bump-gorestful
race condition in go-restful
2014-12-04 09:08:53 -08:00
bgrant0607 623964456e Merge pull request #2743 from mikedanese/etcd-kubernetes-bug
fixed bug in tools.NewEtcdClientStartServerIfNecessary
2014-12-04 09:06:27 -08:00
bgrant0607 d67647b078 Merge pull request #2732 from rajdeepd/master
Added test case for ServerAPIVersions
2014-12-04 08:26:29 -08:00
deads2k ff24a45d8f bump(github.com/emicklei/go-restful): 692a50017a7049b26cf7ea4ccfc0d8c77369a793 2014-12-04 08:48:26 -05:00
Eric Tune 3f285269cc Rename watch.Mux -> watch.Broadcaster
A few reasons:
- Mux is already widely used in the codebase to refer to a http handler mux.
- Original meaning of Mux was something which sent a chose one of several inputs to
  and output.  This sends one output to all outputs.  Broadcast captures that idea
  better.
- Aligns with similar class config.Broadcaster (see #2747)
2014-12-04 00:30:51 -08:00
Eric Tune 64f1084c1a Rename util.config.Watcher -> util.config.Broadcaster.
Watch is a widely used term in the codebase, which doesn't capture
the key feature of this type: broadcasting a change to several
listeners.
2014-12-04 00:10:27 -08:00
Tim Hockin c31b3f04de Merge pull request #2722 from thockin/iptables
strip quotes in back-compat iptables
2014-12-03 16:10:00 -08:00