pkg/endpoints/installer.go (10 lines): - line 506: // TODO: more strongly type whether a resource allows these actions on "all namespaces" (bulk delete) - line 550: // TODO: Add status documentation using Returns() - line 588: // TODO: Check for the interface on storage - line 591: // TODO: This seems wrong for cross-group subresources. It makes an assumption that a subresource and its parent are in the same group version. Revisit this. - line 774: // TODO: in some cases, the API may return a v1.Status instead of the versioned object - line 835: // TODO: in some cases, the API may return a v1.Status instead of the versioned object - line 1059: // TODO: This is a hack to let metav1.Time through. This needs to be fixed in a more generic way eventually. bug #36191 - line 1087: // TODO: this is incomplete, expand as needed. - line 1108: // TODO: Fix these when go-restful supports a way to specify an array query param: - line 1144: // TODO: support deeper paths pkg/endpoints/handlers/patch.go (6 lines): - line 75: // TODO: handle this in negotiation - line 260: // TODO: Use builder pattern to construct this object? - line 261: // TODO: As part of that effort, some aspects of PatchResource above could be - line 495: // TODO: spawn something to track deciding whether a fieldValidation=Strict - line 556: // TODO: rename this function because the name implies it is related to applyPatcher - line 598: // TODO: rename this function because the name implies it is related to applyPatcher pkg/storage/cacher/cacher.go (6 lines): - line 347: // TODO: Figure out the correct value for the buffer size. - line 489: // TODO: We should tune this value and ideally make it dependent on the - line 782: // TODO: If at some point we decide the performance and scalability - line 1360: // TODO: From the logs it seems that there happens processing - line 1396: // TODO: As describe in the KEP, we would like to estimate that by delaying - line 1436: // TODO: Make check() function more sophisticated, in particular pkg/registry/generic/registry/store.go (5 lines): - line 94: // TODO: make the default exposed methods exactly match a generic RESTStorage - line 606: // TODO: The Invalid error should have a field for Resource. - line 1042: // TODO: remove the check, because we support no-op updates now. - line 1102: // TODO: Currently, there is no easy way to remove 'directory' entry from storage (if we - line 1278: // TODO: validate this is assertion is still valid. pkg/endpoints/handlers/rest.go (5 lines): - line 145: // TODO: this is temporary, replace with an abstraction calculated at endpoint installation time - line 153: // TODO: should delineate between lists and non-list endpoints - line 206: // TODO: remove the mutating admission here as soon as we have ported all plugin that handle CONNECT - line 266: // TODO: SelfLink generation should return a full URL? - line 373: // TODO: remove the need for the namer LinkSetters by requiring objects implement either Object or List pkg/storage/errors/storage.go (5 lines): - line 32: return errors.NewServerTimeout(qualifiedResource, "list", 2) // TODO: make configurable or handled at a higher level - line 47: return errors.NewServerTimeout(qualifiedResource, "get", 2) // TODO: make configurable or handled at a higher level - line 62: return errors.NewServerTimeout(qualifiedResource, "create", 2) // TODO: make configurable or handled at a higher level - line 77: return errors.NewServerTimeout(qualifiedResource, "update", 2) // TODO: make configurable or handled at a higher level - line 94: return errors.NewServerTimeout(qualifiedResource, "delete", 2) // TODO: make configurable or handled at a higher level plugin/pkg/authenticator/token/oidc/oidc.go (4 lines): - line 434: // TODO: Make this context cancelable. - line 525: // TODO: cache resolved claims. - line 647: // TODO: Allow passing in JSON hints to the IDP. - line 652: // TODO: Allow passing request body with configurable information. pkg/storage/cacher/watch_cache.go (4 lines): - line 56: // TODO: Figure out, to what value we can decreased it. - line 297: // TODO: We should consider moving this lock below after the watchCacheEvent - line 474: // TODO: if multiple indexes match, return the one with the fewest items, so as to do as much filtering as possible. - line 596: // TODO: In v2 api, we should stop returning the current state - #13969. pkg/util/flowcontrol/request/mutating_work_estimator.go (3 lines): - line 92: // TODO: Make this unconditional after we tune the algorithm better. - line 98: // TODO: As described in the KEP, we should take into account that not all - line 130: // TODO: Confirm that the current cap of maximumSeats allow us to pkg/util/flowcontrol/fairqueuing/queueset/queueset.go (3 lines): - line 741: // TODO: this is a quick fix for now, once we have borrowing in place we will not need it - line 743: // TODO: apply additional lateny associated with this request, as described in the KEP - line 869: // TODO: for now we keep the logic localized so it is easier to see pkg/endpoints/handlers/delete.go (3 lines): - line 46: // TODO admission here becomes solely validating admission - line 215: // TODO: DecodeParametersInto should do this. - line 221: // TODO: allow bad request to set field causes based on query parameters pkg/server/genericapiserver.go (3 lines): - line 71: // TODO: Remove this when https://github.com/kubernetes/kubernetes/issues/19018 is fixed. - line 80: // TODO: replace with interfaces - line 695: // TODO unhardcode this. It was hardcoded before, but we need to re-evaluate pkg/endpoints/handlers/response.go (3 lines): - line 50: // TODO: Long-term, transformObject should be changed so that it - line 184: // TODO: rely on defaulting for the value here? - line 190: // TODO: turn this into an internal type and do conversion in order to get object kind automatically set? pkg/server/handler.go (3 lines): - line 135: // TODO fix gorestful, remove TPRs, or stop using gorestful - line 145: // TODO fix gorestful, remove TPRs, or stop using gorestful - line 157: //TODO: Unify with RecoverPanics? pkg/registry/rest/rest.go (3 lines): - line 33: //TODO: - line 90: // TODO KindProvider (only used by federation) should be removed and replaced with this, but that presents greater risk late in 1.8. - line 130: // TODO: Pass metav1.GetOptions. pkg/endpoints/handlers/get.go (3 lines): - line 211: // TODO: DecodeParametersInto should do this. - line 217: // TODO: allow bad request to set field causes based on query parameters - line 252: // TODO: Currently we explicitly ignore ?timeout= and use only ?timeoutSeconds=. pkg/endpoints/handlers/watch.go (2 lines): - line 63: // TODO: the functionality in this method and in WatchServer.Serve is not cleanly decoupled. - line 87: // TODO: next step, get back mediaTypeOptions from negotiate and return the exact value here pkg/server/dynamiccertificates/union_content.go (2 lines): - line 65: // TODO make more efficient. This isn't actually used in any of our mainline paths. It's called to build the TLSConfig - line 66: // TODO on file changes, but the actual authentication runs against the individual items, not the union. pkg/endpoints/handlers/responsewriters/status.go (2 lines): - line 58: //TODO: check for invalid responses - line 63: //TODO: replace me with NewConflictErr pkg/storage/etcd3/store.go (2 lines): - line 501: // TODO: if we change the version of the encoded from, we can't start encoding the new version - line 511: // TODO: return a typed error that instructs clients that they must relist pkg/endpoints/request/requestinfo.go (2 lines): - line 69: // TODO: find a way to keep this up to date automatically. Maybe dynamically populate list as handlers added to - line 88: // TODO write an integration test against the swagger doc to test the RequestInfo and match up behavior to responses pkg/server/config.go (2 lines): - line 104: // TODO: move into SecureServing(WithLoopback) as soon as insecure serving is gone - line 680: // TODO: Once we get rid of /healthz consider changing this to post-start-hook. pkg/registry/generic/registry/storage_factory.go (2 lines): - line 77: // TODO : Remove RegisterStorageCleanup below when PR - line 98: // TODO : Remove all the code below when PR pkg/server/secure_serving.go (2 lines): - line 87: nil, // TODO see how to plumb an event recorder down in here. For now this results in simply klog messages. - line 210: // TODO: make private when insecure serving is gone from the kube-apiserver pkg/storage/storagebackend/factory/etcd3.go (1 line): - line 273: // TODO: fix duplicated storage destroy calls higher level pkg/server/filters/cors.go (1 line): - line 27: // TODO: use restful.CrossOriginResourceSharing pkg/admission/audit.go (1 line): - line 31: // TODO: move the lock near the Annotations field of the audit event so it is always protected from concurrent access. pkg/admission/plugin/resourcequota/apis/resourcequota/v1beta1/register.go (1 line): - line 31: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/registry/generic/storage_decorator.go (1 line): - line 55: // TODO: Once cacher is enabled on all registries (event registry is special), we will remove this method. pkg/storage/etcd3/compact.go (1 line): - line 45: // TODO: We might keep a longer history (12h) in the future once storage API can take advantage of past version of keys. pkg/admission/plugin/webhook/generic/webhook.go (1 line): - line 100: // TODO find a better way wire this, but keep this pull small for now. pkg/registry/generic/rest/streamer.go (1 line): - line 87: // TODO prefer segregate TLS errors more reliably, but we do want to increment a count pkg/registry/rest/update.go (1 line): - line 87: // TODO: add other common fields that require global validation. pkg/admission/plugin/resourcequota/resource_access.go (1 line): - line 117: // TODO: If there are multiple operations at the same time and cache has just expired, pkg/audit/scheme.go (1 line): - line 17: // TODO: Delete this file if we generate a clientset. pkg/endpoints/handlers/fieldmanager/lastappliedmanager.go (1 line): - line 155: // TODO: replace with merge.Conflicts.ToSet() pkg/endpoints/filters/impersonation.go (1 line): - line 235: // TODO fight the good fight for ObjectReference to refer to resources and subresources pkg/admission/plugin/webhook/validating/dispatcher.go (1 line): - line 177: // TODO: merge status errors; until then, just return the first one. pkg/util/webhook/validation.go (1 line): - line 73: // TODO: replace below with url.Parse + verifying that host is empty? pkg/apis/example/v1/register.go (1 line): - line 42: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/util/flowcontrol/request/list_work_estimator.go (1 line): - line 95: // TODO: For resources that implement indexes at the watchcache level, pkg/server/filters/maxinflight.go (1 line): - line 37: // TODO: maybe make this dynamic? or user-adjustable? pkg/quota/v1/generic/evaluator.go (1 line): - line 239: // TODO move to dynamic client in future pkg/util/flowcontrol/watch_tracker.go (1 line): - line 41: // TODO: For now we only track the number of watches registered pkg/server/httplog/httplog.go (1 line): - line 54: // TODO now that we're using go-restful, we shouldn't need to be wrapping pkg/admission/plugin/webhook/mutating/dispatcher.go (1 line): - line 349: // TODO: if we have multiple mutating webhooks, we can remember the json pkg/server/storage/resource_encoding_config.go (1 line): - line 28: // TODO this should actually return a GroupVersionKind since you can logically have multiple "matching" Kinds pkg/apis/apiserver/v1beta1/register.go (1 line): - line 31: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/admission/plugin/resourcequota/apis/resourcequota/v1alpha1/register.go (1 line): - line 31: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/apis/config/register.go (1 line): - line 48: // TODO this will get cleaned up with the scheme types are fixed pkg/server/filters/timeout.go (1 line): - line 42: // TODO unify this with apiserver.MaxInFlightLimit pkg/apis/example/fuzzer/fuzzer.go (1 line): - line 37: // TODO: uncomment when round trip starts from a versioned object pkg/server/storage/storage_codec.go (1 line): - line 70: // TODO: flag this type of data if we encounter it, require migration (read to decode, write to persist using a supported encoder), and remove in 1.8 pkg/server/filters/priority-and-fairness.go (1 line): - line 269: // TODO: Consider finishing the request as soon as Handle call panics. pkg/storage/selection_predicate.go (1 line): - line 121: // TODO: should be namespace.name plugin/pkg/authorizer/webhook/webhook.go (1 line): - line 250: //TODO: need to finish the method to get the rules when using webhook mode pkg/admission/plugin/resourcequota/apis/resourcequota/v1/register.go (1 line): - line 31: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/audit/request.go (1 line): - line 289: // TODO a deep copy isn't really needed here, figure out how we can reliably pkg/audit/context.go (1 line): - line 31: // TODO: it's wasteful to store the audit annotations under a separate key, we pkg/admission/plugin/webhook/config/apis/webhookadmission/v1/register.go (1 line): - line 31: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/registry/generic/testing/tester.go (1 line): - line 138: // TODO: This should be filtered, the registry should not be aware of this level of detail pkg/storage/names/generate.go (1 line): - line 43: // TODO: make this flexible for non-core resources with alternate naming rules. pkg/endpoints/metrics/metrics.go (1 line): - line 620: // TODO: this is a fairly large allocation for what it does, consider pkg/util/flowcontrol/apf_controller.go (1 line): - line 587: // TODO: consider not even trying if server is not handling pkg/server/filters/with_retry_after.go (1 line): - line 64: // TODO: is there a way to merge WithWaitGroup and this filter? pkg/admission/plugin/webhook/namespace/matcher.go (1 line): - line 95: // TODO: figure out a way selective exempt cluster scoped resources. pkg/endpoints/handlers/negotiation/negotiate.go (1 line): - line 51: // TODO: move into resthandler pkg/endpoints/request/doc.go (1 line): - line 19: // TODO: this package is temporary. Handlers must move into pkg/apiserver/handlers to avoid dependency cycle pkg/admission/plugin/resourcequota/controller.go (1 line): - line 60: // TODO these are used together to bucket items by namespace and then batch them up for processing. pkg/admission/plugin/webhook/config/apis/webhookadmission/v1alpha1/register.go (1 line): - line 31: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/apis/apiserver/v1alpha1/register.go (1 line): - line 35: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/apis/example2/v1/register.go (1 line): - line 42: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/apis/apiserver/v1/register.go (1 line): - line 31: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.