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 ListPools(configStore *config.Store, env string) error
- func PoolCreate(configStore *config.Store, env, pool string) error
- func PoolDelete(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 ListPools ¶ added in v0.7.2
TODO: shouldn't the command cmd be printing the output, and not the package? The app, config, host, and runtime sections all do this too. (otherwise we should just combine the two packages). And why do we print the output here, but print the error in main???
func PoolCreate ¶ added in v0.7.2
Create a pool for an environment
func PoolDelete ¶ added in v0.7.2
func RuntimeSet ¶
func RuntimeUnset ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.