Daniel Smith
828b70abb9
api and api/v1beta1 pass tests again
2014-09-07 22:19:24 -07:00
Daniel Smith
77edb91032
Add Object type to runtime, make runtime test pass.
2014-09-07 22:19:24 -07:00
Daniel Smith
0c6adde92e
Change conversion package so that AddKnownTypes takes pointers.
2014-09-07 22:19:24 -07:00
Daniel Smith
2ba6503511
Add continuation to conversion routines
2014-09-07 22:19:24 -07:00
Tim Hockin
6ebe69a875
Merge pull request #1156 from brendandburns/api
...
Add support for the PostStart event handler.
2014-09-05 22:13:56 -07:00
brendandburns
8e10ee5169
Merge pull request #1197 from lavalamp/fixApi
...
Rename Object to EmbeddedObject
2014-09-05 21:39:37 -07:00
Clayton Coleman
e0c47d979c
Merge pull request #1194 from fsouza/remove-godockerclient-copiedstructs
...
api/v1beta1: use go-dockerclient instead of docker-api-structs
2014-09-05 17:58:03 -04:00
Daniel Smith
7790961011
Rename Object to EmbeddedObject
2014-09-05 14:43:35 -07:00
Joe Beda
77488835fe
Merge pull request #1190 from derekwaynecarr/vagrant_cluster_hostname
...
Improve vagrant hostname support across cluster
2014-09-05 14:30:09 -07:00
derekwaynecarr
7f75aae8ab
Improve vagrant hostname support across cluster
2014-09-05 16:39:39 -04:00
Francisco Souza
6d0f84c700
api/v1beta1: use go-dockerclient instead of docker-api-structs
...
This involves updating go-dockerclient and removing the patched code.
Related to #692 and fsouza/go-dockerclient#146 .
2014-09-05 17:31:13 -03:00
Brendan Burns
d0884accd7
Add support for the PostStart event handler.
2014-09-05 12:37:57 -07:00
Joe Beda
3c0a736908
Fix/expand kubecfg unit tests
2014-09-04 13:25:39 -07:00
Joe Beda
f8e2f927f6
Pretty up the demo a little.
...
Use images and some better formatting. Also add scripts to help prevent typos.
This based on an improved version done by Julia Ferraioli. She came up with the cool images.
2014-09-04 13:25:39 -07:00
Joe Beda
45aaff9993
Add template update to rollingUpdate
2014-09-04 13:25:38 -07:00
Joe Beda
2444e4e1dc
Simplify labels for `kubecfg run`
...
We created a name=<controller name> label on each object we created. This was confusing. Instead, piggyback on `replicationController` label and use that as the selector.
2014-09-04 13:25:38 -07:00
Daniel Smith
779de7361a
Merge pull request #1138 from bcwaldon/common-watch-code
...
Use shared watch code in kubelet etcd config
2014-09-03 23:47:09 -07:00
Deyuan Deng
75470e6adf
Include pod status in kebecfg humanreadable result.
2014-09-03 20:26:32 -04:00
Brian Waldon
85bf7064bb
Use shared watch code in kubelet etcd config
2014-09-03 15:51:02 -07:00
Clayton Coleman
34c40e4e48
Errors should be part of api/errors, not apiserver
...
Renames constructor methods to be errors.New<name> which changed a few
places.
2014-09-03 17:16:00 -04:00
Clayton Coleman
6dd4831de8
Move validation errors into their own file
2014-09-03 17:14:03 -04:00
Clayton Coleman
01e668187c
Services and Endpoints weren't properly sync'ing
...
They need incremental changes and a resync on start.
2014-09-03 16:04:55 -04:00
derekwaynecarr
ca3f5a9f46
Fixup name vs ID terminology
2014-09-03 10:27:33 -04:00
Brendan Burns
dd9ecf5b79
Add types for lifecycle events.
2014-09-02 15:14:13 -07:00
brendandburns
25fdade6fa
Merge pull request #1134 from thockin/race
...
try to fix data race
2014-09-02 14:07:15 -07:00
Daniel Smith
d20264351b
Merge pull request #1077 from brendandburns/service
...
Step #1 in migrating the service controller away from the apiserver.
2014-09-02 14:03:52 -07:00
Tim Hockin
8ad98db773
Merge pull request #1121 from filbranden/rawversion2
...
Add support for -version=raw
2014-09-02 13:53:13 -07:00
Tim Hockin
6a624a2b4f
try to fix data race
2014-09-02 13:51:15 -07:00
Daniel Smith
a63966e73c
Combine pkg/apitools and pkg/api/common and call the result pkg/runtime
2014-09-02 11:15:44 -07:00
Daniel Smith
099c8fd36f
Propagate rename; tests pass again.
2014-09-02 10:42:06 -07:00
Daniel Smith
7615c00a9a
Make validation work when not in the api package.
2014-09-02 10:42:06 -07:00
Daniel Smith
eb5ca80946
Split helper test, move fuzzing to api package as serialization_test.go
2014-09-02 10:40:52 -07:00
Daniel Smith
6121e61f99
Split api into api, api/common, api/validation & apitools
2014-09-02 10:40:52 -07:00
Brendan Burns
fee2b90608
Step #1 in migrating the service controller away from the apiserver.
...
Start using the API server for listing services.
2014-09-02 10:25:04 -07:00
Tim Hockin
5bed06f614
Merge pull request #1129 from VojtechVitek/godoc
...
Godoc improvements
2014-09-02 09:45:05 -07:00
Clayton Coleman
64c7348a19
Expand api ResourceVersioner test
2014-09-02 09:52:37 -04:00
Vojtech Vitek (V-Teq)
42c656501c
Add several missing pkg Godoc files
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-09-02 13:41:11 +02:00
Vojtech Vitek (V-Teq)
59f58cd043
Unify Godoc formatting, fix various typos
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-09-02 13:41:03 +02:00
Deyuan Deng
d528949547
Fix pod status error with List method.
2014-09-01 21:23:50 -04:00
Filipe Brandenburger
1d8067450c
Rename `pkg/version/flag` to `pkg/version/verflag`
...
This avoids some conflict with the built-in `flag` module in Go. The
module was already being renamed to `verflag` on import anyways, so we
might as well just call it that.
Tested:
- hack/build-go.sh and ran the resulting binaries with -version args.
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-29 23:19:32 -07:00
Filipe Brandenburger
2421c738a6
Add support for -version=raw to print the Go version.Info
...
This can be helpful to print the internal fields of the version
information that will contain more details about the git tree than the
short -version output will.
Tested:
- Tested getting the raw version:
$ _output/go/bin/kubecfg -version=raw
version.Info{Major:"0", Minor:"1+", GitVersion:"v2.2.1-33-gdc4becd9765393", GitCommit:"dc4becd9765393fa05a3eb06f6af9e00068fe0c5", GitTreeState:"dirty"}
- Tested getting the simple version:
$ _output/go/bin/kubecfg -version
Kubernetes version 0.1+, build dc4becd976
- Tested getting the help output:
$ _output/go/bin/kubecfg 2>&1 | grep -- -version
-version=false: Print version information and quit
- Made sure -version=true and -version=false works, that -version with
an invalid argument works as expected (prints usage help) and that
-version followed by space will not try to use the next word as its
argument (i.e. `-version raw` prints the version but not the raw one.)
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-29 23:15:24 -07:00
Joe Beda
2d8e160775
Merge pull request #1117 from lavalamp/fixApi
...
Invert api and api/v1beta1 dependencies
2014-08-29 14:59:15 -07:00
Daniel Smith
9928c40ea6
Merge pull request #1099 from smarterclayton/return_resource_version_on_list
...
Add the resource version to api.*List items from etcd
2014-08-29 13:41:46 -07:00
Daniel Smith
aa9b9b9fa8
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
821f9bd5e7
Merge pull request #1102 from lavalamp/fixApi
...
Fix incorrect tag in MinionList
2014-08-29 10:54:15 -04:00
Daniel Smith
dd862a7c53
Fix flaky scheduler factory test.
2014-08-28 20:32:20 -07:00
Clayton Coleman
bafc422ac0
Add the resource version to api.*List items from etcd
...
Allows clients to watch more easily (can invoke Get, then
Watch).
2014-08-28 23:17:00 -04:00
Daniel Smith
a2b03ea93b
Fix incorrect tag in MinionList
2014-08-28 20:06:17 -07:00
Daniel Smith
e30d229a34
Merge pull request #1097 from bcwaldon/remove-code
...
Remove unnecessary parameter from NewRegistry
2014-08-28 17:37:05 -07:00
Daniel Smith
93818a9ce0
Merge pull request #1095 from dchen1107/cleanup
...
Fixed kubelet /healthz by using healthz package
2014-08-28 17:25:56 -07:00