_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c168700 | validation | // AllImageStates returns all of the image.ImageStates | {
"resource": ""
} | ||
c168701 | validation | // AllENIAttachments returns all the enis managed by ecs on the instance | {
"resource": ""
} | ||
c168702 | validation | // ENIByMac returns the eni object that match the give mac address | {
"resource": ""
} | ||
c168703 | validation | // AddENIAttachment adds the eni into the state | {
"resource": ""
} | ||
c168704 | validation | // RemoveENIAttachment removes the eni from state and stop managing | {
"resource": ""
} | ||
c168705 | validation | // GetAllContainerIDs returns all of the Container Ids | {
"resource": ""
} | ||
c168706 | validation | // ContainerByID returns an apicontainer.DockerContainer for a given container ID | {
"resource": ""
} | ||
c168707 | validation | // ContainerMapByArn returns a map of containers belonging to a particular task ARN | {
"resource": ""
} | ||
c168708 | validation | // TaskByShortID retrieves the task of a given docker short container id | {
"resource": ""
} | ||
c168709 | validation | // TaskByID retrieves the task of a given docker container id | {
"resource": ""
} | ||
c168710 | validation | // TaskByArn returns a task for a given ARN | {
"resource": ""
} | ||
c168711 | validation | // AddTask adds a new task to the state | {
"resource": ""
} | ||
c168712 | validation | // AddContainer adds a container to the state.
// If the container has been added with only a name and no docker-id, this
// updates the state to include the docker id | {
"resource": ""
} | ||
c168713 | validation | // AddImageState adds an image.ImageState to be stored | {
"resource": ""
} | ||
c168714 | validation | // RemoveTask removes a task from this state. It removes all containers and
// other associated metadata. It does acquire the write lock. | {
"resource": ""
} | ||
c168715 | validation | // taskToIPUnsafe gets the ip address for a given task arn | {
"resource": ""
} | ||
c168716 | validation | // removeV3EndpointIDToTaskContainerUnsafe removes the container from v3EndpointIDToTask and v3EndpointIDToDockerID maps | {
"resource": ""
} | ||
c168717 | validation | // RemoveImageState removes an image.ImageState | {
"resource": ""
} | ||
c168718 | validation | // AddTaskIPAddress adds ip adddress for a task arn into the state | {
"resource": ""
} | ||
c168719 | validation | // GetTaskByIPAddress gets the task arn for an IP address | {
"resource": ""
} | ||
c168720 | validation | // storeV3EndpointIDToTaskUnsafe adds v3EndpointID -> taskARN mapping to state | {
"resource": ""
} | ||
c168721 | validation | // storeV3EndpointIDToContainerNameUnsafe adds v3EndpointID -> dockerID mapping to state | {
"resource": ""
} | ||
c168722 | validation | // DockerIDByV3EndpointID returns a docker ID for a given v3 endpoint ID | {
"resource": ""
} | ||
c168723 | validation | // TaskARNByV3EndpointID returns a taskARN for a given v3 endpoint ID | {
"resource": ""
} | ||
c168724 | validation | // v1HandlersSetup adds all handlers except CredentialsHandler in v1 package to the server mux. | {
"resource": ""
} | ||
c168725 | validation | // String returns a human readable string representation of DockerContainer | {
"resource": ""
} | ||
c168726 | validation | // NewContainerWithSteadyState creates a new Container object with the specified
// steady state. Containers that need the non default steady state set will
// use this method instead of setting it directly | {
"resource": ""
} | ||
c168727 | validation | // GetKnownStatus returns the known status of the container | {
"resource": ""
} | ||
c168728 | validation | // SetKnownStatus sets the known status of the container and update the container
// applied status | {
"resource": ""
} | ||
c168729 | validation | // GetDesiredStatus gets the desired status of the container | {
"resource": ""
} | ||
c168730 | validation | // SetDesiredStatus sets the desired status of the container | {
"resource": ""
} | ||
c168731 | validation | // GetSentStatus safely returns the SentStatusUnsafe of the container | {
"resource": ""
} | ||
c168732 | validation | // SetSentStatus safely sets the SentStatusUnsafe of the container | {
"resource": ""
} | ||
c168733 | validation | // SetKnownExitCode sets exit code field in container struct | {
"resource": ""
} | ||
c168734 | validation | // GetKnownExitCode returns the container exit code | {
"resource": ""
} | ||
c168735 | validation | // SetRegistryAuthCredentials sets the credentials for pulling image from ECR | {
"resource": ""
} | ||
c168736 | validation | // ShouldPullWithExecutionRole returns whether this container has its own ECR credentials | {
"resource": ""
} | ||
c168737 | validation | // GetSteadyStateStatus returns the steady state status for the container. If
// Container.steadyState is not initialized, the default steady state status
// defined by `defaultContainerSteadyStateStatus` is returned. The 'pause'
// container's steady state differs from that of other containers, as the
// 'pause' conta... | {
"resource": ""
} | ||
c168738 | validation | // IsKnownSteadyState returns true if the `KnownState` of the container equals
// the `steadyState` defined for the container | {
"resource": ""
} | ||
c168739 | validation | // IsMetadataFileUpdated returns true if the metadata file has been once the
// metadata file is ready and will no longer change | {
"resource": ""
} | ||
c168740 | validation | // SetMetadataFileUpdated sets the container's MetadataFileUpdated status to true | {
"resource": ""
} | ||
c168741 | validation | // IsEssential returns whether the container is an essential container or not | {
"resource": ""
} | ||
c168742 | validation | // SetCreatedAt sets the timestamp for container's creation time | {
"resource": ""
} | ||
c168743 | validation | // SetStartedAt sets the timestamp for container's start time | {
"resource": ""
} | ||
c168744 | validation | // SetFinishedAt sets the timestamp for container's stopped time | {
"resource": ""
} | ||
c168745 | validation | // GetCreatedAt sets the timestamp for container's creation time | {
"resource": ""
} | ||
c168746 | validation | // GetStartedAt sets the timestamp for container's start time | {
"resource": ""
} | ||
c168747 | validation | // GetFinishedAt sets the timestamp for container's stopped time | {
"resource": ""
} | ||
c168748 | validation | // SetLabels sets the labels for a container | {
"resource": ""
} | ||
c168749 | validation | // GetLabels gets the labels for a container | {
"resource": ""
} | ||
c168750 | validation | // SetKnownPortBindings sets the ports for a container | {
"resource": ""
} | ||
c168751 | validation | // GetKnownPortBindings gets the ports for a container | {
"resource": ""
} | ||
c168752 | validation | // SetVolumes sets the volumes mounted in a container | {
"resource": ""
} | ||
c168753 | validation | // GetVolumes returns the volumes mounted in a container | {
"resource": ""
} | ||
c168754 | validation | // SetNetworkSettings sets the networks field in a container | {
"resource": ""
} | ||
c168755 | validation | // GetNetworkSettings returns the networks field in a container | {
"resource": ""
} | ||
c168756 | validation | // SetNetworkMode sets the network mode of the container | {
"resource": ""
} | ||
c168757 | validation | // GetNetworkMode returns the network mode of the container | {
"resource": ""
} | ||
c168758 | validation | // SetHealthStatus sets the container health status | {
"resource": ""
} | ||
c168759 | validation | // GetHealthStatus returns the container health information | {
"resource": ""
} | ||
c168760 | validation | // BuildContainerDependency adds a new dependency container and satisfied status
// to the dependent container | {
"resource": ""
} | ||
c168761 | validation | // updateAppliedStatusUnsafe updates the container transitioning status | {
"resource": ""
} | ||
c168762 | validation | // SetAppliedStatus sets the applied status of container and returns whether
// the container is already in a transition | {
"resource": ""
} | ||
c168763 | validation | // GetAppliedStatus returns the transitioning status of container | {
"resource": ""
} | ||
c168764 | validation | // ShouldPullWithASMAuth returns true if this container needs to retrieve
// private registry authentication data from ASM | {
"resource": ""
} | ||
c168765 | validation | // SetASMDockerAuthConfig add the docker auth config data to the
// RegistryAuthentication struct held by the container, this is then passed down
// to the docker client to pull the image | {
"resource": ""
} | ||
c168766 | validation | // SetV3EndpointID sets the v3 endpoint id of container | {
"resource": ""
} | ||
c168767 | validation | // GetV3EndpointID returns the v3 endpoint id of container | {
"resource": ""
} | ||
c168768 | validation | // InjectV3MetadataEndpoint injects the v3 metadata endpoint as an environment variable for a container | {
"resource": ""
} | ||
c168769 | validation | // ShouldCreateWithSSMSecret returns true if this container needs to get secret
// value from SSM Parameter Store | {
"resource": ""
} | ||
c168770 | validation | // ShouldCreateWithASMSecret returns true if this container needs to get secret
// value from AWS Secrets Manager | {
"resource": ""
} | ||
c168771 | validation | // getMetadataFilePath gives the metadata file path for any agent-managed container | {
"resource": ""
} | ||
c168772 | validation | // getTaskMetadataDir acquires the directory with all of the metadata
// files of a given task | {
"resource": ""
} | ||
c168773 | validation | // MarshalJSON is used to serialize the type to json, per the Marshaller interface | {
"resource": ""
} | ||
c168774 | validation | // UnmarshalJSON is used to deserialize json types into Conditional, per the Unmarshaller interface | {
"resource": ""
} | ||
c168775 | validation | // NewASMSecretResource creates a new ASMSecretResource object | {
"resource": ""
} | ||
c168776 | validation | // It spins up multiple goroutines in order to retrieve values in parallel. | {
"resource": ""
} | ||
c168777 | validation | // retrieveASMSecretValue reads secret value from cache first, if not exists, call GetSecretFromASM to retrieve value
// AWS secrets Manager | {
"resource": ""
} | ||
c168778 | validation | // getRequiredSecrets returns the requiredSecrets field of asmsecret task resource | {
"resource": ""
} | ||
c168779 | validation | // clearASMSecretValue cycles through the collection of secret value data and
// removes them from the task | {
"resource": ""
} | ||
c168780 | validation | // MarshalJSON serialises the ASMSecretResource struct to JSON | {
"resource": ""
} | ||
c168781 | validation | // UnmarshalJSON deserialises the raw JSON to a ASMSecretResource struct | {
"resource": ""
} | ||
c168782 | validation | // Create creates a new cgroup based off the spec post validation | {
"resource": ""
} | ||
c168783 | validation | // Remove is used to delete the cgroup | {
"resource": ""
} | ||
c168784 | validation | // Exists is used to verify the existence of a cgroup | {
"resource": ""
} | ||
c168785 | validation | // validateCgroupSpec checks the cgroup spec for valid path and specifications | {
"resource": ""
} | ||
c168786 | validation | // When pulling an image, the docker api will pull and then subsequently unzip the downloaded artifacts. Docker does
// not separate the "pull" from the "unpack" step. What this means is that this timeout doesn't 'tick' while unpacking
// the downloaded files. This only causes noticeable impact with large files, but we... | {
"resource": ""
} | ||
c168787 | validation | // NewImageManager returns a new ImageManager | {
"resource": ""
} | ||
c168788 | validation | // RecordContainerReference adds container reference to the corresponding imageState object | {
"resource": ""
} | ||
c168789 | validation | // RemoveContainerReferenceFromImageState removes container reference from the corresponding imageState object | {
"resource": ""
} | ||
c168790 | validation | // getImageState returns the ImageState object that the container is referenced at | {
"resource": ""
} | ||
c168791 | validation | // removeImageState removes the imageState from the list of imageState objects in ImageManager | {
"resource": ""
} | ||
c168792 | validation | // Merge merges two config files, preferring the ones on the left. Any nil or
// zero values present in the left that are not present in the right will be
// overridden | {
"resource": ""
} | ||
c168793 | validation | // NewConfig returns a config struct created by merging environment variables,
// a config file, and EC2 Metadata info.
// The 'config' struct it returns can be used, even if an error is returned. An
// error is returned, however, if the config is incomplete in some way that is
// considered fatal. | {
"resource": ""
} | ||
c168794 | validation | // trimWhitespace trims whitespace from all string cfg values with the
// `trim` tag | {
"resource": ""
} | ||
c168795 | validation | // validateAndOverrideBounds performs validation over members of the Config struct
// and check the value against the minimum required value. | {
"resource": ""
} | ||
c168796 | validation | // NewTaskStatsResponse returns a new task stats response object | {
"resource": ""
} | ||
c168797 | validation | // NewSession creates a new Session object | {
"resource": ""
} | ||
c168798 | validation | // startSessionOnce creates a session with ACS and handles requests using the passed
// in arguments | {
"resource": ""
} | ||
c168799 | validation | // startACSSession starts a session with ACS. It adds request handlers for various
// kinds of messages expected from ACS. It returns on server disconnection or when
// the context is cancelled | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.