Daniel Smith
ab9346d107
Use ID instead of Name in v1beta1 & 2
2014-10-29 15:13:44 -07:00
Daniel Smith
070c6c0440
Fix missing portalNets in tests once and for all by adding a default.
2014-10-29 12:27:35 -07:00
Daniel Smith
858b557bbb
Undemocratically remove unused election code.
...
@brendandburns: leaving this as a separate commit so you can get it back easily when you're ready to do something with it.
2014-10-29 11:38:45 -07:00
Daniel Smith
a036ebc1be
Switch models. No master election.
2014-10-29 11:38:45 -07:00
Daniel Smith
7146ec9d49
Implement kubernetes & kubernetes-ro services
2014-10-29 11:29:28 -07:00
Daniel Smith
3045311398
Fix subtle bug when proxy constructs outgoing URL.
2014-10-29 11:29:28 -07:00
Daniel Smith
7209ca1543
Make redirect handle namespaces just like proxy (which is weird and needs to be fixed but at least this will be consistent).
2014-10-29 11:29:28 -07:00
Daniel Smith
4311273294
Expand choices for using election code.
2014-10-29 11:29:28 -07:00
Daniel Smith
d05dad6c59
Add runner utility.
2014-10-29 11:29:28 -07:00
Daniel Smith
5ac88dbe2e
Merge pull request #2055 from smarterclayton/define_an_interface_for_typing
...
Make DataVersionAndKind public on runtime.Scheme
2014-10-29 10:29:39 -07:00
Daniel Smith
94e736e286
Merge pull request #2009 from smarterclayton/unify_meta
...
Unify Accessor for ObjectMeta/TypeMeta/ListMeta
2014-10-29 09:58:46 -07:00
Clayton Coleman
58715527aa
Make DataVersionAndKind public on runtime.Scheme
...
Add a new ObjectTyper interface that clients can depend on for
converting between data and object to version and kind.
2014-10-29 12:10:55 -04:00
Daniel Smith
dca7363459
Serve API version list, test with an integration test.
2014-10-28 17:35:56 -07:00
Clayton Coleman
1da5c444e8
Merge pull request #2034 from deads2k/expose-parseWatchResourceVersion
...
expose ParseWatchResourceVersion for downstream use
2014-10-28 19:26:46 -04:00
Dawn Chen
f6db096741
Merge pull request #2022 from brendandburns/gc
...
Add container garbage collection.
2014-10-28 13:37:16 -07:00
Daniel Smith
55c9c06b81
Merge pull request #2001 from VojtechVitek/fix_scheme_panic
...
Fix reflect panic in runtime/conversion
2014-10-28 13:30:40 -07:00
deads2k
613bf93eaf
expose ParseWatchResourceVersion for downstream use
2014-10-28 16:29:33 -04:00
Brendan Burns
51bf451932
Add container garbage collection.
2014-10-28 12:52:06 -07:00
Daniel Smith
66b43a5e87
fix build
2014-10-28 12:44:24 -07:00
Clayton Coleman
5cb3c10289
Merge pull request #1782 from smarterclayton/allow_put_to_set_create
...
Allow clients to determine the difference between create or update on PUT
2014-10-28 13:40:41 -04:00
Clayton Coleman
88cd3988f7
Merge pull request #2016 from erictune/whoami
...
Added /whoami and integration test for authorization.
2014-10-28 13:21:24 -04:00
Eric Tune
f7ebc7d0d5
Added /_whoami and integration test for auth(z|n)
...
Added new endpoint /_whoami for debugging authentication.
Added integration test which checks that a user is authenticated
using token authentication.
Rearranged initialization of authenticator to support preceeding.
2014-10-28 09:33:45 -07:00
Vojtech Vitek (V-Teq)
90809c270d
Use conversion.EnforcePtr() where appropriate
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-10-28 16:36:09 +01:00
Vojtech Vitek (V-Teq)
8969f0df7e
Handle nil values in conversion.EnforcePtr()
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-10-28 16:36:04 +01:00
Tim Hockin
9a617344bf
Merge pull request #1945 from brendandburns/tests
...
Add support for git volumes.
2014-10-27 16:55:37 -07:00
Brendan Burns
b59e49fa13
Add support for git volumes.
2014-10-27 16:35:52 -07:00
bgrant0607
854af6b926
Merge pull request #1966 from ddysher/Stop-test-server
...
Stop test server in endpoint unittest.
2014-10-27 16:35:18 -07:00
bgrant0607
f28b840060
Merge pull request #1982 from thockin/dns
...
Respect a requested PortalIP if possible
2014-10-27 16:24:37 -07:00
Brendan Burns
455471d77d
Further fixes.
2014-10-27 14:48:42 -07:00
Tim Hockin
bb5ca0f91b
Respect a requested PortalIP if possible
2014-10-27 14:03:52 -07:00
Joe Beda
fca05982fc
Merge pull request #2010 from brendandburns/fix
...
Fix the e2e tests and kubecfg given recent additional validation.
2014-10-27 13:43:13 -07:00
Brendan Burns
df3dd288f2
Fix the e2e tests and kubecfg given recent additional validation.
2014-10-27 13:39:21 -07:00
Clayton Coleman
66ace4c270
Begin to unify ResourceVersioner and SelfLinker
...
Create a new MetadataAccessor interface that combines both
and use it where previously latest.ResourceVersioner and SelfLinker
were being used.
Adds Namespace to the get/set interface. Adds TODO about future
fast path for metadata (as per thockin's comment)
2014-10-27 16:00:55 -04:00
Eric Tune
245585f364
Move handler setup: cmd/apiserver -> pkg/master
...
Moved CORS handler setup and authorizer setup.
Will allow for integration test of authorization.
2014-10-27 11:43:12 -07:00
Clayton Coleman
126d4dcf96
Merge pull request #1978 from erictune/master_int_test
...
Integration test on master, not just apiserver.
2014-10-27 13:12:13 -04:00
Tim Hockin
37ffb41b81
Merge pull request #1830 from markturansky/label_validation
...
add RFC952 validation to labels
2014-10-27 09:54:18 -07:00
Eric Tune
40a5ca034d
Integration test on master, not just apiserver.
...
Moved code from cmd/apiserver to pkg/master.
test/integration/client_test made to use a master object,
instead of an apiserver.Handle.
Subsequent PRs will move more handler-installation into
pkg/master, with the goal that every http.Handler of a
standalone apiserver process can also be tested
in a "testing"-style go test.
In particular, a subsequent PR will test
authorization.
2014-10-27 09:14:58 -07:00
Vojtech Vitek (V-Teq)
6a6f24b126
Fix reflect panic in runtime/conversion
...
Fixes `panic: reflect: call of reflect.Value.Type on zero Value`
when calling conversion.EnforcePtr() or
runtime.Scheme.ObjectVersionAndKind() from default type switch.
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-10-27 06:01:14 +01:00
Clayton Coleman
52b582271b
Typo in conversion Godoc
2014-10-26 22:21:11 -04:00
Brendan Burns
5d4d60783d
Add requirements based scheduling.
2014-10-25 22:08:00 -07:00
Brendan Burns
87c77e5ba7
Start adding git volumes.
2014-10-24 20:44:08 -07:00
Daniel Smith
dc7e3d6601
Merge pull request #1937 from derekwaynecarr/update_client_interface
...
Rework client.Interface
2014-10-24 16:26:16 -07:00
markturansky
e2365b1f96
add RFC952 label validation
2014-10-24 16:01:52 -04:00
Clayton Coleman
d5ee171410
Allow clients to determine the difference between create or update on PUT
...
PUT allows an object to be created (http 201). This allows REST code to
indicate an object has been created and clients to react to it.
APIServer now deals with <-chan RESTResult instead of <-chan runtime.Object,
allowing more data to be passed through.
2014-10-24 14:41:15 -04:00
Tim Hockin
d6effe3c6d
Rename api ErrorList for clarity
2014-10-24 09:43:14 -07:00
derekwaynecarr
b7be298f54
Fix client structs to be package private
2014-10-24 11:49:04 -04:00
derekwaynecarr
c6eb371c93
Fixup unit tests
2014-10-24 11:49:04 -04:00
derekwaynecarr
341e404290
Fix sync service endpoints typo
2014-10-24 11:47:30 -04:00
derekwaynecarr
a18567f759
Update fake.go for client interface changes
2014-10-24 11:47:30 -04:00
derekwaynecarr
580cb5ea4f
Rework client.Interface
2014-10-24 11:47:30 -04:00