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
↓ 2 callers
Function
GenerateTaskRun
GenerateTaskRun creates a TaskRun with all build phases as sequential steps.
pkg/reconciler/buildrun/resources/taskrun.go:29
↓ 2 callers
Method
GetBRTillDesiredReason
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 callers
Method
GetBuildRunObject
GetBuildRunObject retrieves an existing BuildRun based on a name and namespace
pkg/reconciler/buildrun/buildrun.go:737
↓ 2 callers
Method
GetConfig
()
pkg/controller/fakes/manager.go:701
↓ 2 callers
Method
GetLabels
GetLabels returns the labels of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:30
↓ 2 callers
Method
GetUnderlyingTaskRuns
GetUnderlyingTaskRun returns the generated TaskRun from using either TaskRun or PipelineRun.
pkg/reconciler/buildrun/imagebuildrunner.go:54
↓ 2 callers
Function
HandleTaskRunParam
HandleTaskRunParam makes the necessary changes to a TaskRun for a parameter
pkg/reconciler/buildrun/resources/params.go:93
↓ 2 callers
Function
IsGeneratedServiceAccountUsed
IsGeneratedServiceAccountUsed checks if a build run uses a generated service account
pkg/reconciler/buildrun/resources/service_accounts.go:39
↓ 2 callers
Function
IsOwnedByBuild
IsOwnedByBuild checks if the controllerReferences contains a well known owner Kind
pkg/reconciler/buildrun/resources/build.go:51
↓ 2 callers
Function
IsSystemReservedParameter
IsSystemReservedParameter verifies if we are using a system reserved parameter name
pkg/reconciler/buildrun/resources/params.go:66
↓ 2 callers
Function
KubeConfig
KubeConfig returns all required clients to speak with the k8s API
test/utils/v1beta1/environment.go:94
↓ 2 callers
Function
KubeConfig
KubeConfig returns all required clients to speak with the k8s API
test/utils/v1alpha1/environment.go:94
↓ 2 callers
Function
ListFiles
ListFiles prints all files in a given directory to the provided writer
pkg/util/filelisting.go:29
↓ 2 callers
Function
LoadImageOrImageIndexFromDirectory
LoadImageOrImageIndexFromDirectory loads an image or an image index from a directory
pkg/image/load.go:20
↓ 2 callers
Function
LoadImageOrImageIndexFromRegistry
LoadImageOrImageIndexFromRegistry loads an image or an image index from a registry
pkg/image/load.go:80
↓ 2 callers
Method
LoadStandAloneBuildRunWithNameAndStrategy
(name string, strategy *buildapi.ClusterBuildStrategy, d []byte)
test/v1beta1_samples/catalog.go:1137
↓ 2 callers
Method
LookupTaskRun
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:65
↓ 2 callers
Method
LookupTaskRun
(entity types.NamespacedName)
test/utils/v1alpha1/lookup.go:65
↓ 2 callers
Method
LookupTaskRunUsingBuildRun
(buildRun *buildapi.BuildRun)
test/utils/v1beta1/lookup.go:76
↓ 2 callers
Method
Match
(actual interface{})
test/utils/v1beta1/gomega.go:114
↓ 2 callers
Function
MergeBuildVolumes
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 callers
Function
MutateImageOrImageIndex
MutateImageOrImageIndex mutates an image or image index with additional annotations and labels
pkg/image/mutate.go:36
↓ 2 callers
Function
MutateImageOrImageIndexTimestamp
(image containerreg.Image, imageIndex containerreg.ImageIndex, timestamp time.Time)
pkg/image/mutate.go:125
↓ 2 callers
Function
NewEnv
NewEnv instantiates a new Env passing the build object pointer along.
pkg/validate/envvars.go:71
↓ 2 callers
Function
NewLogger
NewLogger returns a new Logger instance by using the controller-runtime log/zap logging implementation
pkg/ctxlog/log.go:42
↓ 2 callers
Function
NewLoggerTo
NewLoggerTo returns a new Logger which logs to a given destination.
pkg/ctxlog/log.go:51
↓ 2 callers
Function
NewReconciler
NewReconciler returns a new reconcile.Reconciler
pkg/reconciler/clusterbuildstrategy/clusterbuildstrategy.go:34
↓ 2 callers
Function
NewReconciler
NewReconciler returns a new reconcile.Reconciler
pkg/reconciler/buildstrategy/buildstrategy.go:34
↓ 2 callers
Function
NewSharedInformerFactoryWithOptions
NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options.
pkg/client/informers/externalversions/factory.go:85
↓ 2 callers
Function
NewSourceRef
NewSourcesRef instantiate a new SourcesRef passing the build object pointer along.
pkg/validate/sources.go:57
↓ 2 callers
Function
NewStrategies
(client client.Client, build *buildapi.Build)
pkg/validate/strategies.go:27
↓ 2 callers
Function
NewWaiter
NewWaiter instantiate a new waiter, making sure the timeout informed is acceptable.
cmd/waiter/waiter.go:93
↓ 2 callers
Function
Pack
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 callers
Function
PackAndPush
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 callers
Function
RetrieveBuildStrategy
RetrieveBuildStrategy returns a namespace scoped strategy
pkg/reconciler/buildrun/resources/strategies.go:18
↓ 2 callers
Function
RetrieveClusterBuildStrategy
RetrieveClusterBuildStrategy returns a cluster scoped strategy
pkg/reconciler/buildrun/resources/strategies.go:28
↓ 2 callers
Function
RetrieveServiceAccount
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 callers
Function
RunVulnerabilityScan
(ctx context.Context, imagePath string, settings buildapi.VulnerabilityScanOptions, auth *authn.AuthConfig, in
pkg/image/vulnerability_scan.go:32
↓ 2 callers
Function
SetForbiddenEnvVars
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 callers
Function
SetVersion
SetVersion sets the version of Shipwright build controller from go flags
version/version.go:11
↓ 2 callers
Function
SetupImageProcessing
SetupImageProcessing configures image processing for TaskRun execution.
pkg/reconciler/buildrun/resources/image_processing.go:242
↓ 2 callers
Method
SourceBundle
(image string)
test/e2e/v1alpha1/common_suite_test.go:86
↓ 2 callers
Function
TaskResultName
(sourceName, resultName string)
pkg/reconciler/buildrun/resources/sources/utils.go:73
↓ 2 callers
Method
UpdateBuild
UpdateBR updates a BuildRun on the current test namespace
test/utils/v1beta1/builds.go:31
↓ 2 callers
Function
UpdateBuildRunUsingTaskFailures
UpdateBuildRunUsingTaskFailures is extracting failures from taskRun steps and adding them to buildRun (mutates)
pkg/reconciler/buildrun/resources/failure_details.go:31
↓ 2 callers
Function
UpdateBuildRunUsingTaskResults
UpdateBuildRunUsingTaskResults surface the task results to the buildrun
pkg/reconciler/buildrun/resources/results.go:28
↓ 2 callers
Function
UpdateBuildRunUsingTaskRunCondition
UpdateBuildRunUsingTaskRunCondition updates the BuildRun Succeeded Condition
pkg/reconciler/buildrun/resources/conditions.go:52
↓ 2 callers
Method
UpdateCalls
(stub func(context.Context, client.Object, ...client.UpdateOption) error)
pkg/controller/fakes/client.go:1013
↓ 2 callers
Function
ValidateGitURLExists
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 callers
Method
ValidateImagePlatformsExist
ValidateImagePlatformsExist that the image produced by a BuildRun exists for a set of platforms
test/utils/v1beta1/image.go:97
↓ 2 callers
Function
ValidateMultiArchPreflight
ValidateMultiArchPreflight runs platform, nodeSelector, and executor checks before the reconciler lists Nodes. If this returns (true, "", ""), the cal
pkg/validate/output.go:140
↓ 2 callers
Function
ValidateNodeAvailability
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 callers
Function
ValidateOutputNodeSelector
ValidateOutputNodeSelector checks that nodeSelector does not conflict with output platform scheduling.
pkg/validate/output.go:117
↓ 2 callers
Function
ValidatePlatforms
ValidatePlatforms validates spec.output.platforms when non-empty.
pkg/validate/output.go:92
↓ 2 callers
Method
Wait
Wait wait for the lock-file to be removed, or timeout.
cmd/waiter/waiter.go:68
↓ 2 callers
Method
WithBuildSpec
(buildSpec *buildapialpha.BuildSpec)
test/e2e/v1alpha1/common_suite_test.go:292
↓ 2 callers
Function
addStrategyParametersToTaskSpec
(taskSpec *pipelineapi.TaskSpec, parameterDefinitions []buildapi.Parameter)
pkg/reconciler/buildrun/resources/resource_builders.go:146
↓ 2 callers
Function
appendRegistryInsecureParamValue
(build *buildapialpha.Build, buildRun *buildapialpha.BuildRun)
test/e2e/v1alpha1/validators_test.go:344
↓ 2 callers
Function
applyBuildStrategySteps
( taskSpec *pipelineapi.TaskSpec, build *buildapi.Build, buildRun *buildapi.BuildRun, buildSteps []buildap
pkg/reconciler/buildrun/resources/resource_builders.go:179
↓ 2 callers
Function
applySourcesToTaskSpec
(cfg *config.Config, taskSpec *pipelineapi.TaskSpec, build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:142
↓ 2 callers
Method
asStrings
(actual interface{})
cmd/git/main_suite_test.go:47
↓ 2 callers
Function
contains
(slice []string, element string)
pkg/metrics/metrics.go:220
↓ 2 callers
Function
effectiveTimeout
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:521
↓ 2 callers
Function
extractResultsFromTokens
(tokens []errorToken)
pkg/git/error_parser.go:300
↓ 2 callers
Function
generateBaseTaskSpecParams
()
pkg/reconciler/buildrun/resources/resource_builders.go:35
↓ 2 callers
Function
generateTaskRunMetadata
(build *buildapi.Build, buildRun *buildapi.BuildRun)
pkg/reconciler/buildrun/resources/resource_builders.go:284
↓ 2 callers
Function
generateTaskSpecVolumes
( taskSpec *pipelineapi.TaskSpec, volumeMounts map[string]bool, buildStrategyVolumes []buildapi.BuildStrate
pkg/reconciler/buildrun/resources/resource_builders.go:269
↓ 2 callers
Function
getImageURL
(buildRun *buildapi.BuildRun)
test/utils/v1beta1/image.go:23
↓ 2 callers
Function
getImageURL
(buildRun *buildapialpha.BuildRun)
test/utils/v1alpha1/image.go:23
↓ 2 callers
Method
getRegistryAuthentication
( buildRun *buildapi.BuildRun, ref name.Reference, )
test/utils/v1beta1/image.go:54
↓ 2 callers
Method
getRegistryAuthentication
( buildRun *buildapialpha.BuildRun, ref name.Reference, )
test/utils/v1alpha1/image.go:54
↓ 2 callers
Function
hasFile
(elem ...string)
cmd/git/main.go:524
↓ 2 callers
Function
isPropagatableAnnotation
(key string)
pkg/reconciler/buildrun/resources/resource_builders.go:532
↓ 2 callers
Function
mergeTolerations
(buildTolerations []corev1.Toleration, buildRunTolerations []corev1.Toleration)
pkg/reconciler/buildrun/resources/resource_builders.go:399
↓ 2 callers
Function
mutateImageTimestamp
(image containerreg.Image, timestamp time.Time)
pkg/image/mutate.go:135
↓ 2 callers
Function
parse
(message string)
pkg/git/error_parser.go:138
↓ 2 callers
Function
parseErrorMessage
(raw string)
pkg/git/error_parser.go:217
↓ 2 callers
Function
parsePrefix
(raw string)
pkg/git/error_parser.go:179
↓ 2 callers
Function
readAndDecode
(filePath string)
test/e2e/v1beta1/validators_test.go:284
↓ 2 callers
Function
readAndDecode
(filePath string)
test/e2e/v1alpha1/validators_test.go:282
↓ 2 callers
Function
replaceManifestIn
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 callers
Function
sourceTypeFromBuildSpec
(spec *buildapi.BuildSpec)
pkg/reconciler/buildrun/buildrun.go:58
↓ 2 callers
Function
statusSucceed
()
pkg/webhook/conversion/conversion.go:195
↓ 2 callers
Function
strategyKindFromBuildSpec
(spec *buildapi.BuildSpec)
pkg/reconciler/buildrun/buildrun.go:65
↓ 2 callers
Method
validateBuildParams
(parameterDefinitions []buildapi.Parameter)
pkg/validate/strategies.go:99
↓ 2 callers
Function
validateBuildRunResultsFromGitSource
(testBuildRun *buildapi.BuildRun)
test/e2e/v1beta1/validators_test.go:158
↓ 2 callers
Method
validateBuildVolumes
(strategyVolumes []buildapi.BuildStrategyVolume)
pkg/validate/strategies.go:107
↓ 2 callers
Function
validateParameters
(parameterDefinitions []buildapi.Parameter, paramValues []buildapi.ParamValue, ignoreMissingParameters bool)
pkg/validate/params.go:27
↓ 2 callers
Function
validateStepResources
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 callers
Method
validateStepResources
validateStepResources validates that all step resource overrides reference steps that exist in the build strategy.
pkg/validate/strategies.go:117
↓ 2 callers
Function
validateVolumes
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 callers
Function
Add
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 callers
Function
Add
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 callers
Function
Add
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 callers
Function
Add
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 callers
Function
Add
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 callers
Method
AddMetricsServerExtraHandler
(arg1 string, arg2 http.Handler)
pkg/controller/fakes/manager.go:365
↓ 1 callers
Method
AddNodeTaint
AddNodeTaint sets a taint on the given Node name
test/utils/v1beta1/nodes.go:22
↓ 1 callers
Function
All
All runs all given validations and exists at the first technical error
pkg/validate/validate.go:101
↓ 1 callers
Function
AmendTaskSpecWithSources
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
← previous
next →
201–300 of 1,213, ranked by callers