MCPcopy Create free account

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

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

↓ 1 callersMethodGetTRReason
GetTRReason returns the Reason of the Succeeded condition of an existing TaskRun based on a BuildRun name
test/utils/v1alpha1/taskruns.go:73
↓ 1 callersMethodGetTRTillDesiredReason
GetTRTillDesiredReason polls until a TaskRun matches a desired Reason or it exits if an error happen or a timeout is reach.
test/utils/v1beta1/taskruns.go:89
↓ 1 callersMethodGetTaskRunFromBuildRun
This class is intended to host all CRUD calls for testing TaskRuns CRDs resources GetTaskRunFromBuildRun retrieves an owned TaskRun based on the Build
test/utils/v1alpha1/taskruns.go:23
↓ 1 callersFunctionGetVulnerabilityScanOptions
(buildOutput, buildRunOutput buildapi.Image)
pkg/reconciler/buildrun/resources/image_processing.go:292
↓ 1 callersMethodInformer
()
pkg/client/informers/externalversions/generic.go:21
↓ 1 callersMethodInformer
Informer returns the SharedIndexInformer.
pkg/client/informers/externalversions/generic.go:31
↓ 1 callersFunctionInitPrometheus
InitPrometheus initializes the prometheus stuff
pkg/metrics/metrics.go:68
↓ 1 callersMethodInitializeExecutor
InitializeExecutor creates the base executor with metadata and default settings.
pkg/reconciler/buildrun/resources/executor_generator.go:53
↓ 1 callersMethodListBuilds
ListBuilds returns existing Builds from the desired namespace
test/utils/v1beta1/builds.go:57
↓ 1 callersMethodListCallCount
()
pkg/controller/fakes/client.go:660
↓ 1 callersMethodListCalls
(stub func(context.Context, client.ObjectList, ...client.ListOption) error)
pkg/controller/fakes/client.go:666
↓ 1 callersMethodLoadBuildRunFromBytes
LoadBuildRunFromBytes returns a populated BuildRun
test/v1beta1_samples/catalog.go:1116
↓ 1 callersMethodLoadBuildYAML
LoadBuildYAML parses YAML bytes into JSON and from JSON into a Build struct
test/v1beta1_samples/catalog.go:1094
↓ 1 callersMethodLookupBuild
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:47
↓ 1 callersMethodLookupBuild
(entity types.NamespacedName)
test/utils/v1alpha1/lookup.go:47
↓ 1 callersMethodLookupSecret
(entity types.NamespacedName)
test/utils/v1alpha1/lookup.go:25
↓ 1 callersMethodMarkBuildStatus
MarkBuildStatus updates a Build Status fields
pkg/validate/sourceurl.go:59
↓ 1 callersMethodMustCreate
()
test/e2e/v1beta1/common_suite_test.go:454
↓ 1 callersMethodMustCreate
()
test/e2e/v1alpha1/common_suite_test.go:411
↓ 1 callersFunctionNewBuildName
(build *buildapi.Build)
pkg/validate/buildname.go:23
↓ 1 callersFunctionNewClusterBuildStrategyPrototype
()
test/e2e/v1beta1/common_cbs_test.go:22
↓ 1 callersFunctionNewCredentials
(client client.Client, build *buildapi.Build)
pkg/validate/secrets.go:29
↓ 1 callersFunctionNewForConfig
NewForConfig creates a new Clientset for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfig will gene
pkg/client/clientset/versioned/clientset.go:56
↓ 1 callersFunctionNewForConfigAndClient
NewForConfigAndClient creates a new Clientset for the given config and http client. Note the http client provided takes precedence over the configured
pkg/client/clientset/versioned/clientset.go:76
↓ 1 callersFunctionNewNodeSelector
(build *buildapi.Build)
pkg/validate/nodeselector.go:24
↓ 1 callersFunctionNewPipelineRunGenerator
( cfg *config.Config, build *buildapi.Build, buildRun *buildapi.BuildRun, serviceAccountName string, stra
pkg/reconciler/buildrun/resources/pipelinerun_generator.go:39
↓ 1 callersFunctionNewReconciler
(c *config.Config, mgr manager.Manager)
pkg/reconciler/buildrunttlcleanup/buildrun_ttl_cleanup.go:32
↓ 1 callersFunctionNewReconciler
(c *config.Config, mgr manager.Manager)
pkg/reconciler/buildlimitcleanup/build_limit_cleanup.go:31
↓ 1 callersFunctionNewReconciler
NewReconciler returns a new reconcile.Reconciler
pkg/reconciler/buildrun/buildrun.go:118
↓ 1 callersFunctionNewSchedulerName
(build *buildapi.Build)
pkg/validate/scheduler_name.go:24
↓ 1 callersFunctionNewSourceURL
(client client.Client, build *buildapi.Build)
pkg/validate/sourceurl.go:26
↓ 1 callersFunctionNewTaskRunGenerator
( cfg *config.Config, build *buildapi.Build, buildRun *buildapi.BuildRun, serviceAccountName string, stra
pkg/reconciler/buildrun/resources/taskrun_generator.go:33
↓ 1 callersFunctionNewTolerations
(build *buildapi.Build)
pkg/validate/tolerations.go:25
↓ 1 callersFunctionNewTrigger
NewTrigger instantiate Trigger validation helper.
pkg/validate/trigger.go:120
↓ 1 callersMethodOutputTimestamp
(timestampString string)
test/e2e/v1beta1/common_suite_test.go:280
↓ 1 callersMethodOutputTimestamp
(timestampString string)
test/e2e/v1alpha1/common_suite_test.go:237
↓ 1 callersMethodOutputVulnerabilitySettings
(settings buildapi.VulnerabilityScanOptions)
test/e2e/v1beta1/common_suite_test.go:164
↓ 1 callersMethodPatchBuild
PatchBuild patches an existing Build using the merge patch type
test/utils/v1beta1/builds.go:62
↓ 1 callersMethodPatchBuildWithPatchType
PatchBuildWithPatchType patches an existing Build and allows specifying the patch type
test/utils/v1beta1/builds.go:67
↓ 1 callersMethodPatchBuildWithPatchType
PatchBuildWithPatchType patches an existing Build and allows specifying the patch type
test/utils/v1alpha1/builds.go:57
↓ 1 callersMethodPatchCalls
(stub func(context.Context, client.Object, client.Patch, ...client.PatchOption) error)
pkg/controller/fakes/client.go:730
↓ 1 callersMethodPatchSecretWithPatchType
PatchSecretWithPatchType patches a secret with a desire data and patch strategy
test/utils/v1beta1/secrets.go:41
↓ 1 callersMethodPatchSecretWithPatchType
PatchSecretWithPatchType patches a secret with a desire data and patch strategy
test/utils/v1alpha1/secrets.go:41
↓ 1 callersMethodPodWithInitContainerStatus
PodWithInitContainerStatus returns a pod with a single entry under the Status field for InitContainer Status
test/v1beta1_samples/catalog.go:803
↓ 1 callersFunctionPullAndUnpack
PullAndUnpack a container image layer content into a local directory. Analog to the bundle.PackAndPush function, optional remote.Option can be used to
pkg/bundle/bundle.go:72
↓ 1 callersMethodReconcile
Reconcile reads that state of the cluster for a ClusterBuildStrategy object and makes changes based on the state read and what is in the BuildStrategy
pkg/reconciler/clusterbuildstrategy/clusterbuildstrategy.go:44
↓ 1 callersMethodReconcile
Reconcile reads that state of the cluster for a Build object and makes changes based on the state read and what is in the Build.Spec
pkg/reconciler/buildrun/buildrun.go:130
↓ 1 callersMethodReconcile
Reconcile reads that state of the cluster for a BuildStrategy object and makes changes based on the state read and what is in the BuildStrategy.Spec
pkg/reconciler/buildstrategy/buildstrategy.go:44
↓ 1 callersMethodRemoveNodeTaints
RemoveNodeTaints removes all taints on the given Node name
test/utils/v1beta1/nodes.go:40
↓ 1 callersMethodScheme
()
pkg/controller/fakes/client.go:819
↓ 1 callersMethodSecretWithDockerConfigJson
SecretWithDockerConfigJson creates a secret of type dockerconfigjson
test/v1beta1_samples/catalog.go:55
↓ 1 callersFunctionSetupOutputDirectory
SetupOutputDirectory scans existing steps for output-directory parameter references and sets up the necessary volume, parameter, and volume mounts. Re
pkg/reconciler/buildrun/resources/image_processing.go:52
↓ 1 callersMethodShipwright
()
pkg/client/informers/externalversions/factory.go:237
↓ 1 callersMethodShutdown
Shutdown marks a factory as shutting down. At that point no new informers can be started anymore and Start will return without doing anything. In add
pkg/client/informers/externalversions/factory.go:221
↓ 1 callersMethodSourceBundlePrune
(prune buildapi.PruneOption)
test/e2e/v1beta1/common_suite_test.go:125
↓ 1 callersMethodSourceBundlePrune
(prune buildapialpha.PruneOption)
test/e2e/v1alpha1/common_suite_test.go:94
↓ 1 callersMethodSourceCredentials
(name string)
test/e2e/v1beta1/common_suite_test.go:67
↓ 1 callersMethodSourceCredentials
(name string)
test/e2e/v1alpha1/common_suite_test.go:67
↓ 1 callersMethodSourceGitRevision
(revision string)
test/e2e/v1beta1/common_suite_test.go:104
↓ 1 callersMethodSourceGitRevision
(revision string)
test/e2e/v1alpha1/common_suite_test.go:81
↓ 1 callersMethodStatusCallCount
()
pkg/controller/fakes/client.go:890
↓ 1 callersMethodStringParamValue
(name string, value string)
test/e2e/v1beta1/common_suite_test.go:226
↓ 1 callersMethodStringParamValue
(name string, value string)
test/e2e/v1alpha1/common_suite_test.go:177
↓ 1 callersMethodStringParamValueFromConfigMap
(name string, configMapName string, configMapKey string, format *string)
test/e2e/v1beta1/common_suite_test.go:237
↓ 1 callersMethodStringParamValueFromConfigMap
(name string, configMapName string, configMapKey string, format *string)
test/e2e/v1alpha1/common_suite_test.go:188
↓ 1 callersMethodStringParamValueFromSecret
(name string, secretName string, secretKey string, format *string)
test/e2e/v1beta1/common_suite_test.go:252
↓ 1 callersMethodStringParamValueFromSecret
(name string, secretName string, secretKey string, format *string)
test/e2e/v1alpha1/common_suite_test.go:203
↓ 1 callersMethodStubBuildAndPipelineRun
StubBuildAndPipelineRun returns a stub function that handles GET calls for Build and PipelineRun
test/v1beta1_samples/catalog.go:1228
↓ 1 callersMethodStubBuildAndTaskRun
StubBuildAndTaskRun is used to simulate the existence of a Build and a TaskRun when there is a client GET on this two objects
test/v1beta1_samples/catalog.go:314
↓ 1 callersMethodStubBuildCRDs
( b *buildapi.Build, br *buildapi.BuildRun, sa *corev1.ServiceAccount, cb *buildapi.ClusterBuildStrategy,
test/v1beta1_samples/catalog.go:490
↓ 1 callersMethodStubBuildCRDsPodAndTaskRun
StubBuildCRDsPodAndTaskRun stubs different objects in case a client GET call is executed against them
test/v1beta1_samples/catalog.go:521
↓ 1 callersMethodStubBuildRun
StubBuildRun is used to simulate the existence of a BuildRun only when there is a client GET on this object type
test/v1beta1_samples/catalog.go:280
↓ 1 callersMethodStubBuildRunAndTaskRun
StubBuildRunAndTaskRun is used to simulate the existence of a BuildRun and a TaskRun when there is a client GET on this two objects
test/v1beta1_samples/catalog.go:295
↓ 1 callersMethodStubBuildRunGetWithSA
StubBuildRunGetWithSA returns fake object for different client calls
test/v1beta1_samples/catalog.go:428
↓ 1 callersMethodStubBuildRunGetWithSAandStrategies
StubBuildRunGetWithSAandStrategies simulates the output of client GET calls for the BuildRun unit tests
test/v1beta1_samples/catalog.go:451
↓ 1 callersMethodStubBuildRunGetWithTaskRunAndSA
StubBuildRunGetWithTaskRunAndSA returns fake object for different client calls
test/v1beta1_samples/catalog.go:401
↓ 1 callersMethodStubBuildRunGetWithoutSA
StubBuildRunGetWithoutSA simulates the output of client GET calls for the BuildRun unit tests
test/v1beta1_samples/catalog.go:382
↓ 1 callersMethodStubBuildRunStatus
StubBuildRunStatus asserts Status fields on a BuildRun resource
test/v1beta1_samples/catalog.go:348
↓ 1 callersMethodStubBuildUpdateOwnerReferences
StubBuildUpdateOwnerReferences simulates and assert an updated BuildRun object ownerreferences
test/v1beta1_samples/catalog.go:264
↓ 1 callersMethodStubFunc
StubFunc is used to simulate the status of the Build after a .Status().Update() call in the controller. This receives a parameter to return an specifi
test/v1beta1_samples/catalog.go:250
↓ 1 callersFunctionTaskRunPodRampUpDurationObserve
TaskRunPodRampUpDurationObserve processes the observation of a new taskrun pod ramp-up duration
pkg/metrics/metrics.go:329
↓ 1 callersFunctionTaskRunRampUpDurationObserve
TaskRunRampUpDurationObserve processes the observation of a new taskrun ramp-up duration
pkg/metrics/metrics.go:322
↓ 1 callersMethodTaskRunWithCompletionAndStartTime
TaskRunWithCompletionAndStartTime provides a TaskRun object with a Completion and StartTime
test/v1beta1_samples/catalog.go:623
↓ 1 callersMethodTaskRunWithStatus
TaskRunWithStatus returns a minimal tekton TaskRun with an Status
test/v1beta1_samples/catalog.go:559
↓ 1 callersFunctionTaskSpecVolumes
TaskSpecVolumes creates a list of Volumes for the generated TaskSpec object and checks for some erroneous situations around volumes and volume mounts
pkg/volumes/volumes.go:18
↓ 1 callersMethodTestMe
(f func(clusterBuildStrategy *buildapi.ClusterBuildStrategy))
test/e2e/v1beta1/common_cbs_test.go:73
↓ 1 callersFunctionToUnstructured
(conversionReview apiextensionsv1.ConversionReview)
pkg/webhook/conversion/converter_test.go:1808
↓ 1 callersMethodUpdateArgsForCall
(i int)
pkg/controller/fakes/client.go:1019
↓ 1 callersFunctionUpdateBuildRunUsingPipelineRunCondition
UpdateBuildRunUsingPipelineRunCondition updates the BuildRun Succeeded Condition for PipelineRun conditions
pkg/reconciler/buildrun/resources/conditions.go:182
↓ 1 callersMethodUpdateCallCount
()
pkg/controller/fakes/client.go:1007
↓ 1 callersFunctionUpdateConditionWithFalseStatus
(ctx context.Context, client client.Client, buildRun *buildapialpha.BuildRun, errorMessage string, reason stri
test/e2e/v1alpha1/common_test.go:292
↓ 1 callersFunctionUpdateImageBuildRunFromExecutor
UpdateImageBuildRunFromExecutor updates the BuildRun status based on the executor object type
pkg/reconciler/buildrun/resources/conditions.go:397
↓ 1 callersMethodUpdateTaskRun
UpdateTaskRun applies changes to a TaskRun object
test/utils/v1beta1/taskruns.go:43
↓ 1 callersFunctionValidatePipelineRunExecutor
ValidatePipelineRunExecutor checks that the controller is configured with PipelineRun executor mode, which is required for multi-arch builds to orches
pkg/validate/output.go:129
↓ 1 callersMethodVerifyRequestName
VerifyRequestName parse a Reconcile request name and looks for an associated BuildRun name If the BuildRun object exists and is not yet completed, it
pkg/reconciler/buildrun/buildrun.go:743
↓ 1 callersMethodWaitForCacheSync
WaitForCacheSync blocks until all started informers' caches were synced or the stop channel gets closed.
pkg/client/informers/externalversions/factory.go:225
↓ 1 callersFunctionWithNamespace
WithNamespace limits the SharedInformerFactory to the specified namespace.
pkg/client/informers/externalversions/factory.go:64
↓ 1 callersFunctionWithTweakListOptions
WithTweakListOptions sets a custom filter on all listers of the configured SharedInformerFactory.
pkg/client/informers/externalversions/factory.go:56
↓ 1 callersFunctionadd
add adds a new Controller to mgr with r as the reconcile.Reconciler
pkg/reconciler/clusterbuildstrategy/controller.go:27
↓ 1 callersFunctionadd
(mgr manager.Manager, r reconcile.Reconciler, maxConcurrentReconciles int)
pkg/reconciler/buildrunttlcleanup/controller.go:83
← previousnext →401–500 of 1,213, ranked by callers