Documentation
¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
types.proto
It has these top-level messages:
ContainerPort EnvironmentVar VolumeMount WaitingStatus RunningStatus TermStatus ContainerStatus ContainerInfo Container RBDVolumeSource PodVolume PodSpec PodStatus PodInfo ImageInfo PodStats CpuStats CpuUsage BlkioStats BlkioStatEntry MemoryStats MemoryStatsMemoryData NetworkStats TcpStat InterfaceStats FsStats ContainersStats PodInfoRequest PodInfoResponse PodListRequest PodListResult PodListResponse ContainerListRequest ContainerListResult ContainerListResponse ContainerInfoRequest ContainerInfoResponse VMListResult VMListRequest VMListResponse ImageListRequest ImageListResponse VMCreateRequest VMCreateResponse VMRemoveRequest VMRemoveResponse UserContainerPort UserVolumeReference UserFileReference UserUser UserContainer UserResource UserFile UserVolumeOption UserVolume UserInterface UserServiceBackend UserService PodLogConfig PortmappingWhiteList UserPod PodCreateRequest PodCreateResponse PodRemoveRequest PodRemoveResponse ContainerLogsRequest ContainerLogsResponse DriverStatus InfoRequest InfoResponse ExecCreateRequest ExecCreateResponse ExecStartRequest ExecStartResponse PodStartMessage WaitRequest WaitResponse AttachMessage ContainerCreateRequest ContainerCreateResponse ContainerRenameRequest ContainerRenameResponse AuthConfig ImagePullRequest ImagePullResponse ImagePushRequest ImagePushResponse ImageRemoveRequest ImageDelete ImageRemoveResponse ContainerStopRequest ContainerStopResponse VersionRequest VersionResponse ServiceListResponse ServiceListRequest ServiceAddRequest ServiceAddResponse ServiceDelRequest ServiceDelResponse ServiceUpdateRequest ServiceUpdateResponse PodStopRequest PodStopResponse PodSignalRequest PodSignalResponse PodPauseRequest PodPauseResponse PodUnpauseRequest PodUnpauseResponse PodLabelsRequest PodLabelsResponse PodStatsRequest PodStatsResponse PingRequest PingResponse
Index ¶
- func RegisterPublicAPIServer(s *grpc.Server, srv PublicAPIServer)
- type AttachMessage
- type AuthConfig
- type BlkioStatEntry
- type BlkioStats
- func (m *BlkioStats) GetIoMergedRecursive() []*BlkioStatEntry
- func (m *BlkioStats) GetIoQueuedRecursive() []*BlkioStatEntry
- func (m *BlkioStats) GetIoServiceBytesRecursive() []*BlkioStatEntry
- func (m *BlkioStats) GetIoServiceTimeRecursive() []*BlkioStatEntry
- func (m *BlkioStats) GetIoServicedRecursive() []*BlkioStatEntry
- func (m *BlkioStats) GetIoTimeRecursive() []*BlkioStatEntry
- func (m *BlkioStats) GetIoWaitTimeRecursive() []*BlkioStatEntry
- func (m *BlkioStats) GetSectorsRecursive() []*BlkioStatEntry
- func (*BlkioStats) ProtoMessage()
- func (m *BlkioStats) Reset()
- func (m *BlkioStats) String() string
- type Container
- type ContainerCreateRequest
- type ContainerCreateResponse
- type ContainerInfo
- type ContainerInfoRequest
- type ContainerInfoResponse
- type ContainerListRequest
- type ContainerListResponse
- type ContainerListResult
- type ContainerLogsRequest
- type ContainerLogsResponse
- type ContainerPort
- type ContainerRenameRequest
- type ContainerRenameResponse
- type ContainerStatus
- type ContainerStopRequest
- type ContainerStopResponse
- type ContainersStats
- func (m *ContainersStats) GetBlock() *BlkioStats
- func (m *ContainersStats) GetCpu() *CpuStats
- func (m *ContainersStats) GetFilesystem() []*FsStats
- func (m *ContainersStats) GetMemory() *MemoryStats
- func (m *ContainersStats) GetNetwork() *NetworkStats
- func (*ContainersStats) ProtoMessage()
- func (m *ContainersStats) Reset()
- func (m *ContainersStats) String() string
- type CpuStats
- type CpuUsage
- type DriverStatus
- type EnvironmentVar
- type ExecCreateRequest
- type ExecCreateResponse
- type ExecStartRequest
- type ExecStartResponse
- type FsStats
- type ImageDelete
- type ImageInfo
- type ImageListRequest
- type ImageListResponse
- type ImagePullRequest
- type ImagePullResponse
- type ImagePushRequest
- type ImagePushResponse
- type ImageRemoveRequest
- type ImageRemoveResponse
- type InfoRequest
- type InfoResponse
- type InterfaceStats
- type MemoryStats
- type MemoryStatsMemoryData
- type NetworkStats
- type PingRequest
- type PingResponse
- type PodCreateRequest
- type PodCreateResponse
- type PodInfo
- type PodInfoRequest
- type PodInfoResponse
- type PodLabelsRequest
- type PodLabelsResponse
- type PodListRequest
- type PodListResponse
- type PodListResult
- type PodLogConfig
- type PodPauseRequest
- type PodPauseResponse
- type PodRemoveRequest
- type PodRemoveResponse
- type PodSignalRequest
- type PodSignalResponse
- type PodSpec
- type PodStartMessage
- type PodStats
- func (m *PodStats) GetBlock() *BlkioStats
- func (m *PodStats) GetContainersStats() []*ContainersStats
- func (m *PodStats) GetCpu() *CpuStats
- func (m *PodStats) GetFilesystem() []*FsStats
- func (m *PodStats) GetMemory() *MemoryStats
- func (m *PodStats) GetNetwork() *NetworkStats
- func (*PodStats) ProtoMessage()
- func (m *PodStats) Reset()
- func (m *PodStats) String() string
- type PodStatsRequest
- type PodStatsResponse
- type PodStatus
- type PodStopRequest
- type PodStopResponse
- type PodUnpauseRequest
- type PodUnpauseResponse
- type PodVolume
- type PortmappingWhiteList
- type PublicAPIClient
- type PublicAPIServer
- type PublicAPI_AttachClient
- type PublicAPI_AttachServer
- type PublicAPI_ContainerLogsClient
- type PublicAPI_ContainerLogsServer
- type PublicAPI_ExecStartClient
- type PublicAPI_ExecStartServer
- type PublicAPI_ImagePullClient
- type PublicAPI_ImagePullServer
- type PublicAPI_ImagePushClient
- type PublicAPI_ImagePushServer
- type PublicAPI_PodStartClient
- type PublicAPI_PodStartServer
- type RBDVolumeSource
- type RunningStatus
- type ServiceAddRequest
- type ServiceAddResponse
- type ServiceDelRequest
- type ServiceDelResponse
- type ServiceListRequest
- type ServiceListResponse
- type ServiceUpdateRequest
- type ServiceUpdateResponse
- type TcpStat
- type TermStatus
- type UserContainer
- func (m *UserContainer) GetEnvs() []*EnvironmentVar
- func (m *UserContainer) GetFiles() []*UserFileReference
- func (m *UserContainer) GetLabels() map[string]string
- func (m *UserContainer) GetPorts() []*UserContainerPort
- func (m *UserContainer) GetSysctl() map[string]string
- func (m *UserContainer) GetUser() *UserUser
- func (m *UserContainer) GetVolumes() []*UserVolumeReference
- func (*UserContainer) ProtoMessage()
- func (m *UserContainer) Reset()
- func (m *UserContainer) String() string
- type UserContainerPort
- type UserFile
- type UserFileReference
- type UserInterface
- type UserPod
- func (m *UserPod) GetContainers() []*UserContainer
- func (m *UserPod) GetFiles() []*UserFile
- func (m *UserPod) GetInterfaces() []*UserInterface
- func (m *UserPod) GetLabels() map[string]string
- func (m *UserPod) GetLog() *PodLogConfig
- func (m *UserPod) GetPortmappingWhiteLists() *PortmappingWhiteList
- func (m *UserPod) GetResource() *UserResource
- func (m *UserPod) GetServices() []*UserService
- func (m *UserPod) GetVolumes() []*UserVolume
- func (*UserPod) ProtoMessage()
- func (m *UserPod) Reset()
- func (m *UserPod) String() string
- type UserResource
- type UserService
- type UserServiceBackend
- type UserUser
- type UserVolume
- type UserVolumeOption
- type UserVolumeReference
- type VMCreateRequest
- type VMCreateResponse
- type VMListRequest
- type VMListResponse
- type VMListResult
- type VMRemoveRequest
- type VMRemoveResponse
- type VersionRequest
- type VersionResponse
- type VolumeMount
- type WaitRequest
- type WaitResponse
- type WaitingStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPublicAPIServer ¶
func RegisterPublicAPIServer(s *grpc.Server, srv PublicAPIServer)
Types ¶
type AttachMessage ¶
type AttachMessage struct { ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*AttachMessage) ProtoMessage ¶
func (*AttachMessage) ProtoMessage()
func (*AttachMessage) Reset ¶
func (m *AttachMessage) Reset()
func (*AttachMessage) String ¶
func (m *AttachMessage) String() string
type AuthConfig ¶
type AuthConfig struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Auth string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Serveraddress string `protobuf:"bytes,5,opt,name=serveraddress,proto3" json:"serveraddress,omitempty"` Registrytoken string `protobuf:"bytes,6,opt,name=registrytoken,proto3" json:"registrytoken,omitempty"` }
func (*AuthConfig) ProtoMessage ¶
func (*AuthConfig) ProtoMessage()
func (*AuthConfig) Reset ¶
func (m *AuthConfig) Reset()
func (*AuthConfig) String ¶
func (m *AuthConfig) String() string
type BlkioStatEntry ¶
type BlkioStatEntry struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` Major uint64 `protobuf:"varint,4,opt,name=major,proto3" json:"major,omitempty"` Minor uint64 `protobuf:"varint,5,opt,name=minor,proto3" json:"minor,omitempty"` Stat map[string]uint64 `` /* 143-byte string literal not displayed */ }
func (*BlkioStatEntry) GetStat ¶
func (m *BlkioStatEntry) GetStat() map[string]uint64
func (*BlkioStatEntry) ProtoMessage ¶
func (*BlkioStatEntry) ProtoMessage()
func (*BlkioStatEntry) Reset ¶
func (m *BlkioStatEntry) Reset()
func (*BlkioStatEntry) String ¶
func (m *BlkioStatEntry) String() string
type BlkioStats ¶
type BlkioStats struct { IoServiceBytesRecursive []*BlkioStatEntry `protobuf:"bytes,1,rep,name=ioServiceBytesRecursive" json:"ioServiceBytesRecursive,omitempty"` IoServicedRecursive []*BlkioStatEntry `protobuf:"bytes,2,rep,name=ioServicedRecursive" json:"ioServicedRecursive,omitempty"` IoQueuedRecursive []*BlkioStatEntry `protobuf:"bytes,3,rep,name=ioQueuedRecursive" json:"ioQueuedRecursive,omitempty"` IoServiceTimeRecursive []*BlkioStatEntry `protobuf:"bytes,4,rep,name=ioServiceTimeRecursive" json:"ioServiceTimeRecursive,omitempty"` IoWaitTimeRecursive []*BlkioStatEntry `protobuf:"bytes,5,rep,name=ioWaitTimeRecursive" json:"ioWaitTimeRecursive,omitempty"` IoMergedRecursive []*BlkioStatEntry `protobuf:"bytes,6,rep,name=ioMergedRecursive" json:"ioMergedRecursive,omitempty"` IoTimeRecursive []*BlkioStatEntry `protobuf:"bytes,7,rep,name=ioTimeRecursive" json:"ioTimeRecursive,omitempty"` SectorsRecursive []*BlkioStatEntry `protobuf:"bytes,8,rep,name=sectorsRecursive" json:"sectorsRecursive,omitempty"` }
func (*BlkioStats) GetIoMergedRecursive ¶
func (m *BlkioStats) GetIoMergedRecursive() []*BlkioStatEntry
func (*BlkioStats) GetIoQueuedRecursive ¶
func (m *BlkioStats) GetIoQueuedRecursive() []*BlkioStatEntry
func (*BlkioStats) GetIoServiceBytesRecursive ¶
func (m *BlkioStats) GetIoServiceBytesRecursive() []*BlkioStatEntry
func (*BlkioStats) GetIoServiceTimeRecursive ¶
func (m *BlkioStats) GetIoServiceTimeRecursive() []*BlkioStatEntry
func (*BlkioStats) GetIoServicedRecursive ¶
func (m *BlkioStats) GetIoServicedRecursive() []*BlkioStatEntry
func (*BlkioStats) GetIoTimeRecursive ¶
func (m *BlkioStats) GetIoTimeRecursive() []*BlkioStatEntry
func (*BlkioStats) GetIoWaitTimeRecursive ¶
func (m *BlkioStats) GetIoWaitTimeRecursive() []*BlkioStatEntry
func (*BlkioStats) GetSectorsRecursive ¶
func (m *BlkioStats) GetSectorsRecursive() []*BlkioStatEntry
func (*BlkioStats) ProtoMessage ¶
func (*BlkioStats) ProtoMessage()
func (*BlkioStats) Reset ¶
func (m *BlkioStats) Reset()
func (*BlkioStats) String ¶
func (m *BlkioStats) String() string
type Container ¶
type Container struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ContainerID string `protobuf:"bytes,2,opt,name=containerID,proto3" json:"containerID,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` ImageID string `protobuf:"bytes,4,opt,name=imageID,proto3" json:"imageID,omitempty"` ImagePullPolicy string `protobuf:"bytes,5,opt,name=imagePullPolicy,proto3" json:"imagePullPolicy,omitempty"` WorkingDir string `protobuf:"bytes,6,opt,name=workingDir,proto3" json:"workingDir,omitempty"` User string `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"` Tty bool `protobuf:"varint,8,opt,name=tty,proto3" json:"tty,omitempty"` Commands []string `protobuf:"bytes,9,rep,name=commands" json:"commands,omitempty"` Args []string `protobuf:"bytes,10,rep,name=args" json:"args,omitempty"` Ports []*ContainerPort `protobuf:"bytes,11,rep,name=ports" json:"ports,omitempty"` Env []*EnvironmentVar `protobuf:"bytes,12,rep,name=env" json:"env,omitempty"` VolumeMounts []*VolumeMount `protobuf:"bytes,13,rep,name=volumeMounts" json:"volumeMounts,omitempty"` Labels map[string]string `` /* 147-byte string literal not displayed */ }
func (*Container) GetEnv ¶
func (m *Container) GetEnv() []*EnvironmentVar
func (*Container) GetPorts ¶
func (m *Container) GetPorts() []*ContainerPort
func (*Container) GetVolumeMounts ¶
func (m *Container) GetVolumeMounts() []*VolumeMount
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
type ContainerCreateRequest ¶
type ContainerCreateRequest struct { ContainerSpec *UserContainer `protobuf:"bytes,1,opt,name=containerSpec" json:"containerSpec,omitempty"` PodID string `protobuf:"bytes,2,opt,name=podID,proto3" json:"podID,omitempty"` }
func (*ContainerCreateRequest) GetContainerSpec ¶
func (m *ContainerCreateRequest) GetContainerSpec() *UserContainer
func (*ContainerCreateRequest) ProtoMessage ¶
func (*ContainerCreateRequest) ProtoMessage()
func (*ContainerCreateRequest) Reset ¶
func (m *ContainerCreateRequest) Reset()
func (*ContainerCreateRequest) String ¶
func (m *ContainerCreateRequest) String() string
type ContainerCreateResponse ¶
type ContainerCreateResponse struct {
ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"`
}
func (*ContainerCreateResponse) ProtoMessage ¶
func (*ContainerCreateResponse) ProtoMessage()
func (*ContainerCreateResponse) Reset ¶
func (m *ContainerCreateResponse) Reset()
func (*ContainerCreateResponse) String ¶
func (m *ContainerCreateResponse) String() string
type ContainerInfo ¶
type ContainerInfo struct { Container *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"` CreatedAt int64 `protobuf:"varint,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` PodID string `protobuf:"bytes,3,opt,name=podID,proto3" json:"podID,omitempty"` Status *ContainerStatus `protobuf:"bytes,4,opt,name=status" json:"status,omitempty"` }
func (*ContainerInfo) GetContainer ¶
func (m *ContainerInfo) GetContainer() *Container
func (*ContainerInfo) GetStatus ¶
func (m *ContainerInfo) GetStatus() *ContainerStatus
func (*ContainerInfo) ProtoMessage ¶
func (*ContainerInfo) ProtoMessage()
func (*ContainerInfo) Reset ¶
func (m *ContainerInfo) Reset()
func (*ContainerInfo) String ¶
func (m *ContainerInfo) String() string
type ContainerInfoRequest ¶
type ContainerInfoRequest struct { // container is the name or id of specified container Container string `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` }
func (*ContainerInfoRequest) ProtoMessage ¶
func (*ContainerInfoRequest) ProtoMessage()
func (*ContainerInfoRequest) Reset ¶
func (m *ContainerInfoRequest) Reset()
func (*ContainerInfoRequest) String ¶
func (m *ContainerInfoRequest) String() string
type ContainerInfoResponse ¶
type ContainerInfoResponse struct {
ContainerInfo *ContainerInfo `protobuf:"bytes,1,opt,name=containerInfo" json:"containerInfo,omitempty"`
}
func (*ContainerInfoResponse) GetContainerInfo ¶
func (m *ContainerInfoResponse) GetContainerInfo() *ContainerInfo
func (*ContainerInfoResponse) ProtoMessage ¶
func (*ContainerInfoResponse) ProtoMessage()
func (*ContainerInfoResponse) Reset ¶
func (m *ContainerInfoResponse) Reset()
func (*ContainerInfoResponse) String ¶
func (m *ContainerInfoResponse) String() string
type ContainerListRequest ¶
type ContainerListRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` VmID string `protobuf:"bytes,2,opt,name=vmID,proto3" json:"vmID,omitempty"` Auxiliary bool `protobuf:"varint,3,opt,name=auxiliary,proto3" json:"auxiliary,omitempty"` }
func (*ContainerListRequest) ProtoMessage ¶
func (*ContainerListRequest) ProtoMessage()
func (*ContainerListRequest) Reset ¶
func (m *ContainerListRequest) Reset()
func (*ContainerListRequest) String ¶
func (m *ContainerListRequest) String() string
type ContainerListResponse ¶
type ContainerListResponse struct {
ContainerList []*ContainerListResult `protobuf:"bytes,1,rep,name=containerList" json:"containerList,omitempty"`
}
func (*ContainerListResponse) GetContainerList ¶
func (m *ContainerListResponse) GetContainerList() []*ContainerListResult
func (*ContainerListResponse) ProtoMessage ¶
func (*ContainerListResponse) ProtoMessage()
func (*ContainerListResponse) Reset ¶
func (m *ContainerListResponse) Reset()
func (*ContainerListResponse) String ¶
func (m *ContainerListResponse) String() string
type ContainerListResult ¶
type ContainerListResult struct { ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` ContainerName string `protobuf:"bytes,2,opt,name=containerName,proto3" json:"containerName,omitempty"` PodID string `protobuf:"bytes,3,opt,name=podID,proto3" json:"podID,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` }
func (*ContainerListResult) ProtoMessage ¶
func (*ContainerListResult) ProtoMessage()
func (*ContainerListResult) Reset ¶
func (m *ContainerListResult) Reset()
func (*ContainerListResult) String ¶
func (m *ContainerListResult) String() string
type ContainerLogsRequest ¶
type ContainerLogsRequest struct { Container string `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"` Timestamps bool `protobuf:"varint,3,opt,name=timestamps,proto3" json:"timestamps,omitempty"` Tail string `protobuf:"bytes,4,opt,name=tail,proto3" json:"tail,omitempty"` Since string `protobuf:"bytes,5,opt,name=since,proto3" json:"since,omitempty"` Stdout bool `protobuf:"varint,6,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr bool `protobuf:"varint,7,opt,name=stderr,proto3" json:"stderr,omitempty"` }
func (*ContainerLogsRequest) ProtoMessage ¶
func (*ContainerLogsRequest) ProtoMessage()
func (*ContainerLogsRequest) Reset ¶
func (m *ContainerLogsRequest) Reset()
func (*ContainerLogsRequest) String ¶
func (m *ContainerLogsRequest) String() string
type ContainerLogsResponse ¶
type ContainerLogsResponse struct {
Log []byte `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
}
func (*ContainerLogsResponse) ProtoMessage ¶
func (*ContainerLogsResponse) ProtoMessage()
func (*ContainerLogsResponse) Reset ¶
func (m *ContainerLogsResponse) Reset()
func (*ContainerLogsResponse) String ¶
func (m *ContainerLogsResponse) String() string
type ContainerPort ¶
type ContainerPort struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` HostPort int32 `protobuf:"varint,2,opt,name=hostPort,proto3" json:"hostPort,omitempty"` ContainerPort int32 `protobuf:"varint,3,opt,name=containerPort,proto3" json:"containerPort,omitempty"` Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` HostIP string `protobuf:"bytes,5,opt,name=hostIP,proto3" json:"hostIP,omitempty"` }
Types definitions for HyperContainer
func (*ContainerPort) ProtoMessage ¶
func (*ContainerPort) ProtoMessage()
func (*ContainerPort) Reset ¶
func (m *ContainerPort) Reset()
func (*ContainerPort) String ¶
func (m *ContainerPort) String() string
type ContainerRenameRequest ¶
type ContainerRenameRequest struct { OldContainerName string `protobuf:"bytes,1,opt,name=oldContainerName,proto3" json:"oldContainerName,omitempty"` NewContainerName string `protobuf:"bytes,2,opt,name=newContainerName,proto3" json:"newContainerName,omitempty"` }
func (*ContainerRenameRequest) ProtoMessage ¶
func (*ContainerRenameRequest) ProtoMessage()
func (*ContainerRenameRequest) Reset ¶
func (m *ContainerRenameRequest) Reset()
func (*ContainerRenameRequest) String ¶
func (m *ContainerRenameRequest) String() string
type ContainerRenameResponse ¶
type ContainerRenameResponse struct { }
func (*ContainerRenameResponse) ProtoMessage ¶
func (*ContainerRenameResponse) ProtoMessage()
func (*ContainerRenameResponse) Reset ¶
func (m *ContainerRenameResponse) Reset()
func (*ContainerRenameResponse) String ¶
func (m *ContainerRenameResponse) String() string
type ContainerStatus ¶
type ContainerStatus struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ContainerID string `protobuf:"bytes,2,opt,name=containerID,proto3" json:"containerID,omitempty"` Phase string `protobuf:"bytes,3,opt,name=phase,proto3" json:"phase,omitempty"` Waiting *WaitingStatus `protobuf:"bytes,4,opt,name=waiting" json:"waiting,omitempty"` Running *RunningStatus `protobuf:"bytes,5,opt,name=running" json:"running,omitempty"` Terminated *TermStatus `protobuf:"bytes,6,opt,name=terminated" json:"terminated,omitempty"` }
func (*ContainerStatus) GetRunning ¶
func (m *ContainerStatus) GetRunning() *RunningStatus
func (*ContainerStatus) GetTerminated ¶
func (m *ContainerStatus) GetTerminated() *TermStatus
func (*ContainerStatus) GetWaiting ¶
func (m *ContainerStatus) GetWaiting() *WaitingStatus
func (*ContainerStatus) ProtoMessage ¶
func (*ContainerStatus) ProtoMessage()
func (*ContainerStatus) Reset ¶
func (m *ContainerStatus) Reset()
func (*ContainerStatus) String ¶
func (m *ContainerStatus) String() string
type ContainerStopRequest ¶
type ContainerStopRequest struct {
ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"`
}
func (*ContainerStopRequest) ProtoMessage ¶
func (*ContainerStopRequest) ProtoMessage()
func (*ContainerStopRequest) Reset ¶
func (m *ContainerStopRequest) Reset()
func (*ContainerStopRequest) String ¶
func (m *ContainerStopRequest) String() string
type ContainerStopResponse ¶
type ContainerStopResponse struct { }
func (*ContainerStopResponse) ProtoMessage ¶
func (*ContainerStopResponse) ProtoMessage()
func (*ContainerStopResponse) Reset ¶
func (m *ContainerStopResponse) Reset()
func (*ContainerStopResponse) String ¶
func (m *ContainerStopResponse) String() string
type ContainersStats ¶
type ContainersStats struct { ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` Cpu *CpuStats `protobuf:"bytes,2,opt,name=cpu" json:"cpu,omitempty"` Block *BlkioStats `protobuf:"bytes,3,opt,name=block" json:"block,omitempty"` Memory *MemoryStats `protobuf:"bytes,4,opt,name=memory" json:"memory,omitempty"` Network *NetworkStats `protobuf:"bytes,5,opt,name=network" json:"network,omitempty"` Filesystem []*FsStats `protobuf:"bytes,6,rep,name=filesystem" json:"filesystem,omitempty"` Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*ContainersStats) GetBlock ¶
func (m *ContainersStats) GetBlock() *BlkioStats
func (*ContainersStats) GetCpu ¶
func (m *ContainersStats) GetCpu() *CpuStats
func (*ContainersStats) GetFilesystem ¶
func (m *ContainersStats) GetFilesystem() []*FsStats
func (*ContainersStats) GetMemory ¶
func (m *ContainersStats) GetMemory() *MemoryStats
func (*ContainersStats) GetNetwork ¶
func (m *ContainersStats) GetNetwork() *NetworkStats
func (*ContainersStats) ProtoMessage ¶
func (*ContainersStats) ProtoMessage()
func (*ContainersStats) Reset ¶
func (m *ContainersStats) Reset()
func (*ContainersStats) String ¶
func (m *ContainersStats) String() string
type CpuStats ¶
type CpuStats struct { Usage *CpuUsage `protobuf:"bytes,1,opt,name=usage" json:"usage,omitempty"` LoadAverage int32 `protobuf:"varint,2,opt,name=LoadAverage,proto3" json:"LoadAverage,omitempty"` }
func (*CpuStats) ProtoMessage ¶
func (*CpuStats) ProtoMessage()
type CpuUsage ¶
type CpuUsage struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` PerCpu []uint64 `protobuf:"varint,2,rep,name=perCpu" json:"perCpu,omitempty"` User uint64 `protobuf:"varint,3,opt,name=user,proto3" json:"user,omitempty"` System uint64 `protobuf:"varint,4,opt,name=system,proto3" json:"system,omitempty"` }
func (*CpuUsage) ProtoMessage ¶
func (*CpuUsage) ProtoMessage()
type DriverStatus ¶
type DriverStatus struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` }
func (*DriverStatus) ProtoMessage ¶
func (*DriverStatus) ProtoMessage()
func (*DriverStatus) Reset ¶
func (m *DriverStatus) Reset()
func (*DriverStatus) String ¶
func (m *DriverStatus) String() string
type EnvironmentVar ¶
type EnvironmentVar struct { Env string `protobuf:"bytes,1,opt,name=env,proto3" json:"env,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*EnvironmentVar) ProtoMessage ¶
func (*EnvironmentVar) ProtoMessage()
func (*EnvironmentVar) Reset ¶
func (m *EnvironmentVar) Reset()
func (*EnvironmentVar) String ¶
func (m *EnvironmentVar) String() string
type ExecCreateRequest ¶
type ExecCreateRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` Command []string `protobuf:"bytes,2,rep,name=command" json:"command,omitempty"` Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"` }
func (*ExecCreateRequest) ProtoMessage ¶
func (*ExecCreateRequest) ProtoMessage()
func (*ExecCreateRequest) Reset ¶
func (m *ExecCreateRequest) Reset()
func (*ExecCreateRequest) String ¶
func (m *ExecCreateRequest) String() string
type ExecCreateResponse ¶
type ExecCreateResponse struct {
ExecID string `protobuf:"bytes,1,opt,name=execID,proto3" json:"execID,omitempty"`
}
func (*ExecCreateResponse) ProtoMessage ¶
func (*ExecCreateResponse) ProtoMessage()
func (*ExecCreateResponse) Reset ¶
func (m *ExecCreateResponse) Reset()
func (*ExecCreateResponse) String ¶
func (m *ExecCreateResponse) String() string
type ExecStartRequest ¶
type ExecStartRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` ExecID string `protobuf:"bytes,2,opt,name=execID,proto3" json:"execID,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` }
func (*ExecStartRequest) ProtoMessage ¶
func (*ExecStartRequest) ProtoMessage()
func (*ExecStartRequest) Reset ¶
func (m *ExecStartRequest) Reset()
func (*ExecStartRequest) String ¶
func (m *ExecStartRequest) String() string
type ExecStartResponse ¶
type ExecStartResponse struct {
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
}
func (*ExecStartResponse) ProtoMessage ¶
func (*ExecStartResponse) ProtoMessage()
func (*ExecStartResponse) Reset ¶
func (m *ExecStartResponse) Reset()
func (*ExecStartResponse) String ¶
func (m *ExecStartResponse) String() string
type FsStats ¶
type FsStats struct { Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Usage uint64 `protobuf:"varint,3,opt,name=usage,proto3" json:"usage,omitempty"` Available uint64 `protobuf:"varint,4,opt,name=available,proto3" json:"available,omitempty"` ReadsCompleted uint64 `protobuf:"varint,5,opt,name=readsCompleted,proto3" json:"readsCompleted,omitempty"` ReadsMerged uint64 `protobuf:"varint,6,opt,name=readsMerged,proto3" json:"readsMerged,omitempty"` SectorsRead uint64 `protobuf:"varint,7,opt,name=sectorsRead,proto3" json:"sectorsRead,omitempty"` ReadTime uint64 `protobuf:"varint,8,opt,name=readTime,proto3" json:"readTime,omitempty"` WritesCompleted uint64 `protobuf:"varint,9,opt,name=writesCompleted,proto3" json:"writesCompleted,omitempty"` WritesMerged uint64 `protobuf:"varint,10,opt,name=writesMerged,proto3" json:"writesMerged,omitempty"` SectorsWritten uint64 `protobuf:"varint,11,opt,name=sectorsWritten,proto3" json:"sectorsWritten,omitempty"` WriteTime uint64 `protobuf:"varint,12,opt,name=writeTime,proto3" json:"writeTime,omitempty"` IoInProgress uint64 `protobuf:"varint,13,opt,name=ioInProgress,proto3" json:"ioInProgress,omitempty"` IoTime uint64 `protobuf:"varint,14,opt,name=ioTime,proto3" json:"ioTime,omitempty"` WeightedIoTime uint64 `protobuf:"varint,15,opt,name=weightedIoTime,proto3" json:"weightedIoTime,omitempty"` }
func (*FsStats) ProtoMessage ¶
func (*FsStats) ProtoMessage()
type ImageDelete ¶
type ImageDelete struct { Untaged string `protobuf:"bytes,1,opt,name=untaged,proto3" json:"untaged,omitempty"` Deleted string `protobuf:"bytes,2,opt,name=deleted,proto3" json:"deleted,omitempty"` }
func (*ImageDelete) ProtoMessage ¶
func (*ImageDelete) ProtoMessage()
func (*ImageDelete) Reset ¶
func (m *ImageDelete) Reset()
func (*ImageDelete) String ¶
func (m *ImageDelete) String() string
type ImageInfo ¶
type ImageInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentID string `protobuf:"bytes,2,opt,name=parentID,proto3" json:"parentID,omitempty"` RepoTags []string `protobuf:"bytes,3,rep,name=repoTags" json:"repoTags,omitempty"` RepoDigests []string `protobuf:"bytes,4,rep,name=repoDigests" json:"repoDigests,omitempty"` Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"` VirtualSize int64 `protobuf:"varint,6,opt,name=virtualSize,proto3" json:"virtualSize,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ }
func (*ImageInfo) ProtoMessage ¶
func (*ImageInfo) ProtoMessage()
type ImageListRequest ¶
type ImageListRequest struct { // filterArgs is a JSON-encoded set of filter arguments FilterArgs string `protobuf:"bytes,1,opt,name=filterArgs,proto3" json:"filterArgs,omitempty"` // filter is a shell glob string applied to repository names Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // all controls whether all images in the graph are filtered, or just the heads All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"` }
func (*ImageListRequest) ProtoMessage ¶
func (*ImageListRequest) ProtoMessage()
func (*ImageListRequest) Reset ¶
func (m *ImageListRequest) Reset()
func (*ImageListRequest) String ¶
func (m *ImageListRequest) String() string
type ImageListResponse ¶
type ImageListResponse struct {
ImageList []*ImageInfo `protobuf:"bytes,1,rep,name=imageList" json:"imageList,omitempty"`
}
func (*ImageListResponse) GetImageList ¶
func (m *ImageListResponse) GetImageList() []*ImageInfo
func (*ImageListResponse) ProtoMessage ¶
func (*ImageListResponse) ProtoMessage()
func (*ImageListResponse) Reset ¶
func (m *ImageListResponse) Reset()
func (*ImageListResponse) String ¶
func (m *ImageListResponse) String() string
type ImagePullRequest ¶
type ImagePullRequest struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Auth *AuthConfig `protobuf:"bytes,3,opt,name=auth" json:"auth,omitempty"` }
func (*ImagePullRequest) GetAuth ¶
func (m *ImagePullRequest) GetAuth() *AuthConfig
func (*ImagePullRequest) ProtoMessage ¶
func (*ImagePullRequest) ProtoMessage()
func (*ImagePullRequest) Reset ¶
func (m *ImagePullRequest) Reset()
func (*ImagePullRequest) String ¶
func (m *ImagePullRequest) String() string
type ImagePullResponse ¶
type ImagePullResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*ImagePullResponse) ProtoMessage ¶
func (*ImagePullResponse) ProtoMessage()
func (*ImagePullResponse) Reset ¶
func (m *ImagePullResponse) Reset()
func (*ImagePullResponse) String ¶
func (m *ImagePullResponse) String() string
type ImagePushRequest ¶
type ImagePushRequest struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Auth *AuthConfig `protobuf:"bytes,3,opt,name=auth" json:"auth,omitempty"` }
func (*ImagePushRequest) GetAuth ¶
func (m *ImagePushRequest) GetAuth() *AuthConfig
func (*ImagePushRequest) ProtoMessage ¶
func (*ImagePushRequest) ProtoMessage()
func (*ImagePushRequest) Reset ¶
func (m *ImagePushRequest) Reset()
func (*ImagePushRequest) String ¶
func (m *ImagePushRequest) String() string
type ImagePushResponse ¶
type ImagePushResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*ImagePushResponse) ProtoMessage ¶
func (*ImagePushResponse) ProtoMessage()
func (*ImagePushResponse) Reset ¶
func (m *ImagePushResponse) Reset()
func (*ImagePushResponse) String ¶
func (m *ImagePushResponse) String() string
type ImageRemoveRequest ¶
type ImageRemoveRequest struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` Prune bool `protobuf:"varint,3,opt,name=prune,proto3" json:"prune,omitempty"` }
func (*ImageRemoveRequest) ProtoMessage ¶
func (*ImageRemoveRequest) ProtoMessage()
func (*ImageRemoveRequest) Reset ¶
func (m *ImageRemoveRequest) Reset()
func (*ImageRemoveRequest) String ¶
func (m *ImageRemoveRequest) String() string
type ImageRemoveResponse ¶
type ImageRemoveResponse struct {
Images []*ImageDelete `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"`
}
func (*ImageRemoveResponse) GetImages ¶
func (m *ImageRemoveResponse) GetImages() []*ImageDelete
func (*ImageRemoveResponse) ProtoMessage ¶
func (*ImageRemoveResponse) ProtoMessage()
func (*ImageRemoveResponse) Reset ¶
func (m *ImageRemoveResponse) Reset()
func (*ImageRemoveResponse) String ¶
func (m *ImageRemoveResponse) String() string
type InfoRequest ¶
type InfoRequest struct { }
func (*InfoRequest) ProtoMessage ¶
func (*InfoRequest) ProtoMessage()
func (*InfoRequest) Reset ¶
func (m *InfoRequest) Reset()
func (*InfoRequest) String ¶
func (m *InfoRequest) String() string
type InfoResponse ¶
type InfoResponse struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Containers int32 `protobuf:"varint,2,opt,name=containers,proto3" json:"containers,omitempty"` Images int32 `protobuf:"varint,3,opt,name=images,proto3" json:"images,omitempty"` Driver string `protobuf:"bytes,4,opt,name=driver,proto3" json:"driver,omitempty"` Dstatus []*DriverStatus `protobuf:"bytes,5,rep,name=dstatus" json:"dstatus,omitempty"` DockerRootDir string `protobuf:"bytes,6,opt,name=dockerRootDir,proto3" json:"dockerRootDir,omitempty"` IndexServerAddress string `protobuf:"bytes,7,opt,name=indexServerAddress,proto3" json:"indexServerAddress,omitempty"` ExecutionDriver string `protobuf:"bytes,8,opt,name=executionDriver,proto3" json:"executionDriver,omitempty"` MemTotal int64 `protobuf:"varint,9,opt,name=memTotal,proto3" json:"memTotal,omitempty"` Pods int64 `protobuf:"varint,10,opt,name=pods,proto3" json:"pods,omitempty"` OperatingSystem string `protobuf:"bytes,11,opt,name=operatingSystem,proto3" json:"operatingSystem,omitempty"` Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"` }
func (*InfoResponse) GetDstatus ¶
func (m *InfoResponse) GetDstatus() []*DriverStatus
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) Reset ¶
func (m *InfoResponse) Reset()
func (*InfoResponse) String ¶
func (m *InfoResponse) String() string
type InterfaceStats ¶
type InterfaceStats struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RxBytes uint64 `protobuf:"varint,2,opt,name=rxBytes,proto3" json:"rxBytes,omitempty"` RxPackets uint64 `protobuf:"varint,3,opt,name=rxPackets,proto3" json:"rxPackets,omitempty"` RxErrors uint64 `protobuf:"varint,4,opt,name=rxErrors,proto3" json:"rxErrors,omitempty"` RxDropped uint64 `protobuf:"varint,5,opt,name=rxDropped,proto3" json:"rxDropped,omitempty"` TxBytes uint64 `protobuf:"varint,6,opt,name=txBytes,proto3" json:"txBytes,omitempty"` TxPackets uint64 `protobuf:"varint,7,opt,name=txPackets,proto3" json:"txPackets,omitempty"` TxErrors uint64 `protobuf:"varint,8,opt,name=txErrors,proto3" json:"txErrors,omitempty"` TxDropped uint64 `protobuf:"varint,9,opt,name=txDropped,proto3" json:"txDropped,omitempty"` }
func (*InterfaceStats) ProtoMessage ¶
func (*InterfaceStats) ProtoMessage()
func (*InterfaceStats) Reset ¶
func (m *InterfaceStats) Reset()
func (*InterfaceStats) String ¶
func (m *InterfaceStats) String() string
type MemoryStats ¶
type MemoryStats struct { Usage uint64 `protobuf:"varint,1,opt,name=usage,proto3" json:"usage,omitempty"` WorkingSet uint64 `protobuf:"varint,2,opt,name=workingSet,proto3" json:"workingSet,omitempty"` Failcnt uint64 `protobuf:"varint,3,opt,name=failcnt,proto3" json:"failcnt,omitempty"` ContainerData *MemoryStatsMemoryData `protobuf:"bytes,4,opt,name=containerData" json:"containerData,omitempty"` HierarchicalData *MemoryStatsMemoryData `protobuf:"bytes,5,opt,name=hierarchicalData" json:"hierarchicalData,omitempty"` }
func (*MemoryStats) GetContainerData ¶
func (m *MemoryStats) GetContainerData() *MemoryStatsMemoryData
func (*MemoryStats) GetHierarchicalData ¶
func (m *MemoryStats) GetHierarchicalData() *MemoryStatsMemoryData
func (*MemoryStats) ProtoMessage ¶
func (*MemoryStats) ProtoMessage()
func (*MemoryStats) Reset ¶
func (m *MemoryStats) Reset()
func (*MemoryStats) String ¶
func (m *MemoryStats) String() string
type MemoryStatsMemoryData ¶
type MemoryStatsMemoryData struct { Pgfault uint64 `protobuf:"varint,1,opt,name=pgfault,proto3" json:"pgfault,omitempty"` Pgmajfault uint64 `protobuf:"varint,2,opt,name=pgmajfault,proto3" json:"pgmajfault,omitempty"` }
func (*MemoryStatsMemoryData) ProtoMessage ¶
func (*MemoryStatsMemoryData) ProtoMessage()
func (*MemoryStatsMemoryData) Reset ¶
func (m *MemoryStatsMemoryData) Reset()
func (*MemoryStatsMemoryData) String ¶
func (m *MemoryStatsMemoryData) String() string
type NetworkStats ¶
type NetworkStats struct { Interfaces []*InterfaceStats `protobuf:"bytes,1,rep,name=interfaces" json:"interfaces,omitempty"` Tcp *TcpStat `protobuf:"bytes,2,opt,name=tcp" json:"tcp,omitempty"` Tcp6 *TcpStat `protobuf:"bytes,3,opt,name=tcp6" json:"tcp6,omitempty"` }
func (*NetworkStats) GetInterfaces ¶
func (m *NetworkStats) GetInterfaces() []*InterfaceStats
func (*NetworkStats) GetTcp ¶
func (m *NetworkStats) GetTcp() *TcpStat
func (*NetworkStats) GetTcp6 ¶
func (m *NetworkStats) GetTcp6() *TcpStat
func (*NetworkStats) ProtoMessage ¶
func (*NetworkStats) ProtoMessage()
func (*NetworkStats) Reset ¶
func (m *NetworkStats) Reset()
func (*NetworkStats) String ¶
func (m *NetworkStats) String() string
type PingRequest ¶
type PingRequest struct { }
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
HyperdStats string `protobuf:"bytes,1,opt,name=hyperdStats,proto3" json:"hyperdStats,omitempty"`
}
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶
func (m *PingResponse) Reset()
func (*PingResponse) String ¶
func (m *PingResponse) String() string
type PodCreateRequest ¶
type PodCreateRequest struct { PodSpec *UserPod `protobuf:"bytes,1,opt,name=podSpec" json:"podSpec,omitempty"` PodID string `protobuf:"bytes,2,opt,name=podID,proto3" json:"podID,omitempty"` }
func (*PodCreateRequest) GetPodSpec ¶
func (m *PodCreateRequest) GetPodSpec() *UserPod
func (*PodCreateRequest) ProtoMessage ¶
func (*PodCreateRequest) ProtoMessage()
func (*PodCreateRequest) Reset ¶
func (m *PodCreateRequest) Reset()
func (*PodCreateRequest) String ¶
func (m *PodCreateRequest) String() string
type PodCreateResponse ¶
type PodCreateResponse struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodCreateResponse) ProtoMessage ¶
func (*PodCreateResponse) ProtoMessage()
func (*PodCreateResponse) Reset ¶
func (m *PodCreateResponse) Reset()
func (*PodCreateResponse) String ¶
func (m *PodCreateResponse) String() string
type PodInfo ¶
type PodInfo struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` ApiVersion string `protobuf:"bytes,3,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` Vm string `protobuf:"bytes,4,opt,name=vm,proto3" json:"vm,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` Spec *PodSpec `protobuf:"bytes,6,opt,name=spec" json:"spec,omitempty"` Status *PodStatus `protobuf:"bytes,7,opt,name=status" json:"status,omitempty"` PodName string `protobuf:"bytes,8,opt,name=podName,proto3" json:"podName,omitempty"` }
func (*PodInfo) ProtoMessage ¶
func (*PodInfo) ProtoMessage()
type PodInfoRequest ¶
type PodInfoRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodInfoRequest) ProtoMessage ¶
func (*PodInfoRequest) ProtoMessage()
func (*PodInfoRequest) Reset ¶
func (m *PodInfoRequest) Reset()
func (*PodInfoRequest) String ¶
func (m *PodInfoRequest) String() string
type PodInfoResponse ¶
type PodInfoResponse struct {
PodInfo *PodInfo `protobuf:"bytes,1,opt,name=podInfo" json:"podInfo,omitempty"`
}
func (*PodInfoResponse) GetPodInfo ¶
func (m *PodInfoResponse) GetPodInfo() *PodInfo
func (*PodInfoResponse) ProtoMessage ¶
func (*PodInfoResponse) ProtoMessage()
func (*PodInfoResponse) Reset ¶
func (m *PodInfoResponse) Reset()
func (*PodInfoResponse) String ¶
func (m *PodInfoResponse) String() string
type PodLabelsRequest ¶
type PodLabelsRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` Override bool `protobuf:"varint,2,opt,name=override,proto3" json:"override,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ }
func (*PodLabelsRequest) GetLabels ¶
func (m *PodLabelsRequest) GetLabels() map[string]string
func (*PodLabelsRequest) ProtoMessage ¶
func (*PodLabelsRequest) ProtoMessage()
func (*PodLabelsRequest) Reset ¶
func (m *PodLabelsRequest) Reset()
func (*PodLabelsRequest) String ¶
func (m *PodLabelsRequest) String() string
type PodLabelsResponse ¶
type PodLabelsResponse struct { }
func (*PodLabelsResponse) ProtoMessage ¶
func (*PodLabelsResponse) ProtoMessage()
func (*PodLabelsResponse) Reset ¶
func (m *PodLabelsResponse) Reset()
func (*PodLabelsResponse) String ¶
func (m *PodLabelsResponse) String() string
type PodListRequest ¶
type PodListRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` VmID string `protobuf:"bytes,2,opt,name=vmID,proto3" json:"vmID,omitempty"` }
func (*PodListRequest) ProtoMessage ¶
func (*PodListRequest) ProtoMessage()
func (*PodListRequest) Reset ¶
func (m *PodListRequest) Reset()
func (*PodListRequest) String ¶
func (m *PodListRequest) String() string
type PodListResponse ¶
type PodListResponse struct {
PodList []*PodListResult `protobuf:"bytes,1,rep,name=podList" json:"podList,omitempty"`
}
func (*PodListResponse) GetPodList ¶
func (m *PodListResponse) GetPodList() []*PodListResult
func (*PodListResponse) ProtoMessage ¶
func (*PodListResponse) ProtoMessage()
func (*PodListResponse) Reset ¶
func (m *PodListResponse) Reset()
func (*PodListResponse) String ¶
func (m *PodListResponse) String() string
type PodListResult ¶
type PodListResult struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` PodName string `protobuf:"bytes,2,opt,name=podName,proto3" json:"podName,omitempty"` VmID string `protobuf:"bytes,3,opt,name=vmID,proto3" json:"vmID,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ }
func (*PodListResult) GetLabels ¶
func (m *PodListResult) GetLabels() map[string]string
func (*PodListResult) ProtoMessage ¶
func (*PodListResult) ProtoMessage()
func (*PodListResult) Reset ¶
func (m *PodListResult) Reset()
func (*PodListResult) String ¶
func (m *PodListResult) String() string
type PodLogConfig ¶
type PodLogConfig struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Config map[string]string `` /* 146-byte string literal not displayed */ }
func (*PodLogConfig) GetConfig ¶
func (m *PodLogConfig) GetConfig() map[string]string
func (*PodLogConfig) ProtoMessage ¶
func (*PodLogConfig) ProtoMessage()
func (*PodLogConfig) Reset ¶
func (m *PodLogConfig) Reset()
func (*PodLogConfig) String ¶
func (m *PodLogConfig) String() string
type PodPauseRequest ¶
type PodPauseRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodPauseRequest) ProtoMessage ¶
func (*PodPauseRequest) ProtoMessage()
func (*PodPauseRequest) Reset ¶
func (m *PodPauseRequest) Reset()
func (*PodPauseRequest) String ¶
func (m *PodPauseRequest) String() string
type PodPauseResponse ¶
type PodPauseResponse struct { }
func (*PodPauseResponse) ProtoMessage ¶
func (*PodPauseResponse) ProtoMessage()
func (*PodPauseResponse) Reset ¶
func (m *PodPauseResponse) Reset()
func (*PodPauseResponse) String ¶
func (m *PodPauseResponse) String() string
type PodRemoveRequest ¶
type PodRemoveRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodRemoveRequest) ProtoMessage ¶
func (*PodRemoveRequest) ProtoMessage()
func (*PodRemoveRequest) Reset ¶
func (m *PodRemoveRequest) Reset()
func (*PodRemoveRequest) String ¶
func (m *PodRemoveRequest) String() string
type PodRemoveResponse ¶
type PodRemoveResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` }
func (*PodRemoveResponse) ProtoMessage ¶
func (*PodRemoveResponse) ProtoMessage()
func (*PodRemoveResponse) Reset ¶
func (m *PodRemoveResponse) Reset()
func (*PodRemoveResponse) String ¶
func (m *PodRemoveResponse) String() string
type PodSignalRequest ¶
type PodSignalRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` Signal int64 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"` }
func (*PodSignalRequest) ProtoMessage ¶
func (*PodSignalRequest) ProtoMessage()
func (*PodSignalRequest) Reset ¶
func (m *PodSignalRequest) Reset()
func (*PodSignalRequest) String ¶
func (m *PodSignalRequest) String() string
type PodSignalResponse ¶
type PodSignalResponse struct { }
func (*PodSignalResponse) ProtoMessage ¶
func (*PodSignalResponse) ProtoMessage()
func (*PodSignalResponse) Reset ¶
func (m *PodSignalResponse) Reset()
func (*PodSignalResponse) String ¶
func (m *PodSignalResponse) String() string
type PodSpec ¶
type PodSpec struct { Volumes []*PodVolume `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"` Containers []*Container `protobuf:"bytes,2,rep,name=containers" json:"containers,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ Vcpu int32 `protobuf:"varint,4,opt,name=vcpu,proto3" json:"vcpu,omitempty"` Memory int32 `protobuf:"varint,5,opt,name=memory,proto3" json:"memory,omitempty"` }
func (*PodSpec) GetContainers ¶
func (*PodSpec) GetVolumes ¶
func (*PodSpec) ProtoMessage ¶
func (*PodSpec) ProtoMessage()
type PodStartMessage ¶
type PodStartMessage struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` VmID string `protobuf:"bytes,2,opt,name=vmID,proto3" json:"vmID,omitempty"` Attach bool `protobuf:"varint,3,opt,name=attach,proto3" json:"attach,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` }
func (*PodStartMessage) ProtoMessage ¶
func (*PodStartMessage) ProtoMessage()
func (*PodStartMessage) Reset ¶
func (m *PodStartMessage) Reset()
func (*PodStartMessage) String ¶
func (m *PodStartMessage) String() string
type PodStats ¶
type PodStats struct { Cpu *CpuStats `protobuf:"bytes,1,opt,name=cpu" json:"cpu,omitempty"` Block *BlkioStats `protobuf:"bytes,2,opt,name=block" json:"block,omitempty"` Memory *MemoryStats `protobuf:"bytes,3,opt,name=memory" json:"memory,omitempty"` Network *NetworkStats `protobuf:"bytes,4,opt,name=network" json:"network,omitempty"` Filesystem []*FsStats `protobuf:"bytes,5,rep,name=filesystem" json:"filesystem,omitempty"` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ContainersStats []*ContainersStats `protobuf:"bytes,7,rep,name=containersStats" json:"containersStats,omitempty"` }
func (*PodStats) GetBlock ¶
func (m *PodStats) GetBlock() *BlkioStats
func (*PodStats) GetContainersStats ¶
func (m *PodStats) GetContainersStats() []*ContainersStats
func (*PodStats) GetFilesystem ¶
func (*PodStats) GetMemory ¶
func (m *PodStats) GetMemory() *MemoryStats
func (*PodStats) GetNetwork ¶
func (m *PodStats) GetNetwork() *NetworkStats
func (*PodStats) ProtoMessage ¶
func (*PodStats) ProtoMessage()
type PodStatsRequest ¶
type PodStatsRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodStatsRequest) ProtoMessage ¶
func (*PodStatsRequest) ProtoMessage()
func (*PodStatsRequest) Reset ¶
func (m *PodStatsRequest) Reset()
func (*PodStatsRequest) String ¶
func (m *PodStatsRequest) String() string
type PodStatsResponse ¶
type PodStatsResponse struct {
PodStats *PodStats `protobuf:"bytes,1,opt,name=podStats" json:"podStats,omitempty"`
}
func (*PodStatsResponse) GetPodStats ¶
func (m *PodStatsResponse) GetPodStats() *PodStats
func (*PodStatsResponse) ProtoMessage ¶
func (*PodStatsResponse) ProtoMessage()
func (*PodStatsResponse) Reset ¶
func (m *PodStatsResponse) Reset()
func (*PodStatsResponse) String ¶
func (m *PodStatsResponse) String() string
type PodStatus ¶
type PodStatus struct { Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` HostIP string `protobuf:"bytes,4,opt,name=hostIP,proto3" json:"hostIP,omitempty"` PodIP []string `protobuf:"bytes,5,rep,name=podIP" json:"podIP,omitempty"` StartTime string `protobuf:"bytes,6,opt,name=startTime,proto3" json:"startTime,omitempty"` ContainerStatus []*ContainerStatus `protobuf:"bytes,7,rep,name=containerStatus" json:"containerStatus,omitempty"` FinishTime string `protobuf:"bytes,8,opt,name=finishTime,proto3" json:"finishTime,omitempty"` }
func (*PodStatus) GetContainerStatus ¶
func (m *PodStatus) GetContainerStatus() []*ContainerStatus
func (*PodStatus) ProtoMessage ¶
func (*PodStatus) ProtoMessage()
type PodStopRequest ¶
type PodStopRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodStopRequest) ProtoMessage ¶
func (*PodStopRequest) ProtoMessage()
func (*PodStopRequest) Reset ¶
func (m *PodStopRequest) Reset()
func (*PodStopRequest) String ¶
func (m *PodStopRequest) String() string
type PodStopResponse ¶
type PodStopResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` }
func (*PodStopResponse) ProtoMessage ¶
func (*PodStopResponse) ProtoMessage()
func (*PodStopResponse) Reset ¶
func (m *PodStopResponse) Reset()
func (*PodStopResponse) String ¶
func (m *PodStopResponse) String() string
type PodUnpauseRequest ¶
type PodUnpauseRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodUnpauseRequest) ProtoMessage ¶
func (*PodUnpauseRequest) ProtoMessage()
func (*PodUnpauseRequest) Reset ¶
func (m *PodUnpauseRequest) Reset()
func (*PodUnpauseRequest) String ¶
func (m *PodUnpauseRequest) String() string
type PodUnpauseResponse ¶
type PodUnpauseResponse struct { }
func (*PodUnpauseResponse) ProtoMessage ¶
func (*PodUnpauseResponse) ProtoMessage()
func (*PodUnpauseResponse) Reset ¶
func (m *PodUnpauseResponse) Reset()
func (*PodUnpauseResponse) String ¶
func (m *PodUnpauseResponse) String() string
type PodVolume ¶
type PodVolume struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Driver string `protobuf:"bytes,3,opt,name=driver,proto3" json:"driver,omitempty"` Rbd *RBDVolumeSource `protobuf:"bytes,4,opt,name=rbd" json:"rbd,omitempty"` }
func (*PodVolume) GetRbd ¶
func (m *PodVolume) GetRbd() *RBDVolumeSource
func (*PodVolume) ProtoMessage ¶
func (*PodVolume) ProtoMessage()
type PortmappingWhiteList ¶
type PortmappingWhiteList struct { // allowed internal networks in CIDR format for portmapping // Those networks could visit all container ports if portmapping is enabled InternalNetworks []string `protobuf:"bytes,1,rep,name=internalNetworks" json:"internalNetworks,omitempty"` // allowed external networks in CIDR format for portmapping // Those networks could only visit exposed ports if portmapping is enabled ExternalNetworks []string `protobuf:"bytes,2,rep,name=externalNetworks" json:"externalNetworks,omitempty"` }
func (*PortmappingWhiteList) ProtoMessage ¶
func (*PortmappingWhiteList) ProtoMessage()
func (*PortmappingWhiteList) Reset ¶
func (m *PortmappingWhiteList) Reset()
func (*PortmappingWhiteList) String ¶
func (m *PortmappingWhiteList) String() string
type PublicAPIClient ¶
type PublicAPIClient interface { // PodList gets a list of pods PodList(ctx context.Context, in *PodListRequest, opts ...grpc.CallOption) (*PodListResponse, error) // PodCreate creates a pod according to UserPod PodCreate(ctx context.Context, in *PodCreateRequest, opts ...grpc.CallOption) (*PodCreateResponse, error) // PodInfo gets pod's info by podID PodInfo(ctx context.Context, in *PodInfoRequest, opts ...grpc.CallOption) (*PodInfoResponse, error) // PodRemove deletes a pod by podID PodRemove(ctx context.Context, in *PodRemoveRequest, opts ...grpc.CallOption) (*PodRemoveResponse, error) // PodStart starts a pod PodStart(ctx context.Context, opts ...grpc.CallOption) (PublicAPI_PodStartClient, error) // PodStop stops a pod PodStop(ctx context.Context, in *PodStopRequest, opts ...grpc.CallOption) (*PodStopResponse, error) // PodSignal sends a singal to all containers of specified pod PodSignal(ctx context.Context, in *PodSignalRequest, opts ...grpc.CallOption) (*PodSignalResponse, error) // PodPause pauses a pod PodPause(ctx context.Context, in *PodPauseRequest, opts ...grpc.CallOption) (*PodPauseResponse, error) // PodUnpause unpauses a pod PodUnpause(ctx context.Context, in *PodUnpauseRequest, opts ...grpc.CallOption) (*PodUnpauseResponse, error) // ContainerList gets a list of containers ContainerList(ctx context.Context, in *ContainerListRequest, opts ...grpc.CallOption) (*ContainerListResponse, error) // ContainerInfo gets container's info by container's id or name ContainerInfo(ctx context.Context, in *ContainerInfoRequest, opts ...grpc.CallOption) (*ContainerInfoResponse, error) // ImageList gets a list of images by filters ImageList(ctx context.Context, in *ImageListRequest, opts ...grpc.CallOption) (*ImageListResponse, error) // VMList gets a list of HyperVMs VMList(ctx context.Context, in *VMListRequest, opts ...grpc.CallOption) (*VMListResponse, error) // VMCreate creates a HyperVM with specified CPU and memory VMCreate(ctx context.Context, in *VMCreateRequest, opts ...grpc.CallOption) (*VMCreateResponse, error) // VMRemove deletes a HyperVM by vmID VMRemove(ctx context.Context, in *VMRemoveRequest, opts ...grpc.CallOption) (*VMRemoveResponse, error) // SetPodLabels sets labels of given pod SetPodLabels(ctx context.Context, in *PodLabelsRequest, opts ...grpc.CallOption) (*PodLabelsResponse, error) // PodStats gets pod stats of a given pod PodStats(ctx context.Context, in *PodStatsRequest, opts ...grpc.CallOption) (*PodStatsResponse, error) // ContainerLogs gets the log of specified container ContainerLogs(ctx context.Context, in *ContainerLogsRequest, opts ...grpc.CallOption) (PublicAPI_ContainerLogsClient, error) // ContainerCreate creates a container in specified pod ContainerCreate(ctx context.Context, in *ContainerCreateRequest, opts ...grpc.CallOption) (*ContainerCreateResponse, error) // ContainerRename renames a container ContainerRename(ctx context.Context, in *ContainerRenameRequest, opts ...grpc.CallOption) (*ContainerRenameResponse, error) // TODO: ContainerCommit commits the changes of the specified container // TODO: ContainerSignal sends a singla to specified container // TODO: ContainerLabels updates labels of the specified container // ContainerStop stops the specified container ContainerStop(ctx context.Context, in *ContainerStopRequest, opts ...grpc.CallOption) (*ContainerStopResponse, error) // ExecCreate creates exec in specified container ExecCreate(ctx context.Context, in *ExecCreateRequest, opts ...grpc.CallOption) (*ExecCreateResponse, error) // ExecStart starts exec ExecStart(ctx context.Context, opts ...grpc.CallOption) (PublicAPI_ExecStartClient, error) // Attach attaches to the specified container Attach(ctx context.Context, opts ...grpc.CallOption) (PublicAPI_AttachClient, error) // Wait gets the exit code of the specified container Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitResponse, error) // ServiceList gets a list of services ServiceList(ctx context.Context, in *ServiceListRequest, opts ...grpc.CallOption) (*ServiceListResponse, error) // ServiceAdd add a service to a pod ServiceAdd(ctx context.Context, in *ServiceAddRequest, opts ...grpc.CallOption) (*ServiceAddResponse, error) // ServiceDelete delete a service from a pod ServiceDelete(ctx context.Context, in *ServiceDelRequest, opts ...grpc.CallOption) (*ServiceDelResponse, error) // ServiceUpdate updates an existing service of a pod ServiceUpdate(ctx context.Context, in *ServiceUpdateRequest, opts ...grpc.CallOption) (*ServiceUpdateResponse, error) // ImagePull pulls a image from registry ImagePull(ctx context.Context, in *ImagePullRequest, opts ...grpc.CallOption) (PublicAPI_ImagePullClient, error) // ImagePush pushes a local image to registry ImagePush(ctx context.Context, in *ImagePushRequest, opts ...grpc.CallOption) (PublicAPI_ImagePushClient, error) // ImageRemove deletes a image from hyperd ImageRemove(ctx context.Context, in *ImageRemoveRequest, opts ...grpc.CallOption) (*ImageRemoveResponse, error) // Ping checks if hyperd is running (returns 'OK' on success) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) // Info gets the info of hyperd Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) // Version gets the version and apiVersion of hyperd Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) }
func NewPublicAPIClient ¶
func NewPublicAPIClient(cc *grpc.ClientConn) PublicAPIClient
type PublicAPIServer ¶
type PublicAPIServer interface { // PodList gets a list of pods PodList(context.Context, *PodListRequest) (*PodListResponse, error) // PodCreate creates a pod according to UserPod PodCreate(context.Context, *PodCreateRequest) (*PodCreateResponse, error) // PodInfo gets pod's info by podID PodInfo(context.Context, *PodInfoRequest) (*PodInfoResponse, error) // PodRemove deletes a pod by podID PodRemove(context.Context, *PodRemoveRequest) (*PodRemoveResponse, error) // PodStart starts a pod PodStart(PublicAPI_PodStartServer) error // PodStop stops a pod PodStop(context.Context, *PodStopRequest) (*PodStopResponse, error) // PodSignal sends a singal to all containers of specified pod PodSignal(context.Context, *PodSignalRequest) (*PodSignalResponse, error) // PodPause pauses a pod PodPause(context.Context, *PodPauseRequest) (*PodPauseResponse, error) // PodUnpause unpauses a pod PodUnpause(context.Context, *PodUnpauseRequest) (*PodUnpauseResponse, error) // ContainerList gets a list of containers ContainerList(context.Context, *ContainerListRequest) (*ContainerListResponse, error) // ContainerInfo gets container's info by container's id or name ContainerInfo(context.Context, *ContainerInfoRequest) (*ContainerInfoResponse, error) // ImageList gets a list of images by filters ImageList(context.Context, *ImageListRequest) (*ImageListResponse, error) // VMList gets a list of HyperVMs VMList(context.Context, *VMListRequest) (*VMListResponse, error) // VMCreate creates a HyperVM with specified CPU and memory VMCreate(context.Context, *VMCreateRequest) (*VMCreateResponse, error) // VMRemove deletes a HyperVM by vmID VMRemove(context.Context, *VMRemoveRequest) (*VMRemoveResponse, error) // SetPodLabels sets labels of given pod SetPodLabels(context.Context, *PodLabelsRequest) (*PodLabelsResponse, error) // PodStats gets pod stats of a given pod PodStats(context.Context, *PodStatsRequest) (*PodStatsResponse, error) // ContainerLogs gets the log of specified container ContainerLogs(*ContainerLogsRequest, PublicAPI_ContainerLogsServer) error // ContainerCreate creates a container in specified pod ContainerCreate(context.Context, *ContainerCreateRequest) (*ContainerCreateResponse, error) // ContainerRename renames a container ContainerRename(context.Context, *ContainerRenameRequest) (*ContainerRenameResponse, error) // TODO: ContainerCommit commits the changes of the specified container // TODO: ContainerSignal sends a singla to specified container // TODO: ContainerLabels updates labels of the specified container // ContainerStop stops the specified container ContainerStop(context.Context, *ContainerStopRequest) (*ContainerStopResponse, error) // ExecCreate creates exec in specified container ExecCreate(context.Context, *ExecCreateRequest) (*ExecCreateResponse, error) // ExecStart starts exec ExecStart(PublicAPI_ExecStartServer) error // Attach attaches to the specified container Attach(PublicAPI_AttachServer) error // Wait gets the exit code of the specified container Wait(context.Context, *WaitRequest) (*WaitResponse, error) // ServiceList gets a list of services ServiceList(context.Context, *ServiceListRequest) (*ServiceListResponse, error) // ServiceAdd add a service to a pod ServiceAdd(context.Context, *ServiceAddRequest) (*ServiceAddResponse, error) // ServiceDelete delete a service from a pod ServiceDelete(context.Context, *ServiceDelRequest) (*ServiceDelResponse, error) // ServiceUpdate updates an existing service of a pod ServiceUpdate(context.Context, *ServiceUpdateRequest) (*ServiceUpdateResponse, error) // ImagePull pulls a image from registry ImagePull(*ImagePullRequest, PublicAPI_ImagePullServer) error // ImagePush pushes a local image to registry ImagePush(*ImagePushRequest, PublicAPI_ImagePushServer) error // ImageRemove deletes a image from hyperd ImageRemove(context.Context, *ImageRemoveRequest) (*ImageRemoveResponse, error) // Ping checks if hyperd is running (returns 'OK' on success) Ping(context.Context, *PingRequest) (*PingResponse, error) // Info gets the info of hyperd Info(context.Context, *InfoRequest) (*InfoResponse, error) // Version gets the version and apiVersion of hyperd Version(context.Context, *VersionRequest) (*VersionResponse, error) }
type PublicAPI_AttachClient ¶
type PublicAPI_AttachClient interface { Send(*AttachMessage) error Recv() (*AttachMessage, error) grpc.ClientStream }
type PublicAPI_AttachServer ¶
type PublicAPI_AttachServer interface { Send(*AttachMessage) error Recv() (*AttachMessage, error) grpc.ServerStream }
type PublicAPI_ContainerLogsClient ¶
type PublicAPI_ContainerLogsClient interface { Recv() (*ContainerLogsResponse, error) grpc.ClientStream }
type PublicAPI_ContainerLogsServer ¶
type PublicAPI_ContainerLogsServer interface { Send(*ContainerLogsResponse) error grpc.ServerStream }
type PublicAPI_ExecStartClient ¶
type PublicAPI_ExecStartClient interface { Send(*ExecStartRequest) error Recv() (*ExecStartResponse, error) grpc.ClientStream }
type PublicAPI_ExecStartServer ¶
type PublicAPI_ExecStartServer interface { Send(*ExecStartResponse) error Recv() (*ExecStartRequest, error) grpc.ServerStream }
type PublicAPI_ImagePullClient ¶
type PublicAPI_ImagePullClient interface { Recv() (*ImagePullResponse, error) grpc.ClientStream }
type PublicAPI_ImagePullServer ¶
type PublicAPI_ImagePullServer interface { Send(*ImagePullResponse) error grpc.ServerStream }
type PublicAPI_ImagePushClient ¶
type PublicAPI_ImagePushClient interface { Recv() (*ImagePushResponse, error) grpc.ClientStream }
type PublicAPI_ImagePushServer ¶
type PublicAPI_ImagePushServer interface { Send(*ImagePushResponse) error grpc.ServerStream }
type PublicAPI_PodStartClient ¶
type PublicAPI_PodStartClient interface { Send(*PodStartMessage) error Recv() (*PodStartMessage, error) grpc.ClientStream }
type PublicAPI_PodStartServer ¶
type PublicAPI_PodStartServer interface { Send(*PodStartMessage) error Recv() (*PodStartMessage, error) grpc.ServerStream }
type RBDVolumeSource ¶
type RBDVolumeSource struct { Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` FsType string `protobuf:"bytes,3,opt,name=fsType,proto3" json:"fsType,omitempty"` Pool string `protobuf:"bytes,4,opt,name=pool,proto3" json:"pool,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Keyring string `protobuf:"bytes,6,opt,name=keyring,proto3" json:"keyring,omitempty"` ReadOnly bool `protobuf:"varint,7,opt,name=readOnly,proto3" json:"readOnly,omitempty"` }
func (*RBDVolumeSource) ProtoMessage ¶
func (*RBDVolumeSource) ProtoMessage()
func (*RBDVolumeSource) Reset ¶
func (m *RBDVolumeSource) Reset()
func (*RBDVolumeSource) String ¶
func (m *RBDVolumeSource) String() string
type RunningStatus ¶
type RunningStatus struct {
StartedAt string `protobuf:"bytes,1,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
}
func (*RunningStatus) ProtoMessage ¶
func (*RunningStatus) ProtoMessage()
func (*RunningStatus) Reset ¶
func (m *RunningStatus) Reset()
func (*RunningStatus) String ¶
func (m *RunningStatus) String() string
type ServiceAddRequest ¶
type ServiceAddRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` Services []*UserService `protobuf:"bytes,2,rep,name=services" json:"services,omitempty"` }
func (*ServiceAddRequest) GetServices ¶
func (m *ServiceAddRequest) GetServices() []*UserService
func (*ServiceAddRequest) ProtoMessage ¶
func (*ServiceAddRequest) ProtoMessage()
func (*ServiceAddRequest) Reset ¶
func (m *ServiceAddRequest) Reset()
func (*ServiceAddRequest) String ¶
func (m *ServiceAddRequest) String() string
type ServiceAddResponse ¶
type ServiceAddResponse struct { }
func (*ServiceAddResponse) ProtoMessage ¶
func (*ServiceAddResponse) ProtoMessage()
func (*ServiceAddResponse) Reset ¶
func (m *ServiceAddResponse) Reset()
func (*ServiceAddResponse) String ¶
func (m *ServiceAddResponse) String() string
type ServiceDelRequest ¶
type ServiceDelRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` Services []*UserService `protobuf:"bytes,2,rep,name=services" json:"services,omitempty"` }
func (*ServiceDelRequest) GetServices ¶
func (m *ServiceDelRequest) GetServices() []*UserService
func (*ServiceDelRequest) ProtoMessage ¶
func (*ServiceDelRequest) ProtoMessage()
func (*ServiceDelRequest) Reset ¶
func (m *ServiceDelRequest) Reset()
func (*ServiceDelRequest) String ¶
func (m *ServiceDelRequest) String() string
type ServiceDelResponse ¶
type ServiceDelResponse struct { }
func (*ServiceDelResponse) ProtoMessage ¶
func (*ServiceDelResponse) ProtoMessage()
func (*ServiceDelResponse) Reset ¶
func (m *ServiceDelResponse) Reset()
func (*ServiceDelResponse) String ¶
func (m *ServiceDelResponse) String() string
type ServiceListRequest ¶
type ServiceListRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*ServiceListRequest) ProtoMessage ¶
func (*ServiceListRequest) ProtoMessage()
func (*ServiceListRequest) Reset ¶
func (m *ServiceListRequest) Reset()
func (*ServiceListRequest) String ¶
func (m *ServiceListRequest) String() string
type ServiceListResponse ¶
type ServiceListResponse struct {
Services []*UserService `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"`
}
func (*ServiceListResponse) GetServices ¶
func (m *ServiceListResponse) GetServices() []*UserService
func (*ServiceListResponse) ProtoMessage ¶
func (*ServiceListResponse) ProtoMessage()
func (*ServiceListResponse) Reset ¶
func (m *ServiceListResponse) Reset()
func (*ServiceListResponse) String ¶
func (m *ServiceListResponse) String() string
type ServiceUpdateRequest ¶
type ServiceUpdateRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` Services []*UserService `protobuf:"bytes,2,rep,name=services" json:"services,omitempty"` }
func (*ServiceUpdateRequest) GetServices ¶
func (m *ServiceUpdateRequest) GetServices() []*UserService
func (*ServiceUpdateRequest) ProtoMessage ¶
func (*ServiceUpdateRequest) ProtoMessage()
func (*ServiceUpdateRequest) Reset ¶
func (m *ServiceUpdateRequest) Reset()
func (*ServiceUpdateRequest) String ¶
func (m *ServiceUpdateRequest) String() string
type ServiceUpdateResponse ¶
type ServiceUpdateResponse struct { }
func (*ServiceUpdateResponse) ProtoMessage ¶
func (*ServiceUpdateResponse) ProtoMessage()
func (*ServiceUpdateResponse) Reset ¶
func (m *ServiceUpdateResponse) Reset()
func (*ServiceUpdateResponse) String ¶
func (m *ServiceUpdateResponse) String() string
type TcpStat ¶
type TcpStat struct { Established uint64 `protobuf:"varint,1,opt,name=established,proto3" json:"established,omitempty"` SynSent uint64 `protobuf:"varint,2,opt,name=synSent,proto3" json:"synSent,omitempty"` SynRecv uint64 `protobuf:"varint,3,opt,name=synRecv,proto3" json:"synRecv,omitempty"` FinWait1 uint64 `protobuf:"varint,4,opt,name=finWait1,proto3" json:"finWait1,omitempty"` FinWait2 uint64 `protobuf:"varint,5,opt,name=finWait2,proto3" json:"finWait2,omitempty"` TimeWait uint64 `protobuf:"varint,6,opt,name=timeWait,proto3" json:"timeWait,omitempty"` Close uint64 `protobuf:"varint,7,opt,name=close,proto3" json:"close,omitempty"` CloseWait uint64 `protobuf:"varint,8,opt,name=closeWait,proto3" json:"closeWait,omitempty"` LastAck uint64 `protobuf:"varint,9,opt,name=lastAck,proto3" json:"lastAck,omitempty"` Listen uint64 `protobuf:"varint,10,opt,name=listen,proto3" json:"listen,omitempty"` Closing uint64 `protobuf:"varint,11,opt,name=closing,proto3" json:"closing,omitempty"` }
func (*TcpStat) ProtoMessage ¶
func (*TcpStat) ProtoMessage()
type TermStatus ¶
type TermStatus struct { ExitCode int32 `protobuf:"varint,1,opt,name=exitCode,proto3" json:"exitCode,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` StartedAt string `protobuf:"bytes,4,opt,name=startedAt,proto3" json:"startedAt,omitempty"` FinishedAt string `protobuf:"bytes,5,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"` }
func (*TermStatus) ProtoMessage ¶
func (*TermStatus) ProtoMessage()
func (*TermStatus) Reset ¶
func (m *TermStatus) Reset()
func (*TermStatus) String ¶
func (m *TermStatus) String() string
type UserContainer ¶
type UserContainer struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Workdir string `protobuf:"bytes,3,opt,name=workdir,proto3" json:"workdir,omitempty"` RestartPolicy string `protobuf:"bytes,4,opt,name=restartPolicy,proto3" json:"restartPolicy,omitempty"` Tty bool `protobuf:"varint,5,opt,name=tty,proto3" json:"tty,omitempty"` Sysctl map[string]string `` /* 146-byte string literal not displayed */ Envs []*EnvironmentVar `protobuf:"bytes,7,rep,name=envs" json:"envs,omitempty"` Command []string `protobuf:"bytes,8,rep,name=command" json:"command,omitempty"` Entrypoint []string `protobuf:"bytes,9,rep,name=entrypoint" json:"entrypoint,omitempty"` Ports []*UserContainerPort `protobuf:"bytes,10,rep,name=ports" json:"ports,omitempty"` Volumes []*UserVolumeReference `protobuf:"bytes,11,rep,name=volumes" json:"volumes,omitempty"` Files []*UserFileReference `protobuf:"bytes,12,rep,name=files" json:"files,omitempty"` User *UserUser `protobuf:"bytes,13,opt,name=user" json:"user,omitempty"` Labels map[string]string `` /* 147-byte string literal not displayed */ }
func (*UserContainer) GetEnvs ¶
func (m *UserContainer) GetEnvs() []*EnvironmentVar
func (*UserContainer) GetFiles ¶
func (m *UserContainer) GetFiles() []*UserFileReference
func (*UserContainer) GetLabels ¶
func (m *UserContainer) GetLabels() map[string]string
func (*UserContainer) GetPorts ¶
func (m *UserContainer) GetPorts() []*UserContainerPort
func (*UserContainer) GetSysctl ¶
func (m *UserContainer) GetSysctl() map[string]string
func (*UserContainer) GetUser ¶
func (m *UserContainer) GetUser() *UserUser
func (*UserContainer) GetVolumes ¶
func (m *UserContainer) GetVolumes() []*UserVolumeReference
func (*UserContainer) ProtoMessage ¶
func (*UserContainer) ProtoMessage()
func (*UserContainer) Reset ¶
func (m *UserContainer) Reset()
func (*UserContainer) String ¶
func (m *UserContainer) String() string
type UserContainerPort ¶
type UserContainerPort struct { HostPort int32 `protobuf:"varint,1,opt,name=hostPort,proto3" json:"hostPort,omitempty"` ContainerPort int32 `protobuf:"varint,2,opt,name=containerPort,proto3" json:"containerPort,omitempty"` ServicePort int32 `protobuf:"varint,3,opt,name=servicePort,proto3" json:"servicePort,omitempty"` Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` }
func (*UserContainerPort) ProtoMessage ¶
func (*UserContainerPort) ProtoMessage()
func (*UserContainerPort) Reset ¶
func (m *UserContainerPort) Reset()
func (*UserContainerPort) String ¶
func (m *UserContainerPort) String() string
type UserFile ¶
type UserFile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Encoding string `protobuf:"bytes,2,opt,name=encoding,proto3" json:"encoding,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` }
func (*UserFile) ProtoMessage ¶
func (*UserFile) ProtoMessage()
type UserFileReference ¶
type UserFileReference struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Perm string `protobuf:"bytes,3,opt,name=perm,proto3" json:"perm,omitempty"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` }
func (*UserFileReference) ProtoMessage ¶
func (*UserFileReference) ProtoMessage()
func (*UserFileReference) Reset ¶
func (m *UserFileReference) Reset()
func (*UserFileReference) String ¶
func (m *UserFileReference) String() string
type UserInterface ¶
type UserInterface struct { Bridge string `protobuf:"bytes,1,opt,name=bridge,proto3" json:"bridge,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Ifname string `protobuf:"bytes,3,opt,name=ifname,proto3" json:"ifname,omitempty"` Mac string `protobuf:"bytes,4,opt,name=mac,proto3" json:"mac,omitempty"` Gateway string `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"` }
func (*UserInterface) ProtoMessage ¶
func (*UserInterface) ProtoMessage()
func (*UserInterface) Reset ¶
func (m *UserInterface) Reset()
func (*UserInterface) String ¶
func (m *UserInterface) String() string
type UserPod ¶
type UserPod struct { // TODO: rename this to name (renaming will also change restful API) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` RestartPolicy string `protobuf:"bytes,4,opt,name=restartPolicy,proto3" json:"restartPolicy,omitempty"` Tty bool `protobuf:"varint,5,opt,name=tty,proto3" json:"tty,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ Resource *UserResource `protobuf:"bytes,7,opt,name=resource" json:"resource,omitempty"` Log *PodLogConfig `protobuf:"bytes,8,opt,name=log" json:"log,omitempty"` Dns []string `protobuf:"bytes,9,rep,name=dns" json:"dns,omitempty"` Containers []*UserContainer `protobuf:"bytes,10,rep,name=containers" json:"containers,omitempty"` Files []*UserFile `protobuf:"bytes,11,rep,name=files" json:"files,omitempty"` Volumes []*UserVolume `protobuf:"bytes,12,rep,name=volumes" json:"volumes,omitempty"` Interfaces []*UserInterface `protobuf:"bytes,13,rep,name=interfaces" json:"interfaces,omitempty"` Services []*UserService `protobuf:"bytes,14,rep,name=services" json:"services,omitempty"` PortmappingWhiteLists *PortmappingWhiteList `protobuf:"bytes,15,opt,name=portmappingWhiteLists" json:"portmappingWhiteLists,omitempty"` }
func (*UserPod) GetContainers ¶
func (m *UserPod) GetContainers() []*UserContainer
func (*UserPod) GetInterfaces ¶
func (m *UserPod) GetInterfaces() []*UserInterface
func (*UserPod) GetLog ¶
func (m *UserPod) GetLog() *PodLogConfig
func (*UserPod) GetPortmappingWhiteLists ¶
func (m *UserPod) GetPortmappingWhiteLists() *PortmappingWhiteList
func (*UserPod) GetResource ¶
func (m *UserPod) GetResource() *UserResource
func (*UserPod) GetServices ¶
func (m *UserPod) GetServices() []*UserService
func (*UserPod) GetVolumes ¶
func (m *UserPod) GetVolumes() []*UserVolume
func (*UserPod) ProtoMessage ¶
func (*UserPod) ProtoMessage()
type UserResource ¶
type UserResource struct { Vcpu int32 `protobuf:"varint,1,opt,name=vcpu,proto3" json:"vcpu,omitempty"` Memory int32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` }
func (*UserResource) ProtoMessage ¶
func (*UserResource) ProtoMessage()
func (*UserResource) Reset ¶
func (m *UserResource) Reset()
func (*UserResource) String ¶
func (m *UserResource) String() string
type UserService ¶
type UserService struct { ServiceIP string `protobuf:"bytes,1,opt,name=serviceIP,proto3" json:"serviceIP,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` ServicePort int32 `protobuf:"varint,3,opt,name=servicePort,proto3" json:"servicePort,omitempty"` Hosts []*UserServiceBackend `protobuf:"bytes,4,rep,name=hosts" json:"hosts,omitempty"` }
func (*UserService) GetHosts ¶
func (m *UserService) GetHosts() []*UserServiceBackend
func (*UserService) ProtoMessage ¶
func (*UserService) ProtoMessage()
func (*UserService) Reset ¶
func (m *UserService) Reset()
func (*UserService) String ¶
func (m *UserService) String() string
type UserServiceBackend ¶
type UserServiceBackend struct { HostIP string `protobuf:"bytes,1,opt,name=hostIP,proto3" json:"hostIP,omitempty"` HostPort int32 `protobuf:"varint,2,opt,name=hostPort,proto3" json:"hostPort,omitempty"` }
func (*UserServiceBackend) ProtoMessage ¶
func (*UserServiceBackend) ProtoMessage()
func (*UserServiceBackend) Reset ¶
func (m *UserServiceBackend) Reset()
func (*UserServiceBackend) String ¶
func (m *UserServiceBackend) String() string
type UserUser ¶
type UserUser struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` AdditionalGroups []string `protobuf:"bytes,3,rep,name=additionalGroups" json:"additionalGroups,omitempty"` }
func (*UserUser) ProtoMessage ¶
func (*UserUser) ProtoMessage()
type UserVolume ¶
type UserVolume struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Driver string `protobuf:"bytes,3,opt,name=driver,proto3" json:"driver,omitempty"` Option *UserVolumeOption `protobuf:"bytes,4,opt,name=option" json:"option,omitempty"` }
func (*UserVolume) GetOption ¶
func (m *UserVolume) GetOption() *UserVolumeOption
func (*UserVolume) ProtoMessage ¶
func (*UserVolume) ProtoMessage()
func (*UserVolume) Reset ¶
func (m *UserVolume) Reset()
func (*UserVolume) String ¶
func (m *UserVolume) String() string
type UserVolumeOption ¶
type UserVolumeOption struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Keyring string `protobuf:"bytes,2,opt,name=keyring,proto3" json:"keyring,omitempty"` Monitors []string `protobuf:"bytes,3,rep,name=monitors" json:"monitors,omitempty"` }
func (*UserVolumeOption) ProtoMessage ¶
func (*UserVolumeOption) ProtoMessage()
func (*UserVolumeOption) Reset ¶
func (m *UserVolumeOption) Reset()
func (*UserVolumeOption) String ¶
func (m *UserVolumeOption) String() string
type UserVolumeReference ¶
type UserVolumeReference struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Volume string `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"` ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` }
func (*UserVolumeReference) ProtoMessage ¶
func (*UserVolumeReference) ProtoMessage()
func (*UserVolumeReference) Reset ¶
func (m *UserVolumeReference) Reset()
func (*UserVolumeReference) String ¶
func (m *UserVolumeReference) String() string
type VMCreateRequest ¶
type VMCreateRequest struct { Cpu int32 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory int32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` }
func (*VMCreateRequest) ProtoMessage ¶
func (*VMCreateRequest) ProtoMessage()
func (*VMCreateRequest) Reset ¶
func (m *VMCreateRequest) Reset()
func (*VMCreateRequest) String ¶
func (m *VMCreateRequest) String() string
type VMCreateResponse ¶
type VMCreateResponse struct {
VmID string `protobuf:"bytes,1,opt,name=vmID,proto3" json:"vmID,omitempty"`
}
func (*VMCreateResponse) ProtoMessage ¶
func (*VMCreateResponse) ProtoMessage()
func (*VMCreateResponse) Reset ¶
func (m *VMCreateResponse) Reset()
func (*VMCreateResponse) String ¶
func (m *VMCreateResponse) String() string
type VMListRequest ¶
type VMListRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` VmID string `protobuf:"bytes,2,opt,name=vmID,proto3" json:"vmID,omitempty"` }
func (*VMListRequest) ProtoMessage ¶
func (*VMListRequest) ProtoMessage()
func (*VMListRequest) Reset ¶
func (m *VMListRequest) Reset()
func (*VMListRequest) String ¶
func (m *VMListRequest) String() string
type VMListResponse ¶
type VMListResponse struct {
VmList []*VMListResult `protobuf:"bytes,1,rep,name=vmList" json:"vmList,omitempty"`
}
func (*VMListResponse) GetVmList ¶
func (m *VMListResponse) GetVmList() []*VMListResult
func (*VMListResponse) ProtoMessage ¶
func (*VMListResponse) ProtoMessage()
func (*VMListResponse) Reset ¶
func (m *VMListResponse) Reset()
func (*VMListResponse) String ¶
func (m *VMListResponse) String() string
type VMListResult ¶
type VMListResult struct { VmID string `protobuf:"bytes,1,opt,name=vmID,proto3" json:"vmID,omitempty"` PodID string `protobuf:"bytes,2,opt,name=podID,proto3" json:"podID,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` }
func (*VMListResult) ProtoMessage ¶
func (*VMListResult) ProtoMessage()
func (*VMListResult) Reset ¶
func (m *VMListResult) Reset()
func (*VMListResult) String ¶
func (m *VMListResult) String() string
type VMRemoveRequest ¶
type VMRemoveRequest struct {
VmID string `protobuf:"bytes,1,opt,name=vmID,proto3" json:"vmID,omitempty"`
}
func (*VMRemoveRequest) ProtoMessage ¶
func (*VMRemoveRequest) ProtoMessage()
func (*VMRemoveRequest) Reset ¶
func (m *VMRemoveRequest) Reset()
func (*VMRemoveRequest) String ¶
func (m *VMRemoveRequest) String() string
type VMRemoveResponse ¶
type VMRemoveResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` }
func (*VMRemoveResponse) ProtoMessage ¶
func (*VMRemoveResponse) ProtoMessage()
func (*VMRemoveResponse) Reset ¶
func (m *VMRemoveResponse) Reset()
func (*VMRemoveResponse) String ¶
func (m *VMRemoveResponse) String() string
type VersionRequest ¶
type VersionRequest struct { }
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (m *VersionRequest) String() string
type VersionResponse ¶
type VersionResponse struct { // Version is the version of hyperd Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // ApiVersion is the version of gRPC API ApiVersion string `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` }
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
type VolumeMount ¶
type VolumeMount struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MountPath string `protobuf:"bytes,2,opt,name=mountPath,proto3" json:"mountPath,omitempty"` ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` }
func (*VolumeMount) ProtoMessage ¶
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) Reset ¶
func (m *VolumeMount) Reset()
func (*VolumeMount) String ¶
func (m *VolumeMount) String() string
type WaitRequest ¶
type WaitRequest struct { Container string `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` ProcessId string `protobuf:"bytes,2,opt,name=processId,proto3" json:"processId,omitempty"` NoHang bool `protobuf:"varint,3,opt,name=noHang,proto3" json:"noHang,omitempty"` }
func (*WaitRequest) ProtoMessage ¶
func (*WaitRequest) ProtoMessage()
func (*WaitRequest) Reset ¶
func (m *WaitRequest) Reset()
func (*WaitRequest) String ¶
func (m *WaitRequest) String() string
type WaitResponse ¶
type WaitResponse struct {
ExitCode int32 `protobuf:"varint,1,opt,name=exitCode,proto3" json:"exitCode,omitempty"`
}
func (*WaitResponse) ProtoMessage ¶
func (*WaitResponse) ProtoMessage()
func (*WaitResponse) Reset ¶
func (m *WaitResponse) Reset()
func (*WaitResponse) String ¶
func (m *WaitResponse) String() string
type WaitingStatus ¶
type WaitingStatus struct {
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
}
func (*WaitingStatus) ProtoMessage ¶
func (*WaitingStatus) ProtoMessage()
func (*WaitingStatus) Reset ¶
func (m *WaitingStatus) Reset()
func (*WaitingStatus) String ¶
func (m *WaitingStatus) String() string
Click to show internal directories.
Click to hide internal directories.