ps

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2015 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 18

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, results int) ([]api.Process, int, 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