Dawn Chen
17475cdbe7
Merge pull request #2821 from lavalamp/fix
...
Allow, when testing, SelfLinks to be unset.
2014-12-10 12:10:51 -08:00
Clayton Coleman
d1d7505272
Rename client Minions->Nodes, select the correct path for v1beta3
...
Replaces the client public interface but leaves old references to "minions"
for a later refactor. Selects the path "nodes" for v1beta3 and "minions"
for older versions.
2014-12-10 12:08:19 -05:00
Clayton Coleman
19379b5a38
Internal rename api.Minion -> api.Node
2014-12-10 12:08:18 -05:00
Clayton Coleman
650aead4c4
Support Node/NodeList as a valid name in all versions
...
Also refactor v1beta1/conversion_test.go `v1beta` -> `current` to allow
easier cut and paste of tests.
2014-12-10 11:53:38 -05:00
Clayton Coleman
5447e74129
Node/Nodelist
2014-12-10 11:48:41 -05:00
Daniel Smith
e46bfcf699
Allow, when testing, SelfLinks to be unset. Kubelet now makes events in tests.
2014-12-09 17:53:42 -08:00
bgrant0607
4a9afe61da
Merge pull request #2621 from brendandburns/kubecfg
...
Add validation back in
2014-12-09 15:10:51 -08:00
Brendan Burns
18cfac0d31
Make validation optional, handle YAML
2014-12-09 12:37:49 -08:00
Brendan Burns
c29f5db81c
Revert "Revert "Add optional validation to kubecfg/kubectl.""
...
This reverts commit 6590c66dd4
.
2014-12-09 12:37:48 -08:00
Clayton Coleman
2c27f7d332
Allow an empty service
2014-12-09 12:48:53 -05:00
Tim Hockin
5ecce5d60c
Add util to validate namespaced names
2014-12-08 15:31:43 -08:00
Jordan Liggitt
22eee15fe7
Remove uint64 bitshift workaround
2014-12-04 15:00:23 -08:00
Sam Ghods
6399854240
Remove unused YAML tags and GetYAML/SetYAML methods
...
Unneeded after move to ghodss/yaml.
2014-12-02 16:25:28 -08:00
Sam Ghods
9a9a1e0939
Move from go-yaml/yaml to ghodss/yaml
2014-12-02 16:24:05 -08:00
Tim Hockin
89875ef09d
Loosen DNS 952 for labels
2014-12-01 12:30:43 -08:00
Tim Hockin
c857dc1196
Add namespacing for label keys
2014-12-01 12:30:43 -08:00
Tim Hockin
d5a6a54391
clean up error message on labels validation errs
2014-12-01 12:30:43 -08:00
Vojtech Vitek (V-Teq)
28f5d51a5f
Add Labels and Annotations to MetadataAccessor
2014-12-01 16:36:24 +01:00
Vojtech Vitek (V-Teq)
508724b1f8
meta_test should not depend on runtime.TypeMeta
2014-12-01 16:36:21 +01:00
Tim Hockin
9afeaf36ef
Fix head
2014-11-26 13:48:50 -08:00
Eric Tune
585afa1bae
Merge pull request #2610 from ddysher/node-namespace
...
Fix node namespace.
2014-11-26 13:02:21 -08:00
Joe Beda
6590c66dd4
Revert "Add optional validation to kubecfg/kubectl."
...
This reverts commit acf6d82800
.
2014-11-25 14:45:00 -08:00
Eric Tune
636ffed399
Merge pull request #2515 from thockin/why
...
Add details on Invalid validation errors
2014-11-25 14:04:27 -08:00
Deyuan Deng
c8c7a13ac6
Fix node namespace.
2014-11-25 16:30:55 -05:00
Clayton Coleman
a67912f937
Merge pull request #2517 from brendandburns/kubecfg
...
Add client side validation to kubecfg and kubectl.
2014-11-25 13:46:52 -06:00
Clayton Coleman
c5e9f60f9c
Merge pull request #2569 from mfojtik/pluralization_fix
...
Fix pluralization in RESTMapper when kind ends with 'y'
2014-11-25 09:53:46 -06:00
Michal Fojtik
7235a9b1f0
Fix pluralization in RESTMapper when kind ends with 'y'
2014-11-25 11:33:13 +01:00
Brendan Burns
acf6d82800
Add optional validation to kubecfg/kubectl.
2014-11-24 22:25:22 -08:00
Brendan Burns
a5bc6301a4
Revert "Using util.Time for ContainerStatus"
2014-11-24 21:32:31 -08:00
Tim Hockin
ff8c5f9415
Add a Detail field to Validation Error
2014-11-24 17:28:42 -08:00
Tim Hockin
b08e5b24b0
Change ValidationError to a pointer
...
In Prep for adding at leats one more field, make this operate more list
StatusError.
2014-11-24 17:28:42 -08:00
Daniel Smith
610ab9a0db
Merge pull request #2586 from dchen1107/cleanup
...
Using util.Time for ContainerStatus
2014-11-24 15:35:07 -08:00
Dawn Chen
acb0f1198b
Using util.Time for ContainerStatus
2014-11-24 15:15:33 -08:00
Daniel Smith
668a81e894
Merge pull request #2539 from lavalamp/master
...
Reduce boilerplate
2014-11-24 13:45:04 -08:00
Daniel Smith
8d762c996a
Remove boilerplate coversion functions
2014-11-24 12:57:34 -08:00
Deyuan Deng
b5fce5021f
gitrepo validation
2014-11-23 23:03:11 -05:00
markturansky
8159c8fd25
Refactor PodCondition to PodPhase
2014-11-21 15:28:38 -05:00
bgrant0607
4c5a7e5915
Merge pull request #2492 from brendandburns/valid
...
Add a swagger schema validator, for validating client side json files.
2014-11-21 07:01:59 -08:00
Brendan Burns
6c53d3b462
Add a swagger schema validator, for validating client side json files.
2014-11-20 22:16:55 -08:00
Deyuan Deng
a4e7604266
Merge pull request #2478 from smarterclayton/refactor_minion_to_match_v1beta3
...
Move the internal minion representation to match v1beta3
2014-11-20 21:37:43 -05:00
Clayton Coleman
156000ef6d
Move the internal minion representation to match v1beta3
...
Moves to 'Spec' and 'Status' internally and removes duplicate
fields. Moves Capacity into Spec and drops use of NodeResources
2014-11-20 20:53:08 -05:00
Tim Hockin
95a9098311
fix 'go vet' warnings
2014-11-21 09:45:28 +08:00
Tim Hockin
ea960711ff
Clean up error logs.
...
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines). Just accumulated nits.
2014-11-21 09:45:26 +08:00
Daniel Smith
4437f03dbf
Don't hold up the entire event queue for a single bad event. Also, don't retry forever.
2014-11-20 16:01:42 -08:00
Daniel Smith
885f2b5f48
Merge pull request #2452 from bgrant0607/docfix
...
Document v1beta2 fields
2014-11-18 14:48:13 -08:00
Clayton Coleman
1c524607d8
Merge pull request #2097 from markturansky/v1beta3_podrefactor
...
Refactor internal API for Pods to match v1beta3
2014-11-18 15:28:58 -05:00
Brian Grant
76daced96f
Document v1beta2 fields
2014-11-18 19:40:43 +00:00
Daniel Smith
e47887c79e
Merge pull request #2444 from bgrant0607/docfix
...
Add descriptions to all v1beta1 API fields.
2014-11-18 10:54:11 -08:00
Daniel Smith
6ae208aea9
Merge pull request #2187 from eparis/go.net-rename
...
update code.goole.com/p/go.net to golang.org/x/net
2014-11-18 10:08:28 -08:00
Brian Grant
821c8542b6
Add descriptions to all v1beta1 API fields.
2014-11-18 17:53:57 +00:00