_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c18200 | train | // Write the header out, adding a region tag encompassing all the existing tags. | {
"resource": ""
} | ||
c18201 | train | // Dump the lead and signature header, optionally adding or changing padding to
// make it the same size as when it was originally read. Otherwise padding is
// removed to make it as small as possible. | {
"resource": ""
} | ||
c18202 | train | // Encode encodes the token into a base62 string | {
"resource": ""
} | ||
c18203 | train | // MarshalText implements the `encoding.TextMarsheler` interface | {
"resource": ""
} | ||
c18204 | train | // Decode returns a token from a 1-12 character base62 encoded string | {
"resource": ""
} | ||
c18205 | train | // maxHashInt returns the largest possible int that will yeild a base62 encoded token of the specified length | {
"resource": ""
} | ||
c18206 | train | // New - Creates a new consumer structure | {
"resource": ""
} | ||
c18207 | train | // Connect - Connects all readers to NSQ | {
"resource": ""
} | ||
c18208 | train | // ConnectLookupd - Connects all readers to NSQ lookupd | {
"resource": ""
} | ||
c18209 | train | // Start - Just waits | {
"resource": ""
} | ||
c18210 | train | // WithMessage - Returns nsq message from context. | {
"resource": ""
} | ||
c18211 | train | // MessageFromContext - Returns nsq message from context. | {
"resource": ""
} | ||
c18212 | train | // Finish - Finish processing message | {
"resource": ""
} | ||
c18213 | train | // ReadJSON - Unmarshals JSON message body to interface. | {
"resource": ""
} | ||
c18214 | train | // Publish - sends message to nsq topic | {
"resource": ""
} | ||
c18215 | train | // PublishAsync - sends a message to nsq topic asynchronously | {
"resource": ""
} | ||
c18216 | train | // MultiPublish - sends multiple message to to nsq topic | {
"resource": ""
} | ||
c18217 | train | // ConnectConfig method initialize the connection to nsq with config | {
"resource": ""
} | ||
c18218 | train | // Connect - Connects prodocuer to nsq instance. | {
"resource": ""
} | ||
c18219 | train | // ConnectConfig method initialize the connection to nsq with config. | {
"resource": ""
} | ||
c18220 | train | // PublishJSON - sends message to nsq topic in json format | {
"resource": ""
} | ||
c18221 | train | // Get returns the CRD that defines the resource of provided group and kind. | {
"resource": ""
} | ||
c18222 | train | // AddInformer adds an Informer to the store.
// Can only be called with a not yet started informer. Otherwise bad things will happen. | {
"resource": ""
} | ||
c18223 | train | // HashConfigMap hashes the sorted values in the ConfigMap in sorted order
// with a NUL as a separator character between and within pairs of key + value. | {
"resource": ""
} | ||
c18224 | train | // HashSecret hashes the sorted values in the secret in sorted order
// with a NUL as a separator character between and within pairs of key + value. | {
"resource": ""
} | ||
c18225 | train | // newBundles returns a Bundles | {
"resource": ""
} | ||
c18226 | train | // IsCrdConditionTrue indicates if the condition is present and strictly true | {
"resource": ""
} | ||
c18227 | train | // AddInformer adds an Informer to the store. | {
"resource": ""
} | ||
c18228 | train | // GetInformers gets all registered Informers. | {
"resource": ""
} | ||
c18229 | train | // Get looks up object of specified GVK in the specified namespace by name.
// A deep copy of the object is returned so it is safe to modify it. | {
"resource": ""
} | ||
c18230 | train | // BeforeCreate pre-processes object specification and returns an updated version. | {
"resource": ""
} | ||
c18231 | train | // works around the fact that service catalog does not know when to send an update request if the
// parameters section would change as the result of changing a secret referenced in parametersFrom. To
// do this we record the contents of all referenced secrets in an annotation, compare that annotations value
// each ti... | {
"resource": ""
} | ||
c18232 | train | // setLastAppliedReplicasAnnotation updates replicas based on LastAppliedReplicas annotation and running config
// to avoid conflicts with other controllers like HPA.
// actual may be nil. | {
"resource": ""
} | ||
c18233 | train | // SmithV1 retrieves the SmithV1Client | {
"resource": ""
} | ||
c18234 | train | // Smith retrieves the SmithV1Client | {
"resource": ""
} | ||
c18235 | train | // setFieldsFromActual mutates the target with fields from the instantiated object,
// iff that field was not set in the original object. | {
"resource": ""
} | ||
c18236 | train | // Prepare prepares the controller to be run. | {
"resource": ""
} | ||
c18237 | train | // Run begins watching and syncing.
// All informers must be synced before this method is invoked. | {
"resource": ""
} | ||
c18238 | train | // lookupBundleByObjectByIndex returns a function that can be used to perform lookups of Bundles that contain
// objects returned from an index. | {
"resource": ""
} | ||
c18239 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sleeper. | {
"resource": ""
} | ||
c18240 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SleeperList. | {
"resource": ""
} | ||
c18241 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SleeperSpec. | {
"resource": ""
} | ||
c18242 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SleeperStatus. | {
"resource": ""
} | ||
c18243 | train | // Get returns a bundle by its namespace and name.
// nil is returned if bundle does not exist. | {
"resource": ""
} | ||
c18244 | train | // GetBundlesByCrd returns Bundles which have a resource defined by CRD. | {
"resource": ""
} | ||
c18245 | train | // GetBundlesByObject returns bundles where a resource with specified GVK, namespace and name is defined. | {
"resource": ""
} | ||
c18246 | train | // Get takes name of the bundle, and returns the corresponding bundle object, and an error if there is any. | {
"resource": ""
} | ||
c18247 | train | // List takes label and field selectors, and returns the list of Bundles that match those selectors. | {
"resource": ""
} | ||
c18248 | train | // Watch returns a watch.Interface that watches the requested bundles. | {
"resource": ""
} | ||
c18249 | train | // Delete takes name of the bundle and deletes it. Returns an error if one occurs. | {
"resource": ""
} | ||
c18250 | train | // Patch applies the patch and returns the patched bundle. | {
"resource": ""
} | ||
c18251 | train | // ensureWatch ensures there is a watch for CRs of a CRD.
// Returns true if a watch was found or set up successfully and false if there is no watch and it was not set up for
// some reason. | {
"resource": ""
} | ||
c18252 | train | // ensureNoWatch ensures there is no watch for CRs of a CRD.
// Returns true if a watch was found and terminated and false if there was no watch already. | {
"resource": ""
} | ||
c18253 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bundle. | {
"resource": ""
} | ||
c18254 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleList. | {
"resource": ""
} | ||
c18255 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleSpec. | {
"resource": ""
} | ||
c18256 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleStatus. | {
"resource": ""
} | ||
c18257 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSpec. | {
"resource": ""
} | ||
c18258 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reference. | {
"resource": ""
} | ||
c18259 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource. | {
"resource": ""
} | ||
c18260 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec. | {
"resource": ""
} | ||
c18261 | train | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceStatusData. | {
"resource": ""
} | ||
c18262 | train | // ProcessBundle is only visible for testing purposes. Should not be called directly. | {
"resource": ""
} | ||
c18263 | train | // findObjectsToDelete initializes objectsToDelete field with objects that have controller owner references to
// the Bundle being processed but are not defined in it. | {
"resource": ""
} | ||
c18264 | train | // pluginStatuses visits each valid Plugin just once, collecting its PluginStatus. | {
"resource": ""
} | ||
c18265 | train | // resourceConditions calculates conditions for a given Resource,
// which can be useful when determining whether to retry or not. | {
"resource": ""
} | ||
c18266 | train | // checkBundleConditionNeedsUpdate updates passed condition by fetching information from an existing resource condition if present.
// Sets LastTransitionTime to now if the status has changed.
// Returns true if resource condition in the bundle does not match and needs to be updated. | {
"resource": ""
} | ||
c18267 | train | // checkResourceConditionNeedsUpdate updates passed condition by fetching information from an existing resource condition if present.
// Sets LastTransitionTime to now if the status has changed.
// Returns true if resource condition in the bundle does not match and needs to be updated. | {
"resource": ""
} | ||
c18268 | train | // ConvertType should be used to convert to typed objects.
// If the in object is unstructured then it must have GVK set otherwise it must be
// recognizable by scheme or have the GVK set. | {
"resource": ""
} | ||
c18269 | train | // RuntimeToUnstructured can be used to convert any typed or unstructured object into
// an unstructured object. The obj must have GVK set. | {
"resource": ""
} | ||
c18270 | train | // evalPluginSpec evaluates the plugin resource specification and returns the result. | {
"resource": ""
} | ||
c18271 | train | // createOrUpdate creates or updates a resources. | {
"resource": ""
} | ||
c18272 | train | // Mutates spec and actual. | {
"resource": ""
} | ||
c18273 | train | // GetJSONPathString extracts the value from the object using given JsonPath template, in a string format | {
"resource": ""
} | ||
c18274 | train | // GetJSONPathValue extracts the value from the object using given JsonPath template | {
"resource": ""
} | ||
c18275 | train | // New returns a new GoReq object. | {
"resource": ""
} | ||
c18276 | train | // SetCurlCommand enables the curlcommand mode which display a CURL command line | {
"resource": ""
} | ||
c18277 | train | // SetLogger is used to set a Logger | {
"resource": ""
} | ||
c18278 | train | // SetClient ise used to set a shared http.Client | {
"resource": ""
} | ||
c18279 | train | // Reset is used to clear GoReq data for another new request only keep client and logger. | {
"resource": ""
} | ||
c18280 | train | // Get is used to set GET HttpMethod with a url. | {
"resource": ""
} | ||
c18281 | train | // Post is used to set POST HttpMethod with a url. | {
"resource": ""
} | ||
c18282 | train | // Head is used to set HEAD HttpMethod with a url. | {
"resource": ""
} | ||
c18283 | train | // Put is used to set PUT HttpMethod with a url. | {
"resource": ""
} | ||
c18284 | train | // Delete is used to set DELETE HttpMethod with a url. | {
"resource": ""
} | ||
c18285 | train | // Patch is used to set PATCH HttpMethod with a url. | {
"resource": ""
} | ||
c18286 | train | // Options is used to set OPTIONS HttpMethod with a url. | {
"resource": ""
} | ||
c18287 | train | //create queryData by parsing structs. | {
"resource": ""
} | ||
c18288 | train | // Timeout is used to set timeout for connections. | {
"resource": ""
} | ||
c18289 | train | // RedirectPolicy is used to set redirect policy. | {
"resource": ""
} | ||
c18290 | train | // SendFile posts a file to server. | {
"resource": ""
} | ||
c18291 | train | // checkCrumb - checks if `useCrumb` is enabled and if so, retrieves crumb field and value and updates request header | {
"resource": ""
} | ||
c18292 | train | // GetJobs returns all jobs you can read. | {
"resource": ""
} | ||
c18293 | train | // GetJob returns a job which has specified name. | {
"resource": ""
} | ||
c18294 | train | //GetJobConfig returns a maven job, has the one used to create Maven job | {
"resource": ""
} | ||
c18295 | train | // GetBuild returns a number-th build result of specified job. | {
"resource": ""
} | ||
c18296 | train | // GetLastBuild returns the last build of specified job. | {
"resource": ""
} | ||
c18297 | train | // Create a new job | {
"resource": ""
} | ||
c18298 | train | // Delete a job | {
"resource": ""
} | ||
c18299 | train | // Add job to view | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.