_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c168800 | validation | // waitForDuration waits for the specified duration of time. If the wait is interrupted,
// it returns a false value. Else, it returns true, indicating completion of wait time. | {
"resource": ""
} | ||
c168801 | validation | // createACSClient creates the ACS Client using the specified URL | {
"resource": ""
} | ||
c168802 | validation | // acsWsURL returns the websocket url for ACS given the endpoint | {
"resource": ""
} | ||
c168803 | validation | // newDisconnectionTimer creates a new time object, with a callback to
// disconnect from ACS on inactivity | {
"resource": ""
} | ||
c168804 | validation | // anyMessageHandler handles any server message. Any server message means the
// connection is active and thus the heartbeat disconnect should not occur | {
"resource": ""
} | ||
c168805 | validation | // validateIPRules validates IP rules created in the container network namespace. | {
"resource": ""
} | ||
c168806 | validation | // WriteJSONToResponse writes the header, JSON response to a ResponseWriter, and
// log the error if necessary. | {
"resource": ""
} | ||
c168807 | validation | // ValueFromRequest returns the value of a field in the http request. The boolean value is
// set to true if the field exists in the query. | {
"resource": ""
} | ||
c168808 | validation | // GetMuxValueFromRequest extracts the mux value from the request using a gorilla
// mux name | {
"resource": ""
} | ||
c168809 | validation | // LimitReachedHandler logs the throttled request in the credentials audit log | {
"resource": ""
} | ||
c168810 | validation | // UnmarshalJSON decodes the TransitionDependencySet tag in the JSON encoded string
// into the TransitionDependenciesMap object | {
"resource": ""
} | ||
c168811 | validation | // Add adds the given delta to the waitgroup at the given sequence | {
"resource": ""
} | ||
c168812 | validation | // Done decrements the waitgroup at the given sequence by one | {
"resource": ""
} | ||
c168813 | validation | // NewMockCgroup creates a new mock instance | {
"resource": ""
} | ||
c168814 | validation | // Add mocks base method | {
"resource": ""
} | ||
c168815 | validation | // Add indicates an expected call of Add | {
"resource": ""
} | ||
c168816 | validation | // Delete indicates an expected call of Delete | {
"resource": ""
} | ||
c168817 | validation | // MoveTo mocks base method | {
"resource": ""
} | ||
c168818 | validation | // OOMEventFD mocks base method | {
"resource": ""
} | ||
c168819 | validation | // Processes mocks base method | {
"resource": ""
} | ||
c168820 | validation | // Stat mocks base method | {
"resource": ""
} | ||
c168821 | validation | // Subsystems mocks base method | {
"resource": ""
} | ||
c168822 | validation | // TaskStatsHandler returns the handler method for handling task stats requests. | {
"resource": ""
} | ||
c168823 | validation | // GetKnownAPIVersions returns all of the API versions that we know about.
// It doesn't care if the version is supported by Docker or ECS agent | {
"resource": ""
} | ||
c168824 | validation | // NewMockUdev creates a new mock instance | {
"resource": ""
} | ||
c168825 | validation | // Monitor mocks base method | {
"resource": ""
} | ||
c168826 | validation | // Monitor indicates an expected call of Monitor | {
"resource": ""
} | ||
c168827 | validation | // SetInferenceDevices sets the InferenceDevices field's value. | {
"resource": ""
} | ||
c168828 | validation | // SetDeviceName sets the DeviceName field's value. | {
"resource": ""
} | ||
c168829 | validation | // SetDeviceType sets the DeviceType field's value. | {
"resource": ""
} | ||
c168830 | validation | // DefaultConfig returns the default configuration for Linux | {
"resource": ""
} | ||
c168831 | validation | // platformString returns platform-specific config data that can be serialized
// to string for debugging | {
"resource": ""
} | ||
c168832 | validation | // MapTaskToContainerStatus maps the task status to the corresponding container status | {
"resource": ""
} | ||
c168833 | validation | // Error returns the error string for MultiErr | {
"resource": ""
} | ||
c168834 | validation | // NewMultiError creates a new MultErr object | {
"resource": ""
} | ||
c168835 | validation | // GetPullCredentials returns the pull credentials in the auth | {
"resource": ""
} | ||
c168836 | validation | // SetPullCredentials sets the credentials to pull from ECR in the auth | {
"resource": ""
} | ||
c168837 | validation | // GetDockerAuthConfig returns the pull credentials in the auth | {
"resource": ""
} | ||
c168838 | validation | // SetDockerAuthConfig sets the credentials to pull from ECR in the
// auth | {
"resource": ""
} | ||
c168839 | validation | // NewMockSecretsManagerAPI creates a new mock instance | {
"resource": ""
} | ||
c168840 | validation | // CancelRotateSecret mocks base method | {
"resource": ""
} | ||
c168841 | validation | // CancelRotateSecret indicates an expected call of CancelRotateSecret | {
"resource": ""
} | ||
c168842 | validation | // CancelRotateSecretRequest mocks base method | {
"resource": ""
} | ||
c168843 | validation | // CancelRotateSecretWithContext mocks base method | {
"resource": ""
} | ||
c168844 | validation | // CreateSecret mocks base method | {
"resource": ""
} | ||
c168845 | validation | // CreateSecretRequest mocks base method | {
"resource": ""
} | ||
c168846 | validation | // CreateSecretWithContext mocks base method | {
"resource": ""
} | ||
c168847 | validation | // DeleteResourcePolicy mocks base method | {
"resource": ""
} | ||
c168848 | validation | // DeleteResourcePolicyRequest mocks base method | {
"resource": ""
} | ||
c168849 | validation | // DeleteResourcePolicyWithContext mocks base method | {
"resource": ""
} | ||
c168850 | validation | // DeleteSecret mocks base method | {
"resource": ""
} | ||
c168851 | validation | // DeleteSecretRequest mocks base method | {
"resource": ""
} | ||
c168852 | validation | // DeleteSecretWithContext mocks base method | {
"resource": ""
} | ||
c168853 | validation | // DescribeSecret mocks base method | {
"resource": ""
} | ||
c168854 | validation | // DescribeSecretRequest mocks base method | {
"resource": ""
} | ||
c168855 | validation | // DescribeSecretWithContext mocks base method | {
"resource": ""
} | ||
c168856 | validation | // GetRandomPassword mocks base method | {
"resource": ""
} | ||
c168857 | validation | // GetRandomPasswordRequest mocks base method | {
"resource": ""
} | ||
c168858 | validation | // GetRandomPasswordWithContext mocks base method | {
"resource": ""
} | ||
c168859 | validation | // GetResourcePolicy mocks base method | {
"resource": ""
} | ||
c168860 | validation | // GetResourcePolicyRequest mocks base method | {
"resource": ""
} | ||
c168861 | validation | // GetResourcePolicyWithContext mocks base method | {
"resource": ""
} | ||
c168862 | validation | // GetSecretValue mocks base method | {
"resource": ""
} | ||
c168863 | validation | // GetSecretValueRequest mocks base method | {
"resource": ""
} | ||
c168864 | validation | // GetSecretValueWithContext mocks base method | {
"resource": ""
} | ||
c168865 | validation | // ListSecretVersionIds mocks base method | {
"resource": ""
} | ||
c168866 | validation | // ListSecretVersionIdsPages mocks base method | {
"resource": ""
} | ||
c168867 | validation | // ListSecretVersionIdsPagesWithContext mocks base method | {
"resource": ""
} | ||
c168868 | validation | // ListSecretVersionIdsRequest mocks base method | {
"resource": ""
} | ||
c168869 | validation | // ListSecrets mocks base method | {
"resource": ""
} | ||
c168870 | validation | // ListSecretsPages mocks base method | {
"resource": ""
} | ||
c168871 | validation | // ListSecretsRequest mocks base method | {
"resource": ""
} | ||
c168872 | validation | // ListSecretsWithContext mocks base method | {
"resource": ""
} | ||
c168873 | validation | // PutResourcePolicy mocks base method | {
"resource": ""
} | ||
c168874 | validation | // PutResourcePolicyRequest mocks base method | {
"resource": ""
} | ||
c168875 | validation | // PutResourcePolicyWithContext mocks base method | {
"resource": ""
} | ||
c168876 | validation | // PutSecretValue mocks base method | {
"resource": ""
} | ||
c168877 | validation | // PutSecretValueRequest mocks base method | {
"resource": ""
} | ||
c168878 | validation | // PutSecretValueWithContext mocks base method | {
"resource": ""
} | ||
c168879 | validation | // RestoreSecret mocks base method | {
"resource": ""
} | ||
c168880 | validation | // RestoreSecretRequest mocks base method | {
"resource": ""
} | ||
c168881 | validation | // RestoreSecretWithContext mocks base method | {
"resource": ""
} | ||
c168882 | validation | // RotateSecret mocks base method | {
"resource": ""
} | ||
c168883 | validation | // RotateSecretRequest mocks base method | {
"resource": ""
} | ||
c168884 | validation | // RotateSecretWithContext mocks base method | {
"resource": ""
} | ||
c168885 | validation | // UntagResourceWithContext mocks base method | {
"resource": ""
} | ||
c168886 | validation | // UpdateSecret mocks base method | {
"resource": ""
} | ||
c168887 | validation | // UpdateSecretRequest mocks base method | {
"resource": ""
} | ||
c168888 | validation | // UpdateSecretVersionStage mocks base method | {
"resource": ""
} | ||
c168889 | validation | // UpdateSecretVersionStageRequest mocks base method | {
"resource": ""
} | ||
c168890 | validation | // UpdateSecretVersionStageWithContext mocks base method | {
"resource": ""
} | ||
c168891 | validation | // UpdateSecretVersionStageWithContext indicates an expected call of UpdateSecretVersionStageWithContext | {
"resource": ""
} | ||
c168892 | validation | // UpdateSecretWithContext mocks base method | {
"resource": ""
} | ||
c168893 | validation | // createBindsEnv will do the appropriate formatting to add a new mount in a container's HostConfig
// and add the metadata file path as an environment variable ECS_CONTAINER_METADATA_FILE
// We add an additional uuid to the path to ensure it does not conflict with user mounts | {
"resource": ""
} | ||
c168894 | validation | // parseMetadataAtContainerCreate gathers metadata from task and cluster configurations
// then packages it for JSON Marshaling. We use this version to get data
// available prior to container creation
// Since we accept incomplete metadata fields, we should not return
// errors here and handle them at this or the abov... | {
"resource": ""
} | ||
c168895 | validation | // parseMetadata gathers metadata from a docker container, and task
// configuration and data then packages it for JSON Marshaling
// Since we accept incomplete metadata fields, we should not return
// errors here and handle them at this or the above stage. | {
"resource": ""
} | ||
c168896 | validation | // parseDockerContainerMetadata parses the metadata in a docker container
// and packages this data for JSON marshaling
// Since we accept incomplete metadata fields, we should not return
// errors here and handle them at this stage. | {
"resource": ""
} | ||
c168897 | validation | // parseNetworkMetadata parses the docker.NetworkSettings struct and
// packages the desired metadata for JSON marshaling
// Since we accept incomplete metadata fields, we should not return
// errors here and handle them at this stage. | {
"resource": ""
} | ||
c168898 | validation | // Initialize sets the fields of Nvidia GPU Manager struct | {
"resource": ""
} | ||
c168899 | validation | // SetGPUIDs sets the GPUIDs | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.