ps

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 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.Processes) api.ProcessTypes

ByType organizes processes of an app by process type.

func List

func List(c *client.Client, appID string, results int) (api.Processes, 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