kubernetes/pkg/api/v1
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
..
backward_compatibility_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
conversion_test.go Convert() should accept the new conversion Context value 2016-08-18 14:45:20 -04:00
conversion.go Fix backward compatibility issue caused by promoting initcontainers from alpha to beta. 2016-09-19 16:33:25 -07:00
defaults_test.go Convert() should accept the new conversion Context value 2016-08-18 14:45:20 -04:00
defaults.go support Azure data disk volume 2016-08-23 13:23:07 +00:00
doc.go Add +k8s:openapi-gen tag to API types 2016-09-12 18:47:03 -07:00
generated.pb.go support Azure data disk volume 2016-08-23 13:23:07 +00:00
generated.proto Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
meta.go add ClusterName field to ObjectMeta 2016-08-22 21:09:57 -07:00
register.go fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
types_swagger_doc_generated.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
types.generated.go support Azure data disk volume 2016-08-23 13:23:07 +00:00
types.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
zz_generated.conversion.go Conversion: log opted-out fields 2016-09-26 20:07:54 -07:00
zz_generated.deepcopy.go support Azure data disk volume 2016-08-23 13:23:07 +00:00