Documentation ¶
Index ¶
- Constants
- func Config(argv []string) error
- func Install(argv []string, b backend.Backend) error
- func InstallPlatform(b backend.Backend) error
- func Journal(argv []string, b backend.Backend) error
- func ListUnitFiles(argv []string, b backend.Backend) error
- func ListUnits(argv []string, b backend.Backend) error
- func RefreshUnits(argv []string) error
- func Restart(argv []string, b backend.Backend) error
- func Scale(argv []string, b backend.Backend) error
- func Start(argv []string, b backend.Backend) error
- func StartPlatform(b backend.Backend) error
- func Status(argv []string, b backend.Backend) error
- func Stop(argv []string, b backend.Backend) error
- func StopPlatform(b backend.Backend) error
- func Uninstall(argv []string, b backend.Backend) error
- func UninstallPlatform(b backend.Backend) error
Constants ¶
const ( // PlatformCommand is shorthand for "all the Deis components." PlatformCommand string = "platform" )
Variables ¶
This section is empty.
Functions ¶
func Config ¶
Config gets or sets a configuration value from the cluster.
A configuration value is stored and retrieved from a key/value store (in this case, etcd) at /deis/<component>/<config>. Configuration values are typically used for component-level configuration, such as enabling TLS for the routers.
func Install ¶
Install loads the definitions of components from local unit files. After Install, the components will be available to Start.
func InstallPlatform ¶
InstallPlatform loads all components' definitions from local unit files. After InstallPlatform, all components will be available for StartPlatform.
func ListUnitFiles ¶
ListUnitFiles prints the contents of all defined unit files.
func RefreshUnits ¶
RefreshUnits overwrites local unit files with those requested. Downloading from the Deis project GitHub URL by tag or SHA is the only mechanism currently supported.
func Scale ¶
Scale grows or shrinks the number of running components. Currently "router", "registry" and "store-gateway" are the only types that can be scaled.
func StartPlatform ¶
StartPlatform activates all components.
func StopPlatform ¶
StopPlatform deactivates all components.
func Uninstall ¶
Uninstall unloads the definitions of the specified components. After Uninstall, the components will be unavailable until Install is called.
func UninstallPlatform ¶ added in v0.14.0
UninstallPlatform unloads all components' definitions. After UninstallPlatform, all components will be unavailable.
Types ¶
This section is empty.