MCPcopy Create free account

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

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

↓ 1 callersFunctionadd
(mgr manager.Manager, r reconcile.Reconciler, maxConcurrentReconciles int)
pkg/reconciler/buildlimitcleanup/controller.go:34
↓ 1 callersFunctionadd
add adds a new Controller to mgr with r as the reconcile.Reconciler
pkg/reconciler/buildrun/controller.go:39
↓ 1 callersFunctionadd
add adds a new Controller to mgr with r as the reconcile.Reconciler
pkg/reconciler/buildstrategy/controller.go:27
↓ 1 callersFunctionaddConfigMapEnvVar
addConfigMapEnvVar modifies all steps which are referencing a parameter name in their command, args, or environment variable values, to contain a mapp
pkg/reconciler/buildrun/resources/params.go:229
↓ 1 callersFunctionaddOutputDirectoryParamToPipelineSpec
(pipelineSpec *pipelineapi.PipelineSpec)
pkg/reconciler/buildrun/resources/resource_builders.go:712
↓ 1 callersFunctionaddSecretEnvVar
addSecretEnvVar modifies all steps which are referencing a parameter name in their command, args, or environment variable values, to contain a mapped
pkg/reconciler/buildrun/resources/params.go:291
↓ 1 callersFunctionaddStepEmptyDirVolume
addStepEmptyDirVolume creates a unique EmptyDir volume for a specific step and mounts it at the given path.
pkg/reconciler/buildrun/resources/sources/utils.go:148
↓ 1 callersFunctionaddStrategyParametersToPipelineSpec
(pipelineSpec *pipelineapi.PipelineSpec, parameterDefinitions []buildapi.Parameter)
pkg/reconciler/buildrun/resources/resource_builders.go:620
↓ 1 callersFunctionaddToScheme
(scheme *runtime.Scheme)
pkg/webhook/conversion/conversion.go:38
↓ 1 callersFunctionamendBuild
amendBuild make changes on build object.
test/e2e/v1beta1/common_test.go:115
↓ 1 callersFunctionamendBuild
amendBuild make changes on build object.
test/e2e/v1alpha1/common_test.go:119
↓ 1 callersFunctionamendOutputCredentials
amendOutputCredentials amend secret-ref for output image.
test/e2e/v1beta1/common_test.go:90
↓ 1 callersFunctionamendOutputCredentials
amendOutputCredentials amend secret-ref for output image.
test/e2e/v1alpha1/common_test.go:94
↓ 1 callersFunctionamendOutputImage
amendOutputImage amend container image URL based on informed image repository.
test/e2e/v1beta1/common_test.go:74
↓ 1 callersFunctionamendOutputImage
amendOutputImage amend container image URL based on informed image repository.
test/e2e/v1alpha1/common_test.go:78
↓ 1 callersFunctionamendSourceSecretName
amendSourceSecretName patch Build source.Git.CloneSecret with secret name.
test/e2e/v1beta1/common_test.go:99
↓ 1 callersFunctionamendSourceSecretName
amendSourceSecretName patch Build source.Credentials with secret name.
test/e2e/v1alpha1/common_test.go:103
↓ 1 callersFunctionamendSourceURL
amendSourceURL patch Build source.Git.URL with informed string.
test/e2e/v1beta1/common_test.go:107
↓ 1 callersFunctionamendSourceURL
amendSourceURL patch Build source.URL with informed string.
test/e2e/v1alpha1/common_test.go:111
↓ 1 callersFunctionappendSourceTimestampResult
(taskSpec *pipelineapi.TaskSpec)
pkg/reconciler/buildrun/resources/sources.go:41
↓ 1 callersFunctionapplyAnnotationsAndLabels
(taskRun *pipelineapi.TaskRun, strategy buildapi.BuilderStrategy)
pkg/reconciler/buildrun/resources/resource_builders.go:412
↓ 1 callersFunctionapplyNodeSelectors
(taskRun *pipelineapi.TaskRun, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:329
↓ 1 callersFunctionapplyParameters
(taskRun *pipelineapi.TaskRun, build *buildapi.Build, buildRun *buildapi.BuildRun, strategy buildapi.BuilderSt
pkg/reconciler/buildrun/resources/resource_builders.go:441
↓ 1 callersFunctionapplyRuntimeClassName
(taskRun *pipelineapi.TaskRun, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:381
↓ 1 callersFunctionapplyScheduler
(taskRun *pipelineapi.TaskRun, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:364
↓ 1 callersFunctionapplyTimeout
(taskRun *pipelineapi.TaskRun, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:516
↓ 1 callersFunctionapplyTolerations
(taskRun *pipelineapi.TaskRun, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:344
↓ 1 callersFunctionavailablePlatforms
availablePlatforms returns the set of os/arch combinations for which there is at least one node that is Ready, not unschedulable, and has stable OS an
pkg/validate/output.go:168
↓ 1 callersMethodbuildCredentialReferences
()
pkg/validate/secrets.go:61
↓ 1 callersFunctionbuildStepResourceOverridesMap
buildStepResourceOverridesMap creates a map of step name to resource requirements by merging Build and BuildRun step resource overrides with the follo
pkg/reconciler/buildrun/resources/resource_builders.go:242
↓ 1 callersFunctionbuildTestData
(namespace string, identifier string, filePath string)
test/e2e/v1beta1/validators_test.go:300
↓ 1 callersFunctionbuildTestData
(namespace string, identifier string, filePath string)
test/e2e/v1alpha1/validators_test.go:298
↓ 1 callersFunctioncheckCredentials
()
cmd/git/main.go:529
↓ 1 callersFunctioncheckEnvironment
(ctx context.Context)
cmd/git/main.go:240
↓ 1 callersFunctioncheckForPipelinesInstalled
checkForPipelinesInstalled tries to find the "TaskRun" resource on the api returns (true, nil) if resource is found, (false, nil) otherwise and error
cmd/shipwright-build-controller/main.go:142
↓ 1 callersMethodcheckOutputPlatformsFields
()
pkg/validate/output.go:62
↓ 1 callersFunctionclassifyBuildRunResult
(condition *buildapi.Condition)
pkg/reconciler/buildrun/buildrun.go:41
↓ 1 callersFunctionclassifyErrorFromTokens
(tokens []errorToken)
pkg/git/error_parser.go:279
↓ 1 callersFunctionclassifyTokensWithErrorPrefix
(tokens []errorToken)
pkg/git/error_parser.go:252
↓ 1 callersFunctionclassifyTokensWithFatalPrefix
(tokens []errorToken)
pkg/git/error_parser.go:262
↓ 1 callersFunctionclassifyTokensWithRemotePrefix
(tokens []errorToken)
pkg/git/error_parser.go:239
↓ 1 callersFunctioncleanURL
()
cmd/git/main.go:608
↓ 1 callersFunctionclone
(ctx context.Context)
cmd/git/main.go:277
↓ 1 callersFunctionconfigWithEnvVariableOverrides
(settings map[string]string, f func(config *Config))
pkg/config/config_test.go:302
↓ 1 callersFunctioncontainsSeverity
(severity buildapi.VulnerabilitySeverity)
pkg/image/vulnerability_scan_test.go:119
↓ 1 callersFunctioncontainsVulnerability
(vulnerability string)
pkg/image/vulnerability_scan_test.go:108
↓ 1 callersFunctionconvertMutateArgs
convertMutateArgs to convert the argument map to comma separated values
pkg/reconciler/buildrun/resources/image_processing.go:270
↓ 1 callersFunctioncreateBasePipelineSpec
PipelineRun-specific helpers
pkg/reconciler/buildrun/resources/resource_builders.go:550
↓ 1 callersFunctioncreateBuildLabels
(buildStrategy, namespace, build, strategyKind, sourceType string)
pkg/metrics/metrics.go:229
↓ 1 callersFunctioncreateBuildRunFailureReasonLabels
(buildStrategy, namespace, build, buildRun, strategyKind, executor, sourceType, reason string)
pkg/metrics/metrics.go:287
↓ 1 callersFunctioncreateBuildRunResultLabels
(buildStrategy, namespace, build, buildRun, strategyKind, executor, result, sourceType string)
pkg/metrics/metrics.go:279
↓ 1 callersFunctioncreateBuildStrategyPipelineTask
(taskSpec *pipelineapi.TaskSpec, strategy buildapi.BuilderStrategy)
pkg/reconciler/buildrun/resources/resource_builders.go:651
↓ 1 callersFunctioncreateBuildStrategyVolume
(name string, description string, vt volumeType, vsName string, overridable bool)
pkg/volumes/volumes_test.go:62
↓ 1 callersFunctioncreateBuildStrategyVolumeEmptyOverridable
(name string, description string, vt volumeType, vsName string)
pkg/volumes/volumes_test.go:79
↓ 1 callersFunctioncreateBuildVolume
(name string, vt volumeType, vsName string)
pkg/volumes/volumes_test.go:95
↓ 1 callersFunctioncreateConfigMapVolumeSource
(name string)
pkg/volumes/volumes_test.go:25
↓ 1 callersFunctioncreateContainerRegistrySecret
createContainerRegistrySecret use environment variables to check for container registry credentials secret, when not found a new secret is created.
test/e2e/v1beta1/validators_test.go:84
↓ 1 callersFunctioncreateContainerRegistrySecret
createContainerRegistrySecret use environment variables to check for container registry credentials secret, when not found a new secret is created.
test/e2e/v1alpha1/validators_test.go:85
↓ 1 callersFunctioncreateEmptyDirVolumeSource
()
pkg/volumes/volumes_test.go:43
↓ 1 callersFunctioncreateOutputImagePipelineTask
(taskSpec *pipelineapi.TaskSpec, hasOutputDirectory bool)
pkg/reconciler/buildrun/resources/resource_builders.go:720
↓ 1 callersFunctioncreatePipelineServiceAccount
createPipelineServiceAccount reads the TEST_E2E_SERVICEACCOUNT_NAME environment variable. If the value is "generated", then nothing is done. Otherwise
test/e2e/v1beta1/validators_test.go:47
↓ 1 callersFunctioncreatePipelineServiceAccount
createPipelineServiceAccount reads the TEST_E2E_SERVICEACCOUNT_NAME environment variable. If the value is "generated", then nothing is done. Otherwise
test/e2e/v1alpha1/validators_test.go:48
↓ 1 callersFunctioncreateSecretVolumeSource
(name string)
pkg/volumes/volumes_test.go:35
↓ 1 callersFunctioncreateSourceAcquisitionPipelineTask
(taskSpec *pipelineapi.TaskSpec)
pkg/reconciler/buildrun/resources/resource_builders.go:600
↓ 1 callersFunctiondoConversion
doConversion takes a CR in the v1 ConversionRequest using the convert function and returns a ConversionResponse with a CR
pkg/webhook/conversion/conversion.go:166
↓ 1 callersFunctiondockerHubLogin
(username string, password string)
pkg/image/delete.go:133
↓ 1 callersFunctiondockerHubRepoDelete
(token string, ref name.Reference)
pkg/image/delete.go:185
↓ 1 callersFunctiondoesTaskSpecReferenceOutputDirectory
(taskSpec *pipelineapi.TaskSpec)
pkg/reconciler/buildrun/resources/resource_builders.go:766
↓ 1 callersFunctionensureVolume
ensureVolume adds a volume to the TaskSpec if a volume with the same name does not already exist.
pkg/reconciler/buildrun/resources/sources/utils.go:180
↓ 1 callersFunctionensureVolumeMount
ensureVolumeMount adds a VolumeMount to a Step if a mount with the same name does not already exist.
pkg/reconciler/buildrun/resources/sources/utils.go:190
↓ 1 callersFunctionextractFailureDetails
(ctx context.Context, client client.Client, taskRun *pipelineapi.TaskRun)
pkg/reconciler/buildrun/resources/failure_details.go:100
↓ 1 callersFunctionextractFailureReasonAndMessage
(taskRun *pipelineapi.TaskRun)
pkg/reconciler/buildrun/resources/failure_details.go:43
↓ 1 callersFunctionextractPipelineRunFailureDetails
extractPipelineRunFailureDetails extracts detailed failure information from a failed PipelineRun
pkg/reconciler/buildrun/resources/conditions.go:259
↓ 1 callersFunctionfileMode
(tarHeader *tar.Header)
pkg/bundle/bundle.go:328
↓ 1 callersFunctionfilemode
filemode is a minimal effort function to translate os.FileMode to the commonly known human representation, i.e. rw-r--r--. However, it does not implem
pkg/util/filelisting.go:118
↓ 1 callersFunctiongenerateBaseParamValues
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:70
↓ 1 callersFunctiongenerateBasePipelineWorkspaceDeclarations
()
pkg/reconciler/buildrun/resources/resource_builders.go:558
↓ 1 callersFunctiongenerateBaseTaskSpecResults
()
pkg/reconciler/buildrun/resources/resource_builders.go:138
↓ 1 callersFunctiongenerateBaseTaskSpecWorkspaces
()
pkg/reconciler/buildrun/resources/resource_builders.go:130
↓ 1 callersFunctiongenerateBuildStrategyTaskParams
(strategy buildapi.BuilderStrategy)
pkg/reconciler/buildrun/resources/resource_builders.go:676
↓ 1 callersFunctiongenerateBuildStrategyWorkspaceBindings
()
pkg/reconciler/buildrun/resources/resource_builders.go:699
↓ 1 callersFunctiongenerateOutputResultName
(resultName string)
pkg/reconciler/buildrun/resources/results.go:63
↓ 1 callersFunctiongeneratePipelineTaskRunTemplate
(serviceAccountName string)
pkg/reconciler/buildrun/resources/resource_builders.go:572
↓ 1 callersFunctiongeneratePipelineWorkspaceBindings
()
pkg/reconciler/buildrun/resources/resource_builders.go:578
↓ 1 callersFunctiongenerateSourceAcquisitionWorkspaceBindings
()
pkg/reconciler/buildrun/resources/resource_builders.go:611
↓ 1 callersFunctiongenerateTaskRunLabels
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:292
↓ 1 callersFunctiongenerateTestCertificate
(t *testing.T)
pkg/webhook/tlsconfig/tlsconfig_test.go:217
↓ 1 callersFunctiongenerateVolumeName
generateVolumeName creates a unique, DNS-1123 compliant volume name for a step. The function ensures uniqueness by appending a SHA256 hash of the orig
pkg/reconciler/buildrun/resources/sources/utils.go:122
↓ 1 callersFunctiongenerateWorkspaceBindings
()
pkg/reconciler/buildrun/resources/resource_builders.go:306
↓ 1 callersFunctiongetArg
(argName string)
test/e2e/v1beta1/common_suite_test.go:475
↓ 1 callersFunctiongetArg
(argName string)
test/e2e/v1alpha1/common_suite_test.go:432
↓ 1 callersFunctiongetAuthStringForTrivyScan
(auth *authn.AuthConfig)
pkg/image/vulnerability_scan.go:152
↓ 1 callersFunctiongetBuildRunStatusCondition
(name types.NamespacedName)
test/e2e/v1beta1/e2e_local_source_upload_test.go:61
↓ 1 callersFunctiongetBuildRunStatusCondition
(name types.NamespacedName)
test/e2e/v1alpha1/e2e_local_source_upload_test.go:61
↓ 1 callersFunctiongetConversionReview
(o string)
pkg/webhook/conversion/converter_test.go:29
↓ 1 callersFunctiongetDefaultNamespaceSA
getDefaultNamespaceSA retrieves a pipeline or default sa per namespace. This is used when users do not specify a service account to use on BuildRuns
pkg/reconciler/buildrun/resources/service_accounts.go:109
↓ 1 callersFunctiongetFailureDetailsTaskSpecResults
()
pkg/reconciler/buildrun/resources/failure_details.go:116
↓ 1 callersFunctiongetGinkgoNode
()
test/e2e/v1beta1/common_suite_test.go:487
↓ 1 callersFunctiongetGinkgoNode
()
test/e2e/v1alpha1/common_suite_test.go:444
↓ 1 callersFunctiongetImageTimestamp
(buildOutput, buildRunOutput buildapi.Image)
pkg/reconciler/buildrun/resources/image_processing.go:303
← previousnext →501–600 of 1,213, ranked by callers