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
↓ 4 callers
Function
PushImageOrImageIndex
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 callers
Method
SetConfigFromEnv
SetConfigFromEnv updates the configuration managed by environment variables.
pkg/config/config.go:356
↓ 4 callers
Method
SourceContextDir
(contextDir string)
test/e2e/v1beta1/common_suite_test.go:133
↓ 4 callers
Method
SourceGit
(repository string)
test/e2e/v1beta1/common_suite_test.go:91
↓ 4 callers
Method
String
()
pkg/reconciler/buildrun/resources/image_processing.go:37
↓ 4 callers
Method
ToMessage
ToMessage is a function that transforms an error class to an error message
pkg/git/error_parser.go:109
↓ 4 callers
Method
WithBuildSpec
(buildSpec *buildapi.BuildSpec)
test/e2e/v1beta1/common_suite_test.go:335
↓ 4 callers
Function
appendRegistryInsecureParamValue
(build *buildapi.Build, buildRun *buildapi.BuildRun)
test/e2e/v1beta1/validators_test.go:343
↓ 4 callers
Function
createBaseTaskSpec
()
pkg/reconciler/buildrun/resources/resource_builders.go:27
↓ 4 callers
Function
dialTLS
(addr string, cfg *tls.Config)
pkg/webhook/tlsconfig/tlsconfig_test.go:285
↓ 4 callers
Function
httpClient
()
pkg/image/delete.go:112
↓ 4 callers
Method
recordInvocation
(key string, args []interface{})
pkg/controller/fakes/status_writer.go:338
↓ 4 callers
Function
run
(o ...runOpts)
cmd/git/main_test.go:37
↓ 4 callers
Function
startHandshakeTestServer
(t *testing.T, serverCfg *tls.Config)
pkg/webhook/tlsconfig/tlsconfig_test.go:249
↓ 4 callers
Function
testTLSClientConfig
(t *testing.T, minVersion, maxVersion uint16, cipherSuites []uint16)
pkg/webhook/tlsconfig/tlsconfig_test.go:121
↓ 3 callers
Function
ApplyCredentials
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 callers
Method
ArrayParamValue
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 callers
Method
ClusterBuildStrategy
(name string)
test/e2e/v1alpha1/common_suite_test.go:58
↓ 3 callers
Method
ConfigMapWithData
ConfigMapWithData creates a ConfigMap with data
test/v1beta1_samples/catalog.go:69
↓ 3 callers
Method
Create
(arg1 context.Context, arg2 client.Object, arg3 ...client.CreateOption)
pkg/controller/fakes/client.go:258
↓ 3 callers
Method
CreateBuildStrategy
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 callers
Method
CreateConfigMap
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 callers
Method
DefaultBuild
DefaultBuild returns a minimal Build object
test/v1beta1_samples/catalog.go:685
↓ 3 callers
Function
Delete
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 callers
Method
Dockerfile
(dockerfile string)
test/e2e/v1alpha1/common_suite_test.go:107
↓ 3 callers
Function
FindResultValue
(results []pipelineapi.TaskRunResult, sourceName, resultName string)
pkg/reconciler/buildrun/resources/sources/utils.go:81
↓ 3 callers
Method
GetBRReason
GetBRReason ...
test/utils/v1beta1/buildruns.go:68
↓ 3 callers
Function
GetBuildObject
GetBuildObject retrieves an existing Build based on a name and namespace
pkg/reconciler/buildrun/resources/build.go:20
↓ 3 callers
Method
GetBuildTillRegistration
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 callers
Method
GetClientReturns
(result1 client.Client)
pkg/controller/fakes/manager.go:678
↓ 3 callers
Function
GetGeneratedServiceAccountName
GetGeneratedServiceAccountName returns the name of the generated service account for a build run
pkg/reconciler/buildrun/resources/service_accounts.go:34
↓ 3 callers
Method
GetImage
GetImage loads the image manifest for the image produced by a BuildRun
test/utils/v1beta1/image.go:44
↓ 3 callers
Method
GetScheme
()
pkg/controller/fakes/manager.go:1194
↓ 3 callers
Method
IsCancelled
IsCancelled returns true if the build runner is cancelled.
pkg/reconciler/buildrun/imagebuildrunner.go:44
↓ 3 callers
Function
IsClientStatusUpdateError
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 callers
Method
LookupPod
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:36
↓ 3 callers
Method
LookupSecret
(entity types.NamespacedName)
test/utils/v1beta1/lookup.go:25
↓ 3 callers
Function
MergeEnvVars
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 callers
Function
NewManager
NewManager add all the controllers to the manager and register the required schemes
pkg/controller/controller.go:32
↓ 3 callers
Method
OutputImageCredentials
(name string)
test/e2e/v1alpha1/common_suite_test.go:223
↓ 3 callers
Method
OutputImageInsecure
(insecure bool)
test/e2e/v1alpha1/common_suite_test.go:231
↓ 3 callers
Method
SecretWithStringData
SecretWithStringData creates a Secret with stringData (not base64 encoded)
test/v1beta1_samples/catalog.go:44
↓ 3 callers
Method
SecretWithoutAnnotation
SecretWithoutAnnotation gives you a secret without build annotation
test/v1beta1_samples/catalog.go:34
↓ 3 callers
Method
SourceBundle
(image string)
test/e2e/v1beta1/common_suite_test.go:112
↓ 3 callers
Method
SourceContextDir
(contextDir string)
test/e2e/v1alpha1/common_suite_test.go:102
↓ 3 callers
Method
SourceGit
(repository string)
test/e2e/v1alpha1/common_suite_test.go:75
↓ 3 callers
Method
Status
()
pkg/controller/fakes/client.go:872
↓ 3 callers
Method
StatusCalls
(stub func() client.SubResourceWriter)
pkg/controller/fakes/client.go:896
↓ 3 callers
Function
TestConnection
TestConnection tries to establish a connection to a provided host using a 5 seconds timeout.
pkg/util/tcp.go:14
↓ 3 callers
Function
Unpack
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 callers
Method
UpdateBR
UpdateBR updates a BuildRun on the current test namespace
test/utils/v1beta1/buildruns.go:35
↓ 3 callers
Function
UpdateSecurityContext
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 callers
Method
applySecurityContextToTaskSpec
(taskSpec *pipelineapi.TaskSpec)
pkg/reconciler/buildrun/resources/resource_builders.go:315
↓ 3 callers
Function
buildRunTestData
buildTestData gets the us the Build test data set up
test/e2e/v1alpha1/validators_test.go:315
↓ 3 callers
Function
cipherSuiteNameMap
()
pkg/webhook/tlsconfig/tlsconfig.go:99
↓ 3 callers
Function
createBuild
(testBuild *utils.TestBuild, identifier string, filePath string)
test/e2e/v1alpha1/common_test.go:42
↓ 3 callers
Function
createVolumeSource
(vt volumeType, vsName string)
pkg/volumes/volumes_test.go:49
↓ 3 callers
Method
determineParameterIndex
(name string)
test/e2e/v1beta1/common_suite_test.go:169
↓ 3 callers
Method
determineParameterIndex
(name string)
test/e2e/v1beta1/common_suite_test.go:348
↓ 3 callers
Method
determineParameterIndex
(name string)
test/e2e/v1alpha1/common_suite_test.go:120
↓ 3 callers
Method
determineParameterIndex
(name string)
test/e2e/v1alpha1/common_suite_test.go:305
↓ 3 callers
Function
extractFailedPodAndContainer
(ctx context.Context, client client.Client, taskRun *pipelineapi.TaskRun)
pkg/reconciler/buildrun/resources/failure_details.go:70
↓ 3 callers
Function
generateBaseTaskParamReferences
generateBaseTaskParamReferences creates parameter references using $(params.xxx) syntax.
pkg/reconciler/buildrun/resources/resource_builders.go:61
↓ 3 callers
Function
generateEnvVarName
generateEnvVarName adds a random suffix of five characters or digits to a given prefix
pkg/reconciler/buildrun/resources/params.go:209
↓ 3 callers
Function
getTimeoutMultiplier
()
test/e2e/v1beta1/validators_test.go:358
↓ 3 callers
Function
getTimeoutMultiplier
()
test/e2e/v1alpha1/validators_test.go:359
↓ 3 callers
Function
git
(ctx context.Context, args ...string)
cmd/git/main.go:479
↓ 3 callers
Function
validateBuildRunToFail
validateBuildRunToFail creates the build run and watches its flow until it fails.
test/e2e/v1beta1/validators_test.go:218
↓ 2 callers
Function
AppendGitStep
AppendGitStep appends the Git step and results and volume if needed to the TaskSpec
pkg/reconciler/buildrun/resources/sources/git.go:26
↓ 2 callers
Function
AppendLocalCopyStep
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 callers
Function
BuildImageProcessingArgs
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 callers
Function
BuildRunNodeSelector
BuildRunNodeSelector is used to validate nodeSelectors in the BuildRun object
pkg/validate/nodeselector.go:40
↓ 2 callers
Function
BuildRunParameters
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 callers
Function
BuildRunRuntimeClassName
BuildRunRuntimeClassName is used to validate the runtimeClassName in the BuildRun object
pkg/validate/runtime_class_name.go:40
↓ 2 callers
Function
BuildRunSchedulerName
BuildSchedulerName is used to validate the schedulerName in the BuildRun object
pkg/validate/scheduler_name.go:40
↓ 2 callers
Function
BuildRunStepResources
BuildRunStepResources validates that all step resource overrides in the BuildRun reference steps that exist in the build strategy.
pkg/validate/stepresources.go:45
↓ 2 callers
Function
BuildRunTolerations
BuildRunTolerations is used to validate tolerations in the BuildRun object
pkg/validate/tolerations.go:41
↓ 2 callers
Method
BuildRunWithSA
BuildRunWithSA returns a customized BuildRun object that defines a service account
test/v1beta1_samples/catalog.go:1032
↓ 2 callers
Method
BuildRunWithSAGenerate
BuildRunWithSAGenerate returns a customized BuildRun object that defines a service account
test/v1beta1_samples/catalog.go:1064
↓ 2 callers
Method
BuildRunWithoutSA
BuildRunWithoutSA returns a buildrun without serviceAccountName and generate serviceAccount is false
test/v1beta1_samples/catalog.go:1048
↓ 2 callers
Method
BuildSpec
BuildSpec returns the BuildSpec of this Build (no cluster resource is created)
test/e2e/v1alpha1/common_suite_test.go:268
↓ 2 callers
Function
CRDConvert
CRDConvert serves the /convert endpoint by passing an additional argument(ctx)
pkg/webhook/conversion/conversion.go:64
↓ 2 callers
Method
ClusterBuildStrategy
ClusterBuildStrategy to support tests
test/v1beta1_samples/catalog.go:227
↓ 2 callers
Method
CreateCalls
(stub func(context.Context, client.Object, ...client.CreateOption) error)
pkg/controller/fakes/client.go:285
↓ 2 callers
Function
CreateImageProcessingStep
( cfg *config.Config, taskSpec *pipelineapi.TaskSpec, stepArgs []string, hasOutputDirectory bool, pushSec
pkg/reconciler/buildrun/resources/image_processing.go:171
↓ 2 callers
Function
CustomZapFlagSet
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 callers
Method
DefaultClusterBuildStrategy
DefaultClusterBuildStrategy returns a minimal ClusterBuildStrategy object with a inmutable name
test/v1beta1_samples/catalog.go:920
↓ 2 callers
Method
DefaultNamespacedBuildStrategy
DefaultNamespacedBuildStrategy returns a minimal BuildStrategy object with a inmutable name
test/v1beta1_samples/catalog.go:930
↓ 2 callers
Method
DefaultServiceAccount
DefaultServiceAccount returns a minimal SA object
test/v1beta1_samples/catalog.go:895
↓ 2 callers
Function
Do
Do is the main entry point of the bundle command
cmd/bundle/main.go:59
↓ 2 callers
Method
Done
Done removes the lock-file.
cmd/waiter/waiter.go:83
↓ 2 callers
Function
Execute
Execute performs flag parsing, input validation and the image mutation
cmd/image-processing/main.go:100
↓ 2 callers
Function
Execute
Execute performs flag parsing, input validation and the Git clone
cmd/git/main.go:131
↓ 2 callers
Function
ExtractHostnamePort
ExtractHostnamePort tries to extract the hostname and port of the provided image URL
pkg/image/endpoint.go:16
↓ 2 callers
Function
FindParamValueByName
FindParamValueByName returns the first entry in a ParamValue array with a specified name, or nil
pkg/reconciler/buildrun/resources/params.go:82
↓ 2 callers
Method
ForBuild
(build *buildapi.Build)
test/e2e/v1beta1/common_suite_test.go:329
↓ 2 callers
Method
ForBuild
(build *buildapialpha.Build)
test/e2e/v1alpha1/common_suite_test.go:286
↓ 2 callers
Function
GenerateBuildRunExecutor
GenerateBuildRunExecutor orchestrates build execution generation.
pkg/reconciler/buildrun/resources/executor_generator.go:69
↓ 2 callers
Method
GenerateServiceAccount
()
test/e2e/v1beta1/common_suite_test.go:340
↓ 2 callers
Method
GenerateServiceAccount
()
test/e2e/v1alpha1/common_suite_test.go:297
← previous
next →
101–200 of 1,213, ranked by callers