pod

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pod

type Pod struct {
}

Pod represents a group of containers that may share namespaces

func (*Pod) GetContainers

func (p *Pod) GetContainers() ([]*ctr.Container, error)

GetContainers retrieves the containers in the pod

func (*Pod) Kill

func (p *Pod) Kill(signal uint) error

Kill sends a signal to all running containers within a pod

func (*Pod) Start

func (p *Pod) Start() error

Start starts all containers within a pod that are not already running

func (*Pod) Status

func (p *Pod) Status() error

Status gets the status of all containers in the pod TODO This should return a summary of the states of all containers in the pod

func (*Pod) Stop

func (p *Pod) Stop() error

Stop stops all containers within a pod that are not already stopped

Jump to

Keyboard shortcuts

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