MCPcopy Create free account

hub / github.com/buildpacks/pack / functions

Functions2,371 in github.com/buildpacks/pack

↓ 1 callersFunctiontarFileContents
(t *testing.T, tarfile, path string)
testhelpers/testhelpers.go:804
↓ 1 callersFunctiontarHasFile
(t *testing.T, tarFile, path string)
testhelpers/testhelpers.go:836
↓ 1 callersFunctiontargetExists
(root, expected string)
pkg/buildpack/multi_architecture_helper.go:120
↓ 1 callersFunctiontargetToTag
(target dist.Target)
internal/name/name.go:82
↓ 1 callersFunctiontaskKey
taskKey creates a key from the prefix and all arguments to be unique
acceptance/acceptance_test.go:4340
↓ 1 callersFunctiontestAcceptance
( t *testing.T, when spec.G, it spec.S, subjectPackConfig, createBuilderPackConfig config.PackAsset, life
acceptance/acceptance_test.go:966
↓ 1 callersFunctiontestCreateDialer
this test cannot be parallelized as they use process wide environment variable $HOME
internal/sshdialer/ssh_dialer_test.go:390
↓ 1 callersFunctiontestWithoutSpecificBuilderRequirement
These tests either (a) do not require a builder or (b) do not require a specific builder to be provided in order to test compatibility. They should on
acceptance/acceptance_test.go:121
↓ 1 callersFunctiontoDistTar
(tw archive.TarWriter, descriptor Descriptor, blob Blob)
pkg/buildpack/buildpack.go:199
↓ 1 callersFunctiontoNLayerTar
(origID, origVersion string, firstHeader *tar.Header, tr *tar.Reader, tc *moduleTarCollection, forWindows bool
pkg/buildpack/buildpack.go:412
↓ 1 callersFunctiontryGetStdioDialContext
(url *urlPkg.URL, sshClient *ssh.Client, identity string)
internal/sshdialer/ssh_dialer.go:188
↓ 1 callersFunctiontryInitSSHDockerClient
()
cmd/docker_init.go:22
↓ 1 callersFunctionuniqueBuildpacks
(buildpacks []dist.ModuleInfo)
internal/builder/inspect.go:174
↓ 1 callersFunctionuniqueVersions
(buildpacks []dist.ModuleInfo)
internal/builder/builder.go:1002
↓ 1 callersFunctionunmarshalJSONFromBlob
(blob Blob, path string, obj interface{})
pkg/buildpack/oci_layout_package.go:198
↓ 1 callersFunctionunsupportedKey
(keyName, schemaVersion string)
pkg/project/project.go:90
↓ 1 callersFunctionupdatePrefix
(oldPrefix string, last bool)
internal/commands/inspect_buildpack.go:259
↓ 1 callersMethoduriFromLifecycleImage
(ctx context.Context, basePath string, config pubbldr.LifecycleConfig)
pkg/client/create_builder.go:515
↓ 1 callersMethoduriFromLifecycleVersion
(version semver.Version, os string, architecture string)
pkg/client/create_builder.go:458
↓ 1 callersFunctionuserAndGroupIDs
(img imgutil.Image)
pkg/client/build.go:1494
↓ 1 callersFunctionuserAndGroupIDs
(img imgutil.Image)
internal/builder/builder.go:973
↓ 1 callersFunctionusesContainerdStorage
(docker DockerClient)
pkg/client/build.go:840
↓ 1 callersFunctionvalidMaxDepth
(depth int)
internal/commands/inspect_buildpack.go:266
↓ 1 callersFunctionvalidPrettifiedJSONOutput
(source bytes.Buffer)
internal/builder/writer/json_test.go:506
↓ 1 callersFunctionvalidTOMLOutput
(source bytes.Buffer)
internal/builder/writer/toml_test.go:483
↓ 1 callersFunctionvalidYAML
(source bytes.Buffer)
internal/builder/writer/yaml_test.go:414
↓ 1 callersFunctionvalidate
(p types.Descriptor)
pkg/project/project.go:102
↓ 1 callersMethodvalidateBinaries
()
internal/builder/lifecycle.go:74
↓ 1 callersFunctionvalidateBuildFlags
(flags *BuildFlags, cfg config.Config, inputImageRef client.InputImageReference, logger logging.Logger)
internal/commands/build.go:312
↓ 1 callersFunctionvalidateBuilderExists
(logger logging.Logger, imageName string, client PackClient)
internal/commands/config_default_builder.go:71
↓ 1 callersFunctionvalidateBuildpackDescriptor
(bpd dist.BuildpackDescriptor)
pkg/buildpack/buildpack.go:298
↓ 1 callersFunctionvalidateBuildpacks
(mainBP BuildModule, depBPs []BuildModule)
pkg/buildpack/builder.go:501
↓ 1 callersMethodvalidateBuildpacks
()
internal/builder/builder.go:879
↓ 1 callersMethodvalidateCache
()
internal/registry/registry_cache.go:217
↓ 1 callersMethodvalidateConfig
(ctx context.Context, opts CreateBuilderOptions, target *dist.Target)
pkg/client/create_builder.go:156
↓ 1 callersFunctionvalidateCreateManifestFlags
(flags ManifestCreateFlags)
internal/commands/manifest_create.go:62
↓ 1 callersFunctionvalidateExtensionDescriptor
(extd dist.ExtensionDescriptor)
pkg/buildpack/buildpack.go:320
↓ 1 callersFunctionvalidateExtensionPackageFlags
(p *ExtensionPackageFlags)
internal/commands/extension_package.go:162
↓ 1 callersFunctionvalidateExtensions
(lifecycleDescriptor LifecycleDescriptor, allExtensions []dist.ModuleInfo, extsToValidate []buildpack.BuildMod
internal/builder/builder.go:933
↓ 1 callersFunctionvalidateField
(field, value string)
internal/registry/index.go:43
↓ 1 callersFunctionvalidateLifecycleKind
(k string)
acceptance/config/run_combination.go:96
↓ 1 callersMethodvalidateLifecycleVersion
(builderConfig pubbldr.Config, lifecycle builder.Lifecycle)
pkg/client/create_builder.go:567
↓ 1 callersFunctionvalidateManifestAnnotateFlags
(flags ManifestAnnotateFlags)
internal/commands/manifest_annotate.go:50
↓ 1 callersMethodvalidateMixins
(additionalBuildpacks []buildpack.BuildModule, bldr *builder.Builder, runImageName string, runMixins []string)
pkg/client/build.go:991
↓ 1 callersFunctionvalidateModule
(kind string, module buildpack.BuildModule, source, expectedID, expectedVersion string)
pkg/client/create_builder.go:433
↓ 1 callersMethodvalidateRunImage
(context context.Context, name string, opts image.FetchOptions, expectedStack string)
pkg/client/build.go:971
↓ 1 callersMethodvalidateRunImageConfig
(ctx context.Context, opts CreateBuilderOptions, target *dist.Target)
pkg/client/create_builder.go:168
↓ 1 callersFunctionvalidateURI
(uri, relativeBaseDir string)
buildpackage/config_reader.go:135
↓ 1 callersFunctionvalidatedPackKind
(k string)
acceptance/config/run_combination.go:85
↓ 1 callersMethodversionedCacheDir
()
pkg/blob/downloader.go:202
↓ 1 callersFunctionwaitForPortBinding
(t *testing.T, containerID, portSpec string, duration time.Duration)
testhelpers/registry.go:190
↓ 1 callersFunctionwaitForRegistryToBeAvailable
(t *testing.T, registryConfig *TestRegistryConfig)
testhelpers/registry.go:105
↓ 1 callersFunctionwarnIfTomlContainsKeysNotSupportedBySchema
(schemaVersion string, tomlMetaData toml.MetaData, logger logging.Logger)
pkg/project/project.go:71
↓ 1 callersFunctionwhereReadBuildpackDescriptor
(descriptor dist.BuildpackDescriptor, err error)
internal/commands/buildpack_package_test.go:510
↓ 1 callersMethodwhiteoutLayer
(tmpDir string, i int, bpInfo dist.ModuleInfo)
internal/builder/builder.go:1281
↓ 1 callersFunctionwindowsPreamble
()
pkg/buildpack/buildpack.go:487
↓ 1 callersFunctionwithBadKnownHosts
withBadKnownHosts creates $HOME/.ssh/known_hosts with incorrect entries
internal/sshdialer/ssh_dialer_test.go:610
↓ 1 callersFunctionwithCleanHome
sets clean temporary $HOME for test this prevents interaction with actual user home which may contain .ssh/
internal/sshdialer/ssh_dialer_test.go:546
↓ 1 callersFunctionwithClientConfig
(clientCfg config.Config)
internal/commands/buildpack_package_test.go:497
↓ 1 callersFunctionwithEmulatedDockerSystemDialStdio
withEmulatedDockerSystemDialStdio makes `docker system dial-stdio` viable in the testing ssh server. It does so by appending definition of shell funct
internal/sshdialer/ssh_dialer_test.go:966
↓ 1 callersFunctionwithEmulatingWindows
withEmulatingWindows makes changes to the testing ssh server such that the server appears to be Windows server for simple check done calling the `syst
internal/sshdialer/ssh_dialer_test.go:980
↓ 1 callersFunctionwithExtensionClientConfig
(clientCfg config.Config)
internal/commands/extension_package_test.go:383
↓ 1 callersFunctionwithExtensionImageName
(name string)
internal/commands/extension_package_test.go:371
↓ 1 callersFunctionwithExtensionLogger
(logger *logging.LogWithWriters)
internal/commands/extension_package_test.go:353
↓ 1 callersFunctionwithExtensionPackageConfigPath
(path string)
internal/commands/extension_package_test.go:377
↓ 1 callersFunctionwithExtensionPackageConfigReader
(reader *fakes.FakePackageConfigReader)
internal/commands/extension_package_test.go:359
↓ 1 callersFunctionwithExtensionPackager
(creator *fakes.FakeBuildpackPackager)
internal/commands/extension_package_test.go:365
↓ 1 callersFunctionwithInaccessibleKey
withInaccessibleKey creates inaccessible key of give type (specified by keyName)
internal/sshdialer/ssh_dialer_test.go:523
↓ 1 callersFunctionwithKey
puts key from ./testdata/{keyName} to $HOME/.ssh/{keyName} those keys are authorized by the testing ssh server
internal/sshdialer/ssh_dialer_test.go:498
↓ 1 callersFunctionwithKnowHosts
withKnowHosts creates $HOME/.ssh/known_hosts with correct entries
internal/sshdialer/ssh_dialer_test.go:569
↓ 1 callersFunctionwithPath
(name string)
internal/commands/buildpack_package_test.go:485
↓ 1 callersFunctionwithProgress
(writer io.Writer, rc io.ReadCloser, length int64)
pkg/blob/downloader.go:186
↓ 1 callersFunctionwithRemoteDockerHost
withRemoteDockerHost makes changes to the testing ssh server such that the DOCKER_HOST environment is set to host parameter
internal/sshdialer/ssh_dialer_test.go:992
↓ 1 callersFunctionwithoutSSHAgent
withoutSSHAgent unsets the SSH_AUTH_SOCK environment variable so ssh-agent is not used by test
internal/sshdialer/ssh_dialer_test.go:725
↓ 1 callersFunctionworkspacePathForOS
(os, workspace string)
pkg/client/build.go:1523
↓ 1 callersFunctionwritableVolume
(hostPath, targetPath string)
pkg/client/build.go:1811
↓ 1 callersFunctionwriteAndUpdateEntryPrefix
(writer io.Writer, last bool, prefix string)
internal/builder/writer/human_readable.go:562
↓ 1 callersMethodwriteBuildModuleToTar
writeBuildModuleToTar writes the content of the given tar file into the writer, skipping the folders that were already added
pkg/buildpack/buildpack_tar_writer.go:78
↓ 1 callersFunctionwriteBuilderInfo
( logger logging.Logger, localRunImages []config.RunImage, info *client.BuilderInfo, err error, sharedInf
internal/builder/writer/human_readable.go:109
↓ 1 callersFunctionwriteBuildpackArchive
write an OCI image using GGCR lib
pkg/client/inspect_buildpack_test.go:629
↓ 1 callersFunctionwriteDetectionOrderBuildpack
(writer io.Writer, entry pubbldr.DetectionOrderEntry)
internal/builder/writer/human_readable.go:578
↓ 1 callersMethodwriteEntry
(b Buildpack)
internal/registry/registry_cache.go:283
↓ 1 callersFunctionwriteHeader
(header *tar.Header, uid int, gid int, mode int64, normalizeModTime bool, tw TarWriter)
pkg/archive/archive.go:411
↓ 1 callersFunctionwriteLocalImageInfo
( logger logging.Logger, generalInfo inspectimage.GeneralInfo, local *client.ImageInfo, localErr error)
internal/inspectimage/writer/human_readable.go:47
↓ 1 callersFunctionwriteLocalMirrors
(logWriter io.Writer, runImages []pubbldr.RunImageConfig, localRunImages []config.RunImage)
internal/builder/writer/human_readable.go:298
↓ 1 callersFunctionwriteRemoteImageInfo
( logger logging.Logger, generalInfo inspectimage.GeneralInfo, remote *client.ImageInfo, remoteErr error)
internal/inspectimage/writer/human_readable.go:73
↓ 1 callersFunctionwriteRootHeader
(tw TarWriter, basePath string, mode int64, uid int, gid int, normalizeModTime bool)
pkg/archive/archive.go:443
MethodAPI
()
pkg/client/client_test.go:320
MethodAdd
(key agent.AddedKey)
internal/sshdialer/ssh_dialer_test.go:860
MethodAddLayerWithDiffID
(path, _ string)
pkg/buildpack/builder.go:62
MethodAddLayerWithDiffID
(path, diffID string)
testhelpers/testhelpers.go:923
MethodAddManifest
AddManifest implements commands.PackClient.
pkg/client/manifest_add.go:19
MethodAddManifest
AddManifest mocks base method.
internal/commands/testmocks/mock_pack_client.go:40
MethodAddManifest
AddManifest indicates an expected call of AddManifest.
internal/commands/testmocks/mock_pack_client.go:48
MethodAddModules
(main BuildModule, deps ...BuildModule)
pkg/buildpack/managed_collection.go:72
MethodAddModules
(main BuildModule, deps ...BuildModule)
pkg/buildpack/managed_collection.go:118
MethodAllModules
()
pkg/buildpack/managed_collection.go:36
MethodAnnotateManifest
AnnotateManifest implements commands.PackClient.
pkg/client/manifest_annotate.go:34
MethodAnnotateManifest
AnnotateManifest mocks base method.
internal/commands/testmocks/mock_pack_client.go:54
MethodAnnotateManifest
AnnotateManifest indicates an expected call of AnnotateManifest.
internal/commands/testmocks/mock_pack_client.go:62
← previousnext →1,301–1,400 of 2,371, ranked by callers