MCPcopy Create free account
hub / github.com/golang/appengine / List

Function List

module/module.go:23–28  ·  view source on GitHub ↗

List returns the names of modules belonging to this application.

(c context.Context)

Source from the content-addressed store, hash-verified

21
22// List returns the names of modules belonging to this application.
23func List(c context.Context) ([]string, error) {
24 req := &pb.GetModulesRequest{}
25 res := &pb.GetModulesResponse{}
26 err := internal.Call(c, "modules", "GetModules", req, res)
27 return res.Module, err
28}
29
30// NumInstances returns the number of instances of the given module/version.
31// If either argument is the empty string it means the default.

Callers 1

TestListFunction · 0.70

Calls 1

CallFunction · 0.92

Tested by 1

TestListFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…