MCPcopy Create free account

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

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

↓ 1 callersFunctionAppendBundleResult
AppendBundleResult append bundle source result to build run
pkg/reconciler/buildrun/resources/sources/bundle.go:74
↓ 1 callersFunctionAppendBundleStep
AppendBundleStep appends the bundle step to the TaskSpec
pkg/reconciler/buildrun/resources/sources/bundle.go:19
↓ 1 callersFunctionAppendGitResult
AppendGitResult append git source result to build run
pkg/reconciler/buildrun/resources/sources/git.go:121
↓ 1 callersMethodApply
(arg1 context.Context, arg2 runtime.ApplyConfiguration, arg3 ...client.ApplyOption)
pkg/controller/fakes/client.go:195
↓ 1 callersMethodApplyInfrastructureConfiguration
ApplyInfrastructureConfiguration applies service accounts, node selectors, tolerations, and timeouts.
pkg/reconciler/buildrun/resources/executor_generator.go:61
↓ 1 callersMethodApplyMetadataConfiguration
ApplyMetadataConfiguration applies labels, annotations, and owner references.
pkg/reconciler/buildrun/resources/executor_generator.go:63
↓ 1 callersMethodArrayParamValueFromConfigMap
ArrayParamValueFromConfigMap adds an item to an array parameter, if the parameter is not yet present, it is being added
test/e2e/v1beta1/common_suite_test.go:199
↓ 1 callersMethodArrayParamValueFromConfigMap
ArrayParamValueFromConfigMap adds an item to an array parameter, if the parameter is not yet present, it is being added
test/e2e/v1alpha1/common_suite_test.go:150
↓ 1 callersMethodArrayParamValueFromSecret
ArrayParamValueFromSecret adds an item to an array parameter, if the parameter is not yet present, it is being added
test/e2e/v1beta1/common_suite_test.go:213
↓ 1 callersMethodArrayParamValueFromSecret
ArrayParamValueFromSecret adds an item to an array parameter, if the parameter is not yet present, it is being added
test/e2e/v1alpha1/common_suite_test.go:164
↓ 1 callersFunctionBuildCountInc
BuildCountInc increases the total count of registered Builds
pkg/metrics/metrics.go:294
↓ 1 callersFunctionBuildParameters
BuildParameters validates that the parameter values specified in Build are suitable for what is defined in the BuildStrategy
pkg/validate/params.go:16
↓ 1 callersFunctionBuildRunCompletionObserve
BuildRunCompletionObserve sets the build run completion time
pkg/metrics/metrics.go:308
↓ 1 callersFunctionBuildRunEstablishObserve
BuildRunEstablishObserve sets the build run establish time
pkg/metrics/metrics.go:301
↓ 1 callersFunctionBuildRunFailureReasonCountInc
BuildRunFailureReasonCountInc increments the build_buildrun_failure_reason_total counter
pkg/metrics/metrics.go:343
↓ 1 callersFunctionBuildRunFields
BuildRunFields runs field validations against a BuildRun to detect disallowed field combinations and issues
pkg/validate/validate.go:113
↓ 1 callersFunctionBuildRunRampUpDurationObserve
BuildRunRampUpDurationObserve processes the observation of a new buildrun ramp-up duration
pkg/metrics/metrics.go:315
↓ 1 callersFunctionBuildRunResultCountInc
BuildRunResultCountInc increments the build_buildrun_result_total counter
pkg/metrics/metrics.go:336
↓ 1 callersFunctionBuildRunVolumes
BuildRunVolumes is used to validate volumes in the BuildRun object
pkg/validate/volumes.go:19
↓ 1 callersMethodBuildRunWithBuildSnapshot
BuildRunWithBuildSnapshot returns BuildRun Object with a populated BuildSpec in the Status field
test/v1beta1_samples/catalog.go:820
↓ 1 callersMethodBuildRunWithExistingOwnerReferences
BuildRunWithExistingOwnerReferences returns a BuildRun object that is already owned by some fake object
test/v1beta1_samples/catalog.go:845
↓ 1 callersMethodBuildRunWithFakeNamespace
BuildRunWithFakeNamespace returns a BuildRun object with a namespace that does not exist
test/v1beta1_samples/catalog.go:870
↓ 1 callersMethodBuildRunWithNodeSelectorOverride
BuildRunWithNodeSelectorOverride returns a customized BuildRun object that defines a buildspec and overrides the nodeSelector
test/v1beta1_samples/catalog.go:940
↓ 1 callersMethodBuildRunWithSchedulerNameOverride
BuildRunWithSchedulerNameOverride returns a customized BuildRun object that defines a buildspec and overrides the schedulerName
test/v1beta1_samples/catalog.go:976
↓ 1 callersMethodBuildRunWithStepResourcesOverride
BuildRunWithStepResourcesOverride returns a customized BuildRun object that defines a buildspec and overrides the stepResources
test/v1beta1_samples/catalog.go:994
↓ 1 callersMethodBuildRunWithSucceededCondition
BuildRunWithSucceededCondition returns a BuildRun with a single condition of the type Succeeded
test/v1beta1_samples/catalog.go:1012
↓ 1 callersMethodBuildRunWithTolerationsOverride
BuildRunWithTolerationsOverride returns a customized BuildRun object that defines a buildspec and overrides the tolerations
test/v1beta1_samples/catalog.go:958
↓ 1 callersFunctionBuildRunsActiveDec
BuildRunsActiveDec decrements the build_buildruns_active gauge
pkg/metrics/metrics.go:357
↓ 1 callersFunctionBuildRunsActiveInc
BuildRunsActiveInc increments the build_buildruns_active gauge
pkg/metrics/metrics.go:350
↓ 1 callersMethodBuildStep
(buildStep buildapi.Step)
test/e2e/v1beta1/common_cbs_test.go:33
↓ 1 callersFunctionBuildStepResources
BuildStepResources validates that all step resource overrides in the Build reference steps that exist in the build strategy.
pkg/validate/stepresources.go:39
↓ 1 callersMethodBuildStrategy
(name string)
test/e2e/v1beta1/common_suite_test.go:49
↓ 1 callersMethodBuildStrategy
(name string)
test/e2e/v1alpha1/common_suite_test.go:49
↓ 1 callersFunctionBuildStrategyCountSet
BuildStrategyCountSet sets the build_buildstrategy_count gauge
pkg/metrics/metrics.go:364
↓ 1 callersFunctionBuildVolumes
BuildVolumes is used to validate volumes in the Build object
pkg/validate/volumes.go:14
↓ 1 callersMethodBuildWithBuildRunDeletions
BuildWithBuildRunDeletions returns a minimal Build object with the buildapi.shipwright.io/build-run-deletion annotation set to true
test/v1beta1_samples/catalog.go:721
↓ 1 callersMethodBuildWithBuildRunDeletionsAndFakeNS
BuildWithBuildRunDeletionsAndFakeNS returns a minimal Build object with the buildapi.shipwright.io/build-run-deletion annotation set to true in a fake
test/v1beta1_samples/catalog.go:743
↓ 1 callersMethodBuildWithBuildStrategy
BuildWithBuildStrategy gives you an specific Build CRD
test/v1beta1_samples/catalog.go:162
↓ 1 callersMethodBuildWithOutputSecret
BuildWithOutputSecret ....
test/v1beta1_samples/catalog.go:206
↓ 1 callersMethodBuildWithoutStrategyKind
BuildWithoutStrategyKind returns a minimal Build object without an strategy kind definition
test/v1beta1_samples/catalog.go:703
↓ 1 callersMethodCancel
Cancel cancels the execution of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:46
↓ 1 callersFunctionCheckTaskRunVolumesExist
CheckTaskRunVolumesExist tries to find some of the volumes referenced by the BuildRun with all the overrides. If some secret or configmap does not exi
pkg/reconciler/buildrun/resources/volumes.go:26
↓ 1 callersMethodConvertFrom
(context.Context, *unstructured.Unstructured)
pkg/webhook/interface.go:13
↓ 1 callersMethodConvertTo
(context.Context, *unstructured.Unstructured)
pkg/webhook/interface.go:14
↓ 1 callersMethodCreate
()
test/e2e/v1beta1/common_cbs_test.go:48
↓ 1 callersMethodCreate
()
test/e2e/v1beta1/common_suite_test.go:446
↓ 1 callersMethodCreate
()
test/e2e/v1alpha1/common_suite_test.go:403
↓ 1 callersMethodCreateCallCount
()
pkg/controller/fakes/client.go:279
↓ 1 callersMethodCreateImageBuildRunner
CreateImageBuildRunner creates an ImageBuildRunner instance from build configuration. It does not create the ImageBuildRunner in the API server.
pkg/reconciler/buildrun/imagebuildrunner.go:63
↓ 1 callersMethodCreateImageBuildRunnerInCluster
CreateImageBuildRunnerInCluster creates the ImageBuildRunner in the API server.
pkg/reconciler/buildrun/imagebuildrunner.go:69
↓ 1 callersMethodCreateNamespace
This class is intended to host all CRUD calls for Namespace primitive resources CreateNamespace generates a Namespace with the current test name
test/utils/v1beta1/namespaces.go:20
↓ 1 callersMethodCreateSAFromName
This class is intended to host all CRUD calls for testing secrets primitive resources CreateSAFromName creates a simple ServiceAccount with the provid
test/utils/v1beta1/service_accounts.go:16
↓ 1 callersMethodDefaultBuild
DefaultBuild returns a minimal Build object
test/v1alpha1_samples/catalog.go:674
↓ 1 callersMethodDefaultBuildWithFalseRegistered
DefaultBuildWithFalseRegistered returns a minimal Build object with a FALSE Registered
test/v1beta1_samples/catalog.go:765
↓ 1 callersMethodDefaultPipelineRunWithFalseStatus
DefaultPipelineRunWithFalseStatus returns a minimal tekton PipelineRun with a FALSE status
test/v1beta1_samples/catalog.go:1199
↓ 1 callersMethodDefaultPipelineRunWithStatus
DefaultPipelineRunWithStatus returns a minimal tekton PipelineRun with a Status
test/v1beta1_samples/catalog.go:1171
↓ 1 callersMethodDefaultTaskRun
DefaultTaskRun returns a minimal TaskRun object
test/v1beta1_samples/catalog.go:885
↓ 1 callersMethodDefaultTaskRunWithFalseStatus
DefaultTaskRunWithFalseStatus returns a minimal tektont TaskRun with a FALSE status
test/v1beta1_samples/catalog.go:656
↓ 1 callersMethodDefaultTaskRunWithStatus
DefaultTaskRunWithStatus returns a minimal tekton TaskRun with an Status
test/v1beta1_samples/catalog.go:594
↓ 1 callersMethodDeleteArgsForCall
(i int)
pkg/controller/fakes/client.go:354
↓ 1 callersMethodDeleteCallCount
()
pkg/controller/fakes/client.go:342
↓ 1 callersMethodDeleteNamespace
DeleteNamespace deletes the namespace with the current test name and waits for it to be fully deleted to prevent race conditions
test/utils/v1beta1/namespaces.go:53
↓ 1 callersFunctionDeleteServiceAccount
DeleteServiceAccount deletes the service account of a completed BuildRun if the service account was generated
pkg/reconciler/buildrun/resources/service_accounts.go:91
↓ 1 callersMethodDeleteTR
DeleteTR deletes a TaskRun from a desired namespace
test/utils/v1beta1/taskruns.go:107
↓ 1 callersMethodEnv
(key string, value string)
test/e2e/v1beta1/common_suite_test.go:156
↓ 1 callersMethodEnv
(key string, value string)
test/e2e/v1alpha1/common_suite_test.go:112
↓ 1 callersMethodError
()
cmd/image-processing/main.go:37
↓ 1 callersFunctionExecute
()
cmd/shipwright-build-webhook/main.go:55
↓ 1 callersFunctionExtractHostnamePort
ExtractHostnamePort extracts the hostname and port of the provided Git URL
pkg/git/git.go:27
↓ 1 callersFunctionFailWith
(substr string)
cmd/image-processing/main_suite_test.go:20
↓ 1 callersFunctionFailWith
(expected shpgit.ErrorClass)
cmd/git/main_suite_test.go:26
↓ 1 callersMethodGenerateBuildStrategyPhase
GenerateBuildStrategyPhase configures the main build steps from the BuildStrategy.
pkg/reconciler/buildrun/resources/executor_generator.go:57
↓ 1 callersMethodGenerateOutputImagePhase
GenerateOutputImagePhase configures steps for pushing the built image to the registry.
pkg/reconciler/buildrun/resources/executor_generator.go:59
↓ 1 callersFunctionGeneratePipelineRun
GeneratePipelineRun creates a PipelineRun with separate tasks for each build phase.
pkg/reconciler/buildrun/resources/pipelinerun.go:17
↓ 1 callersFunctionGenerateSA
GenerateSA generates a new service account on the fly
pkg/reconciler/buildrun/resources/service_accounts.go:44
↓ 1 callersMethodGenerateSourceAcquisitionPhase
GenerateSourceAcquisitionPhase configures steps for fetching source code into the workspace.
pkg/reconciler/buildrun/resources/executor_generator.go:55
↓ 1 callersMethodGetBR
GetBR retrieves a BuildRun from a desired namespace Deprecated: Use LookupBuildRun instead.
test/utils/v1alpha1/buildruns.go:46
↓ 1 callersMethodGetBRReason
GetBRReason ...
test/utils/v1alpha1/buildruns.go:68
↓ 1 callersMethodGetBRTillDeletion
GetBRTillDeletion polls until a BuildRun is not found, it returns if a timeout is reached
test/utils/v1beta1/buildruns.go:262
↓ 1 callersMethodGetBRTillNotFound
GetBRTillNotFound waits for the buildrun to get deleted. It returns an error if BuildRun is not found
test/utils/v1beta1/buildruns.go:113
↓ 1 callersMethodGetBRTillNotOwner
GetBRTillNotOwner returns a BuildRun that has not an owner. If the timeout is reached or it fails when retrieving the BuildRun it will stop polling an
test/utils/v1beta1/buildruns.go:140
↓ 1 callersMethodGetBRTillOwner
GetBRTillOwner returns a BuildRun that has an owner. If the timeout is reached or it fails when retrieving the BuildRun it will stop polling and retur
test/utils/v1beta1/buildruns.go:172
↓ 1 callersFunctionGetBuildObject
GetBuildObject retrieves an existing Build based on a name and namespace
test/e2e/v1alpha1/common_test.go:262
↓ 1 callersMethodGetCallCount
()
pkg/controller/fakes/client.go:469
↓ 1 callersMethodGetCompletionTime
GetCompletionTime returns the completion time of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:40
↓ 1 callersMethodGetCreationTimestamp
GetCreationTimestamp returns the creation timestamp of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:32
↓ 1 callersMethodGetExecutor
GetExecutor returns the fully configured executor object.
pkg/reconciler/buildrun/resources/executor_generator.go:65
↓ 1 callersMethodGetExecutorKind
GetExecutorKind returns the kind of executor (e.g., "TaskRun", "PipelineRun").
pkg/reconciler/buildrun/imagebuildrunner.go:51
↓ 1 callersMethodGetImage
GetImage loads the image manifest for the image produced by a BuildRun
test/utils/v1alpha1/image.go:44
↓ 1 callersMethodGetImageBuildRunner
GetImageBuildRunner retrieves an ImageBuildRunner from the API server.
pkg/reconciler/buildrun/imagebuildrunner.go:66
↓ 1 callersMethodGetNodes
GetNodes returns all Nodes for the TestBuild object
test/utils/v1beta1/nodes.go:15
↓ 1 callersMethodGetObject
GetObject returns the underlying client.Object for owner reference operations.
pkg/reconciler/buildrun/imagebuildrunner.go:48
↓ 1 callersMethodGetPipelineRunFromBuildRun
GetPipelineRunFromBuildRun retrieves an owned PipelineRun based on the BuildRunName
test/utils/v1beta1/pipelinerun.go:14
↓ 1 callersMethodGetPodName
GetPodName returns the pod name of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:42
↓ 1 callersMethodGetRESTMapper
()
pkg/controller/fakes/manager.go:1141
↓ 1 callersMethodGetResults
GetResults returns the results of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:34
↓ 1 callersMethodGetSA
GetSA retrieves an existing service-account by name Deprecated: Use LookupServiceAccount instead.
test/utils/v1beta1/service_accounts.go:35
↓ 1 callersMethodGetSchemeReturns
(result1 *runtime.Scheme)
pkg/controller/fakes/manager.go:1224
↓ 1 callersMethodGetStartTime
GetStartTime returns the start time of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:38
↓ 1 callersMethodGetTRReason
GetTRReason returns the Reason of the Succeeded condition of an existing TaskRun based on a BuildRun name
test/utils/v1beta1/taskruns.go:73
← previousnext →301–400 of 1,213, ranked by callers