MCPcopy Create free account

hub / github.com/shipwright-io/build / functions

Functions1,213 in github.com/shipwright-io/build

↓ 1 callersFunctiongetImageVulnerabilitiesResult
(result pipelineapi.TaskRunResult)
pkg/reconciler/buildrun/resources/results.go:84
↓ 1 callersFunctiongetInputSerializer
(contentType string)
pkg/webhook/conversion/conversion.go:138
↓ 1 callersFunctiongetOutputSerializer
(accept string)
pkg/webhook/conversion/conversion.go:146
↓ 1 callersMethodgetReferencedStrategy
(ctx context.Context, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/buildrun.go:764
↓ 1 callersFunctiongetSeverity
(sev string)
pkg/reconciler/buildrun/resources/results.go:102
↓ 1 callersFunctiongetSeverityStringForTrivyScan
(ignoreSeverity buildapi.IgnoredVulnerabilitySeverity)
pkg/image/vulnerability_scan.go:112
↓ 1 callersFunctiongetTaskSpecResults
()
pkg/reconciler/buildrun/resources/results.go:67
↓ 1 callersFunctionhasIncompleteConfigMapValue
hasIncompleteConfigMapValue checks if a SingleValue has a ConfigMap value with an empty name or key
pkg/validate/params.go:207
↓ 1 callersFunctionhasIncompleteSecretValue
hasIncompleteSecretValue checks if a SingleValue has a Secret value with an empty name or key
pkg/validate/params.go:216
↓ 1 callersFunctionhasMoreThanOneValue
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 callersFunctionhasNoValue
hasNoValue checks if a SingleValue has no value set (plain text, secret, and config map key reference)
pkg/validate/params.go:198
↓ 1 callersFunctionhasOutputDirectoryParam
(pipelineSpec *pipelineapi.PipelineSpec)
pkg/reconciler/buildrun/resources/resource_builders.go:747
↓ 1 callersFunctionhasTaskSpecParam
(taskSpec *pipelineapi.TaskSpec, paramName string)
pkg/reconciler/buildrun/resources/resource_builders.go:757
↓ 1 callersFunctionhasTaskSpecResult
(taskRun *pipelineapi.TaskRun, name string)
pkg/reconciler/buildrun/resources/image_processing.go:316
↓ 1 callersFunctionhumanReadableSize
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 callersFunctionicrDelete
(token string, accountID string, ref name.Reference)
pkg/image/delete.go:318
↓ 1 callersFunctionicrLogin
(registry, username, apikey string)
pkg/image/delete.go:219
↓ 1 callersFunctioninitializeFlag
()
cmd/image-processing/main.go:60
↓ 1 callersFunctionisAuthInvalidKey
(raw string)
pkg/git/error_parser.go:203
↓ 1 callersFunctionisAuthInvalidUserOrPass
(raw string)
pkg/git/error_parser.go:194
↓ 1 callersFunctionisAuthPrompted
(raw string)
pkg/git/error_parser.go:199
↓ 1 callersFunctionisBranchNotFound
(raw string)
pkg/git/error_parser.go:213
↓ 1 callersFunctionisDockerHubEndpoint
(registry string)
pkg/image/delete.go:118
↓ 1 callersMethodisEmptySource
()
pkg/validate/output.go:75
↓ 1 callersFunctionisIcrEndpoint
(registry string)
pkg/image/delete.go:123
↓ 1 callersFunctionisIcrStageEndpoint
(registry string)
pkg/image/delete.go:128
↓ 1 callersFunctionisLocalCopyBuildSource
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 callersFunctionisReadOnlyVolume
(strategyVolume *buildapi.BuildStrategyVolume)
pkg/volumes/volumes.go:63
↓ 1 callersFunctionisRepositoryNotFound
(raw string)
pkg/git/error_parser.go:207
↓ 1 callersFunctionisRetryableError
(err error)
test/utils/v1beta1/lookup.go:145
↓ 1 callersFunctionisRetryableError
(err error)
test/utils/v1alpha1/lookup.go:144
↓ 1 callersFunctionisStringContainingAnySearchString
(aString string, searchStrings []string)
pkg/reconciler/buildrun/resources/params.go:380
↓ 1 callersMethodkind
(ctx context.Context)
pkg/validate/strategies.go:52
↓ 1 callersFunctionmergeEnvironmentVariables
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/executor_generator.go:46
↓ 1 callersFunctionmutateImage
(image containerreg.Image, annotations map[string]string, labels map[string]string)
pkg/image/mutate.go:92
↓ 1 callersFunctionmutateImageIndexTimestamp
(imageIndex containerreg.ImageIndex, timestamp time.Time)
pkg/image/mutate.go:144
↓ 1 callersFunctionnamespacedName
(name, namespace string)
pkg/reconciler/buildrun/resources/volumes.go:16
↓ 1 callersFunctionnewDoneCmd
()
cmd/waiter/main.go:93
↓ 1 callersFunctionnewRootCmd
()
cmd/waiter/main.go:73
↓ 1 callersFunctionnewStartCmd
()
cmd/waiter/main.go:81
↓ 1 callersFunctionparseCipherSuitesFlag
(csv string)
pkg/webhook/tlsconfig/tlsconfig.go:74
↓ 1 callersFunctionparseLine
(line string)
pkg/git/error_parser.go:153
↓ 1 callersFunctionparseMinVersionFlag
(v string)
pkg/webhook/tlsconfig/tlsconfig.go:54
↓ 1 callersFunctionparseTrivyResult
(trivyResult TrivyResult, ignoreOptions *buildapi.VulnerabilityIgnoreOptions)
pkg/image/vulnerability_scan.go:125
↓ 1 callersFunctionplatformLabelValueValid
(s string)
pkg/validate/output.go:84
↓ 1 callersFunctionprepareExecutionContext
( build *buildapi.Build, buildRun *buildapi.BuildRun, strategy buildapi.BuilderStrategy, )
pkg/reconciler/buildrun/resources/executor_generator.go:27
↓ 1 callersFunctionprintVersion
(ctx context.Context)
cmd/shipwright-build-controller/main.go:38
↓ 1 callersFunctionprintVersion
(ctx context.Context)
cmd/shipwright-build-webhook/main.go:32
↓ 1 callersFunctionpromLabelPairToBuildLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:68
↓ 1 callersFunctionpromLabelPairToBuildRunFailureReasonLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:138
↓ 1 callersFunctionpromLabelPairToBuildRunLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:88
↓ 1 callersFunctionpromLabelPairToBuildRunResultLabels
(in []*io_prometheus_client.LabelPair)
pkg/metrics/metrics_test.go:112
↓ 1 callersMethodread
read reads the lock-file, must contain an integer.
cmd/waiter/waiter.go:30
↓ 1 callersFunctionreconcileAlreadyCompletedBuildRun
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 callersFunctionreconcileCompletedBuildRun
reconcileCompletedBuildRun returns true if the object has the required TTL parameters
pkg/reconciler/buildrunttlcleanup/controller.go:35
↓ 1 callersMethodrecordPreExecutorFailure
(buildRun *buildapi.BuildRun, reason, result string)
pkg/reconciler/buildrun/buildrun.go:72
↓ 1 callersFunctionremoveOwnerReferenceByIndex
removeOwnerReferenceByIndex removes the entry by index, this will not keep the same order in the slice
pkg/validate/ownerreferences.go:99
↓ 1 callersFunctionremoveTestIDSuffix
(id string)
test/e2e/v1beta1/common_test.go:34
↓ 1 callersFunctionremoveTestIDSuffix
(id string)
test/e2e/v1alpha1/common_test.go:38
↓ 1 callersFunctionretrieveBuildAndBuildRun
retrieveBuildAndBuildRun will retrieve the build and buildRun
test/e2e/v1beta1/common_test.go:137
↓ 1 callersFunctionretrieveBuildAndBuildRun
retrieveBuildAndBuildRun will retrieve the build and buildRun
test/e2e/v1alpha1/common_test.go:141
↓ 1 callersMethodretrieveBuildRunsfromBuild
retrieveBuildRunsfromBuild returns a list of BuildRuns that are owned by a Build in the same namespace
pkg/validate/ownerreferences.go:72
↓ 1 callersMethodretry
validate that a lock file not longer exists, otherwise timeout if needed
cmd/waiter/waiter.go:43
↓ 1 callersFunctionrunGitClone
(ctx context.Context)
cmd/git/main.go:164
↓ 1 callersFunctionrunImageProcessing
(ctx context.Context)
cmd/image-processing/main.go:133
↓ 1 callersMethodsave
save writes the lock-file with informed PID.
cmd/waiter/waiter.go:25
↓ 1 callersFunctionserializeVulnerabilities
(Vulnerabilities []buildapi.Vulnerability)
cmd/image-processing/main.go:297
↓ 1 callersFunctionserve
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 callersFunctionsetEnvVar
setEnvVar sets or overrides an environment variable in a Step.
pkg/reconciler/buildrun/resources/sources/utils.go:163
↓ 1 callersFunctionsplitKeyVals
splitKeyVals splits key value pairs which is in form hello=world
cmd/image-processing/main.go:283
↓ 1 callersFunctionstatusErrorFromError
(err error)
pkg/webhook/conversion/converter.go:189
↓ 1 callersFunctionstatusErrorWithMessage
(msg string, params ...interface{})
pkg/webhook/conversion/converter.go:182
↓ 1 callersFunctionstringPtr
Helper function to create string pointers
pkg/reconciler/buildrun/resources/taskrun_test.go:1893
↓ 1 callersFunctionstringToFloat64Array
(strings []string)
pkg/config/config.go:516
↓ 1 callersFunctiontoV1Alpha1BuildObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1819
↓ 1 callersFunctiontoV1Alpha1BuildRunObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1828
↓ 1 callersFunctiontoV1Alpha1BuildStrategyObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1855
↓ 1 callersFunctiontoV1Beta1BuildObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1864
↓ 1 callersFunctiontoV1Beta1BuildRunObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1837
↓ 1 callersFunctiontoV1Beta1BuildStrategyObject
(convertedObject unstructured.Unstructured)
pkg/webhook/conversion/converter_test.go:1846
↓ 1 callersFunctiontoVolMap
(expected []buildapi.BuildStrategyVolume)
pkg/volumes/volumes_test.go:306
↓ 1 callersFunctiontoVolumeMap
(strategyVolumes []buildapi.BuildStrategyVolume)
pkg/reconciler/buildrun/resources/resource_builders.go:540
↓ 1 callersFunctiontoVolumeMap
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 callersFunctionupdateBucketsConfig
(buckets *[]float64, envVarName string)
pkg/config/config.go:530
↓ 1 callersFunctionupdateBuildControllerDurationOption
(d **time.Duration, envVarName string)
pkg/config/config.go:543
↓ 1 callersFunctionupdateBuildRunStatusWithOutputResult
(ctx context.Context, buildRun *buildapi.BuildRun, taskRunResult []pipelineapi.TaskRunResult, request reconcil
pkg/reconciler/buildrun/resources/results.go:41
↓ 1 callersFunctionupdateBuildRunStatusWithSourceResult
(buildrun *buildapi.BuildRun, results []pipelineapi.TaskRunResult)
pkg/reconciler/buildrun/resources/sources.go:78
↓ 1 callersFunctionupdateIntOption
(i *int, envVarName string)
pkg/config/config.go:556
↓ 1 callersFunctionupdateServiceAccountIfSecretNotLinked
(ctx context.Context, sourceSecret string, serviceAccount *corev1.ServiceAccount)
pkg/reconciler/buildrun/resources/credentials.go:37
↓ 1 callersMethodvalidate
validate goes through the trigger "when" conditions to validate each entry.
pkg/validate/trigger.go:23
↓ 1 callersMethodvalidate
validate inspects each environment variable and validates all required attributes.
pkg/validate/envvars.go:46
↓ 1 callersMethodvalidateBuildOwnerReference
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 callersFunctionvalidateBuildRunResultsFromBundleSource
(testBuildRun *buildapi.BuildRun)
test/e2e/v1beta1/validators_test.go:191
↓ 1 callersFunctionvalidateBuildRunResultsFromBundleSource
(testBuildRun *buildapialpha.BuildRun)
test/e2e/v1alpha1/validators_test.go:192
↓ 1 callersFunctionvalidateBuildRunResultsFromGitSource
(testBuildRun *buildapialpha.BuildRun)
test/e2e/v1alpha1/validators_test.go:159
↓ 1 callersFunctionvalidateBuildRunToFail
validateBuildRunToFail creates the build run and watches its flow until it fails.
test/e2e/v1alpha1/validators_test.go:219
↓ 1 callersMethodvalidateBuildStrategy
(ctx context.Context, strategyName string)
pkg/validate/strategies.go:61
↓ 1 callersMethodvalidateClusterBuildStrategy
(ctx context.Context, strategyName string)
pkg/validate/strategies.go:80
↓ 1 callersMethodvalidateExecutorVolumes
validateExecutorVolumes checks that all volumes referenced in the executor (TaskRun or PipelineRun) exist.
pkg/reconciler/buildrun/buildrun.go:809
↓ 1 callersFunctionvalidateMultipleTaskRunsHandling
validateMultipleTaskRunsHandling verifies that the controller can handle multiple TaskRuns
test/e2e/v1beta1/e2e_pipelinerun_test.go:302
← previousnext →601–700 of 1,213, ranked by callers