ps

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByType

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

ByType organizes processes of an app by process type.

func List

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

List an app's processes.

func Restart

func Restart(c *client.Client, appID string, procType string, name string) ([]api.Pods, 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