ps

package
v0.0.0-...-b196e69 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package ps provides methods for managing app processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByType

func ByType(processes api.PodsList) api.PodTypes

ByType organizes processes of an app by process type.

func Delete

func Delete(c *drycc.Client, appID string, podIDs string) error

Delete deletes a pod from an app.

func Describe

func Describe(c *drycc.Client, appID string, podID string, results int) (api.PodState, int, error)

Describe pod state

func Exec

func Exec(c *drycc.Client, appID, podID string, command api.Command) (*websocket.Conn, error)

Exec a command in a container.

func List

func List(c *drycc.Client, appID string, results int) (api.PodsList, int, error)

List lists an app's processes.

func Logs

func Logs(c *drycc.Client, appID, podID string, request api.PodLogsRequest) (*websocket.Conn, error)

Logs retrieves logs from an pod. The number of log lines fetched can be set by the lines

Types

This section is empty.

Jump to

Keyboard shortcuts

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