k3s/pkg/volume/gce_pd
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
..
OWNERS
attacher.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
attacher_test.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
gce_pd.go This change supports robust kubelet volume cleanup 2016-08-15 11:29:15 -07:00
gce_pd_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
gce_util.go Update cloud providers 2016-09-15 10:33:57 +02:00