k3s/pkg/kubelet
Kubernetes Submit Queue a6eb49f0dc
Merge pull request #68195 from luxas/consolidate_componentconfig_code_standards
Automatic merge from submit-queue (batch tested with PRs 67950, 68195). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Consolidate componentconfig code standards

**What this PR does / why we need it**:

This PR fixes a bunch of very small misalignments in ComponentConfig packages:
 - Add sane comments to all functions/variables in componentconfig `register.go` files
 - Make the `register.go` files of componentconfig pkgs follow the same pattern and not differ from each other like they do today.
 - Register the `openapi-gen` tag in all `doc.go` files where the pkg contains _external_ types.
 - Add the `groupName` tag where missing
 - Fix cases where `addKnownTypes` was registered twice in the `SchemeBuilder`
 - Add `Readme` and `OWNERS` files to `Godeps` directories if missing.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:


**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```

/assign @sttts @thockin
2018-09-07 11:19:40 -07:00
..
apis Merge pull request #68195 from luxas/consolidate_componentconfig_code_standards 2018-09-07 11:19:40 -07:00
cadvisor Remove --cadvisor-port - has been deprecated since v1.10 2018-07-02 08:54:14 -04:00
certificate Merge pull request #66056 from mikedanese/fixhang 2018-08-30 20:16:32 -07:00
checkpoint Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
checkpointmanager
client Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cloudresource Reduce verbose logs of node addresses requesting 2018-08-21 13:23:01 +08:00
cm Updated the device manager pluginwatcher handler 2018-09-06 15:34:46 +02:00
config remove duplicated import 2018-08-01 13:27:42 +08:00
configmap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
container kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
custommetrics Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
dockershim Merge pull request #67909 from tallclair/runtimeclass-kubelet 2018-09-05 14:51:47 -07:00
envvars K8s SCTP support implementation for the first pull request 2018-08-27 05:56:27 +00:00
events delete unused events 2018-07-17 14:19:50 +08:00
eviction move feature gate checks inside IsCriticalPod 2018-07-11 16:10:05 -05:00
images indent error flow 2018-08-13 17:31:31 +08:00
kubeletconfig autogenerated go code, godeps, bazel and gofmt 2018-09-02 14:38:59 +03:00
kuberuntime Implement RuntimeClass support for the Kubelet & CRI 2018-09-04 13:45:11 -07:00
leaky
lifecycle ProcMount: add api options and feature gate 2018-08-30 11:40:02 -04:00
logs Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
metrics fix metrics help comment 2018-07-13 10:26:35 +09:00
mountpod Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
network Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
nodelease Kubelet creates and manages node leases 2018-08-26 16:03:36 -07:00
nodestatus Honor --hostname-override, report compatible hostname addresses with cloud provider 2018-08-28 11:21:01 -04:00
pleg Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
pod Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
preemption Compared preemption by priority. 2018-08-04 11:33:07 +08:00
prober Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
qos Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
remote Implement RuntimeClass support for the Kubelet & CRI 2018-09-04 13:45:11 -07:00
runtimeclass Implement RuntimeClass support for the Kubelet & CRI 2018-09-04 13:45:11 -07:00
secret Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
server Merge pull request #66427 from feiskyer/win-pods-stats 2018-09-04 21:59:49 -07:00
stats Kubelet: do not report used inodes on Windows 2018-09-03 16:42:33 +08:00
status Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
sysctl Run make update 2018-06-06 00:12:40 +02:00
token Currently, token manager use keyFunc like: `fmt.Sprintf("%q/%q/%#v", name, namespace, tr.Spec)`. 2018-09-06 09:03:26 -07:00
types remove rescheduler 2018-08-22 11:49:14 +08:00
util Update pluginwatcher tests 2018-09-06 14:44:03 +02:00
volumemanager Merge pull request #66884 from NickrenREN/attacher-detacher-refactor 2018-08-15 07:03:48 -07:00
winstats Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Merge pull request #67690 from feiskyer/iptables-cross 2018-09-05 22:55:15 -07:00
OWNERS Add labels to kubelet OWNERS files 2018-08-22 00:43:32 +03:00
active_deadline.go
active_deadline_test.go
doc.go
kubelet.go Updated the device manager pluginwatcher handler 2018-09-06 15:34:46 +02:00
kubelet_getters.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
kubelet_getters_test.go
kubelet_network.go Kubelet: only sync iptables on linux 2018-09-05 10:22:48 +08:00
kubelet_network_linux.go Kubelet: only sync iptables on linux 2018-09-05 10:22:48 +08:00
kubelet_network_others.go Kubelet: only sync iptables on linux 2018-09-05 10:22:48 +08:00
kubelet_network_test.go Kubelet: only sync iptables on linux 2018-09-05 10:22:48 +08:00
kubelet_node_status.go Merge pull request #67739 from liggitt/hostname-override 2018-08-28 12:31:00 -07:00
kubelet_node_status_test.go Kubelet creates and manages node leases 2018-08-26 16:03:36 -07:00
kubelet_pods.go kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
kubelet_pods_linux_test.go Fix unit tests for Windows 2018-09-05 10:22:53 +08:00
kubelet_pods_test.go Fix unit tests for Windows 2018-09-05 10:22:53 +08:00
kubelet_pods_windows_test.go Add dynamic environment variable substitution to subpaths 2018-05-29 17:01:09 +01:00
kubelet_resources.go
kubelet_resources_test.go Cleanup verbose cAdvisor mocking in Kubelet unit tests 2018-06-27 11:53:41 -07:00
kubelet_test.go Fix unit tests for Windows 2018-09-05 10:22:53 +08:00
kubelet_volumes.go
kubelet_volumes_test.go Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
oom_watcher.go
oom_watcher_test.go
pod_container_deletor.go kubelet: force filterContainerID to empty string when removeAll is true 2018-04-30 16:29:17 -05:00
pod_container_deletor_test.go
pod_workers.go Fix pod worker deadlock. 2018-07-09 11:45:26 -07:00
pod_workers_test.go
reason_cache.go
reason_cache_test.go
runonce.go
runonce_test.go implement service account token projection 2018-06-04 17:22:08 -07:00
runtime.go cleanup some dead kubelet code 2018-05-29 22:38:01 +08:00
util.go
volume_host.go Pass new CSI API Client and informer to Volume Plugins 2018-08-31 12:25:59 -07:00