MCPcopy Create free account
hub / github.com/docker/buildx / isRemoteWorker

Function isRemoteWorker

tests/integration.go:146–149  ·  view source on GitHub ↗
(sb integration.Sandbox)

Source from the content-addressed store, hash-verified

144}
145
146func isRemoteWorker(sb integration.Sandbox) bool {
147 name, _, _ := driverName(sb.Name())
148 return name == "remote"
149}
150
151func isRemoteMultiNodeWorker(sb integration.Sandbox) bool {
152 return sb.Name() == "remote+multinode"

Callers 3

testBuildPolicyHTTPFunction · 0.85
testBuildPolicyGitFunction · 0.85
testPolicyEvalHTTPFunction · 0.85

Calls 2

driverNameFunction · 0.85
NameMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…