Documentation
¶
Index ¶
- func AppAssign(configStore *config.Store, app, env, pool string) error
- func AppCreate(configStore *config.Store, app, env string) error
- func AppDelete(configStore *config.Store, app, env string) error
- func AppDeploy(configStore *config.Store, serviceRuntime *runtime.ServiceRuntime, ...) error
- func AppList(configStore *config.Store, env string) error
- func AppRestart(Store *config.Store, app, env string) error
- func AppRun(configStore *config.Store, serviceRuntime *runtime.ServiceRuntime, ...) error
- func AppShell(configStore *config.Store, serviceRuntime *runtime.ServiceRuntime, ...) error
- func AppUnassign(configStore *config.Store, app, env, pool string) error
- func Balanced(configStore *config.Store, hostId, app, env, pool string) (int, error)
- func ConfigGet(configStore *config.Store, app, env string, envVars []string) error
- func ConfigList(configStore *config.Store, app, env string) error
- func ConfigSet(configStore *config.Store, app, env string, envVars []string) error
- func ConfigUnset(configStore *config.Store, app, env string, envVars []string) error
- func HostsList(configStore *config.Store, env, pool string) error
- func RuntimeList(configStore *config.Store, app, env, pool string) error
- func RuntimeSet(configStore *config.Store, app, env, pool string, options RuntimeOptions) (bool, error)
- func RuntimeUnset(configStore *config.Store, app, env, pool string, options RuntimeOptions) (bool, error)
- type RuntimeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Balanced ¶
Balanced returns the number of instances that should be run on the host according to the desired state for the app in the given env and pool. The number returned for the host represent an approximately equal distribution across all hosts.
func ConfigUnset ¶
func RuntimeSet ¶
func RuntimeUnset ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.