MCPcopy Create free account

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

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

↓ 4 callersFunctionPushImageOrImageIndex
PushImageOrImageIndex pushes and image or image index and returns the digest and size. The size is only returned for an image.
pkg/image/push.go:14
↓ 4 callersMethodSetConfigFromEnv
SetConfigFromEnv updates the configuration managed by environment variables.
pkg/config/config.go:356
↓ 4 callersMethodSourceContextDir
(contextDir string)
test/e2e/v1beta1/common_suite_test.go:133
↓ 4 callersMethodSourceGit
(repository string)
test/e2e/v1beta1/common_suite_test.go:91
↓ 4 callersMethodString
()
pkg/reconciler/buildrun/resources/image_processing.go:37
↓ 4 callersMethodToMessage
ToMessage is a function that transforms an error class to an error message
pkg/git/error_parser.go:109
↓ 4 callersMethodWithBuildSpec
(buildSpec *buildapi.BuildSpec)
test/e2e/v1beta1/common_suite_test.go:335
↓ 4 callersFunctionappendRegistryInsecureParamValue
(build *buildapi.Build, buildRun *buildapi.BuildRun)
test/e2e/v1beta1/validators_test.go:343
↓ 4 callersFunctioncreateBaseTaskSpec
()
pkg/reconciler/buildrun/resources/resource_builders.go:27
↓ 4 callersFunctiondialTLS
(addr string, cfg *tls.Config)
pkg/webhook/tlsconfig/tlsconfig_test.go:285
↓ 4 callersFunctionhttpClient
()
pkg/image/delete.go:112
↓ 4 callersMethodrecordInvocation
(key string, args []interface{})
pkg/controller/fakes/status_writer.go:338
↓ 4 callersFunctionrun
(o ...runOpts)
cmd/git/main_test.go:37
↓ 4 callersFunctionstartHandshakeTestServer
(t *testing.T, serverCfg *tls.Config)
pkg/webhook/tlsconfig/tlsconfig_test.go:249
↓ 4 callersFunctiontestTLSClientConfig
(t *testing.T, minVersion, maxVersion uint16, cipherSuites []uint16)
pkg/webhook/tlsconfig/tlsconfig_test.go:121
↓ 3 callersFunctionApplyCredentials
ApplyCredentials adds all credentials that are referenced by the build and adds them to the service account. The function returns true if the service
pkg/reconciler/buildrun/resources/credentials.go:18
↓ 3 callersMethodArrayParamValue
ArrayParamValue 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:140
↓ 3 callersMethodClusterBuildStrategy
(name string)
test/e2e/v1alpha1/common_suite_test.go:58
↓ 3 callersMethodConfigMapWithData
ConfigMapWithData creates a ConfigMap with data
test/v1beta1_samples/catalog.go:69
↓ 3 callersMethodCreate
(arg1 context.Context, arg2 client.Object, arg3 ...client.CreateOption)
pkg/controller/fakes/client.go:258
↓ 3 callersMethodCreateBuildStrategy
This class is intended to host all CRUD calls for testing BuildStrategy CRDs resources CreateBuildStrategy generates a BuildStrategy on the current te
test/utils/v1beta1/buildstrategies.go:16
↓ 3 callersMethodCreateConfigMap
This class is intended to host all CRUD calls for testing configmap primitive resources CreateConfigMap generates a ConfigMap on the current test name
test/utils/v1beta1/configmaps.go:15
↓ 3 callersMethodDefaultBuild
DefaultBuild returns a minimal Build object
test/v1beta1_samples/catalog.go:685
↓ 3 callersFunctionDelete
Delete removes the image from the container registry Deleting a tag, or a whole repo is not as straightforward as initially planned as DockerHub seem
pkg/image/delete.go:53
↓ 3 callersMethodDockerfile
(dockerfile string)
test/e2e/v1alpha1/common_suite_test.go:107
↓ 3 callersFunctionFindResultValue
(results []pipelineapi.TaskRunResult, sourceName, resultName string)
pkg/reconciler/buildrun/resources/sources/utils.go:81
↓ 3 callersMethodGetBRReason
GetBRReason ...
test/utils/v1beta1/buildruns.go:68
↓ 3 callersFunctionGetBuildObject
GetBuildObject retrieves an existing Build based on a name and namespace
pkg/reconciler/buildrun/resources/build.go:20
↓ 3 callersMethodGetBuildTillRegistration
GetBuildTillRegistration polls until a Build gets a desired validation and updates it´s registered field. If timeout is reached or an error is found,
test/utils/v1beta1/builds.go:100
↓ 3 callersMethodGetClientReturns
(result1 client.Client)
pkg/controller/fakes/manager.go:678
↓ 3 callersFunctionGetGeneratedServiceAccountName
GetGeneratedServiceAccountName returns the name of the generated service account for a build run
pkg/reconciler/buildrun/resources/service_accounts.go:34
↓ 3 callersMethodGetImage
GetImage loads the image manifest for the image produced by a BuildRun
test/utils/v1beta1/image.go:44
↓ 3 callersMethodGetScheme
()
pkg/controller/fakes/manager.go:1194
↓ 3 callersMethodIsCancelled
IsCancelled returns true if the build runner is cancelled.
pkg/reconciler/buildrun/imagebuildrunner.go:44
↓ 3 callersFunctionIsClientStatusUpdateError
IsClientStatusUpdateError checks whether the given error is of type ClientStatusUpdateError or in case this is a list of errors, that it contains at l
pkg/reconciler/buildrun/resources/errors.go:23
↓ 3 callersMethodLookupPod
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:36
↓ 3 callersMethodLookupSecret
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:25
↓ 3 callersFunctionMergeEnvVars
MergeEnvVars merges one slice of corev1.EnvVar into another slice of corev1.EnvVar if overwriteValues is false, this function will return an error if
pkg/env/env.go:55
↓ 3 callersFunctionNewManager
NewManager add all the controllers to the manager and register the required schemes
pkg/controller/controller.go:32
↓ 3 callersMethodOutputImageCredentials
(name string)
test/e2e/v1alpha1/common_suite_test.go:223
↓ 3 callersMethodOutputImageInsecure
(insecure bool)
test/e2e/v1alpha1/common_suite_test.go:231
↓ 3 callersMethodSecretWithStringData
SecretWithStringData creates a Secret with stringData (not base64 encoded)
test/v1beta1_samples/catalog.go:44
↓ 3 callersMethodSecretWithoutAnnotation
SecretWithoutAnnotation gives you a secret without build annotation
test/v1beta1_samples/catalog.go:34
↓ 3 callersMethodSourceBundle
(image string)
test/e2e/v1beta1/common_suite_test.go:112
↓ 3 callersMethodSourceContextDir
(contextDir string)
test/e2e/v1alpha1/common_suite_test.go:102
↓ 3 callersMethodSourceGit
(repository string)
test/e2e/v1alpha1/common_suite_test.go:75
↓ 3 callersMethodStatus
()
pkg/controller/fakes/client.go:872
↓ 3 callersMethodStatusCalls
(stub func() client.SubResourceWriter)
pkg/controller/fakes/client.go:896
↓ 3 callersFunctionTestConnection
TestConnection tries to establish a connection to a provided host using a 5 seconds timeout.
pkg/util/tcp.go:14
↓ 3 callersFunctionUnpack
Unpack reads a tar stream and writes the content into the local file system with all files and directories.
pkg/bundle/bundle.go:235
↓ 3 callersMethodUpdateBR
UpdateBR updates a BuildRun on the current test namespace
test/utils/v1beta1/buildruns.go:35
↓ 3 callersFunctionUpdateSecurityContext
UpdateSecurityContext updates the security context of a step based on the build strategy steps. If all build strategy steps run as the same user and g
pkg/reconciler/buildrun/resources/steps/security_context.go:32
↓ 3 callersMethodapplySecurityContextToTaskSpec
(taskSpec *pipelineapi.TaskSpec)
pkg/reconciler/buildrun/resources/resource_builders.go:315
↓ 3 callersFunctionbuildRunTestData
buildTestData gets the us the Build test data set up
test/e2e/v1alpha1/validators_test.go:315
↓ 3 callersFunctioncipherSuiteNameMap
()
pkg/webhook/tlsconfig/tlsconfig.go:99
↓ 3 callersFunctioncreateBuild
(testBuild *utils.TestBuild, identifier string, filePath string)
test/e2e/v1alpha1/common_test.go:42
↓ 3 callersFunctioncreateVolumeSource
(vt volumeType, vsName string)
pkg/volumes/volumes_test.go:49
↓ 3 callersMethoddetermineParameterIndex
(name string)
test/e2e/v1beta1/common_suite_test.go:169
↓ 3 callersMethoddetermineParameterIndex
(name string)
test/e2e/v1beta1/common_suite_test.go:348
↓ 3 callersMethoddetermineParameterIndex
(name string)
test/e2e/v1alpha1/common_suite_test.go:120
↓ 3 callersMethoddetermineParameterIndex
(name string)
test/e2e/v1alpha1/common_suite_test.go:305
↓ 3 callersFunctionextractFailedPodAndContainer
(ctx context.Context, client client.Client, taskRun *pipelineapi.TaskRun)
pkg/reconciler/buildrun/resources/failure_details.go:70
↓ 3 callersFunctiongenerateBaseTaskParamReferences
generateBaseTaskParamReferences creates parameter references using $(params.xxx) syntax.
pkg/reconciler/buildrun/resources/resource_builders.go:61
↓ 3 callersFunctiongenerateEnvVarName
generateEnvVarName adds a random suffix of five characters or digits to a given prefix
pkg/reconciler/buildrun/resources/params.go:209
↓ 3 callersFunctiongetTimeoutMultiplier
()
test/e2e/v1beta1/validators_test.go:358
↓ 3 callersFunctiongetTimeoutMultiplier
()
test/e2e/v1alpha1/validators_test.go:359
↓ 3 callersFunctiongit
(ctx context.Context, args ...string)
cmd/git/main.go:479
↓ 3 callersFunctionvalidateBuildRunToFail
validateBuildRunToFail creates the build run and watches its flow until it fails.
test/e2e/v1beta1/validators_test.go:218
↓ 2 callersFunctionAppendGitStep
AppendGitStep appends the Git step and results and volume if needed to the TaskSpec
pkg/reconciler/buildrun/resources/sources/git.go:26
↓ 2 callersFunctionAppendLocalCopyStep
AppendLocalCopyStep defines and append a new task based on the waiter container template, passed by the configuration instance.
pkg/reconciler/buildrun/resources/sources/local_copy.go:20
↓ 2 callersFunctionBuildImageProcessingArgs
BuildImageProcessingArgs builds the argument list for the image-processing step based on output configuration (labels, annotations, vulnerability scan
pkg/reconciler/buildrun/resources/image_processing.go:102
↓ 2 callersFunctionBuildRunNodeSelector
BuildRunNodeSelector is used to validate nodeSelectors in the BuildRun object
pkg/validate/nodeselector.go:40
↓ 2 callersFunctionBuildRunParameters
BuildRunParameters validates that the parameter values specified in Build and BuildRun are suitable for what is defined in the BuildStrategy
pkg/validate/params.go:22
↓ 2 callersFunctionBuildRunRuntimeClassName
BuildRunRuntimeClassName is used to validate the runtimeClassName in the BuildRun object
pkg/validate/runtime_class_name.go:40
↓ 2 callersFunctionBuildRunSchedulerName
BuildSchedulerName is used to validate the schedulerName in the BuildRun object
pkg/validate/scheduler_name.go:40
↓ 2 callersFunctionBuildRunStepResources
BuildRunStepResources validates that all step resource overrides in the BuildRun reference steps that exist in the build strategy.
pkg/validate/stepresources.go:45
↓ 2 callersFunctionBuildRunTolerations
BuildRunTolerations is used to validate tolerations in the BuildRun object
pkg/validate/tolerations.go:41
↓ 2 callersMethodBuildRunWithSA
BuildRunWithSA returns a customized BuildRun object that defines a service account
test/v1beta1_samples/catalog.go:1032
↓ 2 callersMethodBuildRunWithSAGenerate
BuildRunWithSAGenerate returns a customized BuildRun object that defines a service account
test/v1beta1_samples/catalog.go:1064
↓ 2 callersMethodBuildRunWithoutSA
BuildRunWithoutSA returns a buildrun without serviceAccountName and generate serviceAccount is false
test/v1beta1_samples/catalog.go:1048
↓ 2 callersMethodBuildSpec
BuildSpec returns the BuildSpec of this Build (no cluster resource is created)
test/e2e/v1alpha1/common_suite_test.go:268
↓ 2 callersFunctionCRDConvert
CRDConvert serves the /convert endpoint by passing an additional argument(ctx)
pkg/webhook/conversion/conversion.go:64
↓ 2 callersMethodClusterBuildStrategy
ClusterBuildStrategy to support tests
test/v1beta1_samples/catalog.go:227
↓ 2 callersMethodCreateCalls
(stub func(context.Context, client.Object, ...client.CreateOption) error)
pkg/controller/fakes/client.go:285
↓ 2 callersFunctionCreateImageProcessingStep
( cfg *config.Config, taskSpec *pipelineapi.TaskSpec, stepArgs []string, hasOutputDirectory bool, pushSec
pkg/reconciler/buildrun/resources/image_processing.go:171
↓ 2 callersFunctionCustomZapFlagSet
CustomZapFlagSet creates a flag.FlagSet containing the zap logger default flags to configure the zap options and it includes a custom flag `--zap-leve
pkg/ctxlog/log.go:28
↓ 2 callersMethodDefaultClusterBuildStrategy
DefaultClusterBuildStrategy returns a minimal ClusterBuildStrategy object with a inmutable name
test/v1beta1_samples/catalog.go:920
↓ 2 callersMethodDefaultNamespacedBuildStrategy
DefaultNamespacedBuildStrategy returns a minimal BuildStrategy object with a inmutable name
test/v1beta1_samples/catalog.go:930
↓ 2 callersMethodDefaultServiceAccount
DefaultServiceAccount returns a minimal SA object
test/v1beta1_samples/catalog.go:895
↓ 2 callersFunctionDo
Do is the main entry point of the bundle command
cmd/bundle/main.go:59
↓ 2 callersMethodDone
Done removes the lock-file.
cmd/waiter/waiter.go:83
↓ 2 callersFunctionExecute
Execute performs flag parsing, input validation and the image mutation
cmd/image-processing/main.go:100
↓ 2 callersFunctionExecute
Execute performs flag parsing, input validation and the Git clone
cmd/git/main.go:131
↓ 2 callersFunctionExtractHostnamePort
ExtractHostnamePort tries to extract the hostname and port of the provided image URL
pkg/image/endpoint.go:16
↓ 2 callersFunctionFindParamValueByName
FindParamValueByName returns the first entry in a ParamValue array with a specified name, or nil
pkg/reconciler/buildrun/resources/params.go:82
↓ 2 callersMethodForBuild
(build *buildapi.Build)
test/e2e/v1beta1/common_suite_test.go:329
↓ 2 callersMethodForBuild
(build *buildapialpha.Build)
test/e2e/v1alpha1/common_suite_test.go:286
↓ 2 callersFunctionGenerateBuildRunExecutor
GenerateBuildRunExecutor orchestrates build execution generation.
pkg/reconciler/buildrun/resources/executor_generator.go:69
↓ 2 callersMethodGenerateServiceAccount
()
test/e2e/v1beta1/common_suite_test.go:340
↓ 2 callersMethodGenerateServiceAccount
()
test/e2e/v1alpha1/common_suite_test.go:297
← previousnext →101–200 of 1,213, ranked by callers