- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WaitFunc (0.15 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go
condition ConditionWithContextFunc waitFunc func() waitFunc attemptsExpected int errExpected error }{ { name: "condition returns done=true on first attempt, no retry is attempted", context: defaultContext, condition: ConditionWithContextFunc(func(context.Context) (bool, error) { return true, nil }),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 41.1K bytes - Viewed (0) -
src/cmd/go/internal/script/cmds.go
func Command(usage CmdUsage, run func(*State, ...string) (WaitFunc, error)) Cmd { return &funcCmd{ usage: usage, run: run, } } // A funcCmd implements Cmd using a function value. type funcCmd struct { usage CmdUsage run func(*State, ...string) (WaitFunc, error) } func (c *funcCmd) Run(s *State, args ...string) (WaitFunc, error) { return c.run(s, args...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 28.5K bytes - Viewed (0) -
src/cmd/go/scriptcmds_test.go
func scriptCC(cmdExec script.Cmd) script.Cmd { return script.Command( script.CmdUsage{ Summary: "run the platform C compiler", Args: "args...", }, func(s *script.State, args ...string) (script.WaitFunc, error) { b := work.NewBuilder(s.Getwd()) wait, err := cmdExec.Run(s, append(b.GccCmd(".", ""), args...)...) if err != nil { return wait, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 18:33:17 UTC 2024 - 3.3K bytes - Viewed (0)