Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/envbuilder
/ functions
Functions
257 in github.com/coder/envbuilder
⨍
Functions
257
◇
Types & classes
39
↓ 1 callers
Method
CABundle
()
options/options.go:584
↓ 1 callers
Function
DecodeBase64PrivateKey
DecodeBase64PrivateKey attempts to decode a base64 encoded private key and returns an ssh.Signer
git/git.go:194
↓ 1 callers
Method
Enqueue
(uuid.UUID, ...agentsdk.Log)
log/coder.go:85
↓ 1 callers
Method
Execute
(ctx context.Context, uid, gid int)
devcontainer/script.go:83
↓ 1 callers
Method
Features
Features is a directory that contains feature files.
internal/workingdir/workingdir.go:81
↓ 1 callers
Method
Flush
(uuid.UUID)
log/coder.go:87
↓ 1 callers
Method
Markdown
()
options/options.go:555
↓ 1 callers
Method
MediaType
MediaType returns the media type of the layer
testutil/registrytest/registrytest.go:137
↓ 1 callers
Function
ReadPrivateKey
ReadPrivateKey attempts to read an SSH private key from path and returns an ssh.Signer.
git/git.go:175
↓ 1 callers
Function
Run
Run runs the envbuilder. Logger is the logf to use for all operations. Filesystem is the filesystem to use for all operations. Defaults to the host fi
envbuilder.go:89
↓ 1 callers
Function
RunCacheProbe
RunCacheProbe performs a 'dry-run' build of the image and checks that all of the resulting layers are present in options.CacheRepo.
envbuilder.go:979
↓ 1 callers
Method
ScriptLines
ScriptLines returns shell syntax for executing the commands in the LifecycleScript. TODO: Technically the commands could be executed in parallel, but
devcontainer/script.go:147
↓ 1 callers
Method
SendLoop
(context.Context, agentsdk.LogDest)
log/coder.go:86
↓ 1 callers
Method
Size
()
internal/ebutil/remount_internal_test.go:669
↓ 1 callers
Function
TempRemount
TempRemount iterates through all read-only mounted filesystems, bind-mounts them at dest, and unmounts them from their original source. All mount poin
internal/ebutil/remount.go:37
↓ 1 callers
Function
ToLogrus
(lvl Level)
log/logrus.go:31
↓ 1 callers
Method
Uncompressed
Uncompressed implements partial.UncompressedLayer
testutil/registrytest/registrytest.go:132
↓ 1 callers
Method
WaitUntilEmpty
(context.Context)
log/coder.go:88
↓ 1 callers
Function
Wrap
Wrap wraps the provided LogFuncs into a single Func.
log/log.go:42
↓ 1 callers
Function
WriteFile
WriteFile writes a file to the filesystem.
testutil/gittest/gittest.go:274
↓ 1 callers
Function
base64EncodeTestPrivateKey
()
git/git_test.go:564
↓ 1 callers
Function
checkTestRegistry
()
integration/integration_test.go:2627
↓ 1 callers
Function
cleanOldEnvbuilders
cleanOldEnvbuilders removes any old envbuilder containers.
integration/integration_test.go:2644
↓ 1 callers
Method
compileFeatures
(fs billy.Filesystem, devcontainerDir, scratchDir string, containerUser, remoteUser, dockerfileContent string,
devcontainer/devcontainer.go:223
↓ 1 callers
Function
convertOptionNameToEnv
See https://containers.dev/implementors/features/#option-resolution
devcontainer/features/features.go:267
↓ 1 callers
Function
createPostStartScript
(path string, postStartCommand devcontainer.LifecycleScript)
envbuilder.go:1478
↓ 1 callers
Function
envbuilderCmd
()
cmd/envbuilder/main.go:33
↓ 1 callers
Function
execLifecycleScripts
( ctx context.Context, options options.Options, scripts devcontainer.LifecycleScripts, firstStart bool, u
envbuilder.go:1436
↓ 1 callers
Function
extractFromImage
(fs billy.Filesystem, directory, reference string)
devcontainer/features/features.go:24
↓ 1 callers
Function
fakeIO
(i *serpent.Invocation)
options/options_test.go:209
↓ 1 callers
Function
find
(key string)
buildinfo/version.go:32
↓ 1 callers
Function
findUser
findUser looks up a user by name or ID.
envbuilder.go:1403
↓ 1 callers
Function
initClient
(coderURL *url.URL, token string)
log/coder.go:91
↓ 1 callers
Function
initRPC
(ctx context.Context, client *agentsdk.Client, l slog.Logger)
log/coder.go:97
↓ 1 callers
Function
isParallel
(t *testing.T)
log/coder_internal_test.go:351
↓ 1 callers
Function
libraryDirectorySymlinks
libraryDirectorySymlinks returns a mapping of each library (basename) with a list of their symlinks (basename). Libraries with no symlinks do not appe
internal/ebutil/libs.go:42
↓ 1 callers
Function
logDockerAuthConfigs
(logf log.Func, dockerConfigJSON []byte)
envbuilder.go:1800
↓ 1 callers
Function
maybeDeleteFilesystem
maybeDeleteFilesystem wraps util.DeleteFilesystem with a guard to hopefully stop folks from unwittingly deleting their entire root directory.
envbuilder.go:1574
↓ 1 callers
Function
moveLibSymlinks
moveLibSymlinks moves a list of symlinks from source to destination directory.
internal/ebutil/libs.go:77
↓ 1 callers
Function
parseMagicImageFile
(fs billy.Filesystem, path string, v any)
envbuilder.go:1672
↓ 1 callers
Function
readFile
(fs billy.Filesystem, name string)
envbuilder.go:1603
↓ 1 callers
Function
revision
()
buildinfo/version.go:28
↓ 1 callers
Function
run
(ctx context.Context, opts options.Options, execArgs *execArgsInfo)
envbuilder.go:120
↓ 1 callers
Function
sendLogsV1
sendLogsV1 uses the PatchLogs endpoint to send logs. This is deprecated, but required for backward compatibility with older versions of Coder.
log/coder.go:121
↓ 1 callers
Function
setAndRestoreEnv
(logf log.Func, key, value string)
envbuilder.go:1812
↓ 1 callers
Function
setEnvFromEtcEnvironment
(logf log.Func)
envbuilder.go:1350
↓ 1 callers
Function
skipDeprecatedOptions
(options []serpent.Option)
options/options.go:604
↓ 1 callers
Function
substitute
Spec for variable substitutions: https://containers.dev/implementors/json_reference/#variables-in-devcontainerjson
devcontainer/devcontainer.go:97
↓ 1 callers
Function
supportLegacyEnvWithoutPrefixes
(opts serpent.OptionSet)
options/options.go:537
↓ 1 callers
Function
testReplaceTimeout
(t *testing.T, v *time.Duration, d time.Duration)
log/coder_internal_test.go:341
↓ 1 callers
Function
writeFile
(fs billy.Filesystem, name string, data []byte, perm fs.FileMode)
envbuilder.go:1641
Method
BatchCreateLogs
(ctx context.Context, request *proto.BatchCreateLogsRequest)
log/coder_internal_test.go:335
Method
DiffID
DiffID implements partial.UncompressedLayer
testutil/registrytest/registrytest.go:127
Method
EvalSymlinks
EvalSymlinks mocks base method.
internal/ebutil/mock_mounter_test.go:46
Method
EvalSymlinks
EvalSymlinks indicates an expected call of EvalSymlinks.
internal/ebutil/mock_mounter_test.go:55
Method
EvalSymlinks
(path string)
internal/ebutil/remount.go:216
Method
GetMounts
GetMounts mocks base method.
internal/ebutil/mock_mounter_test.go:61
Method
GetMounts
GetMounts indicates an expected call of GetMounts.
internal/ebutil/mock_mounter_test.go:70
Method
GetMounts
()
internal/ebutil/remount.go:196
Method
IsDir
()
internal/ebutil/remount_internal_test.go:684
Method
LayerByDiffID
(h v1.Hash)
devcontainer/devcontainer_test.go:439
Method
MediaType
()
devcontainer/devcontainer_test.go:427
Method
MkdirAll
MkdirAll mocks base method.
internal/ebutil/mock_mounter_test.go:76
Method
MkdirAll
MkdirAll indicates an expected call of MkdirAll.
internal/ebutil/mock_mounter_test.go:84
Method
MkdirAll
(path string, perm os.FileMode)
internal/ebutil/remount.go:200
Method
ModTime
()
internal/ebutil/remount_internal_test.go:671
Method
Mode
()
internal/ebutil/remount_internal_test.go:670
Method
Mount
Mount mocks base method.
internal/ebutil/mock_mounter_test.go:90
Method
Mount
Mount indicates an expected call of Mount.
internal/ebutil/mock_mounter_test.go:98
Method
Mount
(src string, dest string, fstype string, flags uintptr, data string)
internal/ebutil/remount.go:188
Method
Name
()
internal/ebutil/remount_internal_test.go:683
Method
OpenFile
OpenFile mocks base method.
internal/ebutil/mock_mounter_test.go:104
Method
OpenFile
OpenFile indicates an expected call of OpenFile.
internal/ebutil/mock_mounter_test.go:113
Method
OpenFile
(name string, flag int, perm os.FileMode)
internal/ebutil/remount.go:204
Method
RawConfigFile
()
devcontainer/devcontainer_test.go:431
Method
ReadDir
ReadDir mocks base method.
internal/ebutil/mock_mounter_test.go:119
Method
ReadDir
ReadDir indicates an expected call of ReadDir.
internal/ebutil/mock_mounter_test.go:128
Method
ReadDir
(name string)
internal/ebutil/remount.go:212
Method
Rename
Rename mocks base method.
internal/ebutil/mock_mounter_test.go:134
Method
Rename
Rename indicates an expected call of Rename.
internal/ebutil/mock_mounter_test.go:142
Method
Rename
(oldpath, newpath string)
internal/ebutil/remount.go:220
Method
Stat
Stat mocks base method.
internal/ebutil/mock_mounter_test.go:148
Method
Stat
Stat indicates an expected call of Stat.
internal/ebutil/mock_mounter_test.go:157
Method
Stat
(path string)
internal/ebutil/remount.go:208
Method
Sys
()
internal/ebutil/remount_internal_test.go:673
Function
TestBuildCustomCertificates
(t *testing.T)
integration/integration_test.go:995
Function
TestBuildFailsFallback
(t *testing.T)
integration/integration_test.go:1065
Function
TestBuildFromCustomWorkspaceBaseDir
(t *testing.T)
integration/integration_test.go:925
Function
TestBuildFromDevcontainerInCustomPath
(t *testing.T)
integration/integration_test.go:900
Function
TestBuildFromDevcontainerInRoot
(t *testing.T)
integration/integration_test.go:971
Function
TestBuildFromDevcontainerInSubfolder
(t *testing.T)
integration/integration_test.go:947
Function
TestBuildFromDevcontainerWithFeatures
(t *testing.T)
integration/integration_test.go:497
Function
TestBuildFromDevcontainerWithFeaturesInAuthRepo
(t *testing.T)
integration/integration_test.go:581
Function
TestBuildFromDockerfileAndConfig
(t *testing.T)
integration/integration_test.go:665
Function
TestBuildIgnoreVarRunSecrets
(t *testing.T)
integration/integration_test.go:833
Function
TestBuildPrintBuildOutput
(t *testing.T)
integration/integration_test.go:803
Function
TestBuildSecrets
(t *testing.T)
integration/integration_test.go:1229
Function
TestBuildStopStartCached
(t *testing.T)
integration/integration_test.go:1018
Function
TestBuildWithSetupScript
(t *testing.T)
integration/integration_test.go:880
Function
TestCLIOutput
TestCLIOutput tests that the default CLI output is as expected.
options/options_test.go:153
← previous
next →
101–200 of 257, ranked by callers