pkg/runtime/schema/group_version.go (6 lines): - line 192: // TODO: Move GroupVersion to a package under pkg/runtime, since it's used by scheme. - line 193: // TODO: Introduce an adapter type between GroupVersion and runtime.GroupVersioner, and use LegacyCodec(GroupVersion) - line 213: // TODO once we've cleared the last uses as strings, this special case should be removed. - line 240: // TODO: Move GroupVersions to a package under pkg/runtime, since it's used by scheme. - line 241: // TODO: Introduce an adapter type between GroupVersions and runtime.GroupVersioner, and use LegacyCodec(GroupVersion) - line 299: // TODO: further reduce usage of this method. pkg/runtime/serializer/codec_factory.go (6 lines): - line 174: // TODO: allow other codecs to be compiled in? - line 175: // TODO: accept a scheme interface - line 261: // TODO: make this call exist only in pkg/api, and initialize it with the set of default versions. - line 280: // TODO: the decoder will eventually be removed in favor of dealing with objects in their versioned form - line 281: // TODO: only accept a group versioner - line 296: // TODO: these are for backcompat, remove them in the future pkg/api/meta/help.go (5 lines): - line 32: // TODO: remove and replace with an interface check - line 42: // TODO: Replace the code in this check with an interface comparison by - line 79: // TODO: this will be replaced with an interface in the future - line 119: // TODO: Change to an interface call? - line 187: // TODO: Set ContentEncoding and ContentType correctly. pkg/apis/meta/v1/meta.go (4 lines): - line 24: // TODO: move this, Object, List, and Type to a different package - line 76: // TODO: move this, and TypeMeta and ListMeta, to a different package - line 87: // TODO: move this, and TypeMeta and ListMeta, to a different package - line 100: // TODO: move this, and TypeMeta and ListMeta, to a different package pkg/runtime/serializer/protobuf/protobuf.go (4 lines): - line 103: // TODO: treat like decoding {} from JSON with defaulting - line 108: // TODO: treat like decoding {} from JSON with defaulting - line 237: // TODO: marshal with a different content type and serializer (JSON for third party objects) - line 326: // TODO: treat like decoding {} from JSON with defaulting pkg/api/apitesting/roundtrip/roundtrip.go (4 lines): - line 243: // TODO fix this up to handle kinds that cross registered with different names. - line 259: // TODO remove this hack after we're past the intermediate steps - line 285: // TODO remove this hack after we're past the intermediate steps - line 329: // TODO eliminate this global pkg/util/httpstream/spdy/roundtripper.go (4 lines): - line 54: /* TODO according to http://golang.org/pkg/net/http/#RoundTripper, a RoundTripper - line 312: // TODO validate the TLSClientConfig is set up? - line 411: // TODO: I don't belong here, I should be abstracted from this class - line 427: // statusScheme is private scheme for the decoding here until someone fixes the TODO in NewConnection pkg/apis/meta/v1/types.go (4 lines): - line 803: // TODO: move to apiserver - line 1162: // TODO: remove me when watch is refactored - line 1167: // TODO: remove me when watch is refactored - line 1299: // TODO: Table does not generate to protobuf because of the interface{} - fix protobuf pkg/api/meta/restmapper.go (4 lines): - line 17: // TODO: move everything in this file to pkg/api/rest - line 55: // TODO: Only accept plural for some operations for increased control? - line 87: // TODO: verify name mappings work correctly when versions differ - line 117: // TODO eliminate this so that different callers can correctly map to resources. This probably means updating all pkg/runtime/scheme.go (4 lines): - line 60: // TODO: resolve the status of unversioned types. - line 120: // TODO: there is discussion about removing unversioned and replacing it with objects that are manifest into - line 482: // TODO: when we move to server API versions, we should completely remove the unversioned concept - line 563: // TODO: look at removing the need to special case this pkg/api/apitesting/fuzzer/valuefuzz.go (4 lines): - line 37: // TODO: set non-nil value - line 45: // TODO: set non-nil value - line 55: // TODO: set non-nil value - line 65: // TODO: set some new value pkg/api/resource/quantity.go (4 lines): - line 219: // TODO: we currently allow 1.G, but we may not want to in the future. - line 364: // TODO: this prevents accumulating quantities greater than int64, for instance quota across a cluster - line 431: // TODO: If BinarySI formatting is requested but would cause rounding, upgrade to - line 667: // TODO: Remove support for leading/trailing whitespace pkg/runtime/types.go (3 lines): - line 88: // in the Object. (TODO: In the case where the object is of an unknown type, a - line 97: // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. - line 107: // TODO: Make this object have easy access to field based accessors and settors for pkg/runtime/generated.proto (3 lines): - line 66: // in the Object. (TODO: In the case where the object is of an unknown type, a - line 75: // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. - line 104: // TODO: Make this object have easy access to field based accessors and settors for pkg/runtime/helper.go (3 lines): - line 115: // TODO: accept a content type. - line 124: // TODO: Set ContentEncoding and ContentType. - line 132: // TODO: Decode based on ContentType. pkg/runtime/converter.go (3 lines): - line 460: // TODO: Is this Unmarshal needed? - line 567: // TODO: Is this conversion safe? - line 791: // TODO: It seems that 0-len maps are ignored in it. pkg/util/intstr/intstr.go (2 lines): - line 35: // TODO: Rename to Int32OrString - line 57: // TODO: convert to (val int32) pkg/apis/meta/v1/watch.go (2 lines): - line 46: // TODO: handle other fields on Unknown and detect type - line 64: // TODO: handle other fields on Unknown and detect type pkg/runtime/serializer/versioning/versioning.go (2 lines): - line 33: // TODO: I should be a scheme interface? - line 147: // TODO: look into strict handling of nested object decoding pkg/util/validation/field/errors.go (2 lines): - line 75: // TODO: internal types have panic guards against json.Marshalling to prevent - line 92: // TODO: These values are duplicated in api/types.go, but there's a circular dep. Fix it. pkg/apis/meta/v1/unstructured/helpers.go (2 lines): - line 320: // TODO: move into serializer/json. - line 370: // TODO: Unstructured needs to deal with ContentType. pkg/runtime/extension.go (2 lines): - line 39: // TODO: this is to support legacy behavior of JSONPrinter and YAMLPrinter, which - line 49: // TODO: Check whether ContentType is actually JSON before returning it. pkg/api/meta/meta.go (2 lines): - line 111: // TODO: consider making this solely a conversion action. - line 142: // TODO: this interface is used to test code that does not have ObjectMeta or ListMeta pkg/util/proxy/transport.go (2 lines): - line 70: // TODO: css URLs hidden in style elements. - line 262: // TODO: Remove any hash/signature headers here? pkg/util/validation/validation.go (2 lines): - line 77: // TODO: This function is deprecated and preserved until all callers migrate to - line 294: // TODO: once we have a type for UID/GID we should make these that type. pkg/runtime/serializer/negotiated_codec.go (1 line): - line 23: // TODO: We should split negotiated serializers that we can change versions on from those we can change pkg/apis/meta/fuzzer/fuzzer.go (1 line): - line 61: // TODO: uncomment when round trip starts from a versioned object pkg/util/proxy/upgradeaware.go (1 line): - line 439: // FIXME: Taken from net/http/httputil/reverseproxy.go as singleJoiningSlash is not exported to be re-used. pkg/util/intstr/generated.proto (1 line): - line 31: // TODO: Rename to Int32OrString pkg/labels/selector.go (1 line): - line 953: // TODO: Consider exporting the internalSelector type instead. pkg/api/apitesting/codec.go (1 line): - line 58: // TODO: remove for etcd3 / make parameterizable pkg/runtime/negotiate.go (1 line): - line 45: // TODO: `pretty=1` is handled in NegotiateOutputMediaType, consider moving it to this method pkg/version/types.go (1 line): - line 20: // TODO: Add []string of api versions supported? It's still unclear pkg/apis/testapigroup/v1/register.go (1 line): - line 42: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/api/resource/amount.go (1 line): - line 83: // TODO: attempt to reduce factors, although it is assumed that factors are reduced prior pkg/runtime/serializer/json/json.go (1 line): - line 254: // TODO: rework YAMLToJSONStrict to return warnings about duplicate fields without terminating so we don't have to do this twice. pkg/api/meta/interfaces.go (1 line): - line 112: // TODO: split into sub-interfaces pkg/apis/meta/v1/register.go (1 line): - line 39: // TODO: this should be v1 probably pkg/apis/meta/v1/unstructured/unstructured.go (1 line): - line 38: // TODO: make the serialization part of this type distinct from the field accessors. pkg/util/net/interface.go (1 line): - line 348: // TODO: Decide if should open up to allow IPv6 LLAs in future. pkg/runtime/codec.go (1 line): - line 48: // TODO: reuse buffer pkg/api/equality/semantic.go (1 line): - line 32: // TODO: if we decide it's important, it should be safe to start comparing the format. pkg/api/resource/scale_int.go (1 line): - line 82: // TODO: create loop up table if exp costs too much. pkg/util/naming/from_stack.go (1 line): - line 81: // TODO: Go does not expose this via runtime https://github.com/golang/go/issues/11440 pkg/api/errors/errors.go (1 line): - line 252: // TODO: Get obj details here? pkg/apis/meta/v1beta1/types_swagger_doc_generated.go (1 line): - line 23: // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if pkg/apis/meta/internalversion/register.go (1 line): - line 30: // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. pkg/runtime/codec_check.go (1 line): - line 30: // TODO: verify that the correct external version is chosen on encode... pkg/util/strategicpatch/patch.go (1 line): - line 191: // TODO: figure out if we need this. This shouldn't be needed by apply. When would the original map have patch directives in it? pkg/util/yaml/decoder.go (1 line): - line 165: // TODO: switch to readline approach. pkg/api/apitesting/roundtrip/compatibility.go (1 line): - line 262: // TODO: test non-normalized round-tripping... YAMLToJSON normalizes and makes exact comparisons fail pkg/apis/testapigroup/fuzzer/fuzzer.go (1 line): - line 37: // TODO: uncomment when round trip starts from a versioned object pkg/runtime/embedded.go (1 line): - line 130: // TODO: Set ContentEncoding and ContentType appropriately.