summaryrefslogtreecommitdiff
path: root/contributors
diff options
context:
space:
mode:
authorKubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com>2021-11-23 16:58:21 -0800
committerGitHub <noreply@github.com>2021-11-23 16:58:21 -0800
commit565857837574ea857ce0af3a5f63086ca72b55e8 (patch)
treefe12b73840426e17ae78561fc70694bd0b235b49 /contributors
parent43ffba4414b8aa493fc31e9c553b93a5450eefcf (diff)
parent2979af4f98d4704bbec47c1d8a420b2e6c7734ab (diff)
Merge pull request #6127 from pravarag/verify-documentation
Add documentation for remaining hack/verify* tests
Diffstat (limited to 'contributors')
-rw-r--r--contributors/devel/sig-testing/verify-tests.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/contributors/devel/sig-testing/verify-tests.md b/contributors/devel/sig-testing/verify-tests.md
index 96c34cce..ffbebffe 100644
--- a/contributors/devel/sig-testing/verify-tests.md
+++ b/contributors/devel/sig-testing/verify-tests.md
@@ -163,3 +163,38 @@ k8s.io/metrics
Once it completes checking for code updates, later the script calls
`update-codegen.sh` scripts.
+
+
+## `verify-structured-logging`
+
+This script verifies if a package is properly migrated to structured
+logging or not. The script involves verification steps based on new
+klog methods which have few disallowed keywords like,
+
+```bash
+* klog.Infof, klog.Info, klog.Infoln
+* klog.InfoDepth
+* klog.WarningDepth
+* klog.Error, klog.Errorf, klog.Errorln
+* klog.ErrorDepth
+```
+
+More info is available
+[here](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/migration-to-structured-logging.md#change-log-functions-to-structured-equivalent).
+
+
+## `verify-gofmt`
+
+This script is used to check whether the go source code needs to be
+formatted or not using, the gofmt tool. Gofmt tool automatically
+formats the code and the formatted code is easier to read, write and
+maintain.
+
+
+## `verify-spelling`
+
+This script uses `client9/misspell` package to search and correct
+commonly misspelled words as per the English language in all the files
+and directories under `kubernetes/kubernetes`.
+
+