Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/shipwright-io/build
/ functions
Functions
1,213 in github.com/shipwright-io/build
⨍
Functions
1,213
◇
Types & classes
110
↓ 1 callers
Function
getImageVulnerabilitiesResult
(result pipelineapi.TaskRunResult)
pkg/reconciler/buildrun/resources/results.go:84
↓ 1 callers
Function
getInputSerializer
(contentType string)
pkg/webhook/conversion/conversion.go:138
↓ 1 callers
Function
getOutputSerializer
(accept string)
pkg/webhook/conversion/conversion.go:146
↓ 1 callers
Method
getReferencedStrategy
(ctx context.Context, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/buildrun.go:764
↓ 1 callers
Function
getSeverity
(sev string)
pkg/reconciler/buildrun/resources/results.go:102
↓ 1 callers
Function
getSeverityStringForTrivyScan
(ignoreSeverity buildapi.IgnoredVulnerabilitySeverity)
pkg/image/vulnerability_scan.go:112
↓ 1 callers
Function
getTaskSpecResults
()
pkg/reconciler/buildrun/resources/results.go:67
↓ 1 callers
Function
hasIncompleteConfigMapValue
hasIncompleteConfigMapValue checks if a SingleValue has a ConfigMap value with an empty name or key
pkg/validate/params.go:207
↓ 1 callers
Function
hasIncompleteSecretValue
hasIncompleteSecretValue checks if a SingleValue has a Secret value with an empty name or key
pkg/validate/params.go:216
↓ 1 callers
Function
hasMoreThanOneValue
hasMoreThanOneValue checks if a SingleValue has more than one value set (plain text, secret, and config map key reference)
pkg/validate/params.go:183
↓ 1 callers
Function
hasNoValue
hasNoValue checks if a SingleValue has no value set (plain text, secret, and config map key reference)
pkg/validate/params.go:198
↓ 1 callers
Function
hasOutputDirectoryParam
(pipelineSpec *pipelineapi.PipelineSpec)
pkg/reconciler/buildrun/resources/resource_builders.go:747
↓ 1 callers
Function
hasTaskSpecParam
(taskSpec *pipelineapi.TaskSpec, paramName string)
pkg/reconciler/buildrun/resources/resource_builders.go:757
↓ 1 callers
Function
hasTaskSpecResult
(taskRun *pipelineapi.TaskRun, name string)
pkg/reconciler/buildrun/resources/image_processing.go:316
↓ 1 callers
Function
humanReadableSize
humanReadableSize is a minimal effort function to return a human readable size of the given number of bytes in a compact form
pkg/util/filelisting.go:150
↓ 1 callers
Function
icrDelete
(token string, accountID string, ref name.Reference)
pkg/image/delete.go:318
↓ 1 callers
Function
icrLogin
(registry, username, apikey string)
pkg/image/delete.go:219
↓ 1 callers
Function
initializeFlag
()
cmd/image-processing/main.go:60
↓ 1 callers
Function
isAuthInvalidKey
(raw string)
pkg/git/error_parser.go:203
↓ 1 callers
Function
isAuthInvalidUserOrPass
(raw string)
pkg/git/error_parser.go:194
↓ 1 callers
Function
isAuthPrompted
(raw string)
pkg/git/error_parser.go:199
↓ 1 callers
Function
isBranchNotFound
(raw string)
pkg/git/error_parser.go:213
↓ 1 callers
Function
isDockerHubEndpoint
(registry string)
pkg/image/delete.go:118
↓ 1 callers
Method
isEmptySource
()
pkg/validate/output.go:75
↓ 1 callers
Function
isIcrEndpoint
(registry string)
pkg/image/delete.go:123
↓ 1 callers
Function
isIcrStageEndpoint
(registry string)
pkg/image/delete.go:128
↓ 1 callers
Function
isLocalCopyBuildSource
isLocalCopyBuildSource appends all "Sources" in a single slice, and if any entry is typed "LocalCopy" it returns first LocalCopy typed BuildSource fou
pkg/reconciler/buildrun/resources/sources.go:26
↓ 1 callers
Function
isReadOnlyVolume
(strategyVolume *buildapi.BuildStrategyVolume)
pkg/volumes/volumes.go:63
↓ 1 callers
Function
isRepositoryNotFound
(raw string)
pkg/git/error_parser.go:207
↓ 1 callers
Function
isRetryableError
(err error)
test/utils/v1beta1/lookup.go:145
↓ 1 callers
Function
isRetryableError
(err error)
test/utils/v1alpha1/lookup.go:144
↓ 1 callers
Function
isStringContainingAnySearchString
(aString string, searchStrings []string)
pkg/reconciler/buildrun/resources/params.go:380
↓ 1 callers
Method
kind
(ctx context.Context)
pkg/validate/strategies.go:52
↓ 1 callers
Function
mergeEnvironmentVariables
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/executor_generator.go:46
↓ 1 callers
Function
mutateImage
(image containerreg.Image, annotations map[string]string, labels map[string]string)
pkg/image/mutate.go:92
↓ 1 callers
Function
mutateImageIndexTimestamp
(imageIndex containerreg.ImageIndex, timestamp time.Time)
pkg/image/mutate.go:144
↓ 1 callers
Function
namespacedName
(name, namespace string)
pkg/reconciler/buildrun/resources/volumes.go:16
↓ 1 callers
Function
newDoneCmd
()
cmd/waiter/main.go:93
↓ 1 callers
Function
newRootCmd
()
cmd/waiter/main.go:73
↓ 1 callers
Function
newStartCmd
()
cmd/waiter/main.go:81
↓ 1 callers
Function
parseCipherSuitesFlag
(csv string)
pkg/webhook/tlsconfig/tlsconfig.go:74
↓ 1 callers
Function
parseLine
(line string)
pkg/git/error_parser.go:153
↓ 1 callers
Function
parseMinVersionFlag
(v string)
pkg/webhook/tlsconfig/tlsconfig.go:54
↓ 1 callers
Function
parseTrivyResult
(trivyResult TrivyResult, ignoreOptions *buildapi.VulnerabilityIgnoreOptions)
pkg/image/vulnerability_scan.go:125
↓ 1 callers
Function
platformLabelValueValid
(s string)
pkg/validate/output.go:84
↓ 1 callers
Function
prepareExecutionContext
( build *buildapi.Build, buildRun *buildapi.BuildRun, strategy buildapi.BuilderStrategy, )
pkg/reconciler/buildrun/resources/executor_generator.go:27
↓ 1 callers
Function
printVersion
(ctx context.Context)
cmd/shipwright-build-controller/main.go:38
↓ 1 callers
Function
printVersion
(ctx context.Context)
cmd/shipwright-build-webhook/main.go:32
↓ 1 callers
Function
promLabelPairToBuildLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:68
↓ 1 callers
Function
promLabelPairToBuildRunFailureReasonLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:138
↓ 1 callers
Function
promLabelPairToBuildRunLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:88
↓ 1 callers
Function
promLabelPairToBuildRunResultLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:112
↓ 1 callers
Method
read
read reads the lock-file, must contain an integer.
cmd/waiter/waiter.go:30
↓ 1 callers
Function
reconcileAlreadyCompletedBuildRun
reconcileAlreadyCompletedBuildRun returns true only if the TTL limit was introduced or if it was lowered as the object was completed before the update
pkg/reconciler/buildrunttlcleanup/controller.go:60
↓ 1 callers
Function
reconcileCompletedBuildRun
reconcileCompletedBuildRun returns true if the object has the required TTL parameters
pkg/reconciler/buildrunttlcleanup/controller.go:35
↓ 1 callers
Method
recordPreExecutorFailure
(buildRun *buildapi.BuildRun, reason, result string)
pkg/reconciler/buildrun/buildrun.go:72
↓ 1 callers
Function
removeOwnerReferenceByIndex
removeOwnerReferenceByIndex removes the entry by index, this will not keep the same order in the slice
pkg/validate/ownerreferences.go:99
↓ 1 callers
Function
removeTestIDSuffix
(id string)
test/e2e/v1beta1/common_test.go:34
↓ 1 callers
Function
removeTestIDSuffix
(id string)
test/e2e/v1alpha1/common_test.go:38
↓ 1 callers
Function
retrieveBuildAndBuildRun
retrieveBuildAndBuildRun will retrieve the build and buildRun
test/e2e/v1beta1/common_test.go:137
↓ 1 callers
Function
retrieveBuildAndBuildRun
retrieveBuildAndBuildRun will retrieve the build and buildRun
test/e2e/v1alpha1/common_test.go:141
↓ 1 callers
Method
retrieveBuildRunsfromBuild
retrieveBuildRunsfromBuild returns a list of BuildRuns that are owned by a Build in the same namespace
pkg/validate/ownerreferences.go:72
↓ 1 callers
Method
retry
validate that a lock file not longer exists, otherwise timeout if needed
cmd/waiter/waiter.go:43
↓ 1 callers
Function
runGitClone
(ctx context.Context)
cmd/git/main.go:164
↓ 1 callers
Function
runImageProcessing
(ctx context.Context)
cmd/image-processing/main.go:133
↓ 1 callers
Method
save
save writes the lock-file with informed PID.
cmd/waiter/waiter.go:25
↓ 1 callers
Function
serializeVulnerabilities
(Vulnerabilities []buildapi.Vulnerability)
cmd/image-processing/main.go:297
↓ 1 callers
Function
serve
serve handles a ConversionReview object type, it will process a ConversionRequest object and convert that into a ConversionResponse one.
pkg/webhook/conversion/conversion.go:70
↓ 1 callers
Function
setEnvVar
setEnvVar sets or overrides an environment variable in a Step.
pkg/reconciler/buildrun/resources/sources/utils.go:163
↓ 1 callers
Function
splitKeyVals
splitKeyVals splits key value pairs which is in form hello=world
cmd/image-processing/main.go:283
↓ 1 callers
Function
statusErrorFromError
(err error)
pkg/webhook/conversion/converter.go:189
↓ 1 callers
Function
statusErrorWithMessage
(msg string, params ...interface{})
pkg/webhook/conversion/converter.go:182
↓ 1 callers
Function
stringPtr
Helper function to create string pointers
pkg/reconciler/buildrun/resources/taskrun_test.go:1893
↓ 1 callers
Function
stringToFloat64Array
(strings []string)
pkg/config/config.go:516
↓ 1 callers
Function
toV1Alpha1BuildObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1819
↓ 1 callers
Function
toV1Alpha1BuildRunObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1828
↓ 1 callers
Function
toV1Alpha1BuildStrategyObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1855
↓ 1 callers
Function
toV1Beta1BuildObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1864
↓ 1 callers
Function
toV1Beta1BuildRunObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1837
↓ 1 callers
Function
toV1Beta1BuildStrategyObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1846
↓ 1 callers
Function
toVolMap
(expected []buildapi.BuildStrategyVolume)
pkg/volumes/volumes_test.go:306
↓ 1 callers
Function
toVolumeMap
(strategyVolumes []buildapi.BuildStrategyVolume)
pkg/reconciler/buildrun/resources/resource_builders.go:540
↓ 1 callers
Function
toVolumeMap
toVolumeMap coverts slice of build strategy volumes to map of build strategy volumes, in order to later search them quickly by name
pkg/validate/volumes.go:46
↓ 1 callers
Function
updateBucketsConfig
(buckets *[]float64, envVarName string)
pkg/config/config.go:530
↓ 1 callers
Function
updateBuildControllerDurationOption
(d **time.Duration, envVarName string)
pkg/config/config.go:543
↓ 1 callers
Function
updateBuildRunStatusWithOutputResult
(ctx context.Context, buildRun *buildapi.BuildRun, taskRunResult []pipelineapi.TaskRunResult, request reconcil
pkg/reconciler/buildrun/resources/results.go:41
↓ 1 callers
Function
updateBuildRunStatusWithSourceResult
(buildrun *buildapi.BuildRun, results []pipelineapi.TaskRunResult)
pkg/reconciler/buildrun/resources/sources.go:78
↓ 1 callers
Function
updateIntOption
(i *int, envVarName string)
pkg/config/config.go:556
↓ 1 callers
Function
updateServiceAccountIfSecretNotLinked
(ctx context.Context, sourceSecret string, serviceAccount *corev1.ServiceAccount)
pkg/reconciler/buildrun/resources/credentials.go:37
↓ 1 callers
Method
validate
validate goes through the trigger "when" conditions to validate each entry.
pkg/validate/trigger.go:23
↓ 1 callers
Method
validate
validate inspects each environment variable and validates all required attributes.
pkg/validate/envvars.go:46
↓ 1 callers
Method
validateBuildOwnerReference
validateOwnerReferences returns an index value if a Build is owning a reference or -1 if this is not the case
pkg/validate/ownerreferences.go:88
↓ 1 callers
Function
validateBuildRunResultsFromBundleSource
(testBuildRun *buildapi.BuildRun)
test/e2e/v1beta1/validators_test.go:191
↓ 1 callers
Function
validateBuildRunResultsFromBundleSource
(testBuildRun *buildapialpha.BuildRun)
test/e2e/v1alpha1/validators_test.go:192
↓ 1 callers
Function
validateBuildRunResultsFromGitSource
(testBuildRun *buildapialpha.BuildRun)
test/e2e/v1alpha1/validators_test.go:159
↓ 1 callers
Function
validateBuildRunToFail
validateBuildRunToFail creates the build run and watches its flow until it fails.
test/e2e/v1alpha1/validators_test.go:219
↓ 1 callers
Method
validateBuildStrategy
(ctx context.Context, strategyName string)
pkg/validate/strategies.go:61
↓ 1 callers
Method
validateClusterBuildStrategy
(ctx context.Context, strategyName string)
pkg/validate/strategies.go:80
↓ 1 callers
Method
validateExecutorVolumes
validateExecutorVolumes checks that all volumes referenced in the executor (TaskRun or PipelineRun) exist.
pkg/reconciler/buildrun/buildrun.go:809
↓ 1 callers
Function
validateMultipleTaskRunsHandling
validateMultipleTaskRunsHandling verifies that the controller can handle multiple TaskRuns
test/e2e/v1beta1/e2e_pipelinerun_test.go:302
← previous
next →
601–700 of 1,213, ranked by callers