_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c175800 | test | // Namespace returns a copy of the client pointing at the specified namespace. | {
"resource": ""
} | ||
c175801 | test | // NewFakeClient creates a client that doesn't do anything. If you provide a
// deck URL then the client will hit that for the supported calls. | {
"resource": ""
} | ||
c175802 | test | // NewClientInCluster creates a Client that works from within a pod. | {
"resource": ""
} | ||
c175803 | test | // NewClientFromFile reads a Cluster object at clusterPath and returns an
// authenticated client using the keys within. | {
"resource": ""
} | ||
c175804 | test | // NewClient returns an authenticated Client using the keys in the Cluster. | {
"resource": ""
} | ||
c175805 | test | // ReplaceConfigMap puts the configmap into name.
//
// Analogous to kubectl replace configmap
//
// If config.Namespace is empty, the client's specified namespace is used.
// Returns the content returned by the apiserver | {
"resource": ""
} | ||
c175806 | test | // GetDiskUsage wraps syscall.Statfs for usage in GCing the disk | {
"resource": ""
} | ||
c175807 | test | // GetATime the atime for a file, logging errors instead of failing
// and returning defaultTime instead | {
"resource": ""
} | ||
c175808 | test | // RegisterLens registers new viewers | {
"resource": ""
} | ||
c175809 | test | // GetLens returns a Lens by name, if it exists; otherwise it returns an error. | {
"resource": ""
} | ||
c175810 | test | // LastNLines reads the last n lines from an artifact. | {
"resource": ""
} | ||
c175811 | test | // NewClient creates a slack client with an API token. | {
"resource": ""
} | ||
c175812 | test | // WriteMessage adds text to channel | {
"resource": ""
} | ||
c175813 | test | // MarkAndSweep looks at the provided set, and removes resources older than its TTL that have been previously tagged. | {
"resource": ""
} | ||
c175814 | test | // ListAll populates a set will all available NATGateway resources. | {
"resource": ""
} | ||
c175815 | test | // NewClient creates a Boskos client for the specified URL and resource owner.
//
// Clients created with this function default to retrying failed connection
// attempts three times with a ten second pause between each attempt. | {
"resource": ""
} | ||
c175816 | test | // public method
// Acquire asks boskos for a resource of certain type in certain state, and set the resource to dest state.
// Returns the resource on success. | {
"resource": ""
} | ||
c175817 | test | // AcquireWait blocks until Acquire returns the specified resource or the
// provided context is cancelled or its deadline exceeded. | {
"resource": ""
} | ||
c175818 | test | // AcquireByState asks boskos for a resources of certain type, and set the resource to dest state.
// Returns a list of resources on success. | {
"resource": ""
} | ||
c175819 | test | // ReleaseAll returns all resources hold by the client back to boskos and set them to dest state. | {
"resource": ""
} | ||
c175820 | test | // ReleaseOne returns one of owned resources back to boskos and set it to dest state. | {
"resource": ""
} | ||
c175821 | test | // UpdateAll signals update for all resources hold by the client. | {
"resource": ""
} | ||
c175822 | test | // SyncAll signals update for all resources hold by the client. | {
"resource": ""
} | ||
c175823 | test | // UpdateOne signals update for one of the resources hold by the client. | {
"resource": ""
} | ||
c175824 | test | // Metric will query current metric for target resource type.
// Return a common.Metric object on success. | {
"resource": ""
} | ||
c175825 | test | // HasResource tells if current client holds any resources | {
"resource": ""
} | ||
c175826 | test | // DialContext connects to the address on the named network using the provided context. | {
"resource": ""
} | ||
c175827 | test | // NewDashboardAgent creates a new user dashboard agent . | {
"resource": ""
} | ||
c175828 | test | // QueryPullRequests is a query function that returns a list of open pull requests owned by the user whose access token
// is consumed by the github client. | {
"resource": ""
} | ||
c175829 | test | // GetHeadContexts returns the status checks' contexts of the head commit of the PR. | {
"resource": ""
} | ||
c175830 | test | // ConstructSearchQuery returns the GitHub search query string for PRs that are open and authored
// by the user passed. The search is scoped to repositories that are configured with either Prow or
// Tide. | {
"resource": ""
} | ||
c175831 | test | // NewBundledStates is the constructor for BundledStates | {
"resource": ""
} | ||
c175832 | test | // ReceiveEvent is called when something happens on an issue. The state
// for that issue is updated. | {
"resource": ""
} | ||
c175833 | test | // ages return the age of each active states | {
"resource": ""
} | ||
c175834 | test | // Percentile returns given percentile for age of all active states at time t | {
"resource": ""
} | ||
c175835 | test | // NewMetrics creates a new set of metrics for the Jenkins operator. | {
"resource": ""
} | ||
c175836 | test | // NewDiskCache creates a GitHub cache RoundTripper that is backed by a disk
// cache. | {
"resource": ""
} | ||
c175837 | test | // NewMemCache creates a GitHub cache RoundTripper that is backed by a memory
// cache. | {
"resource": ""
} | ||
c175838 | test | // NewFromCache creates a GitHub cache RoundTripper that is backed by the
// specified httpcache.Cache implementation. | {
"resource": ""
} | ||
c175839 | test | // ProwV1 retrieves the ProwV1Client | {
"resource": ""
} | ||
c175840 | test | // Prow retrieves the ProwV1Client | {
"resource": ""
} | ||
c175841 | test | // NewOwners consturcts a new Owners instance. filenames is the slice of files changed. | {
"resource": ""
} | ||
c175842 | test | // GetApprovers returns a map from ownersFiles -> people that are approvers in them | {
"resource": ""
} | ||
c175843 | test | // GetAllPotentialApprovers returns the people from relevant owners files needed to get the PR approved | {
"resource": ""
} | ||
c175844 | test | // GetReverseMap returns a map from people -> OWNERS files for which they are an approver | {
"resource": ""
} | ||
c175845 | test | // temporaryUnapprovedFiles returns the list of files that wouldn't be
// approved by the given set of approvers. | {
"resource": ""
} | ||
c175846 | test | // KeepCoveringApprovers finds who we should keep as suggested approvers given a pre-selection
// knownApprovers must be a subset of potentialApprovers. | {
"resource": ""
} | ||
c175847 | test | // GetSuggestedApprovers solves the exact cover problem, finding an approver capable of
// approving every OWNERS file in the PR | {
"resource": ""
} | ||
c175848 | test | // GetOwnersSet returns a set containing all the Owners files necessary to get the PR approved | {
"resource": ""
} | ||
c175849 | test | // GetShuffledApprovers shuffles the potential approvers so that we don't
// always suggest the same people. | {
"resource": ""
} | ||
c175850 | test | // String creates a link for the approval. Use `Login` if you just want the name. | {
"resource": ""
} | ||
c175851 | test | // IntersectSetsCase runs the intersection between to sets.String in a
// case-insensitive way. It returns the name with the case of "one". | {
"resource": ""
} | ||
c175852 | test | // NewApprovers create a new "Approvers" with no approval. | {
"resource": ""
} | ||
c175853 | test | // AddLGTMer adds a new LGTM Approver | {
"resource": ""
} | ||
c175854 | test | // RemoveApprover removes an approver from the list. | {
"resource": ""
} | ||
c175855 | test | // AddAssignees adds assignees to the list | {
"resource": ""
} | ||
c175856 | test | // GetCurrentApproversSetCased returns the set of approvers logins with the original cases. | {
"resource": ""
} | ||
c175857 | test | // GetFilesApprovers returns a map from files -> list of current approvers. | {
"resource": ""
} | ||
c175858 | test | // NoIssueApprovers returns the list of people who have "no-issue"
// approved the pull-request. They are included in the list iff they can
// approve one of the files. | {
"resource": ""
} | ||
c175859 | test | // UnapprovedFiles returns owners files that still need approval | {
"resource": ""
} | ||
c175860 | test | // GetFiles returns owners files that still need approval. | {
"resource": ""
} | ||
c175861 | test | // IsApproved returns a bool indicating whether the PR is fully approved.
// If a human manually added the approved label, this returns true, ignoring normal approval rules. | {
"resource": ""
} | ||
c175862 | test | // ListApprovals returns the list of approvals | {
"resource": ""
} | ||
c175863 | test | // ListNoIssueApprovals returns the list of "no-issue" approvals | {
"resource": ""
} | ||
c175864 | test | // GenerateTemplate takes a template, name and data, and generates
// the corresponding string. | {
"resource": ""
} | ||
c175865 | test | // Writes the golang text template at templatePath to outputPath using the given data | {
"resource": ""
} | ||
c175866 | test | // Labels returns a sorted list of labels unique by name | {
"resource": ""
} | ||
c175867 | test | // LabelsForTarget returns labels that have a given target | {
"resource": ""
} | ||
c175868 | test | // LoadConfig reads the yaml config at path | {
"resource": ""
} | ||
c175869 | test | // loadLabels returns what labels exist in github | {
"resource": ""
} | ||
c175870 | test | // Delete the label | {
"resource": ""
} | ||
c175871 | test | // Create the label | {
"resource": ""
} | ||
c175872 | test | // classifyLabels will put labels into the required, archaic, dead maps as appropriate. | {
"resource": ""
} | ||
c175873 | test | // linkify transforms a string into a markdown anchor link
// I could not find a proper doc, so rules here a mostly empirical | {
"resource": ""
} | ||
c175874 | test | // NewCache returns a new Cache given the root directory that should be used
// on disk for cache storage | {
"resource": ""
} | ||
c175875 | test | // KeyToPath converts a cache entry key to a path on disk | {
"resource": ""
} | ||
c175876 | test | // file path helper | {
"resource": ""
} | ||
c175877 | test | // Put copies the content reader until the end into the cache at key
// if contentSHA256 is not "" then the contents will only be stored in the
// cache if the content's hex string SHA256 matches | {
"resource": ""
} | ||
c175878 | test | // Get provides your readHandler with the contents at key | {
"resource": ""
} | ||
c175879 | test | // Delete deletes the file at key | {
"resource": ""
} | ||
c175880 | test | // NewGCSArtifact returns a new GCSArtifact with a given handle, canonical link, and path within the job | {
"resource": ""
} | ||
c175881 | test | // Size returns the size of the artifact in GCS | {
"resource": ""
} | ||
c175882 | test | // ReadAll will either read the entire file or throw an error if file size is too big | {
"resource": ""
} | ||
c175883 | test | // ReadTail reads the last n bytes from a file in GCS | {
"resource": ""
} | ||
c175884 | test | // gzipped returns whether the file is gzip-encoded in GCS | {
"resource": ""
} | ||
c175885 | test | // optionsForRepo gets the plugins.Welcome struct that is applicable to the indicated repo. | {
"resource": ""
} | ||
c175886 | test | // List lists all ProwJobs in the indexer. | {
"resource": ""
} | ||
c175887 | test | // ProwJobs returns an object that can list and get ProwJobs. | {
"resource": ""
} | ||
c175888 | test | // List lists all ProwJobs in the indexer for a given namespace. | {
"resource": ""
} | ||
c175889 | test | // RunsAgainstAllBranch returns true if there are both branches and skip_branches are unset | {
"resource": ""
} | ||
c175890 | test | // Intersects checks if other Brancher would trigger for the same branch. | {
"resource": ""
} | ||
c175891 | test | // ShouldRun determines if we can know for certain that the job should run. We can either
// know for certain that the job should or should not run based on the matcher, or we can
// not be able to determine that fact at all. | {
"resource": ""
} | ||
c175892 | test | // RunsAgainstChanges returns true if any of the changed input paths match the run_if_changed regex. | {
"resource": ""
} | ||
c175893 | test | // CouldRun determines if the postsubmit could run against a specific
// base ref | {
"resource": ""
} | ||
c175894 | test | // ShouldRun determines if the postsubmit should run in response to a
// set of changes. This is evaluated lazily, if necessary. | {
"resource": ""
} | ||
c175895 | test | // CouldRun determines if the presubmit could run against a specific
// base ref | {
"resource": ""
} | ||
c175896 | test | // ShouldRun determines if the presubmit should run against a specific
// base ref, or in response to a set of changes. The latter mechanism
// is evaluated lazily, if necessary. | {
"resource": ""
} | ||
c175897 | test | // GetPresubmit returns the presubmit job for the provided repo and job name. | {
"resource": ""
} | ||
c175898 | test | // SetPresubmits updates c.Presubmits to jobs, after compiling and validating their regexes. | {
"resource": ""
} | ||
c175899 | test | // SetPostsubmits updates c.Postsubmits to jobs, after compiling and validating their regexes. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.