MCPcopy Create free account

hub / github.com/kubernetes/test-infra / functions

Functions2,953 in github.com/kubernetes/test-infra

↓ 8 callersFunctionCheckVersion
CheckVersion parses version filenames, validates the count and sequential ordering, and returns the highest version found.
releng/prepare-release-branch/internal/release/release.go:106
↓ 8 callersMethodCopy
Copy returns a copy of the TypeToResources
kubetest/boskos/common/mason_config.go:85
↓ 8 callersMethodList
(ctx context.Context, org, repo string, opt *github.PullRequestListOptions)
pkg/ghclient/wrappers.go:40
↓ 8 callersFunctionLoadProfile
LoadProfile loads a profile from the given filename. If the filename is "-", it instead reads from stdin.
gopherage/pkg/util/util.go:51
↓ 8 callersFunctionNewRegistryResolver
NewRegistryResolver creates an ImageResolver that checks tags against the OCI Distribution API. Pass nil to use http.DefaultClient.
releng/config-forker/pkg/resolve.go:45
↓ 8 callersMethodResolve
(ctx context.Context, image string)
releng/config-forker/pkg/forker.go:44
↓ 8 callersFunctionSetFieldDefault
SetFieldDefault sets the value of flag to val if flag is not present in fields. For example, SetFieldDefault(fields, "--foo", "bar") will append "--f
kubetest/util/util.go:190
↓ 8 callersFunctionYc
(a)
gubernator/static/moment.min.js:6
↓ 8 callersMethod_check
Check init arguments. Args: name: name of the argument. For logging purpose. val: value. Value has to be non negative number. c
gubernator/third_party/cloudstorage/api_utils.py:271
↓ 8 callersMethodclose
(self)
gubernator/third_party/cloudstorage/storage_api.py:515
↓ 8 callersMethodcount
(job)
triage/model.js:60
↓ 8 callersFunctioncreateVersionFiles
(t *testing.T, dir string, names ...string)
releng/prepare-release-branch/internal/release/release_test.go:28
↓ 8 callersFunctiondayCounts
(arr)
triage/render.js:191
↓ 8 callersFunctiondownloadFromURL
downloadFromURL downloads from a url to f
kubetest/kind/kind.go:490
↓ 8 callersMethodexpect_labels
(self, events, names, extra_events=None)
gubernator/github/classifier_test.py:48
↓ 8 callersFunctiong
(a,b)
gubernator/static/moment.min.js:6
↓ 8 callersMethodgetDistance
getDistance calculates the distance internally. This should not be called directly. Dist should be used instead.
triage/berghelroach/berghelroach.go:75
↓ 8 callersFunctiongetDockerImage
(imageName string)
kubetest/aksengine.go:827
↓ 8 callersMethodinject_pr
(self, repo, number)
gubernator/github/periodic_sync_test.py:53
↓ 8 callersMethodinsert
insert adds a build into the columnarBuilds object.
triage/summarize/output.go:452
↓ 8 callersFunctionnormalize
durations with milliseconds (300.001s -> normalize) * normalize reduces excess entropy to make clustering easier, given a traceback or error message f
triage/summarize/text.go:84
↓ 8 callersFunctionp
(a)
gubernator/static/moment.min.js:6
↓ 8 callersMethodreset
(self, content='', offset=0)
gubernator/third_party/cloudstorage/storage_api.py:593
↓ 8 callersMethodrun
Run a tasklet with retry. The retry should be transparent to the caller: if no results are successful, the exception or result from the last
gubernator/third_party/cloudstorage/api_utils.py:138
↓ 7 callersFunction$c
(a)
gubernator/static/moment.min.js:7
↓ 7 callersMethodBody
Body yields the body text of the github issue and *must* contain the output of ID(). closedIssues is a (potentially empty) slice containing all closed
robots/issue-creator/creator/creator.go:83
↓ 7 callersMethodDelete
(name string)
kubetest/boskos/storage/storage.go:30
↓ 7 callersFunctionExecError
ExecError returns a string format of err including stderr if the err is an ExitError, useful for errors from e.g. exec.Cmd.Output().
kubetest/util/util.go:228
↓ 7 callersMethodNoOutput
NoOutput ignores all output from the command, potentially timing out in the process.
kubetest/process/process.go:373
↓ 7 callersFunctionZ
(a)
gubernator/static/moment.min.js:6
↓ 7 callersMethod_filter
(self, iterator)
gubernator/third_party/defusedxml/lxml.py:31
↓ 7 callersMethod_get_builds
(results)
kettle/model.py:122
↓ 7 callersMethod_remaining
(self)
gubernator/third_party/cloudstorage/storage_api.py:412
↓ 7 callersFunctionallStaticJobs
()
config/tests/jobs/jobs_test.go:1111
↓ 7 callersFunctionblocksEqual
blocksEqual returns true if the blocks refer to the same code, otherwise false. It does not care about Count.
gopherage/pkg/cov/util.go:53
↓ 7 callersMethodcommit
(self)
kettle/model.py:41
↓ 7 callersMethodcontainerArgs
(args ...string)
kubetest/gke.go:1038
↓ 7 callersFunctiond
(a)
gubernator/static/moment.min.js:6
↓ 7 callersFunctiondiffs_to_events
(*diffs)
gubernator/github/classifier_test.py:33
↓ 7 callersFunctiondistro_shortener
(distro)
config/jobs/kubernetes/kops/helpers.py:124
↓ 7 callersMethoddo_phase2
(self, phase1=None, status=None)
gubernator/github_auth_test.py:70
↓ 7 callersFunctioneb
(a,b)
gubernator/static/moment.min.js:6
↓ 7 callersFunctionensureProfilesMatch
(a *cover.Profile, b *cover.Profile)
gopherage/pkg/cov/util.go:58
↓ 7 callersMethodexpect
(self, data, expected)
gubernator/log_parser_test.py:41
↓ 7 callersFunctionfindMatch
findMatch finds a match for a normalized failure string from a selection of candidates. Implementation: compute ngramEditDist for every candidate (ch
triage/summarize/text.go:204
↓ 7 callersMethodget_builds
Iterate through (buildid, gcs_path, started, finished) for each build under the given path that has not already been emitted.
kettle/model.py:128
↓ 7 callersMethodmake_key
(key, per_host)
gubernator/github/secrets.py:36
↓ 7 callersFunctionmap
(iterable: Iterable<T>, fn: (value: T) => U)
gopherage/cmd/html/static/utils.ts:20
↓ 7 callersFunctionperformReplacement
( args []string, vars templateVars, replacementStr string, )
releng/config-forker/pkg/forker.go:589
↓ 7 callersFunctionspecificAlgorithmVerify
specificAlgorithmVerify tests a specific engine on a pair of strings
triage/berghelroach/berghelroach_test.go:316
↓ 7 callersMethodsync
sync checks to see if an issue is already on github and tries to create a new issue for it if it is not. True is returned iff a new issue is created.
robots/issue-creator/creator/creator.go:316
↓ 7 callersFunctionwrapErrors
(stage string, errs ...error)
kubetest/gke.go:1063
↓ 7 callersFunctionxa
(a,b,c)
gubernator/static/moment.min.js:6
↓ 6 callersMethodApplySingleProwjobAnnotations
(c *configpb.Configuration, j prowConfig.JobBase, pj prowapi.ProwJob)
testgrid/pkg/configurator/prow/prow.go:79
↓ 6 callersMethodClose
()
experiment/ksandbox/pkg/client/agent_client.go:108
↓ 6 callersFunctionDoTheThing
()
experiment/dummybenchmarks/dummy.go:24
↓ 6 callersMethodFilename
Filename returns the version as "major.minor.yaml".
releng/prepare-release-branch/internal/release/release.go:68
↓ 6 callersMethodGet
(ctx context.Context, login string)
pkg/ghclient/wrappers.go:50
↓ 6 callersFunctionH
(a)
gubernator/static/moment.min.js:6
↓ 6 callersFunctionJoinURL
JoinURL converts input (gs://foo, "bar") to gs://foo/bar
kubetest/util/util.go:96
↓ 6 callersFunctionM
(b,c)
gubernator/static/moment.min.js:6
↓ 6 callersFunctionMax
Max takes any number of integers and returns the largest. Panics if nothing is supplied.
triage/utils/utils.go:40
↓ 6 callersFunctionMigrateOptions
MigrateOptions reads value from ENV if --flag unset, optionally pushing to ENV
kubetest/util/util.go:142
↓ 6 callersFunctionNewControl
NewControl constructs a Control with the specified arguments, instiating other necessary fields.
kubetest/process/process.go:52
↓ 6 callersFunctionPushEnv
PushEnv pushes env=value and return a function that resets env
kubetest/util/util.go:120
↓ 6 callersMethodValidate
()
experiment/ci-janitor/main.go:56
↓ 6 callersFunctiondb
(a,b)
gubernator/static/moment.min.js:6
↓ 6 callersMethoddepaginate
depaginate adds depagination on top of the retry and rate limiting logic provided by retry.
pkg/ghclient/core.go:140
↓ 6 callersMethoddo_phase1
(arg='')
gubernator/github_auth_test.py:60
↓ 6 callersMethoddo_request_async
Inherit docs. This method translates urlfetch exceptions to more service specific ones.
gubernator/third_party/cloudstorage/storage_api.py:114
↓ 6 callersFunctionequalAPIArray
NOTE: This method is for avoiding flake tests instead of using reflect.DeepEqual()
experiment/coverage/apicoverage_test.go:27
↓ 6 callersFunctionfailOnMismatchedSlices
failOnMismatchedSlices fails the provided test if the provided slices have different lengths or if their elements do not match (in order). It returns
triage/summarize/summarize_test.go:64
↓ 6 callersFunctionfilter
(iterable: Iterable<T>, fn: (value: T) => boolean)
gopherage/cmd/html/static/utils.ts:36
↓ 6 callersMethodflush
Flush as much as possible to GCS. GCS *requires* that all writes except for the final one align on 256KB boundaries. So the internal buffer m
gubernator/third_party/cloudstorage/storage_api.py:763
↓ 6 callersFunctiongetJSON
getJSON opens a JSON file, parses it according to the schema provided by v, and places the results into v. Internally, it calls encoding/json's Unmars
triage/summarize/files.go:380
↓ 6 callersMethodget_response
(self, event, body)
gubernator/github/main_test.py:58
↓ 6 callersMethodinsert_build
Add a build with optional started and finished dictionaries to the database.
kettle/model.py:74
↓ 6 callersFunctionisKubernetesReleaseBlocking
(job cfg.JobBase)
config/tests/jobs/jobs_test.go:1176
↓ 6 callersFunctionnotify
(to, reason)
gubernator/github/classifier.py:417
↓ 6 callersFunctionparse
parse converts the string into a semver struct
experiment/cluster-upgrader/main.go:291
↓ 6 callersFunctionparse_log_file
Based on make_dict, either returns the objref_dict or the parsed log file
gubernator/view_logs.py:75
↓ 6 callersFunctionpathPrefix
(prowPath *prowv1.ProwPath)
gcsweb/cmd/gcsweb/gcsweb.go:569
↓ 6 callersFunctionreduce
( iterable: Iterable<T>, fn: (acc: U, value: T) => U, initialValue: U)
gopherage/cmd/html/static/utils.ts:27
↓ 6 callersFunctionresize
resize resizes an array, copying old contents if requested.
triage/berghelroach/berghelroach.go:223
↓ 6 callersFunctionretry
(work workFunc)
kubetest/boskos/client/client.go:719
↓ 6 callersFunctionrunCmd
(additionalEnv []string, cmd string, args ...string)
hack/prowimagebuilder/main.go:130
↓ 6 callersFunctionsetElementVisibility
(id, visible)
triage/interactive.js:152
↓ 6 callersMethodshellToFile
shellToFile executes a command and copies the output to a file
kubetest/dump.go:373
↓ 6 callersFunctionsortByKey
(arr, keyFunc)
triage/model.js:116
↓ 6 callersMethodterminate
(self)
jenkins/bootstrap_test.py:160
↓ 6 callersFunctiontestImage
(serverURL, tag string)
releng/config-forker/pkg/resolve_test.go:133
↓ 6 callersFunctionupdateString
(s, old, replacement string)
releng/config-rotator/pkg/rotator.go:99
↓ 6 callersMethodupload_text
Copy the text to path, optionally disabling caching.
jenkins/bootstrap.py:382
↓ 6 callersFunctionya
(a,b,c)
gubernator/static/moment.min.js:6
↓ 5 callersMethodBuild
Build handles building kubernetes / kubectl / the node image / ginkgo.
kubetest/kind/kind.go:218
↓ 5 callersMethodEnabled
True when this kubetest invocation wants to stage the release
kubetest/stage.go:63
↓ 5 callersMethodError
()
experiment/clustersecretbackup/errors.go:30
↓ 5 callersFunctionFetchGoVersion
FetchGoVersion fetches the Go version string from the given URL. Returns ErrBranchNotFound if the release branch does not exist (HTTP 404).
releng/prepare-release-branch/internal/run/run.go:116
↓ 5 callersFunctionFilterProfilePaths
FilterProfilePaths produces a new profile that removes either everything matching or everything not matching the provided paths, depending on the valu
gopherage/pkg/cov/filter.go:29
↓ 5 callersFunctionK8sSigs
K8sSigs returns $GOPATH/src/sigs.k8s.io/...
kubetest/util/util.go:37
← previousnext →101–200 of 2,953, ranked by callers