• Justin Santa Barbara's avatar
    Use strongly-typed types.NodeName for a node name · 54195d59
    Justin Santa Barbara authored
    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.
    54195d59
Name
Last commit
Last update
..
admit Loading commit data...
alwayspullimages Loading commit data...
antiaffinity Loading commit data...
deny Loading commit data...
exec Loading commit data...
imagepolicy Loading commit data...
initialresources Loading commit data...
limitranger Loading commit data...
namespace Loading commit data...
persistentvolume/label Loading commit data...
resourcequota Loading commit data...
security Loading commit data...
securitycontext/scdeny Loading commit data...
serviceaccount Loading commit data...
storageclass/default Loading commit data...
OWNERS Loading commit data...