Versions in this module Expand all Collapse all v0 v0.23.6 Jul 29, 2016 Changes in this version type HyperContainer + ContainerID string + Name string + PodID string + Status string v0.21.0 Apr 1, 2016 Changes in this version + const DEFAULT_IMAGE_TAG + const HYPER_ADDR + const HYPER_MINVERSION + const HYPER_PROTO + const HYPER_SCHEME + const HyperNamespace + const KEY_COMMAND + const KEY_CONTAINERS + 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_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_VM + 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 + const WatchInterval + var ErrConnectionRefused = errors.New("Cannot connect to the Hyper daemon. Is 'hyperd' running on this host?") + func MatchesContentType(contentType, expectedType string) bool + func Register(factory info.MachineInfoFactory, fsInfo fs.FsInfo) error + type AttachToContainerOptions struct + Container string + ErrorStream io.Writer + InputStream io.Reader + OutputStream io.Writer + type BlkioStatEntry struct + Major uint64 + Minor uint64 + Name string + Source string + Stat map[string]uint64 + Type string + type BlkioStats struct + IoMergedRecursive []BlkioStatEntry + IoQueuedRecursive []BlkioStatEntry + IoServiceBytesRecursive []BlkioStatEntry + IoServiceTimeRecursive []BlkioStatEntry + IoServicedRecursive []BlkioStatEntry + IoTimeRecursive []BlkioStatEntry + IoWaitTimeRecursive []BlkioStatEntry + SectorsRecursive []BlkioStatEntry + type Container struct + Args []string + Commands []string + ContainerID string + Environment []EnvironmentVar + Image string + ImageID string + ImagePullPolicy string + Name string + PodID string + Ports []ContainerPort + Volume []VolumeMount + Workdir string + type ContainerPort struct + ContainerPort int + HostIP string + HostPort int + Name string + Protocol string + type ContainerStats struct + Block BlkioStats + ContainerID string + Cpu CpuStats + Filesystem []FsStats + Memory MemoryStats + Network NetworkStats + Timestamp time.Time + type ContainerStatus struct + ContainerID string + Name string + Phase string + Running RunningStatus + Terminated TermStatus + Waiting WaitingStatus + type CpuStats struct + LoadAverage int32 + Usage CpuUsage + type CpuUsage struct + PerCpu []uint64 + System uint64 + Total uint64 + User uint64 + type EnvironmentVar struct + Env string + Value string + type ExecInContainerOptions struct + Commands []string + Container string + ErrorStream io.Writer + InputStream io.Reader + OutputStream io.Writer + type FsStats struct + Available uint64 + Device string + IoInProgress uint64 + IoTime uint64 + Limit uint64 + ReadTime uint64 + ReadsCompleted uint64 + ReadsMerged uint64 + SectorsRead uint64 + SectorsWritten uint64 + Usage uint64 + WeightedIoTime uint64 + WriteTime uint64 + WritesCompleted uint64 + WritesMerged uint64 + type HyperClient struct + func NewHyperClient() *HyperClient + func (client *HyperClient) GetContainer(name string) (*Container, error) + func (client *HyperClient) GetPod(name string) (*PodInfo, error) + func (client *HyperClient) GetPodStats(podID string) (*PodStats, error) + func (client *HyperClient) Info() (map[string]interface{}, error) + func (client *HyperClient) ListContainers() ([]HyperContainer, error) + func (client *HyperClient) ListImages() ([]HyperImage, error) + func (client *HyperClient) ListPods() ([]HyperPod, error) + func (client *HyperClient) ListPodsByVM(vm string) ([]HyperPod, error) + func (client *HyperClient) Version() (string, error) + type HyperContainer struct + type HyperImage struct + CreatedAt int64 + ImageID string + Repository string + Tag string + VirtualSize int64 + 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 InterfaceStats struct + Name string + RxBytes uint64 + RxDropped uint64 + RxErrors uint64 + RxPackets uint64 + TxBytes uint64 + TxDropped uint64 + TxErrors uint64 + TxPackets uint64 + type MemoryStats struct + ContainerData MemoryStatsMemoryData + Failcnt uint64 + HierarchicalData MemoryStatsMemoryData + Usage uint64 + WorkingSet uint64 + type MemoryStatsMemoryData struct + Pgfault uint64 + Pgmajfault uint64 + type NetworkStats struct + Interfaces []InterfaceStats + Tcp TcpStat + Tcp6 TcpStat + type PodInfo struct + ApiVersion string + Kind string + Spec PodSpec + Status PodStatus + Vm string + type PodSpec struct + Containers []Container + Labels map[string]string + Memory int + Vcpu int + Volumes []PodVolume + type PodStats struct + Block BlkioStats + ContainersStats []ContainerStats + Cpu CpuStats + Filesystem []FsStats + Memory MemoryStats + Network NetworkStats + Timestamp time.Time + 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 TcpStat struct + Close uint64 + CloseWait uint64 + Closing uint64 + Established uint64 + FinWait1 uint64 + FinWait2 uint64 + LastAck uint64 + Listen uint64 + SynRecv uint64 + SynSent uint64 + TimeWait uint64 + 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