Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benchkram/bob
/ functions
Functions
994 in github.com/benchkram/bob
⨍
Functions
994
◇
Types & classes
180
↓ 139 callers
Function
RunGit
(root string, args ...string)
pkg/cmdutil/run.go:85
↓ 138 callers
Method
String
()
bobtask/artifact_info.go:13
↓ 68 callers
Method
Name
()
pkg/ctl/command.go:6
↓ 57 callers
Method
Info
(msg string)
pkg/boblog/boblog.go:40
↓ 55 callers
Method
Error
()
pkg/usererror/error.go:26
↓ 50 callers
Method
Close
Close closes the file used in cache
pkg/nix/cache.go:95
↓ 48 callers
Method
V
(level int)
pkg/boblog/boblog.go:31
↓ 47 callers
Function
Bob
(opts ...Option)
bob/bob.go:139
↓ 45 callers
Method
Aggregate
Aggregate determine and read Bobfiles recursively into memory and returns a single Bobfile containing all tasks & runs.
bob/aggregate.go:104
↓ 43 callers
Method
Build
(context.Context)
pkg/ctl/commander.go:47
↓ 41 callers
Function
Wrap
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 callers
Function
createGitRepo
(t *testing.T, dirs ...string)
bobgit/add_test.go:420
↓ 31 callers
Function
WithDir
(dir string)
bob/options.go:12
↓ 30 callers
Method
Start
()
pkg/ctl/command.go:8
↓ 28 callers
Method
Log
(_, container, msg string)
pkg/composectl/logger.go:48
↓ 27 callers
Function
Exists
Exists return true when a file exists, false otherwise.
pkg/file/file.go:8
↓ 27 callers
Method
State
()
bob/playbook/status.go:34
↓ 25 callers
Method
UserError
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 callers
Function
Wrapm
(err error, msg string)
pkg/usererror/error.go:48
↓ 25 callers
Function
exit
(code int)
cli/cli.go:20
↓ 23 callers
Function
CreatePlayground
CreatePlayground creates a default playground to test bob workflows. projectName is used in the top-level bobfile
bob/playground.go:118
↓ 23 callers
Method
Run
()
pkg/cmdutil/run.go:13
↓ 23 callers
Function
mkfile
(path ...string)
test/setup/reposetup/setup_files.go:80
↓ 21 callers
Method
Stop
()
pkg/ctl/command.go:9
↓ 21 callers
Function
buildTask
buildTask and returns it's state
test/e2e/artifacts/artifactutils_test.go:61
↓ 20 callers
Method
BobfileSave
(dir, name string)
bob/bobfile/bobfile.go:338
↓ 20 callers
Method
Wait
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 callers
Function
readLine
(r *bufio.Reader)
pkg/execctl/cmd_test.go:416
↓ 19 callers
Method
HashIn
HashIn computes the input hash
bobtask/hash_in.go:21
↓ 18 callers
Method
Write
(p []byte)
tui/line_buffer.go:24
↓ 17 callers
Method
Dir
()
bob/bob.go:189
↓ 16 callers
Method
Add
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 callers
Method
Clean
()
pkg/buildinfostore/store.go:22
↓ 15 callers
Method
IsDir
()
bobtask/artifact_create.go:235
↓ 14 callers
Function
NewCmd
NewCmd creates a new Cmd, ready to be started
pkg/execctl/cmd.go:46
↓ 13 callers
Method
Inputs
()
bobtask/input.go:18
↓ 13 callers
Function
TestDirs
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 callers
Function
WithArgs
(args ...string)
pkg/execctl/options.go:5
↓ 12 callers
Method
StatusCode
StatusCode returns HTTPResponse.StatusCode
pkg/store-client/generated/client.gen.go:421
↓ 12 callers
Method
Stdout
()
pkg/ctl/command.go:16
↓ 12 callers
Function
initGit
(dir string)
bobgit/status_test.go:476
↓ 11 callers
Function
BobfileRead
BobfileRead read from a bobfile. Calls sanitize on the result.
bob/bobfile/bobfile.go:247
↓ 11 callers
Method
Done
()
pkg/store/store.go:27
↓ 11 callers
Function
WithCachingEnabled
(enabled bool)
bob/options.go:50
↓ 11 callers
Method
updateContent
()
tui/model.go:397
↓ 10 callers
Method
Do
(req *http.Request)
pkg/store-client/generated/client.gen.go:25
↓ 10 callers
Method
GetArtifact
(_ context.Context, id string)
pkg/store/store.go:17
↓ 10 callers
Method
ImageExists
(image string)
pkg/dockermobyutil/registry.go:26
↓ 10 callers
Method
Len
()
tui/line_buffer.go:92
↓ 10 callers
Function
artifactExists
artifactExists checks if a artifact exists in the local artifact store
test/e2e/artifacts/artifactutils_test.go:31
↓ 9 callers
Function
BobWithBaseStoreDir
BobWithBaseStoreDir initialises stores in the given directory
bob/bob.go:97
↓ 9 callers
Method
Command
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 callers
Method
CleanBuildInfoStore
()
bob/clean.go:24
↓ 8 callers
Function
FromURL
(u *url.URL)
bob/repo_provider.go:273
↓ 8 callers
Method
Project
Project returns the projectname. In case of a non existing projectname the tasks local directory is returned.
bobtask/task_get_set.go:76
↓ 8 callers
Method
updateOffset
(delta int)
tui/model.go:442
↓ 7 callers
Method
AddBytes
(r io.Reader)
pkg/filehash/filehash.go:35
↓ 7 callers
Function
BuildinfoStore
(baseDir string)
bob/bob_defaults.go:51
↓ 7 callers
Method
ColoredName
()
bobtask/task_get_set.go:31
↓ 7 callers
Function
CreateErrAmbiguousTargets
(tasks []string, target string)
bobtask/map.go:281
↓ 7 callers
Function
Filestore
(dir string)
bob/bob_defaults.go:27
↓ 7 callers
Method
Get
Get value from cache by its key Additionally also checks if path exists on the system
pkg/nix/cache.go:70
↓ 7 callers
Method
ImageRemove
(image string)
pkg/dockermobyutil/registry.go:29
↓ 7 callers
Function
Make
(opts ...TaskOption)
bobtask/task.go:120
↓ 7 callers
Method
Target
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 callers
Method
Validate
Validate makes sure no task depends on itself (self-reference) or has the same name as another task
bob/bobfile/bobfile.go:280
↓ 7 callers
Function
benchmarkAggregate
(b *testing.B, ignoredMultiplier int)
bob/aggregate_test.go:62
↓ 7 callers
Method
contexts
()
pkg/auth/store.go:199
↓ 7 callers
Function
gitprepare
gitprepare inits git cmd with `root` as the working dir.
pkg/cmdutil/run.go:74
↓ 7 callers
Function
reset
reset base test dir to it's initial state.
test/e2e/artifacts/artifacts_suite_test.go:55
↓ 7 callers
Function
withSlash
(s string)
bobgit/status/status.go:203
↓ 6 callers
Method
Add
Add will add the specified amount to the progressbar
pkg/progress/progress.go:50
↓ 6 callers
Function
Bob
()
test/e2e/nixrun/setup_test.go:7
↓ 6 callers
Function
BobSetup
()
test/e2e/target-name/setup_test.go:12
↓ 6 callers
Function
BobSetup
(env ...string)
test/e2e/input/setup_test.go:8
↓ 6 callers
Method
CleanLocalStore
()
bob/clean.go:28
↓ 6 callers
Method
Dir
()
bobtask/task_get_set.go:14
↓ 6 callers
Function
ErrTaskDoesNotExistF
(task string)
pkg/boberror/boberror.go:7
↓ 6 callers
Method
Nix
()
bob/bob.go:193
↓ 6 callers
Method
Print
()
cli/config.go:37
↓ 6 callers
Method
TargetExists
()
bobtask/target.go:53
↓ 6 callers
Function
capture
()
test/e2e/nix/nix_suite_test.go:87
↓ 6 callers
Function
file_buildinfo_proto_rawDescGZIP
()
bobtask/buildinfo/protos/buildinfo.pb.go:397
↓ 6 callers
Function
mkdir
(path ...string)
test/setup/reposetup/setup_files.go:71
↓ 6 callers
Function
output
()
test/e2e/nix/nix_suite_test.go:99
↓ 6 callers
Function
readDir
readDir returns the dir entries as string array
test/e2e/target-cleanup/setup_test.go:43
↓ 6 callers
Function
releaseBobfile
releaseBobfile will revert changes done in useBobfile
test/e2e/target-name/setup_test.go:37
↓ 6 callers
Function
releaseProject
releaseProject will revert the changes done in useProject
test/e2e/nixrun/run_suite_test.go:150
↓ 6 callers
Method
setTaskState
(taskID int, state State, taskError error)
bob/playbook/playbook.go:244
↓ 6 callers
Function
useBobfile
useBobfile sets the right bobfile to be used for test
test/e2e/target-name/setup_test.go:31
↓ 6 callers
Function
useProject
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 callers
Method
AggregateSparse
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 callers
Function
ArtifactInspectFromReader
ArtifactInspectFromPath opens a artifact from a io reader and returns a string containing compact information about a target.
bobtask/artifact_inspect.go:54
↓ 5 callers
Function
Bob
()
test/e2e/nix/setup_test.go:7
↓ 5 callers
Method
BuildNixDependenciesInPipeline
BuildNixDependenciesInPipeline collects and builds nix-dependencies for a pipeline starting at taskName.
bob/nix-builder/nix_builder.go:72
↓ 5 callers
Method
Dependencies
()
bobrun/run.go:88
↓ 5 callers
Method
Init
()
tui/model.go:178
↓ 5 callers
Function
Merge
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 callers
Method
Mode
()
bobtask/artifact_create.go:233
↓ 5 callers
Method
Name
()
bobtask/task_get_set.go:18
next →
1–100 of 994, ranked by callers