MCPcopy Create free account

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

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

↓ 2 callersFunctionGenerateTaskRun
GenerateTaskRun creates a TaskRun with all build phases as sequential steps.
pkg/reconciler/buildrun/resources/taskrun.go:29
↓ 2 callersMethodGetBRTillDesiredReason
GetBRTillDesiredReason polls until a BuildRun gets a particular Reason it exit if an error happens or the timeout is reached
test/utils/v1beta1/buildruns.go:244
↓ 2 callersMethodGetBuildRunObject
GetBuildRunObject retrieves an existing BuildRun based on a name and namespace
pkg/reconciler/buildrun/buildrun.go:737
↓ 2 callersMethodGetConfig
()
pkg/controller/fakes/manager.go:701
↓ 2 callersMethodGetLabels
GetLabels returns the labels of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:30
↓ 2 callersMethodGetUnderlyingTaskRuns
GetUnderlyingTaskRun returns the generated TaskRun from using either TaskRun or PipelineRun.
pkg/reconciler/buildrun/imagebuildrunner.go:54
↓ 2 callersFunctionHandleTaskRunParam
HandleTaskRunParam makes the necessary changes to a TaskRun for a parameter
pkg/reconciler/buildrun/resources/params.go:93
↓ 2 callersFunctionIsGeneratedServiceAccountUsed
IsGeneratedServiceAccountUsed checks if a build run uses a generated service account
pkg/reconciler/buildrun/resources/service_accounts.go:39
↓ 2 callersFunctionIsOwnedByBuild
IsOwnedByBuild checks if the controllerReferences contains a well known owner Kind
pkg/reconciler/buildrun/resources/build.go:51
↓ 2 callersFunctionIsSystemReservedParameter
IsSystemReservedParameter verifies if we are using a system reserved parameter name
pkg/reconciler/buildrun/resources/params.go:66
↓ 2 callersFunctionKubeConfig
KubeConfig returns all required clients to speak with the k8s API
test/utils/v1beta1/environment.go:94
↓ 2 callersFunctionKubeConfig
KubeConfig returns all required clients to speak with the k8s API
test/utils/v1alpha1/environment.go:94
↓ 2 callersFunctionListFiles
ListFiles prints all files in a given directory to the provided writer
pkg/util/filelisting.go:29
↓ 2 callersFunctionLoadImageOrImageIndexFromDirectory
LoadImageOrImageIndexFromDirectory loads an image or an image index from a directory
pkg/image/load.go:20
↓ 2 callersFunctionLoadImageOrImageIndexFromRegistry
LoadImageOrImageIndexFromRegistry loads an image or an image index from a registry
pkg/image/load.go:80
↓ 2 callersMethodLoadStandAloneBuildRunWithNameAndStrategy
(name string, strategy *buildapi.ClusterBuildStrategy, d []byte)
test/v1beta1_samples/catalog.go:1137
↓ 2 callersMethodLookupTaskRun
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:65
↓ 2 callersMethodLookupTaskRun
(entity types.NamespacedName)
test/utils/v1alpha1/lookup.go:65
↓ 2 callersMethodLookupTaskRunUsingBuildRun
(buildRun *buildapi.BuildRun)
test/utils/v1beta1/lookup.go:76
↓ 2 callersMethodMatch
(actual interface{})
test/utils/v1beta1/gomega.go:114
↓ 2 callersFunctionMergeBuildVolumes
MergeBuildVolumes merges Build Volumes from one list into the other. It only allows to merge those that have property Overridable set to true. In case
pkg/volumes/volumes.go:73
↓ 2 callersFunctionMutateImageOrImageIndex
MutateImageOrImageIndex mutates an image or image index with additional annotations and labels
pkg/image/mutate.go:36
↓ 2 callersFunctionMutateImageOrImageIndexTimestamp
(image containerreg.Image, imageIndex containerreg.ImageIndex, timestamp time.Time)
pkg/image/mutate.go:125
↓ 2 callersFunctionNewEnv
NewEnv instantiates a new Env passing the build object pointer along.
pkg/validate/envvars.go:71
↓ 2 callersFunctionNewLogger
NewLogger returns a new Logger instance by using the controller-runtime log/zap logging implementation
pkg/ctxlog/log.go:42
↓ 2 callersFunctionNewLoggerTo
NewLoggerTo returns a new Logger which logs to a given destination.
pkg/ctxlog/log.go:51
↓ 2 callersFunctionNewReconciler
NewReconciler returns a new reconcile.Reconciler
pkg/reconciler/clusterbuildstrategy/clusterbuildstrategy.go:34
↓ 2 callersFunctionNewReconciler
NewReconciler returns a new reconcile.Reconciler
pkg/reconciler/buildstrategy/buildstrategy.go:34
↓ 2 callersFunctionNewSharedInformerFactoryWithOptions
NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options.
pkg/client/informers/externalversions/factory.go:85
↓ 2 callersFunctionNewSourceRef
NewSourcesRef instantiate a new SourcesRef passing the build object pointer along.
pkg/validate/sources.go:57
↓ 2 callersFunctionNewStrategies
(client client.Client, build *buildapi.Build)
pkg/validate/strategies.go:27
↓ 2 callersFunctionNewWaiter
NewWaiter instantiate a new waiter, making sure the timeout informed is acceptable.
cmd/waiter/waiter.go:93
↓ 2 callersFunctionPack
Pack reads a directory and creates a tar stream with its content by: - storing all directories and regular files as-is, - dereferencing all symlinks a
pkg/bundle/bundle.go:97
↓ 2 callersFunctionPackAndPush
PackAndPush a local directory as-is into a container image. See remote.Option for optional options to the image push to the registry, for example to p
pkg/bundle/bundle.go:38
↓ 2 callersFunctionRetrieveBuildStrategy
RetrieveBuildStrategy returns a namespace scoped strategy
pkg/reconciler/buildrun/resources/strategies.go:18
↓ 2 callersFunctionRetrieveClusterBuildStrategy
RetrieveClusterBuildStrategy returns a cluster scoped strategy
pkg/reconciler/buildrun/resources/strategies.go:28
↓ 2 callersFunctionRetrieveServiceAccount
RetrieveServiceAccount provides either a default sa with a referenced secret or it will generate a new sa on the fly. When not using the generate feat
pkg/reconciler/buildrun/resources/service_accounts.go:130
↓ 2 callersFunctionRunVulnerabilityScan
(ctx context.Context, imagePath string, settings buildapi.VulnerabilityScanOptions, auth *authn.AuthConfig, in
pkg/image/vulnerability_scan.go:32
↓ 2 callersFunctionSetForbiddenEnvVars
SetForbiddenEnvVars replaces the forbidden environment variable blocklist. Entries ending with "*" are treated as prefix matches; all others are exact
pkg/env/env.go:22
↓ 2 callersFunctionSetVersion
SetVersion sets the version of Shipwright build controller from go flags
version/version.go:11
↓ 2 callersFunctionSetupImageProcessing
SetupImageProcessing configures image processing for TaskRun execution.
pkg/reconciler/buildrun/resources/image_processing.go:242
↓ 2 callersMethodSourceBundle
(image string)
test/e2e/v1alpha1/common_suite_test.go:86
↓ 2 callersFunctionTaskResultName
(sourceName, resultName string)
pkg/reconciler/buildrun/resources/sources/utils.go:73
↓ 2 callersMethodUpdateBuild
UpdateBR updates a BuildRun on the current test namespace
test/utils/v1beta1/builds.go:31
↓ 2 callersFunctionUpdateBuildRunUsingTaskFailures
UpdateBuildRunUsingTaskFailures is extracting failures from taskRun steps and adding them to buildRun (mutates)
pkg/reconciler/buildrun/resources/failure_details.go:31
↓ 2 callersFunctionUpdateBuildRunUsingTaskResults
UpdateBuildRunUsingTaskResults surface the task results to the buildrun
pkg/reconciler/buildrun/resources/results.go:28
↓ 2 callersFunctionUpdateBuildRunUsingTaskRunCondition
UpdateBuildRunUsingTaskRunCondition updates the BuildRun Succeeded Condition
pkg/reconciler/buildrun/resources/conditions.go:52
↓ 2 callersMethodUpdateCalls
(stub func(context.Context, client.Object, ...client.UpdateOption) error)
pkg/controller/fakes/client.go:1013
↓ 2 callersFunctionValidateGitURLExists
ValidateGitURLExists validate if a source URL exists or not Note: We have an upcoming PR for the Build Status, where we intend to define a single Stat
pkg/git/git.go:56
↓ 2 callersMethodValidateImagePlatformsExist
ValidateImagePlatformsExist that the image produced by a BuildRun exists for a set of platforms
test/utils/v1beta1/image.go:97
↓ 2 callersFunctionValidateMultiArchPreflight
ValidateMultiArchPreflight runs platform, nodeSelector, and executor checks before the reconciler lists Nodes. If this returns (true, "", ""), the cal
pkg/validate/output.go:140
↓ 2 callersFunctionValidateNodeAvailability
ValidateNodeAvailability checks that, for each requested platform, the cluster has at least one node that is Ready, is not unschedulable, and has kube
pkg/validate/output.go:153
↓ 2 callersFunctionValidateOutputNodeSelector
ValidateOutputNodeSelector checks that nodeSelector does not conflict with output platform scheduling.
pkg/validate/output.go:117
↓ 2 callersFunctionValidatePlatforms
ValidatePlatforms validates spec.output.platforms when non-empty.
pkg/validate/output.go:92
↓ 2 callersMethodWait
Wait wait for the lock-file to be removed, or timeout.
cmd/waiter/waiter.go:68
↓ 2 callersMethodWithBuildSpec
(buildSpec *buildapialpha.BuildSpec)
test/e2e/v1alpha1/common_suite_test.go:292
↓ 2 callersFunctionaddStrategyParametersToTaskSpec
(taskSpec *pipelineapi.TaskSpec, parameterDefinitions []buildapi.Parameter)
pkg/reconciler/buildrun/resources/resource_builders.go:146
↓ 2 callersFunctionappendRegistryInsecureParamValue
(build *buildapialpha.Build, buildRun *buildapialpha.BuildRun)
test/e2e/v1alpha1/validators_test.go:344
↓ 2 callersFunctionapplyBuildStrategySteps
( taskSpec *pipelineapi.TaskSpec, build *buildapi.Build, buildRun *buildapi.BuildRun, buildSteps []buildap
pkg/reconciler/buildrun/resources/resource_builders.go:179
↓ 2 callersFunctionapplySourcesToTaskSpec
(cfg *config.Config, taskSpec *pipelineapi.TaskSpec, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:142
↓ 2 callersMethodasStrings
(actual interface{})
cmd/git/main_suite_test.go:47
↓ 2 callersFunctioncontains
(slice []string, element string)
pkg/metrics/metrics.go:220
↓ 2 callersFunctioneffectiveTimeout
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:521
↓ 2 callersFunctionextractResultsFromTokens
(tokens []errorToken)
pkg/git/error_parser.go:300
↓ 2 callersFunctiongenerateBaseTaskSpecParams
()
pkg/reconciler/buildrun/resources/resource_builders.go:35
↓ 2 callersFunctiongenerateTaskRunMetadata
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:284
↓ 2 callersFunctiongenerateTaskSpecVolumes
( taskSpec *pipelineapi.TaskSpec, volumeMounts map[string]bool, buildStrategyVolumes []buildapi.BuildStrate
pkg/reconciler/buildrun/resources/resource_builders.go:269
↓ 2 callersFunctiongetImageURL
(buildRun *buildapi.BuildRun)
test/utils/v1beta1/image.go:23
↓ 2 callersFunctiongetImageURL
(buildRun *buildapialpha.BuildRun)
test/utils/v1alpha1/image.go:23
↓ 2 callersMethodgetRegistryAuthentication
( buildRun *buildapi.BuildRun, ref name.Reference, )
test/utils/v1beta1/image.go:54
↓ 2 callersMethodgetRegistryAuthentication
( buildRun *buildapialpha.BuildRun, ref name.Reference, )
test/utils/v1alpha1/image.go:54
↓ 2 callersFunctionhasFile
(elem ...string)
cmd/git/main.go:524
↓ 2 callersFunctionisPropagatableAnnotation
(key string)
pkg/reconciler/buildrun/resources/resource_builders.go:532
↓ 2 callersFunctionmergeTolerations
(buildTolerations []corev1.Toleration, buildRunTolerations []corev1.Toleration)
pkg/reconciler/buildrun/resources/resource_builders.go:399
↓ 2 callersFunctionmutateImageTimestamp
(image containerreg.Image, timestamp time.Time)
pkg/image/mutate.go:135
↓ 2 callersFunctionparse
(message string)
pkg/git/error_parser.go:138
↓ 2 callersFunctionparseErrorMessage
(raw string)
pkg/git/error_parser.go:217
↓ 2 callersFunctionparsePrefix
(raw string)
pkg/git/error_parser.go:179
↓ 2 callersFunctionreadAndDecode
(filePath string)
test/e2e/v1beta1/validators_test.go:284
↓ 2 callersFunctionreadAndDecode
(filePath string)
test/e2e/v1alpha1/validators_test.go:282
↓ 2 callersFunctionreplaceManifestIn
replaceManifestIn replaces a manifest in an index, because there is no mutate.ReplaceManifests, so therefore, it removes the old one first, and then a
pkg/image/mutate.go:19
↓ 2 callersFunctionsourceTypeFromBuildSpec
(spec *buildapi.BuildSpec)
pkg/reconciler/buildrun/buildrun.go:58
↓ 2 callersFunctionstatusSucceed
()
pkg/webhook/conversion/conversion.go:195
↓ 2 callersFunctionstrategyKindFromBuildSpec
(spec *buildapi.BuildSpec)
pkg/reconciler/buildrun/buildrun.go:65
↓ 2 callersMethodvalidateBuildParams
(parameterDefinitions []buildapi.Parameter)
pkg/validate/strategies.go:99
↓ 2 callersFunctionvalidateBuildRunResultsFromGitSource
(testBuildRun *buildapi.BuildRun)
test/e2e/v1beta1/validators_test.go:158
↓ 2 callersMethodvalidateBuildVolumes
(strategyVolumes []buildapi.BuildStrategyVolume)
pkg/validate/strategies.go:107
↓ 2 callersFunctionvalidateParameters
(parameterDefinitions []buildapi.Parameter, paramValues []buildapi.ParamValue, ignoreMissingParameters bool)
pkg/validate/params.go:27
↓ 2 callersFunctionvalidateStepResources
validateStepResources is the shared validation logic for step resource overrides. It validates that all step resource overrides reference steps that e
pkg/validate/stepresources.go:15
↓ 2 callersMethodvalidateStepResources
validateStepResources validates that all step resource overrides reference steps that exist in the build strategy.
pkg/validate/strategies.go:117
↓ 2 callersFunctionvalidateVolumes
validateBuildVolumes validates build overriding the build strategy volumes. in case it tries to override the non-overridable volume, or volume that do
pkg/validate/volumes.go:27
↓ 1 callersFunctionAdd
Add creates a new ClusterBuildStrategy Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Mana
pkg/reconciler/clusterbuildstrategy/controller.go:22
↓ 1 callersFunctionAdd
Add creates a new BuildRun_ttl_cleanup Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Mana
pkg/reconciler/buildrunttlcleanup/controller.go:30
↓ 1 callersFunctionAdd
Add creates a new build_limit_cleanup Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manag
pkg/reconciler/buildlimitcleanup/controller.go:31
↓ 1 callersFunctionAdd
Add creates a new BuildRun Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Start
pkg/reconciler/buildrun/controller.go:34
↓ 1 callersFunctionAdd
Add creates a new BuildStrategy Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is
pkg/reconciler/buildstrategy/controller.go:22
↓ 1 callersMethodAddMetricsServerExtraHandler
(arg1 string, arg2 http.Handler)
pkg/controller/fakes/manager.go:365
↓ 1 callersMethodAddNodeTaint
AddNodeTaint sets a taint on the given Node name
test/utils/v1beta1/nodes.go:22
↓ 1 callersFunctionAll
All runs all given validations and exists at the first technical error
pkg/validate/validate.go:101
↓ 1 callersFunctionAmendTaskSpecWithSources
AmendTaskSpecWithSources adds the necessary steps to either wait for user upload ("LocalCopy"), or alternatively, configures the Task steps to use bun
pkg/reconciler/buildrun/resources/sources.go:52
← previousnext →201–300 of 1,213, ranked by callers