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
↓ 3 callers
Method
stopWorkers
()
bob/playbook/workers.go:44
↓ 3 callers
Function
useSecondLevelBobfile
(name string)
test/e2e/task-decoration/setup_test.go:42
↓ 3 callers
Function
useSecondLevelBobfile
(name string)
test/e2e/target-name/setup_test.go:42
↓ 2 callers
Function
Add
Add run git add commands by travsersing all the repositories inside the bob workspace. if target is provided "." it selects all modified files in all
bobgit/add.go:40
↓ 2 callers
Function
Add
(repoURL string, opts ...Option)
pkg/add/add.go:21
↓ 2 callers
Function
ApplyPortMapping
(p *types.Project, mapping PortConfigs)
pkg/composeutil/composeutil.go:94
↓ 2 callers
Method
ArtifactCreate
ArtifactCreate create an archive for one or multiple targets
bobtask/artifact_create.go:39
↓ 2 callers
Method
ArtifactExists
(ctx context.Context, id string)
pkg/store/store.go:23
↓ 2 callers
Method
AuthContexts
()
bob/auth.go:35
↓ 2 callers
Function
AuthStore
(baseDir string)
bob/bob_defaults.go:71
↓ 2 callers
Function
BaseTestStructure
BaseTestStructure fill a existing directory with basic testing blueprints. The generated structure looks like: basePath/ basePath/top-repo basePath/t
test/setup/reposetup/setup_structure.go:147
↓ 2 callers
Function
BobfileReadPlain
BobfileReadPlain reads a bobfile. For performance reasons sanitize is not called.
bob/bobfile/bobfile.go:267
↓ 2 callers
Method
Bobfiles
()
bob/bobfile/bobfile.go:102
↓ 2 callers
Function
BuildDependencies
BuildDependencies build nix dependencies and returns a <package>-<nix store path> map dependencies can be either a package name ex. php or a path to
pkg/nix/nix.go:40
↓ 2 callers
Method
BuildNixDependencies
BuildNixDependencies builds nix dependencies and prepares the affected tasks by setting the store paths on each task in the given aggregate.
bob/nix-builder/nix_builder.go:87
↓ 2 callers
Method
CleanTargetsWithReason
CleanTargetsWithReason removes files assosiated to a target but considering the reason for a deletion. This assures that we can be sure a target was c
bobtask/clean.go:15
↓ 2 callers
Function
ClearListRecursiveCache
var listRecursiveCache = make(map[string][]string, 1024)
pkg/filepathutil/list.go:24
↓ 2 callers
Function
Commit
Commit executes `git commit -m ${message}` in all repositories. indifferent of the subdirectories and subrepositories, it walks through all the repos
bobgit/commit.go:38
↓ 2 callers
Method
Control
()
pkg/ctl/control.go:10
↓ 2 callers
Method
CreateItem
(opts ...Option)
example/server-db/server/item/interfaces.go:9
↓ 2 callers
Function
DefaultFilestore
()
bob/bob_defaults.go:18
↓ 2 callers
Method
Dir
()
bob/bobfile/bobfile.go:353
↓ 2 callers
Method
Done
()
pkg/ctl/command.go:14
↓ 2 callers
Method
Duration
Duration gives the duration of progress tracking
pkg/nix/build_progress.go:61
↓ 2 callers
Method
EmitDone
()
pkg/ctl/control.go:12
↓ 2 callers
Method
EmitError
(error)
pkg/ctl/control.go:16
↓ 2 callers
Method
Error
()
pkg/ctl/control.go:144
↓ 2 callers
Function
FPrintMultirepoStatus
(buf *bytes.Buffer, spacing string, repos MultiRepoStatus, color func(interface{}) aurora.Value)
bobgit/status/status.go:123
↓ 2 callers
Function
FprintCloneOutput
FprintCloneOutput returns formatted output buffer with repository title from git clone output.
bob/clone.go:241
↓ 2 callers
Function
FromProto
(p *protos.BuildInfo)
bobtask/buildinfo/buildinfo.go:129
↓ 2 callers
Function
GenerateKey
GenerateKey generates key for the cache for a Dependency if it's a .nix file it will hash the nixpkgs + file contents if it's a package name will has
pkg/nix/cache.go:112
↓ 2 callers
Method
GetBuildTasks
()
bob/build_list.go:9
↓ 2 callers
Method
GetRunTasks
()
bob/run_list.go:9
↓ 2 callers
Function
GitStatus
(root string)
pkg/cmdutil/run.go:101
↓ 2 callers
Function
HasPortConflicts
HasPortConflicts returns true if there are two services using the same host port
pkg/composeutil/composeutil.go:132
↓ 2 callers
Function
Hash
(file string)
pkg/filehash/hash.go:15
↓ 2 callers
Function
HashDependencies
(deps []Dependency)
pkg/nix/nix.go:320
↓ 2 callers
Method
ImageLoad
(pathToArchive string)
pkg/dockermobyutil/registry.go:32
↓ 2 callers
Method
ImageSave
(image string)
pkg/dockermobyutil/registry.go:28
↓ 2 callers
Method
Init
()
bobrun/init.go:3
↓ 2 callers
Method
InitOnce
()
bobrun/init.go:7
↓ 2 callers
Method
Item
(id string)
example/server-db/server/item/interfaces.go:10
↓ 2 callers
Method
Lines
(from, to int)
tui/line_buffer.go:73
↓ 2 callers
Method
List
(context.Context)
pkg/store/store.go:19
↓ 2 callers
Method
Localstore
Localstore returns the local artifact store
bob/bob_defaults.go:67
↓ 2 callers
Method
Metadata
()
bobtask/artifact_info.go:12
↓ 2 callers
Function
New
()
tui/tui.go:23
↓ 2 callers
Function
New
()
bobtask/buildinfo/buildinfo.go:19
↓ 2 callers
Function
New
New creates a filestore. The caller is responsible to pass a existing directory.
pkg/store/filestore/filestore.go:21
↓ 2 callers
Function
New
(project *types.Project, conflicts, mappings string)
pkg/composectl/composectl.go:41
↓ 2 callers
Function
New
New takes the size of the control channel. Usually this should be 0 so that signals are ignored as long as a start/stop is in progress.
pkg/ctl/control.go:48
↓ 2 callers
Method
NewArtifact
(_ context.Context, artifactID string, size int64)
pkg/store/store.go:16
↓ 2 callers
Function
NewArtifactMetadata
()
bobtask/artifact_metadata.go:21
↓ 2 callers
Function
NewCacheStore
NewCacheStore initialize a Nix cache store inside dir
pkg/nix/cache.go:35
↓ 2 callers
Function
NewClient
Creates a new Client, with reasonable defaults
pkg/store-client/generated/client.gen.go:49
↓ 2 callers
Function
NewProtoStore
NewProtoStore creates a proto store. The caller is responsible to pass an existing directory
pkg/buildinfostore/protostore.go:22
↓ 2 callers
Function
NewStatus
(task *bobtask.Task)
bob/playbook/status.go:26
↓ 2 callers
Method
OutputCombined
()
pkg/cmdutil/run.go:15
↓ 2 callers
Function
Parse
Parse a projectname and validate it against `RestrictedProjectNamePattern`
bob/bobfile/project/project.go:70
↓ 2 callers
Function
ParseGeneral
ParseGeneral parses a git repo url and return the corresponding git & https protocol links corresponding to most (github, gitlab) domain specification
bob/repo_provider.go:182
↓ 2 callers
Function
PortAvailable
PortAvailable returns true if the port is not currently in use by the host
pkg/composeutil/composeutil.go:228
↓ 2 callers
Function
PortConflicts
PortConflicts returns all PortConfigs that have a port conflict
pkg/composeutil/composeutil.go:118
↓ 2 callers
Method
PrintVersionCompatibility
(bobfile *bobfile.Bobfile)
bob/aggregate.go:30
↓ 2 callers
Function
ProjectFromConfig
ProjectFromConfig loads a docker-compose config file into a compose Project
pkg/composeutil/composeutil.go:201
↓ 2 callers
Function
ProjectPortConfigs
ProjectPortConfigs returns a slice of associations of port/proto to services, for a specific protocol, sorted by port
pkg/composeutil/composeutil.go:151
↓ 2 callers
Method
ReadBuildInfo
ReadBuildInfo indexed by the input hash from the store
bobtask/buildinfo_io.go:9
↓ 2 callers
Function
RepoName
func (b *B) repos() (urls []*url.URL, err error) { defer errz.Recover(&err) urls = []*url.URL{} for _, repo := range c.Repositories { url, err :=
bob/repo.go:50
↓ 2 callers
Function
ResolvePortConflicts
ResolvePortConflicts mutates the project and returns the port configs with any conflicting ports remapped
pkg/composeutil/composeutil.go:37
↓ 2 callers
Method
Sanitize
Sanitize task map and write filtered & sanitized properties from dirty members to plain (e.g. dirtyInputs -> filter&sanitize -> inputs)
bobtask/map.go:111
↓ 2 callers
Method
Save
Save dependency inside the cache with its corresponding store path
pkg/nix/cache.go:82
↓ 2 callers
Method
SetBobfiles
(bobs []*Bobfile)
bob/bobfile/bobfile.go:98
↓ 2 callers
Method
SetDependencies
(dependencies []nix.Dependency)
bobrun/run.go:91
↓ 2 callers
Method
SetDir
(dir string)
bobrun/run.go:84
↓ 2 callers
Method
SetEnvID
(envID envutil.Hash)
bobtask/task_get_set.go:55
↓ 2 callers
Method
SetNixpkgs
(nixpkgs string)
bobrun/run.go:68
↓ 2 callers
Method
SetRebuildStrategy
Set the rebuild strategy for the task defaults to `on-change`.
bobtask/task_get_set.go:89
↓ 2 callers
Method
Short
()
bob/playbook/state.go:28
↓ 2 callers
Method
Size
()
bobtask/artifact_create.go:232
↓ 2 callers
Function
Status
Status executes `git status -porcelain` in all repositories first level repositories found inside a .bob filtree. It parses the output of each call an
bobgit/status.go:26
↓ 2 callers
Function
Sync
Sync an item from the src store to the dst store. In case the item exists in dst Sync does nothing and returns nil.
pkg/store/sync.go:12
↓ 2 callers
Function
Unique
Unique remove duplicate entries from the slice.
pkg/sliceutil/unique.go:4
↓ 2 callers
Method
Up
(ctx context.Context)
pkg/composectl/composectl.go:109
↓ 2 callers
Method
Vars
Vars returns the bobfile variables in the form "key=value" based on its Variables
bob/bobfile/bobfile.go:359
↓ 2 callers
Method
WithDockerRegistryClient
(c dockermobyutil.RegistryClient)
bobtask/task_get_set.go:109
↓ 2 callers
Function
WithInsecure
(allow bool)
bob/options.go:68
↓ 2 callers
Function
WithPath
WithPath adds a custom file path which is used to store cache content on the filesystem.
pkg/nix/cache.go:28
↓ 2 callers
Function
WithRequestEditorFn
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the reque
pkg/store-client/generated/client.gen.go:82
↓ 2 callers
Method
addBuildTasksToAggregate
(a *bobfile.Bobfile, bobs []*bobfile.Bobfile, decorations map[string][]string)
bob/aggregate_util.go:33
↓ 2 callers
Method
addError
(err error)
bob/playbook/workers.go:63
↓ 2 callers
Method
addRunTasksToAggregate
( a *bobfile.Bobfile, bobs []*bobfile.Bobfile, )
bob/aggregate_util.go:77
↓ 2 callers
Function
appendUnique
(a []string, xx ...string)
bobtask/input.go:192
↓ 2 callers
Function
artifactInspect
(archiveReader archiver.Reader)
bobtask/artifact_inspect.go:65
↓ 2 callers
Function
assertMergeAddedByBothConflict
(t *testing.T, dir, defaultBranch string)
bobgit/status_test.go:463
↓ 2 callers
Function
assertMergeAddedConflict
(t *testing.T, dir, defaultBranch string)
bobgit/status_test.go:450
↓ 2 callers
Function
bobSetup
(opts ...bob.Option)
test/e2e/target-cleanup/setup_test.go:18
↓ 2 callers
Function
bobfileRead
bobfileRead reads a bobfile and initializes private fields.
bob/bobfile/bobfile.go:115
↓ 2 callers
Function
capture
()
test/e2e/version/version_suite_test.go:53
↓ 2 callers
Method
computeBuildinfo
computeBuildinfo for a task. Should only be called after processing is done.
bob/playbook/compute_buildinfo.go:17
↓ 2 callers
Method
computeInputHash
computeInputHash computes a hash containing inputs, environment and the task description.
bobtask/hash_in.go:30
↓ 2 callers
Function
createBobfile
(content string)
cli/cmd_init.go:116
← previous
next →
201–300 of 994, ranked by callers