Summary: 52 instances, 48 unique Text Count // TODO add setter and getter for modifying this 1 // TODO: Add a state to the apicontainer.Container for the status of the metadata file (Whether it needs update) and 1 // TODO ensure that this is done only once per engine object 1 // TODO return error to differentiate between error and default mode . 1 // TODO Remove clientfactory parameter once migration to Docker SDK is complete. 1 // TODO: remove includeV4Metadata from NewContainerResponseFromState/NewContainerResponse 1 TODO: Make this whole thing better 1 // TODO: wire in the context here. Else, we have go routine leaks in tests 1 // TODO: move the error check into StartListening() to keep event streaming and error handling in one place. 1 ## TODO: This is a very basic logging function. We should make it better, or replace it with 1 // TODO: Create a mapping of resource status to the corresponding task status and use it here 1 // TODO KnownStatusUnsafe should probably be private with appropriately written 2 // TODO Remove type when migration is complete 1 // TODO [ecs-exec] : verify that returning the default session limit (2) is ok in case of any errors, misconfiguration 1 // TODO: Pre-start hooks go here (unclear if we need any yet) 1 // TODO: use reflection along with `equal:"unordered"` annotations on slices to 1 // TODO Investigate performance differences between FlushFileBuffers and unbuffered IO. 1 // TODO: Use registry to setup credentialspec resource location 1 // TODO: Refactor this struct so that each ASMAuthData gets associated with 1 //TODO: change image createdTime to image lastUsedTime when docker support it in the future 1 // TODO SentStatusUnsafe should probably be private with appropriately written 2 // TODO: gate this on docker api version when ecs supported docker includes 1 //TODO: [ecs-exec] retry only for certain exit codes? 1 // TODO make this context inherited from the handler 1 // TODO: [ecs-exec] This requirement will be removed for SSM agent V2 1 // TODO we should probably panic here 1 // a timeout here. TODO: Fix RetryWithBackoffCtx to return ctx.Err() on context Done() 2 // TODO pass in context as an argument 1 // TODO Handle default cluster in a sane and unified way across the codebase 1 // TODO ListPluginsWithFilters can be removed since ListPlugins takes in filters 1 // TODO Remove clientfactory field once all API calls are migrated to sdkclientFactory 1 # TODO be smart about this and only rebuild if necessary 1 // TODO: [ecs-exec] seelog config needs to be implemented following a similar approach to ss, config 1 if !inspect.Running { //TODO: [ecs-exec] retry only for certain exit codes? 1 // TODO: make this idempotent on agent restart 1 // TODO: [ecs-exec]add jitter between containers to not overload docker with top calls 1 // TODO add support for filter in go-dockerclient 1 // TODO Move the Attachment statechange check into this method 1 // TODO: remove includeV4Metadata from NewContainerResponse 1 // TODO this is hard-coded to `0` for now. Once backend starts populating 1 // TODO: Populate this list when the json is updated with actual exceptions. 1 // TODO DesiredStatusUnsafe should probably be private with appropriately written 2 // TODO replace with gomock 1 // TODO: [ecs-exec] Should we validate the ssm agent binaries & certs are valid and fail here if they're not? (bind mount will succeed even if files don't exist in host) 1 // TODO: [ecs-exec] Change variable name from Status to KnownStatus in future PR to avoid noise 1 // TODO: what's the point of locking if we are returning a pointer? 1 // TODO: DefaultCPUPeriod only permits 10VCPUs. 1 // TODO Remove ContainerInspect call 1