Versions in this module Expand all Collapse all v0 v0.2.0 Nov 28, 2016 v0.1.0 Nov 22, 2016 Changes in this version + const HyperstartAgent + const NoopAgentType + const SSHdAgent + func ListPod() error + func StatusContainer(podID, containerID string) error + func StatusPod(podID string) error + type AgentType string + func (agentType *AgentType) Set(value string) error + func (agentType *AgentType) String() string + type Cmd struct + Args []string + Envs []EnvVar + Group string + User string + WorkDir string + type Container struct + func CreateContainer(podID string, containerConfig ContainerConfig) (*Container, error) + func DeleteContainer(podID, containerID string) (*Container, error) + func EnterContainer(podID, containerID string, cmd Cmd) (*Container, error) + func StartContainer(podID, containerID string) (*Container, error) + func StopContainer(podID, containerID string) (*Container, error) + func (c *Container) ID() string + type ContainerConfig struct + Cmd Cmd + Console string + ID string + Interactive bool + RootFs string + type EnvVar struct + Value string + Var string + type ExecInfo struct + Container string + Process hyperJson.Process + type HyperConfig struct + SockCtlName string + SockTtyName string + Sockets []Socket + Volumes []Volume + type HypervisorConfig struct + HypervisorParams []Param + HypervisorPath string + ImagePath string + KernelParams []Param + KernelPath string + type HypervisorType string + const MockHypervisor + const QemuHypervisor + func (hType *HypervisorType) Set(value string) error + func (hType *HypervisorType) String() string + type Param struct + type Pod struct + func CreatePod(podConfig PodConfig) (*Pod, error) + func DeletePod(podID string) (*Pod, error) + func RunPod(podConfig PodConfig) (*Pod, error) + func StartPod(podID string) (*Pod, error) + func StopPod(podID string) (*Pod, error) + func (p *Pod) ID() string + type PodConfig struct + AgentConfig interface{} + AgentType AgentType + Containers []ContainerConfig + HypervisorConfig HypervisorConfig + HypervisorType HypervisorType + ID string + RootFs string + VMConfig Resources + Volumes []Volume + type Resources struct + Memory uint + VCPUs uint + type Socket struct + DeviceID string + HostPath string + ID string + Name string + type Sockets []Socket + func (s *Sockets) Set(sockStr string) error + func (s *Sockets) String() string + type SpawnerType string + const NsEnter + func (spawnerType *SpawnerType) Set(value string) error + func (spawnerType *SpawnerType) String() string + type SshdConfig struct + Port string + PrivKeyFile string + Protocol string + Server string + Spawner SpawnerType + Username string + type State struct + State stateString + type Volume struct + HostPath string + MountTag string + type Volumes []Volume + func (v *Volumes) Set(volStr string) error + func (v *Volumes) String() string