Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
SataQiu
17b0b77026
fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-03 17:23:35 +08:00
Jordan Liggitt
5d5b444c4d
Remove use of testapi codecs, selflink, resourcepath functions
2019-12-13 11:56:29 -05:00
Han Kang
866ea74326
remove pkg/version and some of redundant copies of it
...
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Yassine TIJANI
bfa12a0992
add integration test for core/v1beta1 event compatibility
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-05-30 15:01:15 +00:00
Bin Lu
5504d845ff
Bug fix: failed to run integration test by using bazel
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-17 11:19:55 +08:00
xuzhonghu
b7f645a5ef
replace framework.RunAMaster with kubeapiservertesting.StartTestServer
2018-07-28 10:33:39 +08:00
xuzhonghu
b4a73d50c0
add watch integration test for dynamic client
2018-07-26 16:17:38 +08:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
David Eads
d8924bc1c9
move old dynamic client to deprecated-client
2018-05-11 08:00:46 -04:00
David Eads
94e3d94d67
update tests to be specific about the versions they are testing instead of floating
2018-05-01 13:18:41 -04:00
Jordan Liggitt
fbd6f38084
collapse patch conflict retry onto GuaranteedUpdate
...
builds on #62868
1. When the incoming patch specified a resourceVersion that failed as a precondition,
the patch handler would retry uselessly 5 times. This PR collapses onto GuaranteedUpdate,
which immediately stops retrying in that case.
2. When the incoming patch did not specify a resourceVersion, and persisting to etcd
contended with other etcd updates, the retry would try to detect patch conflicts with
deltas from the first 'current object' retrieved from etcd and fail with a conflict error
in that case. Given that the user did not provide any information about the starting version
they expected their patch to apply to, this does not make sense, and results in arbitrary
conflict errors, depending on when the patch was submitted relative to other changes made
to the resource. This PR changes the patch application to be performed on the object retrieved
from etcd identically on every attempt.
fixes #58017
SMP is no longer computed for CRD objects
fixes #42644
No special state is retained on the first attempt, so the patch handler correctly handles
the cached storage optimistically trying with a cached object first
2018-04-25 21:55:13 -04:00
David Eads
3632037e60
add easy to use dynamic client
2018-04-25 08:55:26 -04:00
Manjunath A Kumatagi
1bb810e749
Use pause manifest image
2018-04-06 11:00:50 +05:30
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Di Xu
48388fec7e
fix all the typos across the project
2018-02-11 11:04:14 +08:00
Kevin
4c8539cece
use core client with explicit version globally
2017-10-27 15:48:32 +08:00
Dr. Stefan Schimanski
cad0364e73
Update bazel
2017-10-18 17:24:04 +02:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Jacob Simpson
8bcbbd4d08
Migrate api.Registry to testapi.Groups in tests.
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Clayton Coleman
b6d9815b95
Remove use of (Label|Field)SelectorParam
2017-07-16 15:56:11 -04:00
Mike Danese
6ae11fdc5d
use testmain in integration tests
2017-07-12 17:34:55 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Dr. Stefan Schimanski
30668b24fb
client-go: GetOptions for dynamic client
2017-06-09 18:04:17 +02:00
deads2k
be39283923
plumb stopch to post start hook index since many of them are starting go funcs
2017-05-11 09:16:13 -04:00
Mike Danese
0c80a7aa40
fix go vet's from skipped tests
2017-04-28 14:19:40 -07:00
Mike Danese
21617a60ae
don't use build tags to mark integration tests
2017-04-28 14:19:39 -07:00
deads2k
706823aaa8
make unstructured items correspond to other items for storage
2017-04-11 08:44:16 -04:00
deads2k
5fd0162a8a
deflake TestPatch by waiting for cache
2017-03-07 08:53:29 -05:00
deads2k
ea887557d3
show patch error as string not byte slice
2017-03-01 11:32:16 -05:00
Jordan Liggitt
7b6ef2cedc
Switch watch prefixes to params
2017-02-22 08:54:08 -05:00
Jordan Liggitt
e6dbe5f57e
Pass typed options to dynamic client
2017-02-22 08:53:57 -05:00
Wojciech Tyczynski
a21b08d00f
Revert "Use watch param instead of deprecated /watch/ prefix"
2017-02-21 08:37:51 +01:00
Jordan Liggitt
f950171003
Switch watch prefixes to params
2017-02-19 23:51:58 -05:00
Jordan Liggitt
308fdcd13f
Pass typed options to dynamic client
2017-02-19 22:12:55 -05:00
deads2k
2734f8f892
move dynamic and discovery clients
2017-01-26 08:37:06 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
26c46971f2
move PatchType to apimachinery
2017-01-17 08:32:05 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
Kubernetes Submit Queue
a6fa5c2bfd
Merge pull request #39814 from deads2k/api-58-multi-register
...
Automatic merge from submit-queue
replace global registry in apimachinery with global registry in k8s.io/kubernetes
We'd like to remove all globals, but our immediate problem is that a shared registry between k8s.io/kubernetes and k8s.io/client-go doesn't work. Since client-go makes a copy, we can actually keep a global registry with other globals in pkg/api for now.
@kubernetes/sig-api-machinery-misc @lavalamp @smarterclayton @sttts
2017-01-13 12:37:02 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00