k3s/pkg/api
Kubernetes Submit Queue 1b0bc9421f Merge pull request #30301 from girishkalele/endpoint_hostnames
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"`
}
```
2016-08-16 13:11:10 -07: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 storage error: precondition failure should return invalid object error 2016-07-24 20:21:42 -07:00
install fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
meta add validateListType to pkg/api/meta/schema_test.go 2016-08-02 15:47:24 -07:00
pod Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource Update generated files due to dependency shift. 2016-08-09 10:41:09 -05:00
rest Plumb context to strategy methods 2016-08-08 22:33:25 -04:00
service Run goimports 2016-08-02 15:12:39 +03:00
testapi add subjectaccessreviews resource 2016-08-05 11:20:56 -04:00
testing ScheduledJob suspend being pointer leftovers 2016-08-02 21:15:30 +02:00
unversioned Update generated files due to dependency shift. 2016-08-09 10:41:09 -05:00
util Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
v1 Generated code 2016-08-15 17:24:01 -07:00
validation fix go vet errors 2016-08-10 16:45:41 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
context.go Merge pull request #25307 from derekwaynecarr/set_uid_from_context 2016-07-20 09:58:51 -07:00
context_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
conversion.go fix register.go files up + add test import 2016-08-11 17:06:54 -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
copy_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
deep_copy_test.go Turn pkg/api/pod_example.json into go struct to avoid noise in pprof 2016-07-12 20:36:48 +02: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.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
helpers.go Merge pull request #28636 from derekwaynecarr/quota_pvc_storage 2016-07-31 09:26:20 -07:00
helpers_test.go Use PreferAvoidPods annotation to avoid pods being scheduled to specific node. 2016-07-13 17:07:46 +08:00
mapper.go Adding events to federation apiserver 2016-08-12 10:48:19 -07:00
meta.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
meta_test.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
node_example.json
ref.go move api.OjbectReference.ObjectKind() to ref.go 2016-07-14 23:02:05 -07:00
ref_test.go Use make as the main build tool 2016-07-12 21:52:00 -07:00
register.go fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
replication_controller_example.json
requestcontext.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_helpers.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_helpers_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
serialization_proto_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
serialization_test.go api: custom conversions for rc/rs 2016-07-15 14:52:27 +02:00
types.generated.go Generated code 2016-08-15 17:24:01 -07:00
types.go Add NodeName to EndpointAddress object 2016-08-15 15:11:51 -07:00
zz_generated.deepcopy.go Generated code 2016-08-15 17:24:01 -07:00