• Kubernetes Submit Queue's avatar
    Merge pull request #30301 from girishkalele/endpoint_hostnames · 1b0bc942
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add NodeName to EndpointAddress object
    
    Adding a new string type `nodeName` to api.EndpointAddress.
    We could also do  *ObjectReference to the api.Node object instead, which would be more precise for the future.
    
    ```
    type ObjectReference struct {
        Kind            string    `json:"kind,omitempty"`
        Namespace       string    `json:"namespace,omitempty"`
        Name            string    `json:"name,omitempty"`
        UID             types.UID `json:"uid,omitempty"`
        APIVersion      string    `json:"apiVersion,omitempty"`
        ResourceVersion string    `json:"resourceVersion,omitempty"`
    
        // Optional. If referring to a piece of an object instead of an entire object, this string
        // should contain information to identify the sub-object. For example, if the object
        // reference is to a container within a pod, this would take on a value like:
        // "spec.containers{name}" (where "name" refers to the name of the container that triggered
        // the event) or if no container name is specified "spec.containers[2]" (container with
        // index 2 in this pod). This syntax is chosen only to have some well-defined way of
        // referencing a part of an object.
        // TODO: this design is not final and this field is subject to change in the future.
        FieldPath string `json:"fieldPath,omitempty"`
    }
    ```
    1b0bc942
Name
Last commit
Last update
..
annotations Loading commit data...
endpoints Loading commit data...
errors Loading commit data...
install Loading commit data...
meta Loading commit data...
pod Loading commit data...
resource Loading commit data...
rest Loading commit data...
service Loading commit data...
testapi Loading commit data...
testing Loading commit data...
unversioned Loading commit data...
util Loading commit data...
v1 Loading commit data...
validation Loading commit data...
OWNERS Loading commit data...
context.go Loading commit data...
context_test.go Loading commit data...
conversion.go Loading commit data...
conversion_test.go Loading commit data...
copy_test.go Loading commit data...
deep_copy_test.go Loading commit data...
defaults.go Loading commit data...
doc.go Loading commit data...
field_constants.go Loading commit data...
generate.go Loading commit data...
generate_test.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
mapper.go Loading commit data...
meta.go Loading commit data...
meta_test.go Loading commit data...
node_example.json Loading commit data...
ref.go Loading commit data...
ref_test.go Loading commit data...
register.go Loading commit data...
replication_controller_example.json Loading commit data...
requestcontext.go Loading commit data...
resource_helpers.go Loading commit data...
resource_helpers_test.go Loading commit data...
serialization_proto_test.go Loading commit data...
serialization_test.go Loading commit data...
types.generated.go Loading commit data...
types.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...