pods

package
Version: v0.0.0-...-bd11f57 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2015 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCmd

func MakeCmd(p config.Pod) (string, error)

func Ps

func Ps()

func Run

func Run() (string, error)

Types

type PsOutput

type PsOutput struct {
	Pid         string `field:"LABEL"`
	ContainerId string `field:"CONTAINER"`
	Ip          string `field:"IP"`
	Image       string `field:"IMAGE"`
	Command     string `field:"COMMAND"`
	Status      string `field:"STATUS"`
	Ports       string `field:"PORTS"`
	Running     string `field:"RUNNING"`
}

func GetStatus

func GetStatus() []PsOutput

type RunOutput

type RunOutput struct {
	Pid         string `field:"PODS ID"`
	Pods        string `field:"PODS"`
	ContainerId string `field:"CONTAINER ID"`
}

func GetStart

func GetStart() ([]RunOutput, error)

func RunPods

func RunPods(file string) (RunOutput, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL