MCPcopy Create free account

hub / github.com/buildpacks/pack / functions

Functions2,371 in github.com/buildpacks/pack

↓ 160 callersMethodErrorf
(fmt string, v ...interface{})
pkg/buildpack/downloader.go:27
↓ 160 callersMethodRun
()
internal/termui/termui.go:29
↓ 112 callersMethodClose
()
pkg/archive/archive.go:29
↓ 108 callersFunctionNewLogWithWriters
NewLogWithWriters creates a logger to be used with pack CLI.
pkg/logging/logger_writers.go:46
↓ 82 callersMethodNil
(actual interface{})
testhelpers/assertions.go:83
↓ 77 callersMethodRemoveAll
()
internal/sshdialer/ssh_dialer_test.go:904
↓ 73 callersMethodContains
(actual, expected string)
testhelpers/assertions.go:127
↓ 67 callersMethodExecute
Execute is responsible for invoking each of these binaries with the desired configuration.
pkg/client/build.go:79
↓ 60 callersMethodString
()
internal/commands/build_test.go:1384
↓ 59 callersMethodInfo
(ctx context.Context, options dockerClient.InfoOptions)
pkg/client/docker.go:19
↓ 57 callersFunctionAddHelpFlag
(cmd *cobra.Command, commandName string)
internal/commands/commands.go:48
↓ 56 callersFunctionlogError
(logger logging.Logger, f func(cmd *cobra.Command, args []string) error)
internal/commands/commands.go:65
↓ 49 callersMethodInfof
(fmt string, v ...interface{})
internal/name/name.go:20
↓ 48 callersMethodError
(msg string)
pkg/buildpack/downloader.go:26
↓ 37 callersMethodEqual
Equal compares two Versions
internal/builder/version.go:24
↓ 37 callersMethodName
()
pkg/client/input_image_reference.go:13
↓ 35 callersFunctionAssertNil
AssertNil checks for nil value, if not nil it fails the test and stops execution immediately.
testhelpers/testhelpers.go:302
↓ 35 callersMethodNewImage
(repoName string, local bool, target dist.Target)
pkg/buildpack/builder.go:30
↓ 33 callersMethodName
()
internal/fakes/fake_package.go:16
↓ 32 callersMethodDebugf
(fmt string, v ...interface{})
pkg/buildpack/downloader.go:21
↓ 32 callersMethodWrite
(b []byte)
pkg/archive/archive.go:28
↓ 31 callersMethodFullName
()
pkg/client/input_image_reference.go:15
↓ 31 callersFunctionNewMockPackClient
NewMockPackClient creates a new mock instance.
internal/commands/testmocks/mock_pack_client.go:28
↓ 29 callersMethodFetch
(ctx context.Context, name string, options image.FetchOptions)
internal/builder/inspect.go:33
↓ 27 callersMethodNewReader
(data []byte)
pkg/logging/prefix_writer_test.go:135
↓ 26 callersMethodContainsF
(actual, expected string, formatArgs ...interface{})
testhelpers/assertions.go:302
↓ 26 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/commands/testmocks/mock_pack_client.go:35
↓ 26 callersMethodNewWriter
(io.Writer)
pkg/archive/archive.go:33
↓ 25 callersMethodDescriptor
()
pkg/buildpack/buildpack.go:32
↓ 25 callersMethodSetLabel
(string, string)
pkg/buildpack/builder.go:34
↓ 24 callersMethodString
()
pkg/cache/cache_opts.go:30
↓ 24 callersMethodString
String returns the string value of the Version
internal/builder/version.go:19
↓ 23 callersMethodOpen
Open returns a reader to a tar with contents structured as per the distribution spec (currently '/cnb/buildpacks/{ID}/{version}/*', all entries with a
pkg/buildpack/buildpack.go:31
↓ 22 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/testmocks/mock_docker_client.go:36
↓ 22 callersFunctionNewClient
NewClient allocates and returns a Client configured with the specified options.
pkg/client/client.go:272
↓ 22 callersMethodOpen
()
internal/builder/lifecycle.go:22
↓ 21 callersMethodString
()
pkg/client/rebase_test.go:312
↓ 21 callersFunctionWrite
(cfg interface{}, path string)
internal/config/config.go:103
↓ 20 callersMethodDescriptor
()
internal/builder/lifecycle.go:30
↓ 20 callersMethodString
()
internal/termui/branch.go:5
↓ 20 callersFunctionWithLogger
WithLogger supply your own logger.
pkg/client/client.go:188
↓ 20 callersFunctionWithVerbose
WithVerbose is an option used to initialize a LogWithWriters with Verbose turned on
pkg/logging/logger_writers.go:73
↓ 18 callersMethodWarnf
(fmt string, v ...interface{})
pkg/buildpack/downloader.go:25
↓ 17 callersMethodInfo
(msg string)
pkg/buildpack/downloader.go:22
↓ 17 callersMethodWriteHeader
(hdr *tar.Header)
pkg/archive/archive.go:27
↓ 16 callersMethodErrorWithMessage
(actual error, message string)
testhelpers/assertions.go:387
↓ 16 callersFunctionGetWriterForLevel
GetWriterForLevel retrieves the appropriate Writer for the log level provided. See isSelectableWriter
pkg/logging/logging.go:45
↓ 16 callersMethodSucceeds
(actual interface{})
testhelpers/assertions.go:91
↓ 15 callersFunctionRead
(path string)
internal/config/config.go:85
↓ 15 callersMethodRemove
(key ssh.PublicKey)
internal/sshdialer/ssh_dialer_test.go:900
↓ 15 callersFunctionWithFetcher
WithFetcher supply your own Fetcher. A Fetcher retrieves both local and remote images to make them available.
pkg/client/client.go:210
↓ 14 callersFunctionDefaultTarWriterFactory
()
pkg/archive/archive.go:38
↓ 14 callersMethodIdentifier
()
acceptance/config/lifecycle_asset.go:37
↓ 14 callersFunctiondeprecationWarning
(logger logging.Logger, oldCmd, replacementCmd string)
internal/commands/commands.go:108
↓ 13 callersFunctionNewBlob
(path string)
pkg/blob/blob.go:23
↓ 13 callersFunctionWithExperimental
WithExperimental sets whether experimental features should be enabled.
pkg/client/client.go:249
↓ 12 callersMethodDownload
Download collects both local and remote assets and provides a blob object used to read asset contents.
pkg/client/client.go:86
↓ 12 callersMethodLock
(passphrase []byte)
internal/sshdialer/ssh_dialer_test.go:908
↓ 12 callersFunctionNewMockImageFetcher
NewMockImageFetcher creates a new mock instance.
pkg/testmocks/mock_image_fetcher.go:29
↓ 12 callersMethodRead
(path string)
internal/commands/buildpack_package.go:44
↓ 12 callersMethodSave
Save saves the builder
internal/builder/builder.go:466
↓ 12 callersMethodString
()
acceptance/config/run_combination.go:109
↓ 12 callersMethodUnlock
(passphrase []byte)
internal/sshdialer/ssh_dialer_test.go:912
↓ 12 callersMethodWarn
(msg string)
pkg/buildpack/downloader.go:24
↓ 11 callersFunctionFilePathToURI
FilePathToURI converts a filepath to URI. If relativeTo is provided not empty and path is a relative path it will be made absolute based on the provid
internal/paths/paths.go:31
↓ 11 callersMethodLoadIndex
LoadIndex loads ManifestList from local storage with the given name
pkg/client/client.go:107
↓ 11 callersMethodMatches
(actual string, pattern *regexp.Regexp)
testhelpers/assertions.go:326
↓ 11 callersMethodNotContains
(actual, expected string)
testhelpers/assertions.go:350
↓ 11 callersMethodRunSuccessfully
(name string, args ...string)
acceptance/invoke/pack.go:111
↓ 10 callersMethodAddFile
(path string, mode int64, modTime time.Time, contents []byte)
pkg/archive/tar_builder.go:26
↓ 10 callersFunctionGetLocatorType
GetLocatorType determines which type of locator is designated by the given input. If a type cannot be determined, `INVALID_LOCATOR` will be returned.
pkg/buildpack/locator_type.go:56
↓ 10 callersMethodInspectLocal
(imageName string)
acceptance/managers/image_manager.go:44
↓ 10 callersFunctionWithDockerClient
WithDockerClient supply your own docker client.
pkg/client/client.go:242
↓ 9 callersMethodAdd
(s Symbol)
internal/termui/branch.go:29
↓ 9 callersMethodAsStrings
()
internal/builder/descriptor.go:60
↓ 9 callersFunctionAssertEq
Assert deep equality (and provide useful difference as a test failure)
testhelpers/testhelpers.go:55
↓ 9 callersMethodCleanup
()
acceptance/invoke/pack.go:66
↓ 9 callersMethodErrorContains
(actual error, expected string)
testhelpers/assertions.go:377
↓ 9 callersMethodInspectBuilder
(string, bool, ...client.BuilderInspectionModifier)
internal/commands/commands.go:25
↓ 9 callersFunctionNewSimpleLogger
NewSimpleLogger creates a simple logger for the pack library.
pkg/logging/logger_simple.go:10
↓ 9 callersFunctionParsePullPolicy
ParsePullPolicy from string
pkg/image/pull_policy.go:22
↓ 9 callersFunctionReadTarEntry
ReadTarEntry reads and returns a tar file
pkg/archive/archive.go:137
↓ 9 callersMethodRepoName
(name string)
testhelpers/registry.go:304
↓ 9 callersFunctiondockerCli
(t *testing.T)
testhelpers/testhelpers.go:346
↓ 8 callersMethodAddLayerWithDiffID
(path, diffID string)
pkg/buildpack/builder.go:35
↓ 8 callersMethodEqual
(actual, expected interface{})
testhelpers/assertions.go:67
↓ 8 callersMethodKind
()
pkg/buildpack/buildpack.go:41
↓ 8 callersMethodLabel
(name string)
pkg/buildpack/package.go:15
↓ 8 callersFunctionNewFakePackageConfigReader
(ops ...func(*FakePackageConfigReader))
internal/commands/fakes/fake_package_config_reader.go:31
↓ 8 callersFunctionNewMockAPIClient
NewMockAPIClient creates a new mock instance.
pkg/testmocks/mock_docker_client.go:29
↓ 8 callersFunctionNewMockIndexFactory
NewMockIndexFactory creates a new mock instance.
pkg/testmocks/mock_index_factory.go:26
↓ 8 callersMethodOrder
()
pkg/buildpack/buildpack.go:42
↓ 8 callersMethodSaveDir
()
testhelpers/image_index.go:150
↓ 8 callersFunctionWithIndexFactory
WithIndexFactory supply your own index factory
pkg/client/client.go:202
↓ 8 callersFunctionWithKeychain
WithKeychain sets keychain of credentials to image registries
pkg/client/client.go:263
↓ 7 callersFunctionCompare
Compare performs a set comparison between two slices. `extra` represents elements present in `strings1` but not `strings2`. `missing` represents eleme
internal/stringset/stringset.go:18
↓ 7 callersMethodContainsAll
(actual string, expected ...string)
testhelpers/assertions.go:318
↓ 7 callersMethodDebug
(msg string)
pkg/buildpack/downloader.go:20
↓ 7 callersMethodEscapedID
()
pkg/buildpack/buildpack.go:39
↓ 7 callersMethodFixtureManager
()
acceptance/invoke/pack.go:329
next →1–100 of 2,371, ranked by callers