MCPcopy Index your code
hub / github.com/rilldata/rill / checkRunning

Method checkRunning

runtime/controller.go:851–856  ·  view source on GitHub ↗

checkRunning panics if called when the Controller is not running.

()

Source from the content-addressed store, hash-verified

849
850// checkRunning panics if called when the Controller is not running.
851func (c *Controller) checkRunning() error {
852 if c.closed.Load() {
853 return ErrControllerClosed
854 }
855 return nil
856}
857
858// idleWait represents a caller waiting for the controller to become idle.
859// If ignoreHidden is true, the controller will be considered idle if all running invocations are for hidden resources.

Callers 14

WaitUntilIdleMethod · 0.95
GetMethod · 0.95
ListMethod · 0.95
SubscribeMethod · 0.95
CreateMethod · 0.95
UpdateMetaMethod · 0.95
UpdateNameMethod · 0.95
UpdateSpecMethod · 0.95
UpdateStateMethod · 0.95
UpdateErrorAndWarningMethod · 0.95
DeleteMethod · 0.95
FlushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected