Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainerData ¶
type ContainerData struct {
ID string
Pod *projectclient.Pod
PodData *PodData
Container *projectclient.Container
}
type PodData ¶
type PodData struct {
ID string
Name string
Managed bool
Service *lookup.StackScoped
Pod *projectclient.Pod
Containers []projectclient.Container
}
func ListFirstPod ¶
func ListFirstPod(ctx *clicontext.CLIContext, all bool, podOrServices ...string) (*PodData, error)
func ListPods ¶
func ListPods(ctx *clicontext.CLIContext, all bool, podOrServices ...string) ([]PodData, error)
type Ps ¶
type Ps struct {
C_Containers bool `desc:"print containers, not services"`
A_All bool `desc:"include all container, not just ones related to services"`
}
func (*Ps) Run ¶
func (p *Ps) Run(ctx *clicontext.CLIContext) error
Source Files
¶
- ps.go
- ps_containers.go
- ps_services.go
Click to show internal directories.
Click to hide internal directories.