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
AppendBundleResult
AppendBundleResult append bundle source result to build run
pkg/reconciler/buildrun/resources/sources/bundle.go:74
↓ 1 callers
Function
AppendBundleStep
AppendBundleStep appends the bundle step to the TaskSpec
pkg/reconciler/buildrun/resources/sources/bundle.go:19
↓ 1 callers
Function
AppendGitResult
AppendGitResult append git source result to build run
pkg/reconciler/buildrun/resources/sources/git.go:121
↓ 1 callers
Method
Apply
(arg1 context.Context, arg2 runtime.ApplyConfiguration, arg3 ...client.ApplyOption)
pkg/controller/fakes/client.go:195
↓ 1 callers
Method
ApplyInfrastructureConfiguration
ApplyInfrastructureConfiguration applies service accounts, node selectors, tolerations, and timeouts.
pkg/reconciler/buildrun/resources/executor_generator.go:61
↓ 1 callers
Method
ApplyMetadataConfiguration
ApplyMetadataConfiguration applies labels, annotations, and owner references.
pkg/reconciler/buildrun/resources/executor_generator.go:63
↓ 1 callers
Method
ArrayParamValueFromConfigMap
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 callers
Method
ArrayParamValueFromConfigMap
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 callers
Method
ArrayParamValueFromSecret
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 callers
Method
ArrayParamValueFromSecret
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 callers
Function
BuildCountInc
BuildCountInc increases the total count of registered Builds
pkg/metrics/metrics.go:294
↓ 1 callers
Function
BuildParameters
BuildParameters validates that the parameter values specified in Build are suitable for what is defined in the BuildStrategy
pkg/validate/params.go:16
↓ 1 callers
Function
BuildRunCompletionObserve
BuildRunCompletionObserve sets the build run completion time
pkg/metrics/metrics.go:308
↓ 1 callers
Function
BuildRunEstablishObserve
BuildRunEstablishObserve sets the build run establish time
pkg/metrics/metrics.go:301
↓ 1 callers
Function
BuildRunFailureReasonCountInc
BuildRunFailureReasonCountInc increments the build_buildrun_failure_reason_total counter
pkg/metrics/metrics.go:343
↓ 1 callers
Function
BuildRunFields
BuildRunFields runs field validations against a BuildRun to detect disallowed field combinations and issues
pkg/validate/validate.go:113
↓ 1 callers
Function
BuildRunRampUpDurationObserve
BuildRunRampUpDurationObserve processes the observation of a new buildrun ramp-up duration
pkg/metrics/metrics.go:315
↓ 1 callers
Function
BuildRunResultCountInc
BuildRunResultCountInc increments the build_buildrun_result_total counter
pkg/metrics/metrics.go:336
↓ 1 callers
Function
BuildRunVolumes
BuildRunVolumes is used to validate volumes in the BuildRun object
pkg/validate/volumes.go:19
↓ 1 callers
Method
BuildRunWithBuildSnapshot
BuildRunWithBuildSnapshot returns BuildRun Object with a populated BuildSpec in the Status field
test/v1beta1_samples/catalog.go:820
↓ 1 callers
Method
BuildRunWithExistingOwnerReferences
BuildRunWithExistingOwnerReferences returns a BuildRun object that is already owned by some fake object
test/v1beta1_samples/catalog.go:845
↓ 1 callers
Method
BuildRunWithFakeNamespace
BuildRunWithFakeNamespace returns a BuildRun object with a namespace that does not exist
test/v1beta1_samples/catalog.go:870
↓ 1 callers
Method
BuildRunWithNodeSelectorOverride
BuildRunWithNodeSelectorOverride returns a customized BuildRun object that defines a buildspec and overrides the nodeSelector
test/v1beta1_samples/catalog.go:940
↓ 1 callers
Method
BuildRunWithSchedulerNameOverride
BuildRunWithSchedulerNameOverride returns a customized BuildRun object that defines a buildspec and overrides the schedulerName
test/v1beta1_samples/catalog.go:976
↓ 1 callers
Method
BuildRunWithStepResourcesOverride
BuildRunWithStepResourcesOverride returns a customized BuildRun object that defines a buildspec and overrides the stepResources
test/v1beta1_samples/catalog.go:994
↓ 1 callers
Method
BuildRunWithSucceededCondition
BuildRunWithSucceededCondition returns a BuildRun with a single condition of the type Succeeded
test/v1beta1_samples/catalog.go:1012
↓ 1 callers
Method
BuildRunWithTolerationsOverride
BuildRunWithTolerationsOverride returns a customized BuildRun object that defines a buildspec and overrides the tolerations
test/v1beta1_samples/catalog.go:958
↓ 1 callers
Function
BuildRunsActiveDec
BuildRunsActiveDec decrements the build_buildruns_active gauge
pkg/metrics/metrics.go:357
↓ 1 callers
Function
BuildRunsActiveInc
BuildRunsActiveInc increments the build_buildruns_active gauge
pkg/metrics/metrics.go:350
↓ 1 callers
Method
BuildStep
(buildStep buildapi.Step)
test/e2e/v1beta1/common_cbs_test.go:33
↓ 1 callers
Function
BuildStepResources
BuildStepResources validates that all step resource overrides in the Build reference steps that exist in the build strategy.
pkg/validate/stepresources.go:39
↓ 1 callers
Method
BuildStrategy
(name string)
test/e2e/v1beta1/common_suite_test.go:49
↓ 1 callers
Method
BuildStrategy
(name string)
test/e2e/v1alpha1/common_suite_test.go:49
↓ 1 callers
Function
BuildStrategyCountSet
BuildStrategyCountSet sets the build_buildstrategy_count gauge
pkg/metrics/metrics.go:364
↓ 1 callers
Function
BuildVolumes
BuildVolumes is used to validate volumes in the Build object
pkg/validate/volumes.go:14
↓ 1 callers
Method
BuildWithBuildRunDeletions
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 callers
Method
BuildWithBuildRunDeletionsAndFakeNS
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 callers
Method
BuildWithBuildStrategy
BuildWithBuildStrategy gives you an specific Build CRD
test/v1beta1_samples/catalog.go:162
↓ 1 callers
Method
BuildWithOutputSecret
BuildWithOutputSecret ....
test/v1beta1_samples/catalog.go:206
↓ 1 callers
Method
BuildWithoutStrategyKind
BuildWithoutStrategyKind returns a minimal Build object without an strategy kind definition
test/v1beta1_samples/catalog.go:703
↓ 1 callers
Method
Cancel
Cancel cancels the execution of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:46
↓ 1 callers
Function
CheckTaskRunVolumesExist
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 callers
Method
ConvertFrom
(context.Context, *unstructured.Unstructured)
pkg/webhook/interface.go:13
↓ 1 callers
Method
ConvertTo
(context.Context, *unstructured.Unstructured)
pkg/webhook/interface.go:14
↓ 1 callers
Method
Create
()
test/e2e/v1beta1/common_cbs_test.go:48
↓ 1 callers
Method
Create
()
test/e2e/v1beta1/common_suite_test.go:446
↓ 1 callers
Method
Create
()
test/e2e/v1alpha1/common_suite_test.go:403
↓ 1 callers
Method
CreateCallCount
()
pkg/controller/fakes/client.go:279
↓ 1 callers
Method
CreateImageBuildRunner
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 callers
Method
CreateImageBuildRunnerInCluster
CreateImageBuildRunnerInCluster creates the ImageBuildRunner in the API server.
pkg/reconciler/buildrun/imagebuildrunner.go:69
↓ 1 callers
Method
CreateNamespace
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 callers
Method
CreateSAFromName
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 callers
Method
DefaultBuild
DefaultBuild returns a minimal Build object
test/v1alpha1_samples/catalog.go:674
↓ 1 callers
Method
DefaultBuildWithFalseRegistered
DefaultBuildWithFalseRegistered returns a minimal Build object with a FALSE Registered
test/v1beta1_samples/catalog.go:765
↓ 1 callers
Method
DefaultPipelineRunWithFalseStatus
DefaultPipelineRunWithFalseStatus returns a minimal tekton PipelineRun with a FALSE status
test/v1beta1_samples/catalog.go:1199
↓ 1 callers
Method
DefaultPipelineRunWithStatus
DefaultPipelineRunWithStatus returns a minimal tekton PipelineRun with a Status
test/v1beta1_samples/catalog.go:1171
↓ 1 callers
Method
DefaultTaskRun
DefaultTaskRun returns a minimal TaskRun object
test/v1beta1_samples/catalog.go:885
↓ 1 callers
Method
DefaultTaskRunWithFalseStatus
DefaultTaskRunWithFalseStatus returns a minimal tektont TaskRun with a FALSE status
test/v1beta1_samples/catalog.go:656
↓ 1 callers
Method
DefaultTaskRunWithStatus
DefaultTaskRunWithStatus returns a minimal tekton TaskRun with an Status
test/v1beta1_samples/catalog.go:594
↓ 1 callers
Method
DeleteArgsForCall
(i int)
pkg/controller/fakes/client.go:354
↓ 1 callers
Method
DeleteCallCount
()
pkg/controller/fakes/client.go:342
↓ 1 callers
Method
DeleteNamespace
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 callers
Function
DeleteServiceAccount
DeleteServiceAccount deletes the service account of a completed BuildRun if the service account was generated
pkg/reconciler/buildrun/resources/service_accounts.go:91
↓ 1 callers
Method
DeleteTR
DeleteTR deletes a TaskRun from a desired namespace
test/utils/v1beta1/taskruns.go:107
↓ 1 callers
Method
Env
(key string, value string)
test/e2e/v1beta1/common_suite_test.go:156
↓ 1 callers
Method
Env
(key string, value string)
test/e2e/v1alpha1/common_suite_test.go:112
↓ 1 callers
Method
Error
()
cmd/image-processing/main.go:37
↓ 1 callers
Function
Execute
()
cmd/shipwright-build-webhook/main.go:55
↓ 1 callers
Function
ExtractHostnamePort
ExtractHostnamePort extracts the hostname and port of the provided Git URL
pkg/git/git.go:27
↓ 1 callers
Function
FailWith
(substr string)
cmd/image-processing/main_suite_test.go:20
↓ 1 callers
Function
FailWith
(expected shpgit.ErrorClass)
cmd/git/main_suite_test.go:26
↓ 1 callers
Method
GenerateBuildStrategyPhase
GenerateBuildStrategyPhase configures the main build steps from the BuildStrategy.
pkg/reconciler/buildrun/resources/executor_generator.go:57
↓ 1 callers
Method
GenerateOutputImagePhase
GenerateOutputImagePhase configures steps for pushing the built image to the registry.
pkg/reconciler/buildrun/resources/executor_generator.go:59
↓ 1 callers
Function
GeneratePipelineRun
GeneratePipelineRun creates a PipelineRun with separate tasks for each build phase.
pkg/reconciler/buildrun/resources/pipelinerun.go:17
↓ 1 callers
Function
GenerateSA
GenerateSA generates a new service account on the fly
pkg/reconciler/buildrun/resources/service_accounts.go:44
↓ 1 callers
Method
GenerateSourceAcquisitionPhase
GenerateSourceAcquisitionPhase configures steps for fetching source code into the workspace.
pkg/reconciler/buildrun/resources/executor_generator.go:55
↓ 1 callers
Method
GetBR
GetBR retrieves a BuildRun from a desired namespace Deprecated: Use LookupBuildRun instead.
test/utils/v1alpha1/buildruns.go:46
↓ 1 callers
Method
GetBRReason
GetBRReason ...
test/utils/v1alpha1/buildruns.go:68
↓ 1 callers
Method
GetBRTillDeletion
GetBRTillDeletion polls until a BuildRun is not found, it returns if a timeout is reached
test/utils/v1beta1/buildruns.go:262
↓ 1 callers
Method
GetBRTillNotFound
GetBRTillNotFound waits for the buildrun to get deleted. It returns an error if BuildRun is not found
test/utils/v1beta1/buildruns.go:113
↓ 1 callers
Method
GetBRTillNotOwner
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 callers
Method
GetBRTillOwner
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 callers
Function
GetBuildObject
GetBuildObject retrieves an existing Build based on a name and namespace
test/e2e/v1alpha1/common_test.go:262
↓ 1 callers
Method
GetCallCount
()
pkg/controller/fakes/client.go:469
↓ 1 callers
Method
GetCompletionTime
GetCompletionTime returns the completion time of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:40
↓ 1 callers
Method
GetCreationTimestamp
GetCreationTimestamp returns the creation timestamp of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:32
↓ 1 callers
Method
GetExecutor
GetExecutor returns the fully configured executor object.
pkg/reconciler/buildrun/resources/executor_generator.go:65
↓ 1 callers
Method
GetExecutorKind
GetExecutorKind returns the kind of executor (e.g., "TaskRun", "PipelineRun").
pkg/reconciler/buildrun/imagebuildrunner.go:51
↓ 1 callers
Method
GetImage
GetImage loads the image manifest for the image produced by a BuildRun
test/utils/v1alpha1/image.go:44
↓ 1 callers
Method
GetImageBuildRunner
GetImageBuildRunner retrieves an ImageBuildRunner from the API server.
pkg/reconciler/buildrun/imagebuildrunner.go:66
↓ 1 callers
Method
GetNodes
GetNodes returns all Nodes for the TestBuild object
test/utils/v1beta1/nodes.go:15
↓ 1 callers
Method
GetObject
GetObject returns the underlying client.Object for owner reference operations.
pkg/reconciler/buildrun/imagebuildrunner.go:48
↓ 1 callers
Method
GetPipelineRunFromBuildRun
GetPipelineRunFromBuildRun retrieves an owned PipelineRun based on the BuildRunName
test/utils/v1beta1/pipelinerun.go:14
↓ 1 callers
Method
GetPodName
GetPodName returns the pod name of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:42
↓ 1 callers
Method
GetRESTMapper
()
pkg/controller/fakes/manager.go:1141
↓ 1 callers
Method
GetResults
GetResults returns the results of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:34
↓ 1 callers
Method
GetSA
GetSA retrieves an existing service-account by name Deprecated: Use LookupServiceAccount instead.
test/utils/v1beta1/service_accounts.go:35
↓ 1 callers
Method
GetSchemeReturns
(result1 *runtime.Scheme)
pkg/controller/fakes/manager.go:1224
↓ 1 callers
Method
GetStartTime
GetStartTime returns the start time of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:38
↓ 1 callers
Method
GetTRReason
GetTRReason returns the Reason of the Succeeded condition of an existing TaskRun based on a BuildRun name
test/utils/v1beta1/taskruns.go:73
← previous
next →
301–400 of 1,213, ranked by callers