{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11925","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11925/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11925/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11925/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11925","id":97720187,"number":11925,"title":"support multiple index values for a single object","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-07-28T14:31:23Z","updated_at":"2015-07-28T20:56:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11925","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11925","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11925.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11925.patch"},"body":"This allows a single object to be mapped via multiple indexKeys by the same indexFunc.  This is useful for building reverse lookup indexes.  For instance, if we have a `Group` that contains a slice of `Users`, it is reasonable to want to look up all `Group`s for a given `User`.  When the `Group` is indexed, we want to index it by all the different `User`s in its slice.\r\n\r\nThe unit test I added demonstrates this using annotations on a `Pod`.\r\n\r\n@derekwaynecarr ptal.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/125751927","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11925#issuecomment-125751927","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11925","id":125751927,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T20:56:53Z","updated_at":"2015-07-28T20:56:53Z","body":"GCE e2e build/test **passed** for commit 28a4467d86f29e30f2c4b63b950a765c3ce0aafb.\n* [Build Log](https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/28a4467d86f29e30f2c4b63b950a765c3ce0aafb/kubernetes-pull-build-test-e2e-gce/3669/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/28a4467d86f29e30f2c4b63b950a765c3ce0aafb/kubernetes-pull-build-test-e2e-gce/3669/_artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//3669)\n"}}