Versions in this module Expand all Collapse all v1 v1.3.2 Jan 7, 2017 v1.3.1 Sep 22, 2016 v1.3.0 Sep 19, 2016 Changes in this version + const HYPER_SERVER v1.2.0 Jun 23, 2016 v0 v0.4.0 Jun 23, 2016 Changes in this version + const KEY_TAG type PodStatus + FinishTime string v0.3.0 Mar 16, 2016 Changes in this version + const KEY_API_POD_UID + const KEY_ENTRYPOINT + const KEY_HOSTNAME + const KEY_LABELS + func LogSymlink(containerLogsDir, podFullName, containerName, containerID string) string type AttachToContainerOptions + TTY bool type Container + PodID string + type ContainerLogsOptions struct + Container string + ErrorStream io.Writer + Follow bool + OutputStream io.Writer + Since int64 + TailLines int64 + Timestamps bool + type ExecInContainerOptions struct + Commands []string + Container string + ErrorStream io.Writer + InputStream io.Reader + OutputStream io.Writer + TTY bool type HyperClient + func (c *HyperClient) GetExitCode(container, tag string) error + func (c *HyperClient) GetTag() string + func (client *HyperClient) ContainerLogs(opts ContainerLogsOptions) error + func (client *HyperClient) Exec(opts ExecInContainerOptions) error + func (client *HyperClient) GetPodIDByName(podName string) (string, error) + func (client *HyperClient) UpdatePodLabels(podId string, labels map[string]string) error type PodSpec + Labels map[string]string + Memory int + Vcpu int v0.1.0 Oct 25, 2015 Changes in this version + const DEFAULT_IMAGE_TAG + const HYPER_ADDR + const HYPER_MINVERSION + const HYPER_PROTO + const HYPER_SCHEME + const KEY_COMMAND + const KEY_CONTAINERS + const KEY_CONTAINER_ARGS + const KEY_CONTAINER_PORT + const KEY_DNS + const KEY_ENVS + const KEY_HOST_PORT + const KEY_ID + const KEY_IMAGE + const KEY_IMAGEID + const KEY_IMAGENAME + const KEY_ITEM + const KEY_MEMORY + const KEY_MOUNTPATH + const KEY_NAME + const KEY_POD_ARGS + const KEY_POD_ID + const KEY_POD_NAME + const KEY_PORTS + const KEY_PROTOCOL + const KEY_READONLY + const KEY_RESOURCE + const KEY_TTY + const KEY_TYPE + const KEY_VALUE + const KEY_VCPU + const KEY_VOLUME + const KEY_VOLUMES + const KEY_VOLUME_DRIVE + const KEY_VOLUME_SOURCE + const KEY_WORKDIR + const StatusFailed + const StatusPending + const StatusRunning + const StatusSuccess + const TYPE_CONTAINER + const TYPE_POD + const VOLUME_TYPE_VFS + var ErrConnectionRefused = errors.New("Cannot connect to the Hyper daemon. Is 'hyperd' running on this host?") + func MatchesContentType(contentType, expectedType string) bool + func New(generator kubecontainer.RunContainerOptionsGenerator, ...) (kubecontainer.Runtime, error) + type AttachToContainerOptions struct + Container string + ErrorStream io.Writer + InputStream io.Reader + Logs bool + OutputStream io.Writer + RawTerminal bool + Stderr bool + Stdin bool + Stdout bool + Stream bool + Success chan struct{} + type Container struct + Args []string + Commands []string + ContainerID string + Environment []EnvironmentVar + Image string + ImageID string + ImagePullPolicy string + Name string + Ports []ContainerPort + Volume []VolumeMount + Workdir string + type ContainerPort struct + ContainerPort int + HostIP string + HostPort int + Name string + Protocol string + type ContainerStatus struct + ContainerID string + Name string + Phase string + Running RunningStatus + Terminated TermStatus + Waiting WaitingStatus + type EnvironmentVar struct + Env string + Value string + type HyperClient struct + func NewHyperClient() *HyperClient + func (client *HyperClient) Attach(opts AttachToContainerOptions) error + func (client *HyperClient) CreatePod(podArgs string) (map[string]interface{}, error) + func (client *HyperClient) Info() (map[string]interface{}, error) + func (client *HyperClient) IsImagePresent(repo, tag string) (bool, error) + func (client *HyperClient) ListContainers() ([]HyperContainer, error) + func (client *HyperClient) ListImages() ([]HyperImage, error) + func (client *HyperClient) ListPods() ([]HyperPod, error) + func (client *HyperClient) ListServices(podId string) ([]HyperService, error) + func (client *HyperClient) PullImage(image string, credential string) error + func (client *HyperClient) RemoveImage(imageID string) error + func (client *HyperClient) RemovePod(podID string) error + func (client *HyperClient) StartPod(podID string) error + func (client *HyperClient) StopPod(podID string) error + func (client *HyperClient) UpdateServices(podId string, services []HyperService) error + func (client *HyperClient) Version() (string, error) + type HyperContainer struct + type HyperImage struct + type HyperPod struct + PodID string + PodInfo PodInfo + PodName string + Status string + VmName string + type HyperService struct + Hosts []HyperServiceBackend + Protocol string + ServiceIP string + ServicePort int + type HyperServiceBackend struct + HostIP string + HostPort int + type PodInfo struct + ApiVersion string + Kind string + Spec PodSpec + Status PodStatus + Vm string + type PodSpec struct + Containers []Container + Volumes []PodVolume + type PodStatus struct + HostIP string + Message string + Phase string + PodIP []string + Reason string + StartTime string + Status []ContainerStatus + type PodVolume struct + Driver string + HostPath string + Name string + Rbd RBDVolumeSource + type RBDVolumeSource struct + FsType string + Image string + Keyring string + Monitors []string + Pool string + ReadOnly bool + User string + type RunningStatus struct + StartedAt string + type TermStatus struct + ExitCode int + FinishedAt string + Message string + Reason string + StartedAt string + type VolumeMount struct + MountPath string + Name string + ReadOnly bool + type WaitingStatus struct + Reason string