_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c175600 | test | // sourceURL returns the source URL from prow jobs repository reference | {
"resource": ""
} | ||
c175601 | test | // makePipelineGitResource creates a pipeline git resource from prow job | {
"resource": ""
} | ||
c175602 | test | // makePipeline creates a PipelineRun from a prow job using the PipelineRunSpec defined in the prow job | {
"resource": ""
} | ||
c175603 | test | // matchingConfigs filters irrelevant RequireMtchingLabel configs from
// the list of all configs.
// `branch` should be empty for Issues and non-empty for PRs.
// `label` should be omitted in the case of 'open' and 'reopen' actions. | {
"resource": ""
} | ||
c175604 | test | // SuggestCodeChange returns code suggestions for a given lint.Problem
// Returns empty string if no suggestion can be given | {
"resource": ""
} | ||
c175605 | test | // ServeExternalPluginHelp returns a HandlerFunc that serves plugin help information that is
// provided by the specified ExternalPluginHelpProvider. | {
"resource": ""
} | ||
c175606 | test | // protect protects branches specified in the presubmit and branch-protection config sections. | {
"resource": ""
} | ||
c175607 | test | // UpdateOrg updates all repos in the org with the specified defaults | {
"resource": ""
} | ||
c175608 | test | // UpdateRepo updates all branches in the repo with the specified defaults | {
"resource": ""
} | ||
c175609 | test | // UpdateBranch updates the branch with the specified configuration | {
"resource": ""
} | ||
c175610 | test | // LoadConfig loads options from serialized config | {
"resource": ""
} | ||
c175611 | test | // Run uploads artifacts with the specified options forever.
//
// Sends a stop message to the artifact uploader when it is interrupted. | {
"resource": ""
} | ||
c175612 | test | // Start creates goroutines to monitor the files that contain the secret value. | {
"resource": ""
} | ||
c175613 | test | // reloadSecret will begin polling the secret file at the path. If the first load
// fails, Start with return the error and abort. Future load failures will log
// the failure message but continue attempting to load. | {
"resource": ""
} | ||
c175614 | test | // GetSecret returns the value of a secret stored in a map. | {
"resource": ""
} | ||
c175615 | test | // setSecret sets a value in a map of secrets. | {
"resource": ""
} | ||
c175616 | test | // GetTokenGenerator returns a function that gets the value of a given secret. | {
"resource": ""
} | ||
c175617 | test | // New creates a new History struct with the specificed recordLog size limit. | {
"resource": ""
} | ||
c175618 | test | // Record appends an entry to the recordlog specified by the poolKey. | {
"resource": ""
} | ||
c175619 | test | // ServeHTTP serves a JSON mapping from pool key -> sorted records for the pool. | {
"resource": ""
} | ||
c175620 | test | // Flush writes the action history to persistent storage if configured to do so. | {
"resource": ""
} | ||
c175621 | test | // AllRecords generates a map from pool key -> sorted records for the pool. | {
"resource": ""
} | ||
c175622 | test | // MakeCommand returns a `download` command. | {
"resource": ""
} | ||
c175623 | test | // CheckFlags looks for comments matching regexes | {
"resource": ""
} | ||
c175624 | test | // ReceiveComment adds matching comments to InfluxDB | {
"resource": ""
} | ||
c175625 | test | // NewController constructs a new instance of the crier controller. | {
"resource": ""
} | ||
c175626 | test | // Run is the main path of execution for the controller loop. | {
"resource": ""
} | ||
c175627 | test | // runWorker executes the loop to process new items added to the queue. | {
"resource": ""
} | ||
c175628 | test | // New creates a LocalGit and a git.Client pointing at it. | {
"resource": ""
} | ||
c175629 | test | // MakeFakeRepo creates the given repo and makes an initial commit. | {
"resource": ""
} | ||
c175630 | test | // AddCommit adds the files to a new commit in the repo. | {
"resource": ""
} | ||
c175631 | test | // CheckoutNewBranch does git checkout -b. | {
"resource": ""
} | ||
c175632 | test | // Checkout does git checkout. | {
"resource": ""
} | ||
c175633 | test | // RevParse does git rev-parse. | {
"resource": ""
} | ||
c175634 | test | // CleanAll cleans all of the resources for all of the regions visible to
// the provided AWS session. | {
"resource": ""
} | ||
c175635 | test | // optionsForRepo gets the plugins.Lgtm struct that is applicable to the indicated repo. | {
"resource": ""
} | ||
c175636 | test | // getChangedFiles returns all the changed files for the provided pull request. | {
"resource": ""
} | ||
c175637 | test | // loadReviewers returns all reviewers and approvers from all OWNERS files that
// cover the provided filenames. | {
"resource": ""
} | ||
c175638 | test | // NewController returns a new gerrit controller client | {
"resource": ""
} | ||
c175639 | test | // SaveLastSync saves last sync time in Unix to a volume | {
"resource": ""
} | ||
c175640 | test | // Sync looks for newly made gerrit changes
// and creates prowjobs according to specs | {
"resource": ""
} | ||
c175641 | test | // AddFlags adds "event" to the command help | {
"resource": ""
} | ||
c175642 | test | // CheckFlags is delegated to EventMatcher | {
"resource": ""
} | ||
c175643 | test | // ReceiveIssueEvent adds issue events to InfluxDB | {
"resource": ""
} | ||
c175644 | test | // Upload uploads all of the data in the
// uploadTargets map to GCS in parallel. The map is
// keyed on GCS path under the bucket | {
"resource": ""
} | ||
c175645 | test | // FileUploadWithMetadata returns an UploadFunc which copies all
// data from the file on disk into GCS object and also sets the provided
// metadata fields on the object. | {
"resource": ""
} | ||
c175646 | test | // DataUploadWithMetadata returns an UploadFunc which copies all
// data from src reader into GCS and also sets the provided metadata
// fields onto the object. | {
"resource": ""
} | ||
c175647 | test | // HasLabel checks if label is in the label set "issueLabels". | {
"resource": ""
} | ||
c175648 | test | // ImageTooBig checks if image is bigger than github limits | {
"resource": ""
} | ||
c175649 | test | // LevelFromPermissions adapts a repo permissions struct to the
// appropriate permission level used elsewhere | {
"resource": ""
} | ||
c175650 | test | // PermissionsFromLevel adapts a repo permission level to the
// appropriate permissions struct used elsewhere | {
"resource": ""
} | ||
c175651 | test | // newProwJobs returns a ProwJobs | {
"resource": ""
} | ||
c175652 | test | // GetApplicable returns the subset of blockers applicable to the specified branch. | {
"resource": ""
} | ||
c175653 | test | // serve starts a http server and serves Jenkins logs
// and prometheus metrics. Meant to be called inside
// a goroutine. | {
"resource": ""
} | ||
c175654 | test | // NewCountPlugin counts events and number of issues in given state, and for how long. | {
"resource": ""
} | ||
c175655 | test | // ReceiveComment creates a fake "commented" event | {
"resource": ""
} | ||
c175656 | test | // helper to update disk metrics | {
"resource": ""
} | ||
c175657 | test | // LogStatus outputs current status of all resources | {
"resource": ""
} | ||
c175658 | test | // SyncConfig updates resource list from a file | {
"resource": ""
} | ||
c175659 | test | // Metric returns a metric object with metrics filled in | {
"resource": ""
} | ||
c175660 | test | // FormatURL will return the GH markdown to show the image for a specific dogURL. | {
"resource": ""
} | ||
c175661 | test | // runAndSkipJobs executes the config.Presubmits that are requested and posts skipped statuses
// for the reporting jobs that are skipped | {
"resource": ""
} | ||
c175662 | test | // validateContextOverlap ensures that there will be no overlap in contexts between a set of jobs running and a set to skip | {
"resource": ""
} | ||
c175663 | test | // RunRequested executes the config.Presubmits that are requested | {
"resource": ""
} | ||
c175664 | test | // skipRequested posts skipped statuses for the config.Presubmits that are requested | {
"resource": ""
} | ||
c175665 | test | // Match is "labeled" with label | {
"resource": ""
} | ||
c175666 | test | // Match is "unlabeled" | {
"resource": ""
} | ||
c175667 | test | // AddFlags injects GitHub options into the given FlagSet. | {
"resource": ""
} | ||
c175668 | test | // AddFlagsWithoutDefaultGitHubTokenPath injects GitHub options into the given
// Flagset without setting a default for for the githubTokenPath, allowing to
// use an anonymous GitHub client | {
"resource": ""
} | ||
c175669 | test | // Validate validates GitHub options. | {
"resource": ""
} | ||
c175670 | test | // GitHubClientWithLogFields returns a GitHub client with extra logging fields | {
"resource": ""
} | ||
c175671 | test | // GitHubClient returns a GitHub client. | {
"resource": ""
} | ||
c175672 | test | // GitClient returns a Git client. | {
"resource": ""
} | ||
c175673 | test | // toMap returns maps the file name to its coverage for faster retrieval
// & membership check | {
"resource": ""
} | ||
c175674 | test | // findChanges compares the newList of coverage against the base list and returns the result | {
"resource": ""
} | ||
c175675 | test | // CreateDatabase for the MySQLConfig | {
"resource": ""
} | ||
c175676 | test | // ShouldReport returns if this prowjob should be reported by the github reporter | {
"resource": ""
} | ||
c175677 | test | // Report will report via reportlib | {
"resource": ""
} | ||
c175678 | test | // MarkComplete figures out which ARNs were in previous passes but not
// this one, and eliminates them. It should only be run after all
// resources have been marked. | {
"resource": ""
} | ||
c175679 | test | // NewJobAgent is a JobAgent constructor. | {
"resource": ""
} | ||
c175680 | test | // Start will start the job and periodically update it. | {
"resource": ""
} | ||
c175681 | test | // Jobs returns a thread-safe snapshot of the current job state. | {
"resource": ""
} | ||
c175682 | test | // ProwJobs returns a thread-safe snapshot of the current prow jobs. | {
"resource": ""
} | ||
c175683 | test | // GetProwJob finds the corresponding Prowjob resource from the provided job name and build ID | {
"resource": ""
} | ||
c175684 | test | // GetJobLog returns the job logs, works for both kubernetes and jenkins agent types. | {
"resource": ""
} | ||
c175685 | test | // unionStrings merges the parent and child items together | {
"resource": ""
} | ||
c175686 | test | // Apply returns a policy that merges the child into the parent | {
"resource": ""
} | ||
c175687 | test | // GetOrg returns the org config after merging in any global policies. | {
"resource": ""
} | ||
c175688 | test | // GetRepo returns the repo config after merging in any org policies. | {
"resource": ""
} | ||
c175689 | test | // GetBranch returns the branch config after merging in any repo policies. | {
"resource": ""
} | ||
c175690 | test | // GetPolicy returns the protection policy for the branch, after merging in presubmits. | {
"resource": ""
} | ||
c175691 | test | // UpdateIssueEvents fetches all events until we find the most recent we
// have in db, and saves everything in database | {
"resource": ""
} | ||
c175692 | test | // enqueueKey schedules an item for reconciliation. | {
"resource": ""
} | ||
c175693 | test | // prowJobStatus returns the desired state and description based on the build status. | {
"resource": ""
} | ||
c175694 | test | // buildEnv constructs the environment map for the job | {
"resource": ""
} | ||
c175695 | test | // defaultArguments will append each arg to the template, except where the argument name is already defined. | {
"resource": ""
} | ||
c175696 | test | // defaultEnv adds the map of environment variables to the container, except keys already defined. | {
"resource": ""
} | ||
c175697 | test | // injectSource adds the custom source container to call clonerefs correctly.
//
// Returns true if it added this container
//
// Does nothing if the build spec predefines Source | {
"resource": ""
} | ||
c175698 | test | // injectedSteps returns initial containers, a final container and an additional volume. | {
"resource": ""
} | ||
c175699 | test | // determineTimeout decides the timeout value used for build | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.