github.com/sercand/please@v13.4.0+incompatible/src/follow/stub.go (about) 1 // +build bootstrap 2 3 // Package follow implements remote communication between plz instances. 4 // This file is a stub used only for initial bootstrap. 5 package follow 6 7 import ( 8 "time" 9 10 "github.com/thought-machine/please/src/core" 11 ) 12 13 // InitialiseServer is a stub that does nothing. 14 func InitialiseServer(state *core.BuildState, port int) func() { 15 return func() {} 16 } 17 18 // ConnectClient is a stub that always returns false immediately. 19 func ConnectClient(state *core.BuildState, url string, retries int, delay time.Duration) bool { 20 return false 21 } 22 23 // UpdateResources is a stub that also does nothing. 24 func UpdateResources(state *core.BuildState) { 25 }