MCPcopy Create free account

hub / github.com/buildpacks/pack / functions

Functions2,371 in github.com/buildpacks/pack

↓ 7 callersFunctionFromSlice
FromSlice converts the given slice to a set in the form of unique keys in a map. The value associated with each key should not be relied upon. A value
internal/stringset/stringset.go:6
↓ 7 callersMethodImage
Image returns the base image
internal/builder/builder.go:309
↓ 7 callersMethodLifecycleDescriptor
()
internal/termui/termui.go:35
↓ 7 callersFunctionNewMockBlobDownloader
NewMockBlobDownloader creates a new mock instance.
pkg/testmocks/mock_blob_downloader.go:28
↓ 7 callersFunctionNewMockImageFactory
NewMockImageFactory creates a new mock instance.
pkg/testmocks/mock_image_factory.go:28
↓ 7 callersMethodReader
(twf TarWriterFactory)
pkg/archive/tar_builder.go:45
↓ 7 callersMethodString
()
pkg/buildpack/locator_type.go:42
↓ 7 callersMethodTargets
()
pkg/buildpack/buildpack.go:44
↓ 7 callersMethodTemplateFixtureToFile
(name string, destination *os.File, data map[string]interface{})
acceptance/invoke/pack_fixtures.go:76
↓ 7 callersMethodTrueWithMessage
(actual bool, message string)
testhelpers/assertions.go:111
↓ 7 callersMethodVersion
()
acceptance/invoke/pack.go:173
↓ 7 callersFunctionVersionMustParse
VersionMustParse parses a string into a Version
internal/builder/version.go:14
↓ 7 callersFunctionWithDownloader
WithDownloader supply your own downloader. A Downloader is used to gather buildpacks from both remote urls, or local sources.
pkg/client/client.go:218
↓ 7 callersFunctionstringSliceHelp
(name string)
internal/commands/commands.go:96
↓ 6 callersMethodAddDir
(path string, mode int64, modTime time.Time)
pkg/archive/tar_builder.go:36
↓ 6 callersMethodAddModules
AddModules adds module information to the collection as flattened or not, depending on how the collection is configured.
pkg/buildpack/managed_collection.go:13
↓ 6 callersMethodFixtureLocation
(name string)
acceptance/invoke/pack_fixtures.go:24
↓ 6 callersFunctionGetRegistries
(cfg Config)
internal/config/config.go:131
↓ 6 callersFunctionGetRegistry
(cfg Config, registryName string)
internal/config/config.go:135
↓ 6 callersMethodLayout
()
pkg/client/input_image_reference.go:14
↓ 6 callersFunctionNewDownloader
(logger Logger, baseCacheDir string, opts ...DownloaderOption)
pkg/blob/downloader.go:49
↓ 6 callersFunctionNewExperimentError
(msg string)
pkg/client/errors.go:8
↓ 6 callersFunctionNewWriterFactory
(imageOS string)
internal/layer/writer_factory.go:17
↓ 6 callersFunctionParsePackageLocator
ParsePackageLocator parses a locator (in format `[docker://][<host>/]<path>[:<tag>⏐@<digest>]`) to image name (`[<host>/]<path>[:<tag>⏐@<digest>]`)
pkg/buildpack/parse_name.go:27
↓ 6 callersMethodPrepareBuildModules
(destination string, modules ...TestBuildModule)
acceptance/buildpacks/manager.go:38
↓ 6 callersMethodPrint
( logger logging.Logger, localRunImages []config.RunImage, local, remote *client.BuilderInfo, localErr
internal/builder/writer/factory.go:16
↓ 6 callersMethodSetEnv
SetEnv sets an environment variable to a value
internal/builder/builder.go:400
↓ 6 callersMethodSetRoot
(root tview.Primitive, fullscreen bool)
internal/termui/termui.go:26
↓ 6 callersFunctionTip
Tip logs a tip.
pkg/logging/logging.go:63
↓ 6 callersFunctionWithImageFactory
WithImageFactory supply your own image factory.
pkg/client/client.go:195
↓ 6 callersFunctionWriteDirToTar
WriteDirToTar writes the contents of a directory to a tar writer. `basePath` is the "location" in the tar the contents will be placed. The includeRoot
pkg/archive/archive.go:164
↓ 6 callersFunctionisNil
(value interface{})
testhelpers/testhelpers.go:327
↓ 5 callersMethodAddManifest
(ctx context.Context, opts client.ManifestAddOptions)
internal/commands/commands.go:41
↓ 5 callersMethodCheckReadAccess
CheckReadAccess verifies if an image is accessible with read permissions When FetchOptions.Daemon is true and the image doesn't exist in the daemon, t
internal/builder/image_fetcher_wrapper.go:23
↓ 5 callersMethodCleanupImages
(imageNames ...string)
acceptance/managers/image_manager.go:36
↓ 5 callersFunctionCompatDescriptor
CompatDescriptor provides compatibility by mapping new fields to old and vice-versa
internal/builder/descriptor.go:87
↓ 5 callersMethodContainerStart
(ctx context.Context, container string, options dockerClient.ContainerStartOptions)
internal/container/run.go:19
↓ 5 callersMethodCreateBuilder
(context.Context, client.CreateBuilderOptions)
internal/commands/commands.go:28
↓ 5 callersMethodCreateIndex
CreateIndex creates ManifestList locally
pkg/client/client.go:105
↓ 5 callersMethodFlattenedModules
FlattenedModules returns all build modules that will be added to the output artifact as a single layer containing multiple modules.
pkg/buildpack/managed_collection.go:17
↓ 5 callersMethodHasLocation
()
acceptance/config/lifecycle_asset.go:45
↓ 5 callersMethodInfo
()
pkg/buildpack/buildpack.go:554
↓ 5 callersFunctionIsURI
(ref string)
internal/paths/paths.go:15
↓ 5 callersMethodIsVerbose
()
pkg/logging/logging.go:35
↓ 5 callersMethodLabel
(name string)
internal/builder/inspect.go:29
↓ 5 callersFunctionNewLifecycle
NewLifecycle creates a Lifecycle from a Blob
internal/builder/lifecycle.go:39
↓ 5 callersFunctionNewPackageImage
( t *testing.T, pack *invoke.PackInvoker, name, configLocation string, modifiers ...PackageModifier, )
acceptance/buildpacks/package_image_buildpack.go:35
↓ 5 callersMethodOrder
()
internal/builder/inspect.go:44
↓ 5 callersMethodPrepare
(source, destination string)
acceptance/buildpacks/manager.go:35
↓ 5 callersMethodPrint
( logger logging.Logger, sharedInfo inspectimage.GeneralInfo, local, remote *client.ImageInfo, localEr
internal/inspectimage/writer/factory.go:17
↓ 5 callersFunctionReadDirAsTar
(srcDir, basePath string, uid, gid int, mode int64, normalizeModTime, includeRoot bool, fileFilter func(string
pkg/archive/archive.go:46
↓ 5 callersMethodRegisterBuildpack
(context.Context, client.RegisterBuildpackOptions)
internal/commands/commands.go:33
↓ 5 callersFunctionRegistryHost
(host, port string)
testhelpers/registry.go:41
↓ 5 callersMethodStop
()
internal/termui/termui.go:41
↓ 5 callersMethodWantQuiet
(f bool)
cmd/cmd.go:22
↓ 5 callersFunctionWithRequiredBuildpacks
(buildpacks ...TestBuildModule)
acceptance/buildpacks/manager.go:53
↓ 5 callersMethodWriter
()
pkg/logging/logging.go:33
↓ 5 callersMethodYankBuildpack
(client.YankBuildpackOptions)
internal/commands/commands.go:34
↓ 5 callersFunctiongetRefName
Parse ref name from refs/tags/<ref_name>
pkg/project/v02/metadata.go:172
↓ 5 callersFunctionhomeDir
()
internal/sshdialer/ssh_dialer_test.go:30
↓ 4 callersMethodAccept
()
internal/sshdialer/server_test.go:535
↓ 4 callersMethodBuildpacks
()
internal/termui/termui.go:34
↓ 4 callersMethodCommit
Commit a Buildpack change
internal/registry/registry_cache.go:239
↓ 4 callersMethodContainsJSON
(actualJSON, expectedJSON string)
testhelpers/assertions.go:145
↓ 4 callersMethodContainsYAML
(actualYAML, expectedYAML string)
testhelpers/assertions.go:204
↓ 4 callersFunctionCreateSingleFileTar
(tarFile, path, txt string, twf archive.TarWriterFactory)
internal/layer/layer.go:7
↓ 4 callersFunctionDeepContains
Returns true if 'containee' is contained in 'container' Note this method searches all objects in 'container' for containee Contains is defined by the
testhelpers/comparehelpers/deep_compare.go:28
↓ 4 callersFunctionDefaultConfigPath
()
internal/config/config.go:57
↓ 4 callersMethodDial
(n, a string)
internal/sshdialer/ssh_dialer.go:115
↓ 4 callersMethodEscapedPath
()
acceptance/config/lifecycle_asset.go:49
↓ 4 callersMethodExists
Exists return true if the given index exits in the local storage
pkg/client/client.go:103
↓ 4 callersMethodExplodedModules
ExplodedModules returns all build modules that will be added to the output artifact as a single layer containing a single module.
pkg/buildpack/managed_collection.go:10
↓ 4 callersMethodFindIndex
FindIndex will find Index locally then on remote
pkg/client/client.go:111
↓ 4 callersMethodFlattenModules
()
pkg/buildpack/build_module_info.go:16
↓ 4 callersFunctionFromBuildpackRootBlob
FromBuildpackRootBlob constructs a buildpack from a blob. It is assumed that the buildpack contents reside at the root of the blob. The constructed bu
pkg/buildpack/buildpack.go:74
↓ 4 callersFunctionFromImage
FromImage constructs a builder from a builder image
internal/builder/builder.go:133
↓ 4 callersMethodGetLayer
(diffID string)
internal/fakes/fake_package.go:18
↓ 4 callersMethodHostOS
()
acceptance/managers/image_manager.go:57
↓ 4 callersMethodImageInspect
(ctx context.Context, image string, opts ...dockerClient.ImageInspectOption)
pkg/client/docker.go:13
↓ 4 callersMethodInspectBuildpack
(client.InspectBuildpackOptions)
internal/commands/commands.go:35
↓ 4 callersMethodJustRunSuccessfully
(name string, args ...string)
acceptance/invoke/pack.go:120
↓ 4 callersMethodLocateBuildpack
LocateBuildpack stored in registry
internal/registry/registry_cache.go:79
↓ 4 callersFunctionNewRegistryCache
NewRegistryCache creates a new registry cache
internal/registry/registry_cache.go:57
↓ 4 callersFunctionNewSoftError
()
pkg/client/errors.go:19
↓ 4 callersFunctionPackHome
()
internal/config/config.go:73
↓ 4 callersFunctionParseFlattenBuildModules
(buildpacksID []string)
pkg/buildpack/build_module_info.go:35
↓ 4 callersFunctionParseIDLocator
ParseIDLocator parses a buildpack locator in the following formats into its ID and version. - <id>[@<version>] - urn:cnb:builder:<id>[@<version>] - u
pkg/buildpack/parse_name.go:16
↓ 4 callersMethodPath
()
pkg/buildpack/buildpack.go:555
↓ 4 callersFunctionPlatformRootFolder
PlatformRootFolder finds the top-most directory that identifies a target in a given buildpack <root> folder. Let's define a target with the following
pkg/buildpack/multi_architecture_helper.go:90
↓ 4 callersMethodRebase
(context.Context, client.RebaseOptions)
internal/commands/commands.go:27
↓ 4 callersMethodRemoveManifest
(name string, images []string)
internal/commands/commands.go:43
↓ 4 callersMethodResolve
(registryName, bpURI string)
pkg/buildpack/downloader.go:42
↓ 4 callersMethodServerVersion
(ctx context.Context, options dockerClient.ServerVersionOptions)
pkg/client/docker.go:20
↓ 4 callersFunctionSetRunImageMirrors
(cfg Config, image string, mirrors []string)
internal/config/config.go:120
↓ 4 callersFunctionToLayerTar
(dest string, module BuildModule)
pkg/buildpack/buildpack.go:332
↓ 4 callersMethodTrimmedEq
(actual, expected string)
testhelpers/assertions.go:29
↓ 4 callersMethodWait
()
acceptance/invoke/pack.go:169
↓ 4 callersMethodWriteToPath
(path string, twf TarWriterFactory)
pkg/archive/tar_builder.go:58
↓ 4 callersFunctioncheckResponse
(responseBody io.Reader)
testhelpers/testhelpers.go:419
↓ 4 callersFunctiongenerateAdd
(cmdName string, logger logging.Logger, cfg config.Config, cfgPath string, addFunc editCfgFunc)
internal/commands/config.go:34
← previousnext →101–200 of 2,371, ranked by callers