kubernetes/cmd
Yuki Iwai 201c30fba8
Job: Handle error returned from AddEventHandler function (#119917)
* Job: Handle error returned from AddEventHandler function

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Use the error message the similar to CronJob

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Clean up error messages

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Put the tesing.T on the second place in the args for the newControllerFromClient function

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Put the testing.T on the second place in the args for the newControllerFromClientWithClock function

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Call t.Helper()

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Put the testing.TB on the second place in the args for the createJobControllerWithSharedInformers function and call tb.Helper() there

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Put the testing.TB on the second place in the args for the startJobControllerAndWaitForCaches function and call tb.Helper() there

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Adapt TestFinializerCleanup to the eventhandler error

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

---------

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2023-10-17 21:28:34 +02:00
..
clicheck More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
cloud-controller-manager remove ClusterCIDR 2023-10-14 19:06:22 +00:00
dependencycheck replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
dependencyverifier Track vendor status of unwanted deps 2023-09-06 21:48:30 -04:00
fieldnamedocscheck Add linter to check if api docs match field tag names 2023-01-18 10:49:12 +08:00
gendocs More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
genkubedocs replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
genman More migrations from genericclioptions to genericiooptions 2023-04-05 15:03:09 +03:00
genswaggertypedocs hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genutils hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genyaml More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
gotemplate golangci-lint: suppress one issue, demote others to "hints" 2023-08-22 20:39:23 +02:00
importverifier replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
kube-apiserver kube-apiserver: move cloud provider validation into options 2023-10-10 22:43:23 +02:00
kube-controller-manager Job: Handle error returned from AddEventHandler function (#119917) 2023-10-17 21:28:34 +02:00
kube-proxy Merge pull request #118146 from aroradaman/fix/proxy-healthzserver 2023-10-16 21:19:25 +02:00
kube-scheduler Change the scheduler plugins PluginFactory function to use context parameter to pass logger 2023-09-20 17:49:54 +08:00
kubeadm Merge pull request #121290 from pacoxu/revert-119946-ignore_preflight_error 2023-10-17 17:21:36 +02:00
kubectl Update sig-cli OWNERS 2022-02-14 10:55:35 -07:00
kubectl-convert More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
kubelet Merge pull request #120740 from champtar/reserved-cpus-log-fixup 2023-10-16 19:07:26 +02:00
kubemark Move hollow_proxy.go from pkg/kubemark to pkg/proxy/kubemark 2023-03-16 09:47:54 -04:00
preferredimports preferredimports: support regular expressions for the import path 2022-09-08 18:37:52 +02:00
prune-junit-xml prune's xml files to display only top level tests and failed sub-tests 2023-06-06 05:26:00 -07:00
yamlfmt add reviewers and labels to yamlfmt 2023-05-17 09:59:26 -07:00
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00