tools/events/event_broadcaster.go (4 lines): - line 57: // TODO: validate impact of copying and investigate hashing - line 75: // TODO: this makes it easier for testing purpose and masks the logic of performing API calls. - line 126: // TODO: Investigate whether lock contention won't be a problem - line 144: // TODO: Investigate whether lock contention won't be a problem discovery/discovery_client.go (3 lines): - line 74: // TODO: this needs to be revisited, this interface can't be locked properly - line 370: // TODO: maybe restrict this to NotFound errors - line 429: // TODO: remove this when kubectl/client-go don't work with 1.9 server restmapper/discovery.go (3 lines): - line 116: // TODO this is producing unsafe guesses that don't actually work, but it matches previous behavior - line 119: // TODO why is this type not in discovery (at least for "v1") - line 151: // TODO track the errors and update callers to handle partial errors. rest/config.go (3 lines): - line 72: // TODO: demonstrate an OAuth2 compatible client. - line 299: // TODO: NegotiatedSerializer will be phased out as internal clients are removed - line 536: // TODO: switch to using cluster DNS. tools/reference/ref.go (3 lines): - line 37: // TODO: should take a meta.Interface see http://issue.k8s.io/7127 - line 64: // TODO: This doesn't work for CRDs, which are not registered in scheme. - line 73: // TODO: The same object can be registered for multiple group versions rest/watch/encoder.go (2 lines): - line 31: // TODO: this type is only used by tests - line 51: // FIXME: get rid of json.RawMessage. kubernetes/typed/core/v1/fake/fake_node_expansion.go (2 lines): - line 27: // TODO: Should take a PatchType as an argument probably. - line 29: // TODO: Should be configurable to support additional patch strategies. dynamic/interface.go (2 lines): - line 51: // TODO find a better place to move this for existing callers - line 55: // TODO find a better place to move this for existing callers tools/clientcmd/api/v1/register.go (2 lines): - line 25: // TODO this should be in the "kubeconfig" group - line 29: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. rest/client.go (2 lines): - line 54: // TODO: ContentConfig will be updated to accept a Negotiator instead of a - line 140: // TODO Generalize this see #17727 . tools/portforward/portforward.go (2 lines): - line 38: // TODO move to API machinery and re-unify with kubelet/server/portfoward - line 309: // TODO consider using something like https://github.com/hydrogen18/stoppableListener? rest/request.go (2 lines): - line 1074: // TODO: Add test for this. Steps may be: - line 1206: // TODO: introduce transformation of generic http.Client.Do() errors that separates 4. pkg/version/base.go (2 lines): - line 37: // TODO: Deprecate gitMajor and gitMinor, use only gitVersion - line 49: // TODO: This field is still called "gitVersion" for legacy kubernetes/typed/core/v1/fake/fake_event_expansion.go (2 lines): - line 56: // TODO: Should take a PatchType as an argument probably. - line 58: // TODO: Should be configurable to support additional patch strategies. discovery/cached/memory/memcache.go (2 lines): - line 43: // TODO: Switch to a watch interface. Right now it will poll after each - line 174: // TODO: Could this multiplicative set of calls be replaced by a single call tools/events/interfaces.go (1 line): - line 57: // TODO: figure out if this can be removed. tools/clientcmd/client_config.go (1 line): - line 632: // TODO: We do not need a DeferredLoader here. Refactor code and see if we can use DirectClientConfig here. testing/actions.go (1 line): - line 483: // TODO this is wrong, but no worse than before tools/watch/until.go (1 line): - line 55: // TODO: Consider making this function private to prevent misuse when the other occurrences in our codebase are gone. tools/pager/pager.go (1 line): - line 70: // TODO: introduce other types of paging functions - such as those that retrieve from a list tools/remotecommand/v1.go (1 line): - line 126: // TODO this goroutine will never exit cleanly (the io.Copy never unblocks) util/retry/util.go (1 line): - line 102: // TODO: Make Backoff an interface? tools/auth/clientauth.go (1 line): - line 65: // TODO: need a way to rotate Tokens. Therefore, need a way for client object to be reset when the authcfg is updated. tools/clientcmd/api/register.go (1 line): - line 25: // TODO this should be in the "kubeconfig" group tools/clientcmd/loader.go (1 line): - line 437: // TODO: find a way to do this with actual file locks. Will kubernetes/typed/events/v1beta1/event_expansion.go (1 line): - line 28: // TODO: Add querying functions to the event expansion tools/record/event.go (1 line): - line 189: // TODO: make me an object with parameterizable queue length and retry interval dynamic/fake/simple.go (1 line): - line 420: // TODO: opts are currently ignored. rest/url_utils.go (1 line): - line 83: // TODO: move the default to secure when the apiserver supports TLS by default util/certificate/certificate_manager.go (1 line): - line 444: // TODO: return errors, have callers handle and log them correctly informers/generic.go (1 line): - line 92: // TODO extend this to unknown resources with a client pool tools/watch/retrywatcher.go (1 line): - line 69: // TODO: revisit this if we ever get WATCH v2 where it means start "now" scale/client.go (1 line): - line 92: // TODO: we "cheat" here since the API path really only depends on group ATM, but this should tools/remotecommand/v2.go (1 line): - line 113: // TODO we aren't using go-dockerclient any more; revisit this to determine if it's still testing/fixture.go (1 line): - line 105: // TODO: Currently we're handling subresource creation as an update tools/leaderelection/resourcelock/configmaplock.go (1 line): - line 30: // TODO: This is almost a exact replica of Endpoints lock. kubernetes/typed/core/v1/event_expansion.go (1 line): - line 154: // TODO: This is a temporary arrangement and will be removed once all clients are moved to use the clientset.