MCPcopy Create free account

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

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

↓ 2 callersMethodSet
(v string)
testgrid/pkg/configurator/options/options.go:36
↓ 2 callersMethodSet
Converts --extract=release/stable, etc into an extractStrategy{}
kubetest/extract_k8s.go:75
↓ 2 callersMethodString
()
kubetest/main.go:952
↓ 2 callersFunctionSuffixes
Suffixes returns the ordered tier suffixes used for release branch rotation. Each release is rotated through these tiers: beta → stable1 → … → stable4
releng/prepare-release-branch/internal/run/run.go:49
↓ 2 callersMethodTitle
Title yields the initial title text of the github issue.
robots/issue-creator/creator/creator.go:78
↓ 2 callersFunctionUc
(a)
gubernator/static/moment.min.js:6
↓ 2 callersFunctionV
(a,b)
gubernator/static/moment.min.js:6
↓ 2 callersMethodValidate
Validate checks that the options are well-formed.
releng/config-forker/pkg/forker.go:80
↓ 2 callersFunctionValidateAbs
(Flags *Flags, r gitRunner)
gopherage/cmd/metadata/metadata.go:191
↓ 2 callersFunctionValidateInc
(Flags *Flags)
gopherage/cmd/metadata/metadata.go:180
↓ 2 callersFunctionWriteJSON
(Flags *Flags, m Metadata)
gopherage/cmd/metadata/metadata.go:212
↓ 2 callersMethod__init__
(self, name, sysid, pubid)
gubernator/third_party/defusedxml/common.py:26
↓ 2 callersMethod_build_path_mapping
Build mapping from API paths and HTTP methods to OpenAPI operation IDs.
experiment/audit/audit_log_parser.py:209
↓ 2 callersMethod_check_etag
Check if etag is the same across requests to GCS. If self._etag is None, set it. If etag is set, check that the new etag equals the old one.
gubernator/third_party/cloudstorage/storage_api.py:491
↓ 2 callersMethod_check_open
(self)
gubernator/third_party/cloudstorage/storage_api.py:913
↓ 2 callersFunction_classify_internal
(merged, labels, comments, reviewers, distilled_events, status_fetcher)
gubernator/github/classifier.py:202
↓ 2 callersMethod_extract_resource_types
Extract resource types from Swagger paths to avoid hardcoding.
experiment/audit/audit_log_parser.py:235
↓ 2 callersFunction_generate_etree_functions
Factory for functions needed by etree, dependent on whether cElementTree or ElementTree is used.
gubernator/third_party/defusedxml/common.py:87
↓ 2 callersMethod_init
(self, api, path, options)
gubernator/third_party/cloudstorage/cloudstorage_api.py:421
↓ 2 callersMethod_normalize_audit_path
Normalize audit log URI for matching against Swagger paths.
experiment/audit/audit_log_parser.py:303
↓ 2 callersMethod_parse_uri
(path)
kettle/make_db.py:78
↓ 2 callersMethod_request
GETs a JSON resource from GCS, with retries on failure. Retries are based on guidance from cloud.google.com/storage/docs/gsutil/addlh
kettle/make_db.py:51
↓ 2 callersMethod_send_data
Send the block to the storage service. This is a utility method that does not modify self. Args: data: data to send in str. star
gubernator/third_party/cloudstorage/storage_api.py:846
↓ 2 callersFunctionaddBuildListItem
(jobList, job, buildNumbers, hits, test)
triage/render.js:95
↓ 2 callersMethodaddFile
(file)
gopherage/cmd/html/static/browser_bundle.es2015.js:103
↓ 2 callersMethodaddFile
(file: FileCoverage)
gopherage/cmd/html/static/parser.ts:65
↓ 2 callersMethodaddFile
(e)
gopherage/cmd/html/static/zz.browser.bundle.min.js:1
↓ 2 callersFunctionallTags
(arch string)
hack/prowimagebuilder/main.go:168
↓ 2 callersFunctionannotate
(cmd, body, orig)
gubernator/static/build.js:135
↓ 2 callersFunctionannounceChanges
announceChanges watches for changes in "paths" and writes them to the channel
testgrid/pkg/configurator/configurator/client.go:44
↓ 2 callersFunctionappendAddonToAPIModel
(v *AKSEngineAPIModel, addon KubernetesAddon)
kubetest/aksengine.go:623
↓ 2 callersFunctionappend_result
Download a json list and append metadata about this build to it.
jenkins/bootstrap.py:435
↓ 2 callersFunctionargFields
Add more default --test_args as we migrate them
kubetest/e2e.go:36
↓ 2 callersFunctionbase
(path)
gubernator/view_pr.py:34
↓ 2 callersMethodbody
()
experiment/bumpmonitoring/main.go:131
↓ 2 callersFunctionbuildAndPush
(id *imageDef, dockerRepos []string, push bool)
hack/prowimagebuilder/main.go:231
↓ 2 callersMethodbuildLabels
buildLabels creates the labels we should apply to our resources
experiment/ksandbox/pkg/client/agent_client.go:141
↓ 2 callersFunctionbuildToHtml
(build, test, skipNumber)
triage/render.js:77
↓ 2 callersFunctionbuildsToColumns
buildsToColumns converts a map (from build paths to builds) into a columnar form. This compresses much better with gzip. See columnarBuilds for more i
triage/summarize/output.go:503
↓ 2 callersMethodbuildsWithContextForClusterById
(clusterId)
triage/model.js:195
↓ 2 callersFunctioncertToPEM
certToPEM converts a certificate to PEM format
experiment/ksandbox/pkg/client/tls.go:137
↓ 2 callersFunctionchange
Update the label color/description
label_sync/main.go:470
↓ 2 callersFunctioncheckOverlapBrancher
Returns if two brancher has overlapping branches
config/tests/jobs/from_prow_test.go:36
↓ 2 callersFunctioncheck_docinfo
Check docinfo of an element tree for DTD and entity declarations The check for entity declarations needs lxml 3 or newer. lxml 2.x does not s
gubernator/third_party/defusedxml/lxml.py:101
↓ 2 callersMethodcheck_metadata_version
(self, key)
jenkins/bootstrap_test.py:724
↓ 2 callersMethodclusterExists
clusterExists checks if a kind cluster with 'name' exists
kubetest/kind/kind.go:413
↓ 2 callersFunctionclusterTest
* clusterTest clusters a given a list of failures for one test. Failure texts are normalized prior to clustering to avoid needless entropy. Takes:
triage/summarize/cluster.go:353
↓ 2 callersFunctioncommit_date
(git, commit, call)
jenkins/bootstrap.py:234
↓ 2 callersFunctioncommonSpans
* commonSpans finds something similar to the longest common subsequence of xs, but much faster. Returns a list of [matchlen_1, mismatchlen_2, matchle
triage/summarize/text.go:313
↓ 2 callersMethodconnectToNode
connectToNode makes an SSH connection to the node and returns a logDumperNode
kubetest/dump.go:250
↓ 2 callersFunctioncontainers
(jb config.JobBase)
experiment/ci-janitor/main.go:76
↓ 2 callersFunctioncopyFile
copyFile copies the file from src to dest, setting the mode of the created file
experiment/ksandbox/cmd/ksandbox-agent/main.go:116
↓ 2 callersMethodcopyFiles
()
experiment/bumpmonitoring/main.go:168
↓ 2 callersFunctioncreateSystemdLogfile
Create logfile for systemd service in outputDir with the given journalctl outputMode.
logexporter/cmd/main.go:94
↓ 2 callersFunctioncreateTempFile
()
pkg/benchmarkjunit/integration_test.go:34
↓ 2 callersFunctioncreate_args
(kops_channel, networking, extra_flags, kops_image, distro)
config/jobs/kubernetes/kops/helpers.py:103
↓ 2 callersFunctiondefaultDumpClusterLogs
(localArtifactsDir, logexporterGCSPath, provider string)
kubetest/e2e.go:558
↓ 2 callersFunctiondistill_events
Given a sequence of events, return a series of user-action tuples relevant to determining user state.
gubernator/github/classifier.py:317
↓ 2 callersMethoddumpNode
DumpNode connects to a node and dumps the logs.
kubetest/dump.go:159
↓ 2 callersFunctiondumpRemoteLogs
(deploy deployer, o options, path, reason string)
kubetest/e2e.go:359
↓ 2 callersMethodensureCapacityLeft
ensureCapacityLeft ensures that the Left arrays can be indexed through a certain index (inclusively), resizing (and copying) as necessary.
triage/berghelroach/berghelroach.go:202
↓ 2 callersMethodensureCapacityRight
ensureCapacityLeft ensures that the Left arrays can be indexed through a certain index (inclusively), resizing (and copying) as necessary.
triage/berghelroach/berghelroach.go:213
↓ 2 callersMethodensureFirewall
()
kubetest/gke.go:717
↓ 2 callersMethodensureNat
()
kubetest/gke.go:850
↓ 2 callersFunctionensureUUID
(groupsFile, uuid, group string)
experiment/gerrit-onboarder/onboarder.go:141
↓ 2 callersMethodequal
equal determines whether this nestedFailuresGroups object is deeply equal to another nestedFailuresGroups object.
triage/summarize/map_abstractions.go:183
↓ 2 callersFunctionescape
(s string)
experiment/clustersecretbackup/main.go:67
↓ 2 callersFunctionevaluateTemplate
( tmplStr string, data any, )
releng/config-forker/pkg/forker.go:537
↓ 2 callersFunctionevaluate_fsm
Given a series of event tuples and a start state, execute the list of transitions and return the resulting state, the time it entered that st
gubernator/github/classifier.py:354
↓ 2 callersFunctionexpand
(target)
triage/render.js:470
↓ 2 callersFunctionexpand_lines
(els, data)
gubernator/static/build.js:73
↓ 2 callersFunctionexpand_skipped
(els)
gubernator/static/build.js:93
↓ 2 callersFunctionextract
gubernator/static/pr.js:6
↓ 2 callersFunctionextract_operations_from_audit_file
Extract operations from Kubernetes audit log file and filter by valid swagger operations. The audit file format is expected to be: "Oper
experiment/audit/kubernetes_api_analysis.py:93
↓ 2 callersFunctionfailOnMismatchedTestSlices
failOnMismatchedTestSlices fails the provided test t if the provided test slices have different lengths or if their elements do not match (in order).
triage/summarize/summarize_test.go:109
↓ 2 callersFunctionfb
(a,b)
gubernator/static/moment.min.js:6
↓ 2 callersFunctionfetchMetaConfig
(host, repo, branch, workDir string)
experiment/gerrit-onboarder/onboarder.go:373
↓ 2 callersFunctionfile_extension
(filename)
hack/boilerplate/verify_boilerplate.py:145
↓ 2 callersMethodfindBinary
findBinary finds a file by name, from a list of well-known output locations When multiple matches are found, the most recent will be returned Based on
kubetest/e2e/runner.go:208
↓ 2 callersMethodfindConfigToUpdate
()
experiment/bumpmonitoring/main.go:138
↓ 2 callersMethodfindFiles
findFiles lists files under the specified directory (recursively)
kubetest/dump.go:331
↓ 2 callersFunctionfindInstancesNotDumped
findInstancesNotDumped returns ips from the slice that do not appear as any address of the nodes
kubetest/dump.go:141
↓ 2 callersFunctionfind_log_files
Returns list of files named log_file from values in all_logs
gubernator/view_logs.py:41
↓ 2 callersFunctionfind_log_junit
Looks in build_dir for log_file in a folder that also includes the junit file.
gubernator/view_logs.py:26
↓ 2 callersMethodfind_newline
Search for newline char in buffer starting from current offset. Args: size: number of bytes to search. -1 means all. Returns: of
gubernator/third_party/cloudstorage/storage_api.py:630
↓ 2 callersFunctionfind_prow_job
Finds a Prow Job in a given subdirectory. Returns the first file that contains the named prow job Returns "" if there isn't one Dives int
experiment/migrate_testgrid_tabs.py:190
↓ 2 callersFunctionfixExtraRefs
( refs []prowapi.Refs, version string, )
releng/config-forker/pkg/forker.go:696
↓ 2 callersFunctionfix_escape_codes
()
gubernator/static/build.js:161
↓ 2 callersFunctionformatPercentage
formatPercentage converts a coverage ratio into a string value to be displayed by coverage robot
robots/coverage/diff/view.go:28
↓ 2 callersFunctionga
(a,b)
gubernator/static/moment.min.js:6
↓ 2 callersMethodgenerate
(cls, path, tests, started, finished, metadata, repos)
kettle/make_json.py:104
↓ 2 callersFunctiongeneratePostsubmits
( ctx context.Context, jobConfig config.JobConfig, vars templateVars, resolver ImageResolver, )
releng/config-forker/pkg/forker.go:264
↓ 2 callersFunctiongeneratePresubmits
( ctx context.Context, jobConfig config.JobConfig, vars templateVars, resolver ImageResolver, )
releng/config-forker/pkg/forker.go:308
↓ 2 callersFunctiongenerateRandomString
* generateRandomString Generates a long random alphabetic string, suitable for use with verifySomeEdits (using digits for the alphabet). size: desire
triage/berghelroach/berghelroach_test.go:232
↓ 2 callersFunctiongenerator
()
gopherage/cmd/html/static/utils_test.ts:37
↓ 2 callersFunctiongenericVerification
genericVerification exercises an edit distance engine across a wide range of limit values
triage/berghelroach/berghelroach_test.go:284
↓ 2 callersFunctionget
(uri, callback, onprogress)
triage/interactive.js:282
↓ 2 callersFunctionget
(url)
gubernator/gcs_async.py:29
↓ 2 callersFunctionget
(uri, callback)
gubernator/static/build.js:49
↓ 2 callersMethodget
get returns the Owner for the test with the exact name or the first blob match. Nil is returned if none are matched.
robots/issue-creator/testowner/owner.go:65
← previousnext →501–600 of 2,953, ranked by callers