MCPcopy Create free account

hub / github.com/benchkram/bob / functions

Functions994 in github.com/benchkram/bob

↓ 139 callersFunctionRunGit
(root string, args ...string)
pkg/cmdutil/run.go:85
↓ 138 callersMethodString
()
bobtask/artifact_info.go:13
↓ 68 callersMethodName
()
pkg/ctl/command.go:6
↓ 57 callersMethodInfo
(msg string)
pkg/boblog/boblog.go:40
↓ 55 callersMethodError
()
pkg/usererror/error.go:26
↓ 50 callersMethodClose
Close closes the file used in cache
pkg/nix/cache.go:95
↓ 48 callersMethodV
(level int)
pkg/boblog/boblog.go:31
↓ 47 callersFunctionBob
(opts ...Option)
bob/bob.go:139
↓ 45 callersMethodAggregate
Aggregate determine and read Bobfiles recursively into memory and returns a single Bobfile containing all tasks & runs.
bob/aggregate.go:104
↓ 43 callersMethodBuild
(context.Context)
pkg/ctl/commander.go:47
↓ 41 callersFunctionWrap
Wrap an existing error and annotate it with the user error type which is intended to be shown to the user on a cli.
pkg/usererror/error.go:44
↓ 36 callersFunctioncreateGitRepo
(t *testing.T, dirs ...string)
bobgit/add_test.go:420
↓ 31 callersFunctionWithDir
(dir string)
bob/options.go:12
↓ 30 callersMethodStart
()
pkg/ctl/command.go:8
↓ 28 callersMethodLog
(_, container, msg string)
pkg/composectl/logger.go:48
↓ 27 callersFunctionExists
Exists return true when a file exists, false otherwise.
pkg/file/file.go:8
↓ 27 callersMethodState
()
bob/playbook/status.go:34
↓ 25 callersMethodUserError
UserError is intended to present errors to the user should go into a cli beatify package in the future..
pkg/boblog/boblog.go:75
↓ 25 callersFunctionWrapm
(err error, msg string)
pkg/usererror/error.go:48
↓ 25 callersFunctionexit
(code int)
cli/cli.go:20
↓ 23 callersFunctionCreatePlayground
CreatePlayground creates a default playground to test bob workflows. projectName is used in the top-level bobfile
bob/playground.go:118
↓ 23 callersMethodRun
()
pkg/cmdutil/run.go:13
↓ 23 callersFunctionmkfile
(path ...string)
test/setup/reposetup/setup_files.go:80
↓ 21 callersMethodStop
()
pkg/ctl/command.go:9
↓ 21 callersFunctionbuildTask
buildTask and returns it's state
test/e2e/artifacts/artifactutils_test.go:61
↓ 20 callersMethodBobfileSave
(dir, name string)
bob/bobfile/bobfile.go:338
↓ 20 callersMethodWait
Wait awaits for the command to stop running (either to gracefully exit or be interrupted). If the command has already finished when Wait is invoked, i
pkg/execctl/cmd.go:191
↓ 20 callersFunctionreadLine
(r *bufio.Reader)
pkg/execctl/cmd_test.go:416
↓ 19 callersMethodHashIn
HashIn computes the input hash
bobtask/hash_in.go:21
↓ 18 callersMethodWrite
(p []byte)
tui/line_buffer.go:24
↓ 17 callersMethodDir
()
bob/bob.go:189
↓ 16 callersMethodAdd
Add, adds a repositoroy to a workspace. Automatically tries to guess the contrary url (git@/https://) from the given rawurl. This behavior can be dea
bob/add.go:18
↓ 16 callersMethodClean
()
pkg/buildinfostore/store.go:22
↓ 15 callersMethodIsDir
()
bobtask/artifact_create.go:235
↓ 14 callersFunctionNewCmd
NewCmd creates a new Cmd, ready to be started
pkg/execctl/cmd.go:46
↓ 13 callersMethodInputs
()
bobtask/input.go:18
↓ 13 callersFunctionTestDirs
TestDirs setup a general test dir and a "out-of-tree" storage dir used in tests. Call cleanup() to delete all dirs at the end of the test.
test/setup/setup.go:9
↓ 13 callersFunctionWithArgs
(args ...string)
pkg/execctl/options.go:5
↓ 12 callersMethodStatusCode
StatusCode returns HTTPResponse.StatusCode
pkg/store-client/generated/client.gen.go:421
↓ 12 callersMethodStdout
()
pkg/ctl/command.go:16
↓ 12 callersFunctioninitGit
(dir string)
bobgit/status_test.go:476
↓ 11 callersFunctionBobfileRead
BobfileRead read from a bobfile. Calls sanitize on the result.
bob/bobfile/bobfile.go:247
↓ 11 callersMethodDone
()
pkg/store/store.go:27
↓ 11 callersFunctionWithCachingEnabled
(enabled bool)
bob/options.go:50
↓ 11 callersMethodupdateContent
()
tui/model.go:397
↓ 10 callersMethodDo
(req *http.Request)
pkg/store-client/generated/client.gen.go:25
↓ 10 callersMethodGetArtifact
(_ context.Context, id string)
pkg/store/store.go:17
↓ 10 callersMethodImageExists
(image string)
pkg/dockermobyutil/registry.go:26
↓ 10 callersMethodLen
()
tui/line_buffer.go:92
↓ 10 callersFunctionartifactExists
artifactExists checks if a artifact exists in the local artifact store
test/e2e/artifacts/artifactutils_test.go:31
↓ 9 callersFunctionBobWithBaseStoreDir
BobWithBaseStoreDir initialises stores in the given directory
bob/bob.go:97
↓ 9 callersMethodCommand
Command creates a run cmd and returns a Command interface to control it. To shutdown a Command() use a cancelable context.
bobrun/run.go:134
↓ 8 callersMethodCleanBuildInfoStore
()
bob/clean.go:24
↓ 8 callersFunctionFromURL
(u *url.URL)
bob/repo_provider.go:273
↓ 8 callersMethodProject
Project returns the projectname. In case of a non existing projectname the tasks local directory is returned.
bobtask/task_get_set.go:76
↓ 8 callersMethodupdateOffset
(delta int)
tui/model.go:442
↓ 7 callersMethodAddBytes
(r io.Reader)
pkg/filehash/filehash.go:35
↓ 7 callersFunctionBuildinfoStore
(baseDir string)
bob/bob_defaults.go:51
↓ 7 callersMethodColoredName
()
bobtask/task_get_set.go:31
↓ 7 callersFunctionCreateErrAmbiguousTargets
(tasks []string, target string)
bobtask/map.go:281
↓ 7 callersFunctionFilestore
(dir string)
bob/bob_defaults.go:27
↓ 7 callersMethodGet
Get value from cache by its key Additionally also checks if path exists on the system
pkg/nix/cache.go:70
↓ 7 callersMethodImageRemove
(image string)
pkg/dockermobyutil/registry.go:29
↓ 7 callersFunctionMake
(opts ...TaskOption)
bobtask/task.go:120
↓ 7 callersMethodTarget
Target takes care of populating the targets members correctly. It returns a nil in case of a non-existing target and a nil error.
bobtask/target.go:14
↓ 7 callersMethodValidate
Validate makes sure no task depends on itself (self-reference) or has the same name as another task
bob/bobfile/bobfile.go:280
↓ 7 callersFunctionbenchmarkAggregate
(b *testing.B, ignoredMultiplier int)
bob/aggregate_test.go:62
↓ 7 callersMethodcontexts
()
pkg/auth/store.go:199
↓ 7 callersFunctiongitprepare
gitprepare inits git cmd with `root` as the working dir.
pkg/cmdutil/run.go:74
↓ 7 callersFunctionreset
reset base test dir to it's initial state.
test/e2e/artifacts/artifacts_suite_test.go:55
↓ 7 callersFunctionwithSlash
(s string)
bobgit/status/status.go:203
↓ 6 callersMethodAdd
Add will add the specified amount to the progressbar
pkg/progress/progress.go:50
↓ 6 callersFunctionBob
()
test/e2e/nixrun/setup_test.go:7
↓ 6 callersFunctionBobSetup
()
test/e2e/target-name/setup_test.go:12
↓ 6 callersFunctionBobSetup
(env ...string)
test/e2e/input/setup_test.go:8
↓ 6 callersMethodCleanLocalStore
()
bob/clean.go:28
↓ 6 callersMethodDir
()
bobtask/task_get_set.go:14
↓ 6 callersFunctionErrTaskDoesNotExistF
(task string)
pkg/boberror/boberror.go:7
↓ 6 callersMethodNix
()
bob/bob.go:193
↓ 6 callersMethodPrint
()
cli/config.go:37
↓ 6 callersMethodTargetExists
()
bobtask/target.go:53
↓ 6 callersFunctioncapture
()
test/e2e/nix/nix_suite_test.go:87
↓ 6 callersFunctionfile_buildinfo_proto_rawDescGZIP
()
bobtask/buildinfo/protos/buildinfo.pb.go:397
↓ 6 callersFunctionmkdir
(path ...string)
test/setup/reposetup/setup_files.go:71
↓ 6 callersFunctionoutput
()
test/e2e/nix/nix_suite_test.go:99
↓ 6 callersFunctionreadDir
readDir returns the dir entries as string array
test/e2e/target-cleanup/setup_test.go:43
↓ 6 callersFunctionreleaseBobfile
releaseBobfile will revert changes done in useBobfile
test/e2e/target-name/setup_test.go:37
↓ 6 callersFunctionreleaseProject
releaseProject will revert the changes done in useProject
test/e2e/nixrun/run_suite_test.go:150
↓ 6 callersMethodsetTaskState
(taskID int, state State, taskError error)
bob/playbook/playbook.go:244
↓ 6 callersFunctionuseBobfile
useBobfile sets the right bobfile to be used for test
test/e2e/target-name/setup_test.go:31
↓ 6 callersFunctionuseProject
useProject set up the project to be used make sure to call releaseProject to revert changes
test/e2e/nixrun/run_suite_test.go:141
↓ 5 callersMethodAggregateSparse
AggregateSparse reads Bobfile with the intent to gather task names. The returned bobfile is not ready to be executed with a playbook.
bob/aggregate.go:52
↓ 5 callersFunctionArtifactInspectFromReader
ArtifactInspectFromPath opens a artifact from a io reader and returns a string containing compact information about a target.
bobtask/artifact_inspect.go:54
↓ 5 callersFunctionBob
()
test/e2e/nix/setup_test.go:7
↓ 5 callersMethodBuildNixDependenciesInPipeline
BuildNixDependenciesInPipeline collects and builds nix-dependencies for a pipeline starting at taskName.
bob/nix-builder/nix_builder.go:72
↓ 5 callersMethodDependencies
()
bobrun/run.go:88
↓ 5 callersMethodInit
()
tui/model.go:178
↓ 5 callersFunctionMerge
Merge two lists of environment variables in the "key=value" format. If variables are duplicated, the one from `b` is kept. See tests for details.
pkg/envutil/envutil.go:8
↓ 5 callersMethodMode
()
bobtask/artifact_create.go:233
↓ 5 callersMethodName
()
bobtask/task_get_set.go:18
next →1–100 of 994, ranked by callers