Summary: 111 instances, 98 unique Text Count // TODO: resolve the status of unversioned types. 1 // TODO: remove and replace with an interface check 1 // TODO: Check whether ContentType is actually JSON before returning it. 1 // TODO: Introduce an adapter type between GroupVersion and runtime.GroupVersioner, and use LegacyCodec(GroupVersion) 1 // TODO: I don't belong here, I should be abstracted from this class 1 // TODO: move into serializer/json. 1 // TODO: Remove support for leading/trailing whitespace 1 // TODO: reuse buffer 1 // TODO: I should be a scheme interface? 1 // TODO: css URLs hidden in style elements. 1 // TODO: accept a content type. 1 // TODO: Decide if should open up to allow IPv6 LLAs in future. 1 // in the Object. (TODO: In the case where the object is of an unknown type, a 2 // TODO: if we decide it's important, it should be safe to start comparing the format. 1 // TODO eliminate this global 1 // TODO fix this up to handle kinds that cross registered with different names. 1 // TODO: Table does not generate to protobuf because of the interface{} - fix protobuf 1 // TODO: marshal with a different content type and serializer (JSON for third party objects) 1 // TODO: make this call exist only in pkg/api, and initialize it with the set of default versions. 1 // TODO: attempt to reduce factors, although it is assumed that factors are reduced prior 1 // TODO: It seems that 0-len maps are ignored in it. 1 // TODO: convert to (val int32) 1 // TODO: allow other codecs to be compiled in? 1 // TODO: only accept a group versioner 1 // TODO: Set ContentEncoding and ContentType correctly. 1 // TODO: `pretty=1` is handled in NegotiateOutputMediaType, consider moving it to this method 1 // statusScheme is private scheme for the decoding here until someone fixes the TODO in NewConnection 1 // TODO: Go does not expose this via runtime https://github.com/golang/go/issues/11440 1 // TODO: Is this conversion safe? 1 // TODO: create loop up table if exp costs too much. 1 // TODO: look at removing the need to special case this 1 // TODO: when we move to server API versions, we should completely remove the unversioned concept 1 // TODO: Decode based on ContentType. 1 // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. 1 // TODO eliminate this so that different callers can correctly map to resources. This probably means updating all 1 // TODO: Add []string of api versions supported? It's still unclear 1 // TODO validate the TLSClientConfig is set up? 1 // TODO: switch to readline approach. 1 // TODO: uncomment when round trip starts from a versioned object 2 // TODO: set non-nil value 3 // TODO: figure out if we need this. This shouldn't be needed by apply. When would the original map have patch directives in it? 1 // TODO: handle other fields on Unknown and detect type 2 // TODO: Replace the code in this check with an interface comparison by 1 // TODO: Make this object have easy access to field based accessors and settors for 2 // TODO: Remove any hash/signature headers here? 1 // TODO: Rename to Int32OrString 2 // TODO: Unstructured needs to deal with ContentType. 1 // TODO: remove me when watch is refactored 2 // TODO: move to apiserver 1 // FIXME: Taken from net/http/httputil/reverseproxy.go as singleJoiningSlash is not exported to be re-used. 1 // TODO once we've cleared the last uses as strings, this special case should be removed. 1 // TODO: treat like decoding {} from JSON with defaulting 3 // TODO: verify name mappings work correctly when versions differ 1 // TODO: This function is deprecated and preserved until all callers migrate to 1 // TODO: move this, Object, List, and Type to a different package 1 // TODO: Introduce an adapter type between GroupVersions and runtime.GroupVersioner, and use LegacyCodec(GroupVersion) 1 // TODO: once we have a type for UID/GID we should make these that type. 1 // TODO: Only accept plural for some operations for increased control? 1 // TODO: Get obj details here? 1 // TODO: split into sub-interfaces 1 // TODO: make the serialization part of this type distinct from the field accessors. 1 // TODO: Set ContentEncoding and ContentType appropriately. 1 /* TODO according to http://golang.org/pkg/net/http/#RoundTripper, a RoundTripper 1 // TODO: Move GroupVersions to a package under pkg/runtime, since it's used by scheme. 1 // TODO: Is this Unmarshal needed? 1 // TODO: accept a scheme interface 1 // TODO: move this, and TypeMeta and ListMeta, to a different package 3 // TODO: these are for backcompat, remove them in the future 1 // TODO: If BinarySI formatting is requested but would cause rounding, upgrade to 1 // TODO: Move GroupVersion to a package under pkg/runtime, since it's used by scheme. 1 // TODO: there is discussion about removing unversioned and replacing it with objects that are manifest into 1 // TODO: verify that the correct external version is chosen on encode... 1 // TODO: Consider exporting the internalSelector type instead. 1 // TODO: we currently allow 1.G, but we may not want to in the future. 1 // TODO: the decoder will eventually be removed in favor of dealing with objects in their versioned form 1 // TODO: this should be v1 probably 1 // TODO: move everything in this file to pkg/api/rest 1 // TODO: this will be replaced with an interface in the future 1 // TODO: look into strict handling of nested object decoding 1 // TODO: internal types have panic guards against json.Marshalling to prevent 1 // TODO: Set ContentEncoding and ContentType. 1 // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. 1 // TODO: this is to support legacy behavior of JSONPrinter and YAMLPrinter, which 1 // TODO: remove for etcd3 / make parameterizable 1 // TODO: further reduce usage of this method. 1 // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. 2 // TODO: consider making this solely a conversion action. 1 // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if 1 // TODO: set some new value 1 // TODO remove this hack after we're past the intermediate steps 1 // TODO: rework YAMLToJSONStrict to return warnings about duplicate fields without terminating so we don't have to do this twice. 1 // TODO: We should split negotiated serializers that we can change versions on from those we can change 1 // TODO: this interface is used to test code that does not have ObjectMeta or ListMeta 1 // TODO: These values are duplicated in api/types.go, but there's a circular dep. Fix it. 1 // TODO remove this hack after we're past the intermediate steps 1 // TODO: this prevents accumulating quantities greater than int64, for instance quota across a cluster 1 // TODO: Change to an interface call? 1 // TODO: test non-normalized round-tripping... YAMLToJSON normalizes and makes exact comparisons fail 1