MCPcopy Create free account

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

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

↓ 80 callersMethodGet
(arg1 context.Context, arg2 client.ObjectKey, arg3 client.Object, arg4 ...client.GetOption)
pkg/controller/fakes/client.go:447
↓ 46 callersMethodString
()
pkg/git/error_parser.go:79
↓ 43 callersMethodGetCondition
GetCondition returns the condition of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:36
↓ 29 callersMethodShipwrightV1beta1
()
pkg/client/clientset/versioned/clientset.go:23
↓ 25 callersMethodShipwrightV1alpha1
()
pkg/client/clientset/versioned/clientset.go:22
↓ 23 callersMethodCreate
()
test/e2e/v1beta1/common_suite_test.go:285
↓ 23 callersMethodDeleteBuild
DeleteBuild deletes a Build on the desired namespace
test/utils/v1beta1/builds.go:41
↓ 21 callersMethodDelete
(arg1 context.Context, arg2 client.Object, arg3 ...client.DeleteOption)
pkg/controller/fakes/client.go:321
↓ 21 callersFunctionInfo
Info returns an INFO level log from an specified context
pkg/ctxlog/log.go:71
↓ 20 callersMethodrecordInvocation
(key string, args []interface{})
pkg/controller/fakes/manager.go:1371
↓ 18 callersMethodCreateBR
This class is intended to host all CRUD calls for testing BuildRun CRDs resources CreateBR generates a BuildRun on the current test namespace
test/utils/v1beta1/buildruns.go:24
↓ 17 callersMethodDeleteBR
DeleteBR deletes a BuildRun from a desired namespace
test/utils/v1beta1/buildruns.go:57
↓ 17 callersMethodError
()
pkg/reconciler/buildrun/resources/errors.go:47
↓ 16 callersMethodList
(arg1 context.Context, arg2 client.ObjectList, arg3 ...client.ListOption)
pkg/controller/fakes/client.go:639
↓ 16 callersMethodName
(name string)
test/e2e/v1beta1/common_suite_test.go:39
↓ 14 callersMethodrecordInvocation
(key string, args []interface{})
pkg/controller/fakes/client.go:1059
↓ 13 callersMethodCreateBuild
This class is intended to host all CRUD calls for testing Build CRDs resources CreateBuild generates a Build on the current test namespace
test/utils/v1beta1/builds.go:23
↓ 13 callersMethodGetBR
GetBR retrieves a BuildRun from a desired namespace Deprecated: Use LookupBuildRun instead.
test/utils/v1beta1/buildruns.go:46
↓ 13 callersMethodLookupBuildRun
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:56
↓ 12 callersFunctionBuildServerTLSConfig
BuildServerTLSConfig builds a tls.Config for serving HTTPS. Defaults: - Minimum TLS version is TLS 1.2. - Cipher suites and curve preferences are lef
pkg/webhook/tlsconfig/tlsconfig.go:26
↓ 12 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/v1beta1/taskruns.go:23
↓ 12 callersFunctionLogf
Logf logs data
test/e2e/v1beta1/common_suite_test.go:465
↓ 12 callersFunctionLogf
Logf logs data
test/e2e/v1alpha1/common_suite_test.go:422
↓ 11 callersMethodCreateClusterBuildStrategy
This class is intended to host all CRUD calls for testing ClusterBuildStrategy CRDs resources CreateClusterBuildStrategy generates a ClusterBuildStrat
test/utils/v1beta1/clusterbuildstrategies.go:16
↓ 11 callersFunctionDebug
Debug returns an DEBUG level log from an specified context
pkg/ctxlog/log.go:65
↓ 11 callersMethodDeleteClusterBuildStrategy
DeleteClusterBuildStrategy deletes a ClusterBuildStrategy on the desired namespace
test/utils/v1beta1/clusterbuildstrategies.go:27
↓ 11 callersMethodError
()
cmd/git/main.go:50
↓ 11 callersMethodGetBuildTillValidation
GetBuildTillValidation polls until a Build gets a validation and updates it´s registered field. If timeout is reached or an error is found, it will re
test/utils/v1beta1/builds.go:79
↓ 11 callersMethodLoadBuildWithNameAndStrategy
LoadBuildWithNameAndStrategy returns a populated Build with name and a referenced strategy
test/v1beta1_samples/catalog.go:1104
↓ 11 callersMethodLoadCBSWithName
LoadCBSWithName returns a populated ClusterBuildStrategy with a name
test/v1beta1_samples/catalog.go:1160
↓ 10 callersMethodAdd
(arg1 manager.Runnable)
pkg/controller/fakes/manager.go:242
↓ 10 callersFunctionError
Error returns an ERROR level log from an specified context
pkg/ctxlog/log.go:59
↓ 10 callersMethodGetBRTillCompletion
GetBRTillCompletion returns a BuildRun that have a CompletionTime set. If the timeout is reached or it fails when retrieving the BuildRun it will stop
test/utils/v1beta1/buildruns.go:83
↓ 10 callersFunctionNewDefaultConfig
NewDefaultConfig returns a new Config, with context timeout and default Kaniko image.
pkg/config/config.go:193
↓ 10 callersMethodUpdate
(arg1 context.Context, arg2 client.Object, arg3 ...client.UpdateOption)
pkg/controller/fakes/client.go:986
↓ 10 callersMethodValidatePath
(ctx context.Context)
pkg/validate/validate.go:57
↓ 9 callersMethodGetBuild
GetBuild returns a Build based on name Deprecated: Use LookupBuild instead
test/utils/v1beta1/builds.go:51
↓ 9 callersMethodGetName
GetName returns the name of the build runner.
pkg/reconciler/buildrun/imagebuildrunner.go:28
↓ 9 callersMethodLoadBRWithNameAndRef
LoadBRWithNameAndRef returns a populated BuildRun with a name and a referenced Build
test/v1beta1_samples/catalog.go:1126
↓ 9 callersFunctioncreateBuildRunLabels
(buildStrategy, namespace, build, buildRun, strategyKind, executor, sourceType string)
pkg/metrics/metrics.go:251
↓ 9 callersFunctiongenerateTestID
(id string)
test/e2e/v1beta1/common_test.go:30
↓ 8 callersMethodCreateSecret
This class is intended to host all CRUD calls for testing secrets primitive resources CreateSecret generates a Secret on the current test namespace
test/utils/v1beta1/secrets.go:16
↓ 8 callersMethodPatch
(arg1 context.Context, arg2 client.Object, arg3 client.Patch, arg4 ...client.PatchOption)
pkg/controller/fakes/client.go:702
↓ 8 callersMethodValidateImageDigest
ValidateImageDigest ensures that an image digest is set in the BuildRun status and that this digest is pointing to an image
test/utils/v1beta1/image.go:108
↓ 7 callersMethodGetBRTillStartTime
GetBRTillStartTime returns a BuildRun that have a StartTime set. If the timeout is reached or it fails when retrieving the BuildRun it will stop polli
test/utils/v1beta1/buildruns.go:204
↓ 7 callersFunctionHandleError
HandleError returns multiple errors if each error is not nil. And its error message.
pkg/reconciler/buildrun/resources/errors.go:59
↓ 7 callersFunctionUpdateConditionWithFalseStatus
UpdateConditionWithFalseStatus sets the Succeeded condition fields and mark the condition as Status False. It also updates the object in the cluster b
pkg/reconciler/buildrun/resources/conditions.go:378
↓ 7 callersMethodlookupRuntimeObject
(f func(ctx context.Context) (runtime.Object, error))
test/utils/v1beta1/lookup.go:126
↓ 7 callersMethodlookupRuntimeObject
(f func(ctx context.Context) (runtime.Object, error))
test/utils/v1alpha1/lookup.go:125
↓ 7 callersFunctionprintTestFailureDebugInfo
printTestFailureDebugInfo will output the status of Build, BuildRun, TaskRun and Pod, also print logs of Pod
test/e2e/v1beta1/common_test.go:154
↓ 7 callersFunctionvalidateBuildRunToSucceed
validateBuildRunToSucceed creates the build run and watches its flow until it succeeds.
test/e2e/v1beta1/validators_test.go:116
↓ 7 callersFunctionvalidateServiceAccountDeletion
validateServiceAccountDeletion validates that a service account is correctly deleted after the end of a build run and depending on the state of the bu
test/e2e/v1beta1/validators_test.go:259
↓ 6 callersFunctionAddToScheme
AddToScheme adds all Resources to the Scheme
pkg/apis/apis.go:15
↓ 6 callersMethodGetCalls
(stub func(context.Context, client.ObjectKey, client.Object, ...client.GetOption) error)
pkg/controller/fakes/client.go:475
↓ 6 callersFunctionIsForbiddenEnvVar
(name string)
pkg/env/env.go:40
↓ 6 callersMethodNamespace
(namespace string)
test/e2e/v1beta1/common_suite_test.go:44
↓ 6 callersFunctionNewBuildPrototype
()
test/e2e/v1beta1/common_suite_test.go:33
↓ 6 callersFunctionNewBuildRunPrototype
()
test/e2e/v1beta1/common_suite_test.go:315
↓ 6 callersMethodOutputImage
(image string)
test/e2e/v1beta1/common_suite_test.go:151
↓ 6 callersMethodSet
(s string)
pkg/reconciler/buildrun/resources/image_processing.go:33
↓ 6 callersFunctionTestClient
()
test/utils/webhook.go:20
↓ 6 callersFunctiongenerateTestID
(id string)
test/e2e/v1alpha1/common_test.go:34
↓ 5 callersMethodClusterBuildStrategy
(name string)
test/e2e/v1beta1/common_suite_test.go:58
↓ 5 callersMethodCreate
()
test/e2e/v1alpha1/common_suite_test.go:242
↓ 5 callersMethodDeleteSecret
DeleteSecret removes the desired secret
test/utils/v1beta1/secrets.go:26
↓ 5 callersMethodGetCache
()
pkg/controller/fakes/manager.go:595
↓ 5 callersMethodGetClient
()
pkg/controller/fakes/manager.go:648
↓ 5 callersFunctionGetOptions
GetOptions constructs go-containerregistry options to access the remote registry, in addition, it returns the authentication separately which can be a
pkg/image/options.go:49
↓ 5 callersMethodOutputImageCredentials
(name string)
test/e2e/v1beta1/common_suite_test.go:267
↓ 5 callersMethodOutputImageInsecure
(insecure bool)
test/e2e/v1beta1/common_suite_test.go:274
↓ 5 callersFunctionSanitizeVolumeNameForSecretName
SanitizeVolumeNameForSecretName creates the name of a Volume for a Secret
pkg/reconciler/buildrun/resources/sources/utils.go:58
↓ 5 callersFunctionSetupHomeAndTmpVolumes
SetupHomeAndTmpVolumes creates writeable `emptyDir` volumes for the task step's `HOME` and `TMPDIR` locations, mounts them to well-known locations, an
pkg/reconciler/buildrun/resources/sources/utils.go:94
↓ 5 callersMethodStart
(stopCh <-chan struct{})
pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go:23
↓ 5 callersFunctionbuildRunTestData
buildTestData gets the us the Build test data set up
test/e2e/v1beta1/validators_test.go:317
↓ 5 callersFunctioncreateBuild
(testBuild *utils.TestBuild, identifier string, filePath string)
test/e2e/v1beta1/common_test.go:38
↓ 5 callersFunctionisStepReferencingParameter
isStepReferencingParameter checks if a step is referencing a parameter in its command, args, or environment variable values
pkg/reconciler/buildrun/resources/params.go:352
↓ 5 callersFunctionprintTestFailureDebugInfo
printTestFailureDebugInfo will output the status of Build, BuildRun, TaskRun and Pod, also print logs of Pod
test/e2e/v1alpha1/common_test.go:158
↓ 5 callersFunctionvalidateBuildRunToSucceed
validateBuildRunToSucceed creates the build run and watches its flow until it succeeds.
test/e2e/v1alpha1/validators_test.go:117
↓ 5 callersFunctionvalidateServiceAccountDeletion
validateServiceAccountDeletion validates that a service account is correctly deleted after the end of a build run and depending on the state of the bu
test/e2e/v1alpha1/validators_test.go:257
↓ 4 callersFunctionAppendSecretVolume
AppendSecretVolume checks if a volume for a secret already exists, if not it appends it to the TaskSpec
pkg/reconciler/buildrun/resources/sources/utils.go:32
↓ 4 callersMethodArrayParamValue
ArrayParamValue 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:189
↓ 4 callersMethodBuildSpec
BuildSpec returns the BuildSpec of this Build (no cluster resource is created)
test/e2e/v1beta1/common_suite_test.go:311
↓ 4 callersFunctionCRDConvertHandler
CRDConvertHandler is a handle func for the /convert endpoint
pkg/webhook/conversion/conversion.go:57
↓ 4 callersMethodDefaultBuildRun
DefaultBuildRun returns a minimal BuildRun object
test/v1beta1_samples/catalog.go:784
↓ 4 callersMethodDeleteBuildStrategy
DeleteBuildStrategy deletes a BuildStrategy on the current test namespace
test/utils/v1beta1/buildstrategies.go:27
↓ 4 callersMethodDeleteConfigMap
DeleteConfigMap removes the desired configMap
test/utils/v1beta1/configmaps.go:25
↓ 4 callersMethodDockerfile
(dockerfile string)
test/e2e/v1beta1/common_suite_test.go:138
↓ 4 callersFunctionExtractLogger
ExtractLogger returns a logger based on the loggerKey This function retrieves from an existing context the value, which in this case is an instance of
pkg/ctxlog/context.go:43
↓ 4 callersFunctionFindParameterByName
FindParameterByName returns the first entry in a Parameter array with a specified name, or nil
pkg/reconciler/buildrun/resources/params.go:71
↓ 4 callersMethodLoadBuildStrategyFromBytes
LoadBuildStrategyFromBytes returns a populated BuildStrategy
test/v1beta1_samples/catalog.go:1150
↓ 4 callersMethodLookupServiceAccount
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:115
↓ 4 callersFunctionMergeMaps
MergeMaps takes 2 maps as input and merge the second into the first values in second would takes precedence if both maps have same keys
pkg/reconciler/buildrun/resources/image_processing.go:282
↓ 4 callersMethodName
(name string)
test/e2e/v1alpha1/common_suite_test.go:39
↓ 4 callersMethodNamespace
(namespace string)
test/e2e/v1alpha1/common_suite_test.go:44
↓ 4 callersFunctionNewBuildPrototype
()
test/e2e/v1alpha1/common_suite_test.go:33
↓ 4 callersFunctionNewBuildRunPrototype
()
test/e2e/v1alpha1/common_suite_test.go:272
↓ 4 callersFunctionNewParentContext
NewParentContext returns a new context from the parent context.Background one. This new context stores our logger implementation
pkg/ctxlog/context.go:23
↓ 4 callersMethodOutputImage
(image string)
test/e2e/v1alpha1/common_suite_test.go:218
↓ 4 callersFunctionOverrideParams
OverrideParams allows to override an existing list of parameters with a second list, as long as their entry names matches
pkg/reconciler/buildrun/resources/params.go:34
↓ 4 callersFunctionParseReference
ParseReference parses an image name into a reference. If insecure is set, the reference is flagged as insecure so that go-containerregistry falls back
pkg/image/endpoint.go:52
next →1–100 of 1,213, ranked by callers