_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c169000 | validation | // GetCredentialsID gets the credentials ID for the task | {
"resource": ""
} | ||
c169001 | validation | // SetExecutionRoleCredentialsID sets the ID for the task execution role credentials | {
"resource": ""
} | ||
c169002 | validation | // GetExecutionCredentialsID gets the credentials ID for the task | {
"resource": ""
} | ||
c169003 | validation | // GetDesiredStatus gets the desired status of the task | {
"resource": ""
} | ||
c169004 | validation | // SetDesiredStatus sets the desired status of the task | {
"resource": ""
} | ||
c169005 | validation | // GetSentStatus safely returns the SentStatus of the task | {
"resource": ""
} | ||
c169006 | validation | // SetSentStatus safely sets the SentStatus of the task | {
"resource": ""
} | ||
c169007 | validation | // SetTaskENI sets the eni information of the task | {
"resource": ""
} | ||
c169008 | validation | // GetTaskENI returns the eni of task, for now task can only have one enis | {
"resource": ""
} | ||
c169009 | validation | // SetAppMesh sets the app mesh config of the task | {
"resource": ""
} | ||
c169010 | validation | // GetAppMesh returns the app mesh config of the task | {
"resource": ""
} | ||
c169011 | validation | // GetStopSequenceNumber returns the stop sequence number of a task | {
"resource": ""
} | ||
c169012 | validation | // SetStopSequenceNumber sets the stop seqence number of a task | {
"resource": ""
} | ||
c169013 | validation | // SetPullStartedAt sets the task pullstartedat timestamp and returns whether
// this field was updated or not | {
"resource": ""
} | ||
c169014 | validation | // GetPullStartedAt returns the PullStartedAt timestamp | {
"resource": ""
} | ||
c169015 | validation | // SetPullStoppedAt sets the task pullstoppedat timestamp | {
"resource": ""
} | ||
c169016 | validation | // GetPullStoppedAt returns the PullStoppedAt timestamp | {
"resource": ""
} | ||
c169017 | validation | // SetExecutionStoppedAt sets the ExecutionStoppedAt timestamp of the task | {
"resource": ""
} | ||
c169018 | validation | // GetExecutionStoppedAt returns the task executionStoppedAt timestamp | {
"resource": ""
} | ||
c169019 | validation | // stringUnsafe returns a human readable string representation of this object | {
"resource": ""
} | ||
c169020 | validation | // RecordExecutionStoppedAt checks if this is an essential container stopped
// and set the task executionStoppedAt timestamps | {
"resource": ""
} | ||
c169021 | validation | // GetResources returns the list of task resources from ResourcesMap | {
"resource": ""
} | ||
c169022 | validation | // getResourcesUnsafe returns the list of task resources from ResourcesMap | {
"resource": ""
} | ||
c169023 | validation | // AddResource adds a resource to ResourcesMap | {
"resource": ""
} | ||
c169024 | validation | // SetTerminalReason sets the terminalReason string and this can only be set
// once per the task's lifecycle. This field does not accept updates. | {
"resource": ""
} | ||
c169025 | validation | // GetTerminalReason retrieves the terminalReason string | {
"resource": ""
} | ||
c169026 | validation | // PopulateASMAuthData sets docker auth credentials for a container | {
"resource": ""
} | ||
c169027 | validation | // getSSMSecretsResource retrieves ssmsecret resource from resource map | {
"resource": ""
} | ||
c169028 | validation | // PopulateSecrets appends secrets to container's env var map and hostconfig section | {
"resource": ""
} | ||
c169029 | validation | // getASMSecretsResource retrieves asmsecret resource from resource map | {
"resource": ""
} | ||
c169030 | validation | // Retrieves a Task's PIDMode | {
"resource": ""
} | ||
c169031 | validation | // Retrieves a Task's IPCMode | {
"resource": ""
} | ||
c169032 | validation | // AssociationByTypeAndContainer gets a list of names of all the associations associated with a container and of a
// certain type | {
"resource": ""
} | ||
c169033 | validation | // AssociationByTypeAndName gets an association of a certain type and name | {
"resource": ""
} | ||
c169034 | validation | // newAttachENIHandler returns an instance of the attachENIHandler struct | {
"resource": ""
} | ||
c169035 | validation | // handlerFunc returns a function to enqueue requests onto attachENIHandler buffer | {
"resource": ""
} | ||
c169036 | validation | // handleMessages handles each message one at a time | {
"resource": ""
} | ||
c169037 | validation | // handleSingleMessage acks the message received | {
"resource": ""
} | ||
c169038 | validation | // addENIAttachmentToState adds the eni info to the state | {
"resource": ""
} | ||
c169039 | validation | // validateAttachTaskNetworkInterfacesMessage performs validation checks on the
// AttachTaskNetworkInterfacesMessage | {
"resource": ""
} | ||
c169040 | validation | // ForceSave mocks base method | {
"resource": ""
} | ||
c169041 | validation | // ForceSave indicates an expected call of ForceSave | {
"resource": ""
} | ||
c169042 | validation | // NewMockClientServer creates a new mock instance | {
"resource": ""
} | ||
c169043 | validation | // AddRequestHandler mocks base method | {
"resource": ""
} | ||
c169044 | validation | // AddRequestHandler indicates an expected call of AddRequestHandler | {
"resource": ""
} | ||
c169045 | validation | // Disconnect mocks base method | {
"resource": ""
} | ||
c169046 | validation | // IsConnected mocks base method | {
"resource": ""
} | ||
c169047 | validation | // MakeRequest mocks base method | {
"resource": ""
} | ||
c169048 | validation | // SetAnyRequestHandler mocks base method | {
"resource": ""
} | ||
c169049 | validation | // SetConnection mocks base method | {
"resource": ""
} | ||
c169050 | validation | // SetReadDeadline mocks base method | {
"resource": ""
} | ||
c169051 | validation | // ShouldReportToBackend returns true if the container status is recognized as a
// valid state by ECS. Note that not all container statuses are recognized by ECS
// or map to ECS states | {
"resource": ""
} | ||
c169052 | validation | // BackendStatus maps the internal container status in the agent to that in the
// backend | {
"resource": ""
} | ||
c169053 | validation | // UnmarshalJSON overrides the logic for parsing the JSON-encoded ContainerStatus data | {
"resource": ""
} | ||
c169054 | validation | // MarshalJSON overrides the logic for JSON-encoding the ContainerStatus type | {
"resource": ""
} | ||
c169055 | validation | // UnmarshalJSON overrides the logic for parsing the JSON-encoded container health data | {
"resource": ""
} | ||
c169056 | validation | // MarshalJSON overrides the logic for JSON-encoding the ContainerHealthStatus type | {
"resource": ""
} | ||
c169057 | validation | // Function that exposes all Agent Metrics on a given port. | {
"resource": ""
} | ||
c169058 | validation | // NewMockDockerClient creates a new mock instance | {
"resource": ""
} | ||
c169059 | validation | // ContainerEvents mocks base method | {
"resource": ""
} | ||
c169060 | validation | // ContainerEvents indicates an expected call of ContainerEvents | {
"resource": ""
} | ||
c169061 | validation | // CreateContainer mocks base method | {
"resource": ""
} | ||
c169062 | validation | // CreateVolume mocks base method | {
"resource": ""
} | ||
c169063 | validation | // DescribeContainer mocks base method | {
"resource": ""
} | ||
c169064 | validation | // InspectContainer mocks base method | {
"resource": ""
} | ||
c169065 | validation | // InspectImage mocks base method | {
"resource": ""
} | ||
c169066 | validation | // KnownVersions mocks base method | {
"resource": ""
} | ||
c169067 | validation | // KnownVersions indicates an expected call of KnownVersions | {
"resource": ""
} | ||
c169068 | validation | // ListContainers mocks base method | {
"resource": ""
} | ||
c169069 | validation | // ListImages mocks base method | {
"resource": ""
} | ||
c169070 | validation | // ListPlugins mocks base method | {
"resource": ""
} | ||
c169071 | validation | // ListPluginsWithFilters mocks base method | {
"resource": ""
} | ||
c169072 | validation | // PullImage mocks base method | {
"resource": ""
} | ||
c169073 | validation | // RemoveImage mocks base method | {
"resource": ""
} | ||
c169074 | validation | // StopContainer mocks base method | {
"resource": ""
} | ||
c169075 | validation | // WithVersion mocks base method | {
"resource": ""
} | ||
c169076 | validation | // NewMockCache creates a new mock instance | {
"resource": ""
} | ||
c169077 | validation | // Delete mocks base method | {
"resource": ""
} | ||
c169078 | validation | // Get mocks base method | {
"resource": ""
} | ||
c169079 | validation | // Set mocks base method | {
"resource": ""
} | ||
c169080 | validation | // Set indicates an expected call of Set | {
"resource": ""
} | ||
c169081 | validation | // newManagedTask is a method on DockerTaskEngine to create a new managedTask.
// This method must only be called when the engine.processTasks write lock is
// already held. | {
"resource": ""
} | ||
c169082 | validation | // overseeTask is the main goroutine of the managedTask. It runs an infinite
// loop of receiving messages and attempting to take action based on those
// messages. | {
"resource": ""
} | ||
c169083 | validation | // emitCurrentStatus emits a container event for every container and a task
// event for the task | {
"resource": ""
} | ||
c169084 | validation | // waitForHostResources waits for host resources to become available to start
// the task. This involves waiting for previous stops to complete so the
// resources become free. | {
"resource": ""
} | ||
c169085 | validation | // waitSteady waits for a task to leave steady-state by waiting for a new
// event, or a timeout. | {
"resource": ""
} | ||
c169086 | validation | // steadyState returns if the task is in a steady state. Steady state is when task's desired
// and known status are both RUNNING | {
"resource": ""
} | ||
c169087 | validation | // cleanupCredentials removes credentials for a stopped task | {
"resource": ""
} | ||
c169088 | validation | // waitEvent waits for any event to occur. If an event occurs, the appropriate
// handler is called. Generally the stopWaiting arg is the context's Done
// channel. When the Done channel is signalled by the context, waitEvent will
// return true. | {
"resource": ""
} | ||
c169089 | validation | // handleResourceStateChange attempts to update resource's known status depending on
// the current status and errors during transition | {
"resource": ""
} | ||
c169090 | validation | // emitContainerEvent passes a given event up through the containerEvents channel if necessary.
// It will omit events the backend would not process and will perform best-effort deduplication of events. | {
"resource": ""
} | ||
c169091 | validation | // releaseIPInIPAM releases the ip used by the task for awsvpc | {
"resource": ""
} | ||
c169092 | validation | // handleStoppedToRunningContainerTransition detects a "backwards" container
// transition where a known-stopped container is found to be running again and
// handles it. | {
"resource": ""
} | ||
c169093 | validation | // handleEventError handles a container change event error and decides whether
// we should proceed to transition the container | {
"resource": ""
} | ||
c169094 | validation | // handleContainerStoppedTransitionError handles an error when transitioning a container to
// STOPPED. It returns a boolean indicating whether the tak can continue with updating its
// state | {
"resource": ""
} | ||
c169095 | validation | // progressTask tries to step forwards all containers and resources that are able to be
// transitioned in the task's current state.
// It will continue listening to events from all channels while it does so, but
// none of those changes will be acted upon until this set of requests to
// docker completes.
// Container... | {
"resource": ""
} | ||
c169096 | validation | // isWaitingForACSExecutionCredentials checks if the container that can't be transitioned
// was caused by waiting for credentials and start waiting | {
"resource": ""
} | ||
c169097 | validation | // startContainerTransitions steps through each container in the task and calls
// the passed transition function when a transition should occur. | {
"resource": ""
} | ||
c169098 | validation | // startResourceTransitions steps through each resource in the task and calls
// the passed transition function when a transition should occur | {
"resource": ""
} | ||
c169099 | validation | // transitionResource calls applyResourceState, and then notifies the managed
// task of the change. transitionResource is called by progressTask | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.