kubernetes/pkg/api
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
..
annotations Use Go canonical import paths 2016-07-16 13:48:21 -04:00
endpoints Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
errors Revert "Revert "Allow webhook authenticator to use TokenReviewsInterface"" 2016-09-13 16:23:17 -04:00
events kubectl: move events sorting interface to the api for general use 2016-09-18 19:25:42 +02:00
install remove dead mapper 2016-09-19 09:57:19 -04:00
meta Allow garbage collection to work against different API prefixes 2016-09-22 15:00:58 -04:00
pod Fix various typos in pkg/api 2016-08-29 11:31:16 +02:00
resource Move openapi common code to genericapiserver/openapi/common 2016-09-21 17:01:54 -07:00
rest work around the etcd watch issue 2016-09-20 09:26:47 -07:00
service GCE Cloud provider changes for ESIPP 2016-08-23 16:16:39 -07:00
testapi update generation scripts to share API group version constants 2016-09-22 13:30:41 -04:00
testing change rbac roleref type 2016-09-09 09:55:51 -04:00
unversioned Move openapi common code to genericapiserver/openapi/common 2016-09-21 17:01:54 -07:00
util Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
v1 Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
validation disallow user to update loadbalancerSourceRanges 2016-09-22 19:04:02 -07:00
context_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
context.go print instruction in case of failed kubectl 1.3 rolling-update against 1.4 cluster 2016-09-15 17:20:39 -07:00
conversion_test.go Turn pkg/api/pod_example.json into go struct to avoid noise in pprof 2016-07-12 20:36:48 +02:00
conversion.go fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
copy_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
deep_copy_test.go Update etcd default ports for v3, and validate tests 2016-08-17 07:49:19 -05:00
defaults.go fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
field_constants.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
generate_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
generate.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
helpers_test.go update taints e2e, respect that taint is unique by key, effect 2016-09-09 19:15:11 +08:00
helpers.go update taints e2e, respect that taint is unique by key, effect 2016-09-09 19:15:11 +08:00
mapper.go remove dead mapper 2016-09-19 09:57:19 -04:00
meta_test.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
meta.go add ClusterName field to ObjectMeta 2016-08-22 21:09:57 -07:00
node_example.json Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
ref_test.go Use make as the main build tool 2016-07-12 21:52:00 -07:00
ref.go move api.OjbectReference.ObjectKind() to ref.go 2016-07-14 23:02:05 -07:00
register.go Fix various typos in pkg/api 2016-08-29 11:31:16 +02:00
replication_controller_example.json Initial Quobyte support 2016-08-18 17:13:50 +02:00
requestcontext.go Cleanup handler chain 2016-09-23 12:03:58 +02:00
resource_helpers_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_helpers.go Fix various typos in pkg/api 2016-08-29 11:31:16 +02:00
serialization_proto_test.go Convert() should accept the new conversion Context value 2016-08-18 14:45:20 -04:00
serialization_test.go Convert() should accept the new conversion Context value 2016-08-18 14:45:20 -04:00
types.generated.go Run hack/update-all.sh 2016-08-25 13:22:01 +02:00
types.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
zz_generated.deepcopy.go Run hack/update-all.sh 2016-08-25 13:22:01 +02:00