k3s/cmd/kubelet/app
Justin Santa Barbara 54195d590f Use strongly-typed types.NodeName for a node name
We had another bug where we confused the hostname with the NodeName.

To avoid this happening again, and to make the code more
self-documenting, we use types.NodeName (a typedef alias for string)
whenever we are referring to the Node.Name.

A tedious but mechanical commit therefore, to change all uses of the
node name to use types.NodeName

Also clean up some of the (many) places where the NodeName is referred
to as a hostname (not true on AWS), or an instanceID (not true on GCE),
etc.
2016-09-27 10:47:31 -04:00
..
options kubelet: Add a hidden flag to enable docker CRI integration 2016-09-19 13:09:00 -07:00
bootstrap.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
bootstrap_test.go kubelet: '--experimental-bootstrap-kubeconfig' refactor. 2016-08-19 15:27:23 -07:00
plugins.go Add options to set CNI config and binary directories 2016-09-09 11:43:16 +01:00
server.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
server_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
server_test.go Kubelet Refactoring 2016-08-25 10:57:31 -07:00
server_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00