Documentation ¶
Overview ¶
Package module provides functions for interacting with modules.
The appengine package contains functions that report the identity of the app, including the module name.
Index ¶
- func DefaultVersion(c appengine.Context, module string) (string, error)
- func List(c appengine.Context) ([]string, error)
- func NumInstances(c appengine.Context, module, version string) (int, error)
- func SetNumInstances(c appengine.Context, module, version string, instances int) error
- func Start(c appengine.Context, module, version string) error
- func Stop(c appengine.Context, module, version string) error
- func Versions(c appengine.Context, module string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultVersion ¶
DefaultVersion returns the default version of the specified module. If module is the empty string, it means the default module.
func NumInstances ¶
NumInstances returns the number of instances of the given module/version. If either argument is the empty string it means the default.
func SetNumInstances ¶
SetNumInstances sets the number of instances of the given module.version to the specified value. If either module or version are the empty string it means the default.
func Start ¶
Start starts the specified version of the specified module. If either module or version are the empty string, it means the default.
Types ¶
This section is empty.