Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatImage ¶ added in v0.0.3
func FormatScale ¶
Types ¶
type ContainerData ¶
type ContainerData struct { ID string Pod *spaceclient.Pod PodData *PodData Container *spaceclient.Container }
type PodData ¶
type PodData struct { ID string Name string Managed bool Service *lookup.StackScoped Pod *spaceclient.Pod Containers []spaceclient.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
Click to show internal directories.
Click to hide internal directories.