ps

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Containers added in v0.1.1

func Containers(ctx *clicontext.CLIContext) error

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)

func Pods added in v0.1.1

func Pods(ctx *clicontext.CLIContext) error

Types

type ContainerData

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

type Ps

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

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