pod

package
v0.0.0-...-fe4f5a4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2017 License: Apache-2.0 Imports: 3 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 {
	ObjectMeta    common.ObjectMeta        `json:"meta"`
	TypeMeta      common.TypeMeta          `json:"spec"`
	PodStatus     PodStatus                `json:"status"`
	RestartCount  int32                    `json:"restart_count"`
	ContainerList *container.ContainerList `json:"containers"`
}

type PodList

type PodList struct {
	ListMeta common.ListMeta `json:"meta"`
	Pods     []Pod           `json:"pods"`
}

func CreatePodList

func CreatePodList(pods []api.Pod) *PodList

type PodStatus

type PodStatus struct {
	PodPhase        api.PodPhase         `json:"phase"`
	ContainerStates []api.ContainerState `json:"container_states"`
}

Jump to

Keyboard shortcuts

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