ps

package
v0.1.1-rc2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 13 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListFirstPod

func ListFirstPod(ctx *clicontext.CLIContext, all bool, podOrServices ...string) (*tables.PodData, error)

func ListPods

func ListPods(ctx *clicontext.CLIContext, all bool, podOrServices ...string) ([]tables.PodData, error)

Types

type ContainerData

type ContainerData struct {
	ID        string
	Pod       *v1.Pod
	PodData   *tables.PodData
	Container *v1.Container
}

type Ps

type Ps struct {
	C_Containers bool   `desc:"print containers, not services"`
	N_Namespace  string `desc:"specify namespace"`
}

func (*Ps) Customize

func (p *Ps) Customize(cmd *cli.Command)

func (*Ps) Run

func (p *Ps) Run(ctx *clicontext.CLIContext) error

type ServiceData

type ServiceData struct {
	ID       string
	Created  string
	Service  *riov1.Service
	Endpoint string
	External string
}

Jump to

Keyboard shortcuts

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