ps

package
v1.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2015 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByType

func ByType(processes []api.Process) map[string][]api.Process

ByType organizes processes of an app by process type.

func List

func List(c *client.Client, appID string) ([]api.Process, error)

List an app's processes.

func Restart

func Restart(c *client.Client, appID string, procType string, num int) ([]api.Process, error)

Restart an app's processes.

func Scale

func Scale(c *client.Client, appID string, targets map[string]int) error

Scale an app's processes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL