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 Ulimit UserContainer UserResource UserFile UserVolumeOption UserVolume UserInterface UserServiceBackend UserService PodLogConfig PortMapping PortmappingWhiteList UserPod PodCreateRequest PodCreateResponse PodRemoveRequest PodRemoveResponse ContainerLogsRequest ContainerLogsResponse DriverStatus InfoRequest InfoResponse ExecCreateRequest ExecCreateResponse ExecStartRequest ExecStartResponse ExecVMRequest ExecVMResponse ExecSignalRequest ExecSignalResponse PodStartRequest PodStartResponse WaitRequest WaitResponse AttachMessage ContainerCreateRequest ContainerCreateResponse ContainerStartRequest ContainerStartResponse ContainerRenameRequest ContainerRenameResponse ContainerRemoveRequest ContainerRemoveResponse AuthConfig ImagePullRequest ImagePullResponse ImagePushRequest ImagePushResponse ImageRemoveRequest ImageDelete ImageRemoveResponse ContainerStopRequest ContainerStopResponse VersionRequest VersionResponse ServiceListResponse ServiceListRequest ServiceAddRequest ServiceAddResponse ServiceDelRequest ServiceDelResponse ServiceUpdateRequest ServiceUpdateResponse PortMappingListRequest PortMappingListResponse PortMappingModifyRequest PortMappingModifyResponse PodStopRequest PodStopResponse PodSignalRequest PodSignalResponse PodPauseRequest PodPauseResponse PodUnpauseRequest PodUnpauseResponse PodLabelsRequest PodLabelsResponse PodStatsRequest PodStatsResponse PingRequest PingResponse ContainerSignalRequest ContainerSignalResponse TTYResizeRequest TTYResizeResponse
Index ¶
- func RegisterPublicAPIServer(s *grpc.Server, srv PublicAPIServer)
- type AttachMessage
- type AuthConfig
- func (*AuthConfig) Descriptor() ([]byte, []int)
- func (m *AuthConfig) GetAuth() string
- func (m *AuthConfig) GetEmail() string
- func (m *AuthConfig) GetPassword() string
- func (m *AuthConfig) GetRegistrytoken() string
- func (m *AuthConfig) GetServeraddress() string
- func (m *AuthConfig) GetUsername() string
- func (*AuthConfig) ProtoMessage()
- func (m *AuthConfig) Reset()
- func (m *AuthConfig) String() string
- type BlkioStatEntry
- func (*BlkioStatEntry) Descriptor() ([]byte, []int)
- func (m *BlkioStatEntry) GetMajor() uint64
- func (m *BlkioStatEntry) GetMinor() uint64
- func (m *BlkioStatEntry) GetName() string
- func (m *BlkioStatEntry) GetSource() string
- func (m *BlkioStatEntry) GetStat() map[string]uint64
- func (m *BlkioStatEntry) GetType() string
- func (*BlkioStatEntry) ProtoMessage()
- func (m *BlkioStatEntry) Reset()
- func (m *BlkioStatEntry) String() string
- type BlkioStats
- func (*BlkioStats) Descriptor() ([]byte, []int)
- 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
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetArgs() []string
- func (m *Container) GetCommands() []string
- func (m *Container) GetContainerID() string
- func (m *Container) GetEnv() []*EnvironmentVar
- func (m *Container) GetImage() string
- func (m *Container) GetImageID() string
- func (m *Container) GetImagePullPolicy() string
- func (m *Container) GetLabels() map[string]string
- func (m *Container) GetName() string
- func (m *Container) GetPorts() []*ContainerPort
- func (m *Container) GetTty() bool
- func (m *Container) GetUser() string
- func (m *Container) GetVolumeMounts() []*VolumeMount
- func (m *Container) GetWorkingDir() string
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) String() string
- type ContainerCreateRequest
- func (*ContainerCreateRequest) Descriptor() ([]byte, []int)
- func (m *ContainerCreateRequest) GetContainerSpec() *UserContainer
- func (m *ContainerCreateRequest) GetPodID() string
- func (*ContainerCreateRequest) ProtoMessage()
- func (m *ContainerCreateRequest) Reset()
- func (m *ContainerCreateRequest) String() string
- type ContainerCreateResponse
- type ContainerInfo
- func (*ContainerInfo) Descriptor() ([]byte, []int)
- func (m *ContainerInfo) GetContainer() *Container
- func (m *ContainerInfo) GetCreatedAt() int64
- func (m *ContainerInfo) GetPodID() string
- func (m *ContainerInfo) GetStatus() *ContainerStatus
- func (*ContainerInfo) ProtoMessage()
- func (m *ContainerInfo) Reset()
- func (m *ContainerInfo) String() string
- type ContainerInfoRequest
- type ContainerInfoResponse
- type ContainerListRequest
- type ContainerListResponse
- type ContainerListResult
- func (*ContainerListResult) Descriptor() ([]byte, []int)
- func (m *ContainerListResult) GetContainerID() string
- func (m *ContainerListResult) GetContainerName() string
- func (m *ContainerListResult) GetPodID() string
- func (m *ContainerListResult) GetStatus() string
- func (*ContainerListResult) ProtoMessage()
- func (m *ContainerListResult) Reset()
- func (m *ContainerListResult) String() string
- type ContainerLogsRequest
- func (*ContainerLogsRequest) Descriptor() ([]byte, []int)
- func (m *ContainerLogsRequest) GetContainer() string
- func (m *ContainerLogsRequest) GetFollow() bool
- func (m *ContainerLogsRequest) GetSince() string
- func (m *ContainerLogsRequest) GetStderr() bool
- func (m *ContainerLogsRequest) GetStdout() bool
- func (m *ContainerLogsRequest) GetTail() string
- func (m *ContainerLogsRequest) GetTimestamps() bool
- func (*ContainerLogsRequest) ProtoMessage()
- func (m *ContainerLogsRequest) Reset()
- func (m *ContainerLogsRequest) String() string
- type ContainerLogsResponse
- type ContainerPort
- func (*ContainerPort) Descriptor() ([]byte, []int)
- func (m *ContainerPort) GetContainerPort() int32
- func (m *ContainerPort) GetHostIP() string
- func (m *ContainerPort) GetHostPort() int32
- func (m *ContainerPort) GetName() string
- func (m *ContainerPort) GetProtocol() string
- func (*ContainerPort) ProtoMessage()
- func (m *ContainerPort) Reset()
- func (m *ContainerPort) String() string
- type ContainerRemoveRequest
- type ContainerRemoveResponse
- type ContainerRenameRequest
- func (*ContainerRenameRequest) Descriptor() ([]byte, []int)
- func (m *ContainerRenameRequest) GetNewContainerName() string
- func (m *ContainerRenameRequest) GetOldContainerName() string
- func (*ContainerRenameRequest) ProtoMessage()
- func (m *ContainerRenameRequest) Reset()
- func (m *ContainerRenameRequest) String() string
- type ContainerRenameResponse
- type ContainerSignalRequest
- func (*ContainerSignalRequest) Descriptor() ([]byte, []int)
- func (m *ContainerSignalRequest) GetContainerID() string
- func (m *ContainerSignalRequest) GetPodID() string
- func (m *ContainerSignalRequest) GetSignal() int64
- func (*ContainerSignalRequest) ProtoMessage()
- func (m *ContainerSignalRequest) Reset()
- func (m *ContainerSignalRequest) String() string
- type ContainerSignalResponse
- type ContainerStartRequest
- type ContainerStartResponse
- type ContainerStatus
- func (*ContainerStatus) Descriptor() ([]byte, []int)
- func (m *ContainerStatus) GetContainerID() string
- func (m *ContainerStatus) GetName() string
- func (m *ContainerStatus) GetPhase() string
- func (m *ContainerStatus) GetRunning() *RunningStatus
- func (m *ContainerStatus) GetTerminated() *TermStatus
- func (m *ContainerStatus) GetWaiting() *WaitingStatus
- func (*ContainerStatus) ProtoMessage()
- func (m *ContainerStatus) Reset()
- func (m *ContainerStatus) String() string
- type ContainerStopRequest
- type ContainerStopResponse
- type ContainersStats
- func (*ContainersStats) Descriptor() ([]byte, []int)
- func (m *ContainersStats) GetBlock() *BlkioStats
- func (m *ContainersStats) GetContainerID() string
- func (m *ContainersStats) GetCpu() *CpuStats
- func (m *ContainersStats) GetFilesystem() []*FsStats
- func (m *ContainersStats) GetMemory() *MemoryStats
- func (m *ContainersStats) GetNetwork() *NetworkStats
- func (m *ContainersStats) GetTimestamp() int64
- func (*ContainersStats) ProtoMessage()
- func (m *ContainersStats) Reset()
- func (m *ContainersStats) String() string
- type CpuStats
- type CpuUsage
- type DriverStatus
- type EnvironmentVar
- type ExecCreateRequest
- func (*ExecCreateRequest) Descriptor() ([]byte, []int)
- func (m *ExecCreateRequest) GetCommand() []string
- func (m *ExecCreateRequest) GetContainerID() string
- func (m *ExecCreateRequest) GetTty() bool
- func (*ExecCreateRequest) ProtoMessage()
- func (m *ExecCreateRequest) Reset()
- func (m *ExecCreateRequest) String() string
- type ExecCreateResponse
- type ExecSignalRequest
- func (*ExecSignalRequest) Descriptor() ([]byte, []int)
- func (m *ExecSignalRequest) GetContainerID() string
- func (m *ExecSignalRequest) GetExecID() string
- func (m *ExecSignalRequest) GetSignal() int64
- func (*ExecSignalRequest) ProtoMessage()
- func (m *ExecSignalRequest) Reset()
- func (m *ExecSignalRequest) String() string
- type ExecSignalResponse
- type ExecStartRequest
- func (*ExecStartRequest) Descriptor() ([]byte, []int)
- func (m *ExecStartRequest) GetContainerID() string
- func (m *ExecStartRequest) GetExecID() string
- func (m *ExecStartRequest) GetStdin() []byte
- func (*ExecStartRequest) ProtoMessage()
- func (m *ExecStartRequest) Reset()
- func (m *ExecStartRequest) String() string
- type ExecStartResponse
- type ExecVMRequest
- type ExecVMResponse
- type FsStats
- func (*FsStats) Descriptor() ([]byte, []int)
- func (m *FsStats) GetAvailable() uint64
- func (m *FsStats) GetDevice() string
- func (m *FsStats) GetIoInProgress() uint64
- func (m *FsStats) GetIoTime() uint64
- func (m *FsStats) GetLimit() uint64
- func (m *FsStats) GetReadTime() uint64
- func (m *FsStats) GetReadsCompleted() uint64
- func (m *FsStats) GetReadsMerged() uint64
- func (m *FsStats) GetSectorsRead() uint64
- func (m *FsStats) GetSectorsWritten() uint64
- func (m *FsStats) GetUsage() uint64
- func (m *FsStats) GetWeightedIoTime() uint64
- func (m *FsStats) GetWriteTime() uint64
- func (m *FsStats) GetWritesCompleted() uint64
- func (m *FsStats) GetWritesMerged() uint64
- func (*FsStats) ProtoMessage()
- func (m *FsStats) Reset()
- func (m *FsStats) String() string
- type ImageDelete
- type ImageInfo
- func (*ImageInfo) Descriptor() ([]byte, []int)
- func (m *ImageInfo) GetCreated() int64
- func (m *ImageInfo) GetId() string
- func (m *ImageInfo) GetLabels() map[string]string
- func (m *ImageInfo) GetParentID() string
- func (m *ImageInfo) GetRepoDigests() []string
- func (m *ImageInfo) GetRepoTags() []string
- func (m *ImageInfo) GetVirtualSize() int64
- func (*ImageInfo) ProtoMessage()
- func (m *ImageInfo) Reset()
- func (m *ImageInfo) String() string
- type ImageListRequest
- func (*ImageListRequest) Descriptor() ([]byte, []int)
- func (m *ImageListRequest) GetAll() bool
- func (m *ImageListRequest) GetFilter() string
- func (m *ImageListRequest) GetFilterArgs() string
- func (*ImageListRequest) ProtoMessage()
- func (m *ImageListRequest) Reset()
- func (m *ImageListRequest) String() string
- type ImageListResponse
- type ImagePullRequest
- func (*ImagePullRequest) Descriptor() ([]byte, []int)
- func (m *ImagePullRequest) GetAuth() *AuthConfig
- func (m *ImagePullRequest) GetImage() string
- func (m *ImagePullRequest) GetTag() string
- func (*ImagePullRequest) ProtoMessage()
- func (m *ImagePullRequest) Reset()
- func (m *ImagePullRequest) String() string
- type ImagePullResponse
- type ImagePushRequest
- func (*ImagePushRequest) Descriptor() ([]byte, []int)
- func (m *ImagePushRequest) GetAuth() *AuthConfig
- func (m *ImagePushRequest) GetRepo() string
- func (m *ImagePushRequest) GetTag() string
- func (*ImagePushRequest) ProtoMessage()
- func (m *ImagePushRequest) Reset()
- func (m *ImagePushRequest) String() string
- type ImagePushResponse
- type ImageRemoveRequest
- func (*ImageRemoveRequest) Descriptor() ([]byte, []int)
- func (m *ImageRemoveRequest) GetForce() bool
- func (m *ImageRemoveRequest) GetImage() string
- func (m *ImageRemoveRequest) GetPrune() bool
- func (*ImageRemoveRequest) ProtoMessage()
- func (m *ImageRemoveRequest) Reset()
- func (m *ImageRemoveRequest) String() string
- type ImageRemoveResponse
- type InfoRequest
- type InfoResponse
- func (*InfoResponse) Descriptor() ([]byte, []int)
- func (m *InfoResponse) GetContainers() int32
- func (m *InfoResponse) GetDockerRootDir() string
- func (m *InfoResponse) GetDriver() string
- func (m *InfoResponse) GetDstatus() []*DriverStatus
- func (m *InfoResponse) GetExecutionDriver() string
- func (m *InfoResponse) GetID() string
- func (m *InfoResponse) GetImages() int32
- func (m *InfoResponse) GetIndexServerAddress() string
- func (m *InfoResponse) GetMemTotal() int64
- func (m *InfoResponse) GetName() string
- func (m *InfoResponse) GetOperatingSystem() string
- func (m *InfoResponse) GetPods() int64
- func (*InfoResponse) ProtoMessage()
- func (m *InfoResponse) Reset()
- func (m *InfoResponse) String() string
- type InterfaceStats
- func (*InterfaceStats) Descriptor() ([]byte, []int)
- func (m *InterfaceStats) GetName() string
- func (m *InterfaceStats) GetRxBytes() uint64
- func (m *InterfaceStats) GetRxDropped() uint64
- func (m *InterfaceStats) GetRxErrors() uint64
- func (m *InterfaceStats) GetRxPackets() uint64
- func (m *InterfaceStats) GetTxBytes() uint64
- func (m *InterfaceStats) GetTxDropped() uint64
- func (m *InterfaceStats) GetTxErrors() uint64
- func (m *InterfaceStats) GetTxPackets() uint64
- func (*InterfaceStats) ProtoMessage()
- func (m *InterfaceStats) Reset()
- func (m *InterfaceStats) String() string
- type MemoryStats
- func (*MemoryStats) Descriptor() ([]byte, []int)
- func (m *MemoryStats) GetContainerData() *MemoryStatsMemoryData
- func (m *MemoryStats) GetFailcnt() uint64
- func (m *MemoryStats) GetHierarchicalData() *MemoryStatsMemoryData
- func (m *MemoryStats) GetUsage() uint64
- func (m *MemoryStats) GetWorkingSet() uint64
- func (*MemoryStats) ProtoMessage()
- func (m *MemoryStats) Reset()
- func (m *MemoryStats) String() string
- type MemoryStatsMemoryData
- type NetworkStats
- type PingRequest
- type PingResponse
- type PodCreateRequest
- type PodCreateResponse
- type PodInfo
- func (*PodInfo) Descriptor() ([]byte, []int)
- func (m *PodInfo) GetApiVersion() string
- func (m *PodInfo) GetCreatedAt() int64
- func (m *PodInfo) GetKind() string
- func (m *PodInfo) GetPodID() string
- func (m *PodInfo) GetPodName() string
- func (m *PodInfo) GetSpec() *PodSpec
- func (m *PodInfo) GetStatus() *PodStatus
- func (m *PodInfo) GetVm() string
- func (*PodInfo) ProtoMessage()
- func (m *PodInfo) Reset()
- func (m *PodInfo) String() string
- type PodInfoRequest
- type PodInfoResponse
- type PodLabelsRequest
- func (*PodLabelsRequest) Descriptor() ([]byte, []int)
- func (m *PodLabelsRequest) GetLabels() map[string]string
- func (m *PodLabelsRequest) GetOverride() bool
- func (m *PodLabelsRequest) GetPodID() string
- func (*PodLabelsRequest) ProtoMessage()
- func (m *PodLabelsRequest) Reset()
- func (m *PodLabelsRequest) String() string
- type PodLabelsResponse
- type PodListRequest
- type PodListResponse
- type PodListResult
- func (*PodListResult) Descriptor() ([]byte, []int)
- func (m *PodListResult) GetCreatedAt() int64
- func (m *PodListResult) GetLabels() map[string]string
- func (m *PodListResult) GetPodID() string
- func (m *PodListResult) GetPodName() string
- func (m *PodListResult) GetStatus() string
- func (m *PodListResult) GetVmID() string
- func (*PodListResult) ProtoMessage()
- func (m *PodListResult) Reset()
- func (m *PodListResult) String() string
- type PodLogConfig
- type PodPauseRequest
- type PodPauseResponse
- type PodRemoveRequest
- type PodRemoveResponse
- type PodSignalRequest
- type PodSignalResponse
- type PodSpec
- func (*PodSpec) Descriptor() ([]byte, []int)
- func (m *PodSpec) GetContainers() []*Container
- func (m *PodSpec) GetLabels() map[string]string
- func (m *PodSpec) GetMemory() int32
- func (m *PodSpec) GetVcpu() int32
- func (m *PodSpec) GetVolumes() []*PodVolume
- func (*PodSpec) ProtoMessage()
- func (m *PodSpec) Reset()
- func (m *PodSpec) String() string
- type PodStartRequest
- type PodStartResponse
- type PodStats
- func (*PodStats) Descriptor() ([]byte, []int)
- 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 (m *PodStats) GetTimestamp() int64
- func (*PodStats) ProtoMessage()
- func (m *PodStats) Reset()
- func (m *PodStats) String() string
- type PodStatsRequest
- type PodStatsResponse
- type PodStatus
- func (*PodStatus) Descriptor() ([]byte, []int)
- func (m *PodStatus) GetContainerStatus() []*ContainerStatus
- func (m *PodStatus) GetFinishTime() string
- func (m *PodStatus) GetHostIP() string
- func (m *PodStatus) GetMessage() string
- func (m *PodStatus) GetPhase() string
- func (m *PodStatus) GetPodIP() []string
- func (m *PodStatus) GetReason() string
- func (m *PodStatus) GetStartTime() string
- func (*PodStatus) ProtoMessage()
- func (m *PodStatus) Reset()
- func (m *PodStatus) String() string
- type PodStopRequest
- type PodStopResponse
- type PodUnpauseRequest
- type PodUnpauseResponse
- type PodVolume
- func (*PodVolume) Descriptor() ([]byte, []int)
- func (m *PodVolume) GetDriver() string
- func (m *PodVolume) GetName() string
- func (m *PodVolume) GetRbd() *RBDVolumeSource
- func (m *PodVolume) GetSource() string
- func (*PodVolume) ProtoMessage()
- func (m *PodVolume) Reset()
- func (m *PodVolume) String() string
- type PortMapping
- type PortMappingListRequest
- type PortMappingListResponse
- type PortMappingModifyRequest
- func (*PortMappingModifyRequest) Descriptor() ([]byte, []int)
- func (m *PortMappingModifyRequest) GetPodID() string
- func (m *PortMappingModifyRequest) GetPortMappings() []*PortMapping
- func (*PortMappingModifyRequest) ProtoMessage()
- func (m *PortMappingModifyRequest) Reset()
- func (m *PortMappingModifyRequest) String() string
- type PortMappingModifyResponse
- type PortmappingWhiteList
- func (*PortmappingWhiteList) Descriptor() ([]byte, []int)
- func (m *PortmappingWhiteList) GetExternalNetworks() []string
- func (m *PortmappingWhiteList) GetInternalNetworks() []string
- func (*PortmappingWhiteList) ProtoMessage()
- func (m *PortmappingWhiteList) Reset()
- func (m *PortmappingWhiteList) String() string
- type PublicAPIClient
- type PublicAPIServer
- type PublicAPI_AttachClient
- type PublicAPI_AttachServer
- type PublicAPI_ContainerLogsClient
- type PublicAPI_ContainerLogsServer
- type PublicAPI_ExecStartClient
- type PublicAPI_ExecStartServer
- type PublicAPI_ExecVMClient
- type PublicAPI_ExecVMServer
- type PublicAPI_ImagePullClient
- type PublicAPI_ImagePullServer
- type PublicAPI_ImagePushClient
- type PublicAPI_ImagePushServer
- type RBDVolumeSource
- func (*RBDVolumeSource) Descriptor() ([]byte, []int)
- func (m *RBDVolumeSource) GetFsType() string
- func (m *RBDVolumeSource) GetImage() string
- func (m *RBDVolumeSource) GetKeyring() string
- func (m *RBDVolumeSource) GetMonitors() []string
- func (m *RBDVolumeSource) GetPool() string
- func (m *RBDVolumeSource) GetReadOnly() bool
- func (m *RBDVolumeSource) GetUser() string
- func (*RBDVolumeSource) ProtoMessage()
- func (m *RBDVolumeSource) Reset()
- func (m *RBDVolumeSource) String() string
- type RunningStatus
- type ServiceAddRequest
- type ServiceAddResponse
- type ServiceDelRequest
- type ServiceDelResponse
- type ServiceListRequest
- type ServiceListResponse
- type ServiceUpdateRequest
- type ServiceUpdateResponse
- type TTYResizeRequest
- func (*TTYResizeRequest) Descriptor() ([]byte, []int)
- func (m *TTYResizeRequest) GetContainerID() string
- func (m *TTYResizeRequest) GetExecID() string
- func (m *TTYResizeRequest) GetHeight() int32
- func (m *TTYResizeRequest) GetWidth() int32
- func (*TTYResizeRequest) ProtoMessage()
- func (m *TTYResizeRequest) Reset()
- func (m *TTYResizeRequest) String() string
- type TTYResizeResponse
- type TcpStat
- func (*TcpStat) Descriptor() ([]byte, []int)
- func (m *TcpStat) GetClose() uint64
- func (m *TcpStat) GetCloseWait() uint64
- func (m *TcpStat) GetClosing() uint64
- func (m *TcpStat) GetEstablished() uint64
- func (m *TcpStat) GetFinWait1() uint64
- func (m *TcpStat) GetFinWait2() uint64
- func (m *TcpStat) GetLastAck() uint64
- func (m *TcpStat) GetListen() uint64
- func (m *TcpStat) GetSynRecv() uint64
- func (m *TcpStat) GetSynSent() uint64
- func (m *TcpStat) GetTimeWait() uint64
- func (*TcpStat) ProtoMessage()
- func (m *TcpStat) Reset()
- func (m *TcpStat) String() string
- type TermStatus
- func (*TermStatus) Descriptor() ([]byte, []int)
- func (m *TermStatus) GetExitCode() int32
- func (m *TermStatus) GetFinishedAt() string
- func (m *TermStatus) GetMessage() string
- func (m *TermStatus) GetReason() string
- func (m *TermStatus) GetStartedAt() string
- func (*TermStatus) ProtoMessage()
- func (m *TermStatus) Reset()
- func (m *TermStatus) String() string
- type Ulimit
- type UserContainer
- func (*UserContainer) Descriptor() ([]byte, []int)
- func (m *UserContainer) GetCommand() []string
- func (m *UserContainer) GetEntrypoint() []string
- func (m *UserContainer) GetEnvs() []*EnvironmentVar
- func (m *UserContainer) GetFiles() []*UserFileReference
- func (m *UserContainer) GetId() string
- func (m *UserContainer) GetImage() string
- func (m *UserContainer) GetLabels() map[string]string
- func (m *UserContainer) GetLogPath() string
- func (m *UserContainer) GetName() string
- func (m *UserContainer) GetPorts() []*UserContainerPort
- func (m *UserContainer) GetReadOnly() bool
- func (m *UserContainer) GetRestartPolicy() string
- func (m *UserContainer) GetStopSignal() string
- func (m *UserContainer) GetSysctl() map[string]string
- func (m *UserContainer) GetTty() bool
- func (m *UserContainer) GetUlimits() []*Ulimit
- func (m *UserContainer) GetUser() *UserUser
- func (m *UserContainer) GetVolumes() []*UserVolumeReference
- func (m *UserContainer) GetWorkdir() string
- func (*UserContainer) ProtoMessage()
- func (m *UserContainer) Reset()
- func (m *UserContainer) String() string
- type UserContainerPort
- func (*UserContainerPort) Descriptor() ([]byte, []int)
- func (m *UserContainerPort) GetContainerPort() int32
- func (m *UserContainerPort) GetHostPort() int32
- func (m *UserContainerPort) GetProtocol() string
- func (m *UserContainerPort) GetServicePort() int32
- func (*UserContainerPort) ProtoMessage()
- func (m *UserContainerPort) Reset()
- func (m *UserContainerPort) String() string
- type UserFile
- type UserFileReference
- func (*UserFileReference) Descriptor() ([]byte, []int)
- func (m *UserFileReference) GetDetail() *UserFile
- func (m *UserFileReference) GetFilename() string
- func (m *UserFileReference) GetGroup() string
- func (m *UserFileReference) GetPath() string
- func (m *UserFileReference) GetPerm() string
- func (m *UserFileReference) GetUser() string
- func (*UserFileReference) ProtoMessage()
- func (m *UserFileReference) Reset()
- func (m *UserFileReference) String() string
- type UserInterface
- func (*UserInterface) Descriptor() ([]byte, []int)
- func (m *UserInterface) GetBridge() string
- func (m *UserInterface) GetGateway() string
- func (m *UserInterface) GetIfname() string
- func (m *UserInterface) GetIp() string
- func (m *UserInterface) GetMac() string
- func (m *UserInterface) GetMtu() uint64
- func (*UserInterface) ProtoMessage()
- func (m *UserInterface) Reset()
- func (m *UserInterface) String() string
- type UserPod
- func (*UserPod) Descriptor() ([]byte, []int)
- func (m *UserPod) GetContainers() []*UserContainer
- func (m *UserPod) GetDns() []string
- func (m *UserPod) GetDnsOptions() []string
- func (m *UserPod) GetDnsSearch() []string
- func (m *UserPod) GetFiles() []*UserFile
- func (m *UserPod) GetHostname() string
- func (m *UserPod) GetId() string
- 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) GetPortmappings() []*PortMapping
- func (m *UserPod) GetResource() *UserResource
- func (m *UserPod) GetRestartPolicy() string
- func (m *UserPod) GetServices() []*UserService
- func (m *UserPod) GetTty() bool
- func (m *UserPod) GetType() string
- func (m *UserPod) GetVolumes() []*UserVolume
- func (*UserPod) ProtoMessage()
- func (m *UserPod) Reset()
- func (m *UserPod) String() string
- type UserResource
- type UserService
- func (*UserService) Descriptor() ([]byte, []int)
- func (m *UserService) GetHosts() []*UserServiceBackend
- func (m *UserService) GetProtocol() string
- func (m *UserService) GetServiceIP() string
- func (m *UserService) GetServicePort() int32
- func (*UserService) ProtoMessage()
- func (m *UserService) Reset()
- func (m *UserService) String() string
- type UserServiceBackend
- type UserUser
- type UserVolume
- func (*UserVolume) Descriptor() ([]byte, []int)
- func (m *UserVolume) GetFormat() string
- func (m *UserVolume) GetFstype() string
- func (m *UserVolume) GetName() string
- func (m *UserVolume) GetOption() *UserVolumeOption
- func (m *UserVolume) GetSource() string
- func (*UserVolume) ProtoMessage()
- func (m *UserVolume) Reset()
- func (m *UserVolume) String() string
- type UserVolumeOption
- func (*UserVolumeOption) Descriptor() ([]byte, []int)
- func (m *UserVolumeOption) GetKeyring() string
- func (m *UserVolumeOption) GetMonitors() []string
- func (m *UserVolumeOption) GetUser() string
- func (*UserVolumeOption) ProtoMessage()
- func (m *UserVolumeOption) Reset()
- func (m *UserVolumeOption) String() string
- type UserVolumeReference
- func (*UserVolumeReference) Descriptor() ([]byte, []int)
- func (m *UserVolumeReference) GetDetail() *UserVolume
- func (m *UserVolumeReference) GetPath() string
- func (m *UserVolumeReference) GetReadOnly() bool
- func (m *UserVolumeReference) GetVolume() string
- func (*UserVolumeReference) ProtoMessage()
- func (m *UserVolumeReference) Reset()
- func (m *UserVolumeReference) String() string
- 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) Descriptor ¶
func (*AttachMessage) Descriptor() ([]byte, []int)
func (*AttachMessage) GetContainerID ¶
func (m *AttachMessage) GetContainerID() string
func (*AttachMessage) GetData ¶
func (m *AttachMessage) GetData() []byte
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) Descriptor ¶
func (*AuthConfig) Descriptor() ([]byte, []int)
func (*AuthConfig) GetAuth ¶
func (m *AuthConfig) GetAuth() string
func (*AuthConfig) GetEmail ¶
func (m *AuthConfig) GetEmail() string
func (*AuthConfig) GetPassword ¶
func (m *AuthConfig) GetPassword() string
func (*AuthConfig) GetRegistrytoken ¶
func (m *AuthConfig) GetRegistrytoken() string
func (*AuthConfig) GetServeraddress ¶
func (m *AuthConfig) GetServeraddress() string
func (*AuthConfig) GetUsername ¶
func (m *AuthConfig) GetUsername() string
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) Descriptor ¶
func (*BlkioStatEntry) Descriptor() ([]byte, []int)
func (*BlkioStatEntry) GetMajor ¶
func (m *BlkioStatEntry) GetMajor() uint64
func (*BlkioStatEntry) GetMinor ¶
func (m *BlkioStatEntry) GetMinor() uint64
func (*BlkioStatEntry) GetName ¶
func (m *BlkioStatEntry) GetName() string
func (*BlkioStatEntry) GetSource ¶
func (m *BlkioStatEntry) GetSource() string
func (*BlkioStatEntry) GetStat ¶
func (m *BlkioStatEntry) GetStat() map[string]uint64
func (*BlkioStatEntry) GetType ¶
func (m *BlkioStatEntry) GetType() string
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) Descriptor ¶
func (*BlkioStats) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*Container) GetCommands ¶
func (*Container) GetContainerID ¶
func (*Container) GetEnv ¶
func (m *Container) GetEnv() []*EnvironmentVar
func (*Container) GetImageID ¶
func (*Container) GetImagePullPolicy ¶
func (*Container) GetPorts ¶
func (m *Container) GetPorts() []*ContainerPort
func (*Container) GetVolumeMounts ¶
func (m *Container) GetVolumeMounts() []*VolumeMount
func (*Container) GetWorkingDir ¶
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) Descriptor ¶
func (*ContainerCreateRequest) Descriptor() ([]byte, []int)
func (*ContainerCreateRequest) GetContainerSpec ¶
func (m *ContainerCreateRequest) GetContainerSpec() *UserContainer
func (*ContainerCreateRequest) GetPodID ¶
func (m *ContainerCreateRequest) GetPodID() string
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) Descriptor ¶
func (*ContainerCreateResponse) Descriptor() ([]byte, []int)
func (*ContainerCreateResponse) GetContainerID ¶
func (m *ContainerCreateResponse) GetContainerID() string
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) Descriptor ¶
func (*ContainerInfo) Descriptor() ([]byte, []int)
func (*ContainerInfo) GetContainer ¶
func (m *ContainerInfo) GetContainer() *Container
func (*ContainerInfo) GetCreatedAt ¶
func (m *ContainerInfo) GetCreatedAt() int64
func (*ContainerInfo) GetPodID ¶
func (m *ContainerInfo) GetPodID() string
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) Descriptor ¶
func (*ContainerInfoRequest) Descriptor() ([]byte, []int)
func (*ContainerInfoRequest) GetContainer ¶
func (m *ContainerInfoRequest) GetContainer() string
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) Descriptor ¶
func (*ContainerInfoResponse) Descriptor() ([]byte, []int)
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"` }
func (*ContainerListRequest) Descriptor ¶
func (*ContainerListRequest) Descriptor() ([]byte, []int)
func (*ContainerListRequest) GetPodID ¶
func (m *ContainerListRequest) GetPodID() string
func (*ContainerListRequest) GetVmID ¶
func (m *ContainerListRequest) GetVmID() string
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) Descriptor ¶
func (*ContainerListResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*ContainerListResult) Descriptor() ([]byte, []int)
func (*ContainerListResult) GetContainerID ¶
func (m *ContainerListResult) GetContainerID() string
func (*ContainerListResult) GetContainerName ¶
func (m *ContainerListResult) GetContainerName() string
func (*ContainerListResult) GetPodID ¶
func (m *ContainerListResult) GetPodID() string
func (*ContainerListResult) GetStatus ¶
func (m *ContainerListResult) GetStatus() string
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) Descriptor ¶
func (*ContainerLogsRequest) Descriptor() ([]byte, []int)
func (*ContainerLogsRequest) GetContainer ¶
func (m *ContainerLogsRequest) GetContainer() string
func (*ContainerLogsRequest) GetFollow ¶
func (m *ContainerLogsRequest) GetFollow() bool
func (*ContainerLogsRequest) GetSince ¶
func (m *ContainerLogsRequest) GetSince() string
func (*ContainerLogsRequest) GetStderr ¶
func (m *ContainerLogsRequest) GetStderr() bool
func (*ContainerLogsRequest) GetStdout ¶
func (m *ContainerLogsRequest) GetStdout() bool
func (*ContainerLogsRequest) GetTail ¶
func (m *ContainerLogsRequest) GetTail() string
func (*ContainerLogsRequest) GetTimestamps ¶
func (m *ContainerLogsRequest) GetTimestamps() bool
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) Descriptor ¶
func (*ContainerLogsResponse) Descriptor() ([]byte, []int)
func (*ContainerLogsResponse) GetLog ¶
func (m *ContainerLogsResponse) GetLog() []byte
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) Descriptor ¶
func (*ContainerPort) Descriptor() ([]byte, []int)
func (*ContainerPort) GetContainerPort ¶
func (m *ContainerPort) GetContainerPort() int32
func (*ContainerPort) GetHostIP ¶
func (m *ContainerPort) GetHostIP() string
func (*ContainerPort) GetHostPort ¶
func (m *ContainerPort) GetHostPort() int32
func (*ContainerPort) GetName ¶
func (m *ContainerPort) GetName() string
func (*ContainerPort) GetProtocol ¶
func (m *ContainerPort) GetProtocol() string
func (*ContainerPort) ProtoMessage ¶
func (*ContainerPort) ProtoMessage()
func (*ContainerPort) Reset ¶
func (m *ContainerPort) Reset()
func (*ContainerPort) String ¶
func (m *ContainerPort) String() string
type ContainerRemoveRequest ¶
type ContainerRemoveRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}
func (*ContainerRemoveRequest) Descriptor ¶
func (*ContainerRemoveRequest) Descriptor() ([]byte, []int)
func (*ContainerRemoveRequest) GetContainerId ¶
func (m *ContainerRemoveRequest) GetContainerId() string
func (*ContainerRemoveRequest) ProtoMessage ¶
func (*ContainerRemoveRequest) ProtoMessage()
func (*ContainerRemoveRequest) Reset ¶
func (m *ContainerRemoveRequest) Reset()
func (*ContainerRemoveRequest) String ¶
func (m *ContainerRemoveRequest) String() string
type ContainerRemoveResponse ¶
type ContainerRemoveResponse struct { }
func (*ContainerRemoveResponse) Descriptor ¶
func (*ContainerRemoveResponse) Descriptor() ([]byte, []int)
func (*ContainerRemoveResponse) ProtoMessage ¶
func (*ContainerRemoveResponse) ProtoMessage()
func (*ContainerRemoveResponse) Reset ¶
func (m *ContainerRemoveResponse) Reset()
func (*ContainerRemoveResponse) String ¶
func (m *ContainerRemoveResponse) 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) Descriptor ¶
func (*ContainerRenameRequest) Descriptor() ([]byte, []int)
func (*ContainerRenameRequest) GetNewContainerName ¶
func (m *ContainerRenameRequest) GetNewContainerName() string
func (*ContainerRenameRequest) GetOldContainerName ¶
func (m *ContainerRenameRequest) GetOldContainerName() string
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) Descriptor ¶
func (*ContainerRenameResponse) Descriptor() ([]byte, []int)
func (*ContainerRenameResponse) ProtoMessage ¶
func (*ContainerRenameResponse) ProtoMessage()
func (*ContainerRenameResponse) Reset ¶
func (m *ContainerRenameResponse) Reset()
func (*ContainerRenameResponse) String ¶
func (m *ContainerRenameResponse) String() string
type ContainerSignalRequest ¶
type ContainerSignalRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` ContainerID string `protobuf:"bytes,2,opt,name=containerID,proto3" json:"containerID,omitempty"` Signal int64 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"` }
func (*ContainerSignalRequest) Descriptor ¶
func (*ContainerSignalRequest) Descriptor() ([]byte, []int)
func (*ContainerSignalRequest) GetContainerID ¶
func (m *ContainerSignalRequest) GetContainerID() string
func (*ContainerSignalRequest) GetPodID ¶
func (m *ContainerSignalRequest) GetPodID() string
func (*ContainerSignalRequest) GetSignal ¶
func (m *ContainerSignalRequest) GetSignal() int64
func (*ContainerSignalRequest) ProtoMessage ¶
func (*ContainerSignalRequest) ProtoMessage()
func (*ContainerSignalRequest) Reset ¶
func (m *ContainerSignalRequest) Reset()
func (*ContainerSignalRequest) String ¶
func (m *ContainerSignalRequest) String() string
type ContainerSignalResponse ¶
type ContainerSignalResponse struct { }
func (*ContainerSignalResponse) Descriptor ¶
func (*ContainerSignalResponse) Descriptor() ([]byte, []int)
func (*ContainerSignalResponse) ProtoMessage ¶
func (*ContainerSignalResponse) ProtoMessage()
func (*ContainerSignalResponse) Reset ¶
func (m *ContainerSignalResponse) Reset()
func (*ContainerSignalResponse) String ¶
func (m *ContainerSignalResponse) String() string
type ContainerStartRequest ¶
type ContainerStartRequest struct { // ID of the container to start. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` }
func (*ContainerStartRequest) Descriptor ¶
func (*ContainerStartRequest) Descriptor() ([]byte, []int)
func (*ContainerStartRequest) GetContainerId ¶
func (m *ContainerStartRequest) GetContainerId() string
func (*ContainerStartRequest) ProtoMessage ¶
func (*ContainerStartRequest) ProtoMessage()
func (*ContainerStartRequest) Reset ¶
func (m *ContainerStartRequest) Reset()
func (*ContainerStartRequest) String ¶
func (m *ContainerStartRequest) String() string
type ContainerStartResponse ¶
type ContainerStartResponse struct { }
func (*ContainerStartResponse) Descriptor ¶
func (*ContainerStartResponse) Descriptor() ([]byte, []int)
func (*ContainerStartResponse) ProtoMessage ¶
func (*ContainerStartResponse) ProtoMessage()
func (*ContainerStartResponse) Reset ¶
func (m *ContainerStartResponse) Reset()
func (*ContainerStartResponse) String ¶
func (m *ContainerStartResponse) 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) Descriptor ¶
func (*ContainerStatus) Descriptor() ([]byte, []int)
func (*ContainerStatus) GetContainerID ¶
func (m *ContainerStatus) GetContainerID() string
func (*ContainerStatus) GetName ¶
func (m *ContainerStatus) GetName() string
func (*ContainerStatus) GetPhase ¶
func (m *ContainerStatus) GetPhase() string
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"` Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` }
func (*ContainerStopRequest) Descriptor ¶
func (*ContainerStopRequest) Descriptor() ([]byte, []int)
func (*ContainerStopRequest) GetContainerID ¶
func (m *ContainerStopRequest) GetContainerID() string
func (*ContainerStopRequest) GetTimeout ¶
func (m *ContainerStopRequest) GetTimeout() int64
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) Descriptor ¶
func (*ContainerStopResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*ContainersStats) Descriptor() ([]byte, []int)
func (*ContainersStats) GetBlock ¶
func (m *ContainersStats) GetBlock() *BlkioStats
func (*ContainersStats) GetContainerID ¶
func (m *ContainersStats) GetContainerID() string
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) GetTimestamp ¶
func (m *ContainersStats) GetTimestamp() int64
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) Descriptor ¶
func (*CpuStats) GetLoadAverage ¶
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,packed,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) Descriptor ¶
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) Descriptor ¶
func (*DriverStatus) Descriptor() ([]byte, []int)
func (*DriverStatus) GetName ¶
func (m *DriverStatus) GetName() string
func (*DriverStatus) GetStatus ¶
func (m *DriverStatus) GetStatus() string
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) Descriptor ¶
func (*EnvironmentVar) Descriptor() ([]byte, []int)
func (*EnvironmentVar) GetEnv ¶
func (m *EnvironmentVar) GetEnv() string
func (*EnvironmentVar) GetValue ¶
func (m *EnvironmentVar) GetValue() string
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) Descriptor ¶
func (*ExecCreateRequest) Descriptor() ([]byte, []int)
func (*ExecCreateRequest) GetCommand ¶
func (m *ExecCreateRequest) GetCommand() []string
func (*ExecCreateRequest) GetContainerID ¶
func (m *ExecCreateRequest) GetContainerID() string
func (*ExecCreateRequest) GetTty ¶
func (m *ExecCreateRequest) GetTty() bool
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) Descriptor ¶
func (*ExecCreateResponse) Descriptor() ([]byte, []int)
func (*ExecCreateResponse) GetExecID ¶
func (m *ExecCreateResponse) GetExecID() string
func (*ExecCreateResponse) ProtoMessage ¶
func (*ExecCreateResponse) ProtoMessage()
func (*ExecCreateResponse) Reset ¶
func (m *ExecCreateResponse) Reset()
func (*ExecCreateResponse) String ¶
func (m *ExecCreateResponse) String() string
type ExecSignalRequest ¶
type ExecSignalRequest 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"` Signal int64 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"` }
func (*ExecSignalRequest) Descriptor ¶
func (*ExecSignalRequest) Descriptor() ([]byte, []int)
func (*ExecSignalRequest) GetContainerID ¶
func (m *ExecSignalRequest) GetContainerID() string
func (*ExecSignalRequest) GetExecID ¶
func (m *ExecSignalRequest) GetExecID() string
func (*ExecSignalRequest) GetSignal ¶
func (m *ExecSignalRequest) GetSignal() int64
func (*ExecSignalRequest) ProtoMessage ¶
func (*ExecSignalRequest) ProtoMessage()
func (*ExecSignalRequest) Reset ¶
func (m *ExecSignalRequest) Reset()
func (*ExecSignalRequest) String ¶
func (m *ExecSignalRequest) String() string
type ExecSignalResponse ¶
type ExecSignalResponse struct { }
func (*ExecSignalResponse) Descriptor ¶
func (*ExecSignalResponse) Descriptor() ([]byte, []int)
func (*ExecSignalResponse) ProtoMessage ¶
func (*ExecSignalResponse) ProtoMessage()
func (*ExecSignalResponse) Reset ¶
func (m *ExecSignalResponse) Reset()
func (*ExecSignalResponse) String ¶
func (m *ExecSignalResponse) 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) Descriptor ¶
func (*ExecStartRequest) Descriptor() ([]byte, []int)
func (*ExecStartRequest) GetContainerID ¶
func (m *ExecStartRequest) GetContainerID() string
func (*ExecStartRequest) GetExecID ¶
func (m *ExecStartRequest) GetExecID() string
func (*ExecStartRequest) GetStdin ¶
func (m *ExecStartRequest) GetStdin() []byte
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) Descriptor ¶
func (*ExecStartResponse) Descriptor() ([]byte, []int)
func (*ExecStartResponse) GetStdout ¶
func (m *ExecStartResponse) GetStdout() []byte
func (*ExecStartResponse) ProtoMessage ¶
func (*ExecStartResponse) ProtoMessage()
func (*ExecStartResponse) Reset ¶
func (m *ExecStartResponse) Reset()
func (*ExecStartResponse) String ¶
func (m *ExecStartResponse) String() string
type ExecVMRequest ¶
type ExecVMRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` Command []string `protobuf:"bytes,2,rep,name=command" json:"command,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` }
func (*ExecVMRequest) Descriptor ¶
func (*ExecVMRequest) Descriptor() ([]byte, []int)
func (*ExecVMRequest) GetCommand ¶
func (m *ExecVMRequest) GetCommand() []string
func (*ExecVMRequest) GetPodID ¶
func (m *ExecVMRequest) GetPodID() string
func (*ExecVMRequest) GetStdin ¶
func (m *ExecVMRequest) GetStdin() []byte
func (*ExecVMRequest) ProtoMessage ¶
func (*ExecVMRequest) ProtoMessage()
func (*ExecVMRequest) Reset ¶
func (m *ExecVMRequest) Reset()
func (*ExecVMRequest) String ¶
func (m *ExecVMRequest) String() string
type ExecVMResponse ¶
type ExecVMResponse struct { Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` ExitCode int32 `protobuf:"varint,2,opt,name=exitCode,proto3" json:"exitCode,omitempty"` }
func (*ExecVMResponse) Descriptor ¶
func (*ExecVMResponse) Descriptor() ([]byte, []int)
func (*ExecVMResponse) GetExitCode ¶
func (m *ExecVMResponse) GetExitCode() int32
func (*ExecVMResponse) GetStdout ¶
func (m *ExecVMResponse) GetStdout() []byte
func (*ExecVMResponse) ProtoMessage ¶
func (*ExecVMResponse) ProtoMessage()
func (*ExecVMResponse) Reset ¶
func (m *ExecVMResponse) Reset()
func (*ExecVMResponse) String ¶
func (m *ExecVMResponse) 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) Descriptor ¶
func (*FsStats) GetAvailable ¶
func (*FsStats) GetIoInProgress ¶
func (*FsStats) GetReadTime ¶
func (*FsStats) GetReadsCompleted ¶
func (*FsStats) GetReadsMerged ¶
func (*FsStats) GetSectorsRead ¶
func (*FsStats) GetSectorsWritten ¶
func (*FsStats) GetWeightedIoTime ¶
func (*FsStats) GetWriteTime ¶
func (*FsStats) GetWritesCompleted ¶
func (*FsStats) GetWritesMerged ¶
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) Descriptor ¶
func (*ImageDelete) Descriptor() ([]byte, []int)
func (*ImageDelete) GetDeleted ¶
func (m *ImageDelete) GetDeleted() string
func (*ImageDelete) GetUntaged ¶
func (m *ImageDelete) GetUntaged() string
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) Descriptor ¶
func (*ImageInfo) GetCreated ¶
func (*ImageInfo) GetParentID ¶
func (*ImageInfo) GetRepoDigests ¶
func (*ImageInfo) GetRepoTags ¶
func (*ImageInfo) GetVirtualSize ¶
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) Descriptor ¶
func (*ImageListRequest) Descriptor() ([]byte, []int)
func (*ImageListRequest) GetAll ¶
func (m *ImageListRequest) GetAll() bool
func (*ImageListRequest) GetFilter ¶
func (m *ImageListRequest) GetFilter() string
func (*ImageListRequest) GetFilterArgs ¶
func (m *ImageListRequest) GetFilterArgs() string
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) Descriptor ¶
func (*ImageListResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*ImagePullRequest) Descriptor() ([]byte, []int)
func (*ImagePullRequest) GetAuth ¶
func (m *ImagePullRequest) GetAuth() *AuthConfig
func (*ImagePullRequest) GetImage ¶
func (m *ImagePullRequest) GetImage() string
func (*ImagePullRequest) GetTag ¶
func (m *ImagePullRequest) GetTag() string
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) Descriptor ¶
func (*ImagePullResponse) Descriptor() ([]byte, []int)
func (*ImagePullResponse) GetData ¶
func (m *ImagePullResponse) GetData() []byte
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) Descriptor ¶
func (*ImagePushRequest) Descriptor() ([]byte, []int)
func (*ImagePushRequest) GetAuth ¶
func (m *ImagePushRequest) GetAuth() *AuthConfig
func (*ImagePushRequest) GetRepo ¶
func (m *ImagePushRequest) GetRepo() string
func (*ImagePushRequest) GetTag ¶
func (m *ImagePushRequest) GetTag() string
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) Descriptor ¶
func (*ImagePushResponse) Descriptor() ([]byte, []int)
func (*ImagePushResponse) GetData ¶
func (m *ImagePushResponse) GetData() []byte
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) Descriptor ¶
func (*ImageRemoveRequest) Descriptor() ([]byte, []int)
func (*ImageRemoveRequest) GetForce ¶
func (m *ImageRemoveRequest) GetForce() bool
func (*ImageRemoveRequest) GetImage ¶
func (m *ImageRemoveRequest) GetImage() string
func (*ImageRemoveRequest) GetPrune ¶
func (m *ImageRemoveRequest) GetPrune() bool
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) Descriptor ¶
func (*ImageRemoveResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*InfoRequest) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*InfoResponse) Descriptor() ([]byte, []int)
func (*InfoResponse) GetContainers ¶
func (m *InfoResponse) GetContainers() int32
func (*InfoResponse) GetDockerRootDir ¶
func (m *InfoResponse) GetDockerRootDir() string
func (*InfoResponse) GetDriver ¶
func (m *InfoResponse) GetDriver() string
func (*InfoResponse) GetDstatus ¶
func (m *InfoResponse) GetDstatus() []*DriverStatus
func (*InfoResponse) GetExecutionDriver ¶
func (m *InfoResponse) GetExecutionDriver() string
func (*InfoResponse) GetID ¶
func (m *InfoResponse) GetID() string
func (*InfoResponse) GetImages ¶
func (m *InfoResponse) GetImages() int32
func (*InfoResponse) GetIndexServerAddress ¶
func (m *InfoResponse) GetIndexServerAddress() string
func (*InfoResponse) GetMemTotal ¶
func (m *InfoResponse) GetMemTotal() int64
func (*InfoResponse) GetName ¶
func (m *InfoResponse) GetName() string
func (*InfoResponse) GetOperatingSystem ¶
func (m *InfoResponse) GetOperatingSystem() string
func (*InfoResponse) GetPods ¶
func (m *InfoResponse) GetPods() int64
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) Descriptor ¶
func (*InterfaceStats) Descriptor() ([]byte, []int)
func (*InterfaceStats) GetName ¶
func (m *InterfaceStats) GetName() string
func (*InterfaceStats) GetRxBytes ¶
func (m *InterfaceStats) GetRxBytes() uint64
func (*InterfaceStats) GetRxDropped ¶
func (m *InterfaceStats) GetRxDropped() uint64
func (*InterfaceStats) GetRxErrors ¶
func (m *InterfaceStats) GetRxErrors() uint64
func (*InterfaceStats) GetRxPackets ¶
func (m *InterfaceStats) GetRxPackets() uint64
func (*InterfaceStats) GetTxBytes ¶
func (m *InterfaceStats) GetTxBytes() uint64
func (*InterfaceStats) GetTxDropped ¶
func (m *InterfaceStats) GetTxDropped() uint64
func (*InterfaceStats) GetTxErrors ¶
func (m *InterfaceStats) GetTxErrors() uint64
func (*InterfaceStats) GetTxPackets ¶
func (m *InterfaceStats) GetTxPackets() uint64
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) Descriptor ¶
func (*MemoryStats) Descriptor() ([]byte, []int)
func (*MemoryStats) GetContainerData ¶
func (m *MemoryStats) GetContainerData() *MemoryStatsMemoryData
func (*MemoryStats) GetFailcnt ¶
func (m *MemoryStats) GetFailcnt() uint64
func (*MemoryStats) GetHierarchicalData ¶
func (m *MemoryStats) GetHierarchicalData() *MemoryStatsMemoryData
func (*MemoryStats) GetUsage ¶
func (m *MemoryStats) GetUsage() uint64
func (*MemoryStats) GetWorkingSet ¶
func (m *MemoryStats) GetWorkingSet() uint64
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) Descriptor ¶
func (*MemoryStatsMemoryData) Descriptor() ([]byte, []int)
func (*MemoryStatsMemoryData) GetPgfault ¶
func (m *MemoryStatsMemoryData) GetPgfault() uint64
func (*MemoryStatsMemoryData) GetPgmajfault ¶
func (m *MemoryStatsMemoryData) GetPgmajfault() uint64
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) Descriptor ¶
func (*NetworkStats) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) GetHyperdStats ¶
func (m *PingResponse) GetHyperdStats() string
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) Descriptor ¶
func (*PodCreateRequest) Descriptor() ([]byte, []int)
func (*PodCreateRequest) GetPodID ¶
func (m *PodCreateRequest) GetPodID() string
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) Descriptor ¶
func (*PodCreateResponse) Descriptor() ([]byte, []int)
func (*PodCreateResponse) GetPodID ¶
func (m *PodCreateResponse) GetPodID() string
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) Descriptor ¶
func (*PodInfo) GetApiVersion ¶
func (*PodInfo) GetCreatedAt ¶
func (*PodInfo) GetPodName ¶
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) Descriptor ¶
func (*PodInfoRequest) Descriptor() ([]byte, []int)
func (*PodInfoRequest) GetPodID ¶
func (m *PodInfoRequest) GetPodID() string
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) Descriptor ¶
func (*PodInfoResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PodLabelsRequest) Descriptor() ([]byte, []int)
func (*PodLabelsRequest) GetLabels ¶
func (m *PodLabelsRequest) GetLabels() map[string]string
func (*PodLabelsRequest) GetOverride ¶
func (m *PodLabelsRequest) GetOverride() bool
func (*PodLabelsRequest) GetPodID ¶
func (m *PodLabelsRequest) GetPodID() 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) Descriptor ¶
func (*PodLabelsResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PodListRequest) Descriptor() ([]byte, []int)
func (*PodListRequest) GetPodID ¶
func (m *PodListRequest) GetPodID() string
func (*PodListRequest) GetVmID ¶
func (m *PodListRequest) GetVmID() string
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) Descriptor ¶
func (*PodListResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PodListResult) Descriptor() ([]byte, []int)
func (*PodListResult) GetCreatedAt ¶
func (m *PodListResult) GetCreatedAt() int64
func (*PodListResult) GetLabels ¶
func (m *PodListResult) GetLabels() map[string]string
func (*PodListResult) GetPodID ¶
func (m *PodListResult) GetPodID() string
func (*PodListResult) GetPodName ¶
func (m *PodListResult) GetPodName() string
func (*PodListResult) GetStatus ¶
func (m *PodListResult) GetStatus() string
func (*PodListResult) GetVmID ¶
func (m *PodListResult) GetVmID() 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) Descriptor ¶
func (*PodLogConfig) Descriptor() ([]byte, []int)
func (*PodLogConfig) GetConfig ¶
func (m *PodLogConfig) GetConfig() map[string]string
func (*PodLogConfig) GetType ¶
func (m *PodLogConfig) GetType() 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) Descriptor ¶
func (*PodPauseRequest) Descriptor() ([]byte, []int)
func (*PodPauseRequest) GetPodID ¶
func (m *PodPauseRequest) GetPodID() string
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) Descriptor ¶
func (*PodPauseResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PodRemoveRequest) Descriptor() ([]byte, []int)
func (*PodRemoveRequest) GetPodID ¶
func (m *PodRemoveRequest) GetPodID() string
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) Descriptor ¶
func (*PodRemoveResponse) Descriptor() ([]byte, []int)
func (*PodRemoveResponse) GetCause ¶
func (m *PodRemoveResponse) GetCause() string
func (*PodRemoveResponse) GetCode ¶
func (m *PodRemoveResponse) GetCode() int32
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) Descriptor ¶
func (*PodSignalRequest) Descriptor() ([]byte, []int)
func (*PodSignalRequest) GetPodID ¶
func (m *PodSignalRequest) GetPodID() string
func (*PodSignalRequest) GetSignal ¶
func (m *PodSignalRequest) GetSignal() int64
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) Descriptor ¶
func (*PodSignalResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PodSpec) GetContainers ¶
func (*PodSpec) GetVolumes ¶
func (*PodSpec) ProtoMessage ¶
func (*PodSpec) ProtoMessage()
type PodStartRequest ¶
type PodStartRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PodStartRequest) Descriptor ¶
func (*PodStartRequest) Descriptor() ([]byte, []int)
func (*PodStartRequest) GetPodID ¶
func (m *PodStartRequest) GetPodID() string
func (*PodStartRequest) ProtoMessage ¶
func (*PodStartRequest) ProtoMessage()
func (*PodStartRequest) Reset ¶
func (m *PodStartRequest) Reset()
func (*PodStartRequest) String ¶
func (m *PodStartRequest) String() string
type PodStartResponse ¶
type PodStartResponse struct { }
func (*PodStartResponse) Descriptor ¶
func (*PodStartResponse) Descriptor() ([]byte, []int)
func (*PodStartResponse) ProtoMessage ¶
func (*PodStartResponse) ProtoMessage()
func (*PodStartResponse) Reset ¶
func (m *PodStartResponse) Reset()
func (*PodStartResponse) String ¶
func (m *PodStartResponse) 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) Descriptor ¶
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) GetTimestamp ¶
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) Descriptor ¶
func (*PodStatsRequest) Descriptor() ([]byte, []int)
func (*PodStatsRequest) GetPodID ¶
func (m *PodStatsRequest) GetPodID() string
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) Descriptor ¶
func (*PodStatsResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PodStatus) GetContainerStatus ¶
func (m *PodStatus) GetContainerStatus() []*ContainerStatus
func (*PodStatus) GetFinishTime ¶
func (*PodStatus) GetMessage ¶
func (*PodStatus) GetStartTime ¶
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) Descriptor ¶
func (*PodStopRequest) Descriptor() ([]byte, []int)
func (*PodStopRequest) GetPodID ¶
func (m *PodStopRequest) GetPodID() string
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) Descriptor ¶
func (*PodStopResponse) Descriptor() ([]byte, []int)
func (*PodStopResponse) GetCause ¶
func (m *PodStopResponse) GetCause() string
func (*PodStopResponse) GetCode ¶
func (m *PodStopResponse) GetCode() int32
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) Descriptor ¶
func (*PodUnpauseRequest) Descriptor() ([]byte, []int)
func (*PodUnpauseRequest) GetPodID ¶
func (m *PodUnpauseRequest) GetPodID() string
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) Descriptor ¶
func (*PodUnpauseResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*PodVolume) GetRbd ¶
func (m *PodVolume) GetRbd() *RBDVolumeSource
func (*PodVolume) ProtoMessage ¶
func (*PodVolume) ProtoMessage()
type PortMapping ¶
type PortMapping struct { ContainerPort string `protobuf:"bytes,1,opt,name=containerPort,proto3" json:"containerPort,omitempty"` HostPort string `protobuf:"bytes,2,opt,name=hostPort,proto3" json:"hostPort,omitempty"` Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` }
func (*PortMapping) Descriptor ¶
func (*PortMapping) Descriptor() ([]byte, []int)
func (*PortMapping) GetContainerPort ¶
func (m *PortMapping) GetContainerPort() string
func (*PortMapping) GetHostPort ¶
func (m *PortMapping) GetHostPort() string
func (*PortMapping) GetProtocol ¶
func (m *PortMapping) GetProtocol() string
func (*PortMapping) ProtoMessage ¶
func (*PortMapping) ProtoMessage()
func (*PortMapping) Reset ¶
func (m *PortMapping) Reset()
func (*PortMapping) String ¶
func (m *PortMapping) String() string
type PortMappingListRequest ¶ added in v1.10.0
type PortMappingListRequest struct {
PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"`
}
func (*PortMappingListRequest) Descriptor ¶ added in v1.10.0
func (*PortMappingListRequest) Descriptor() ([]byte, []int)
func (*PortMappingListRequest) GetPodID ¶ added in v1.10.0
func (m *PortMappingListRequest) GetPodID() string
func (*PortMappingListRequest) ProtoMessage ¶ added in v1.10.0
func (*PortMappingListRequest) ProtoMessage()
func (*PortMappingListRequest) Reset ¶ added in v1.10.0
func (m *PortMappingListRequest) Reset()
func (*PortMappingListRequest) String ¶ added in v1.10.0
func (m *PortMappingListRequest) String() string
type PortMappingListResponse ¶ added in v1.10.0
type PortMappingListResponse struct {
PortMappings []*PortMapping `protobuf:"bytes,1,rep,name=portMappings" json:"portMappings,omitempty"`
}
func (*PortMappingListResponse) Descriptor ¶ added in v1.10.0
func (*PortMappingListResponse) Descriptor() ([]byte, []int)
func (*PortMappingListResponse) GetPortMappings ¶ added in v1.10.0
func (m *PortMappingListResponse) GetPortMappings() []*PortMapping
func (*PortMappingListResponse) ProtoMessage ¶ added in v1.10.0
func (*PortMappingListResponse) ProtoMessage()
func (*PortMappingListResponse) Reset ¶ added in v1.10.0
func (m *PortMappingListResponse) Reset()
func (*PortMappingListResponse) String ¶ added in v1.10.0
func (m *PortMappingListResponse) String() string
type PortMappingModifyRequest ¶ added in v1.10.0
type PortMappingModifyRequest struct { PodID string `protobuf:"bytes,1,opt,name=podID,proto3" json:"podID,omitempty"` PortMappings []*PortMapping `protobuf:"bytes,2,rep,name=portMappings" json:"portMappings,omitempty"` }
func (*PortMappingModifyRequest) Descriptor ¶ added in v1.10.0
func (*PortMappingModifyRequest) Descriptor() ([]byte, []int)
func (*PortMappingModifyRequest) GetPodID ¶ added in v1.10.0
func (m *PortMappingModifyRequest) GetPodID() string
func (*PortMappingModifyRequest) GetPortMappings ¶ added in v1.10.0
func (m *PortMappingModifyRequest) GetPortMappings() []*PortMapping
func (*PortMappingModifyRequest) ProtoMessage ¶ added in v1.10.0
func (*PortMappingModifyRequest) ProtoMessage()
func (*PortMappingModifyRequest) Reset ¶ added in v1.10.0
func (m *PortMappingModifyRequest) Reset()
func (*PortMappingModifyRequest) String ¶ added in v1.10.0
func (m *PortMappingModifyRequest) String() string
type PortMappingModifyResponse ¶ added in v1.10.0
type PortMappingModifyResponse struct { }
func (*PortMappingModifyResponse) Descriptor ¶ added in v1.10.0
func (*PortMappingModifyResponse) Descriptor() ([]byte, []int)
func (*PortMappingModifyResponse) ProtoMessage ¶ added in v1.10.0
func (*PortMappingModifyResponse) ProtoMessage()
func (*PortMappingModifyResponse) Reset ¶ added in v1.10.0
func (m *PortMappingModifyResponse) Reset()
func (*PortMappingModifyResponse) String ¶ added in v1.10.0
func (m *PortMappingModifyResponse) String() string
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) Descriptor ¶
func (*PortmappingWhiteList) Descriptor() ([]byte, []int)
func (*PortmappingWhiteList) GetExternalNetworks ¶
func (m *PortmappingWhiteList) GetExternalNetworks() []string
func (*PortmappingWhiteList) GetInternalNetworks ¶
func (m *PortmappingWhiteList) GetInternalNetworks() []string
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, in *PodStartRequest, opts ...grpc.CallOption) (*PodStartResponse, error) // PodStop stops a pod PodStop(ctx context.Context, in *PodStopRequest, opts ...grpc.CallOption) (*PodStopResponse, error) // PodSignal sends a signal 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) // ExecVM executes a command outside of any containers. ExecVM(ctx context.Context, opts ...grpc.CallOption) (PublicAPI_ExecVMClient, 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) // 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) // ContainerStart starts a container in a specified pod ContainerStart(ctx context.Context, in *ContainerStartRequest, opts ...grpc.CallOption) (*ContainerStartResponse, 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 // ContainerSignal sends a signal to specified container ContainerSignal(ctx context.Context, in *ContainerSignalRequest, opts ...grpc.CallOption) (*ContainerSignalResponse, error) // TODO: ContainerLabels updates labels of the specified container // ContainerStop stops the specified container ContainerStop(ctx context.Context, in *ContainerStopRequest, opts ...grpc.CallOption) (*ContainerStopResponse, error) // ContainerRemove removes a container from a specified pod ContainerRemove(ctx context.Context, in *ContainerRemoveRequest, opts ...grpc.CallOption) (*ContainerRemoveResponse, 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) // ExecSignal sends a signal to specified exec in specified container ExecSignal(ctx context.Context, in *ExecSignalRequest, opts ...grpc.CallOption) (*ExecSignalResponse, 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) // TTYResize resizes the tty of the specified container TTYResize(ctx context.Context, in *TTYResizeRequest, opts ...grpc.CallOption) (*TTYResizeResponse, 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) // PortMappingList get a list of PortMappings PortMappingList(ctx context.Context, in *PortMappingListRequest, opts ...grpc.CallOption) (*PortMappingListResponse, error) // PortMappingAdd add a list of PortMapping rules to a Pod PortMappingAdd(ctx context.Context, in *PortMappingModifyRequest, opts ...grpc.CallOption) (*PortMappingModifyResponse, error) // PortMappingDel remove a list of PortMapping rules from a Pod PortMappingDel(ctx context.Context, in *PortMappingModifyRequest, opts ...grpc.CallOption) (*PortMappingModifyResponse, 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(context.Context, *PodStartRequest) (*PodStartResponse, error) // PodStop stops a pod PodStop(context.Context, *PodStopRequest) (*PodStopResponse, error) // PodSignal sends a signal 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) // ExecVM executes a command outside of any containers. ExecVM(PublicAPI_ExecVMServer) 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) // 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) // ContainerStart starts a container in a specified pod ContainerStart(context.Context, *ContainerStartRequest) (*ContainerStartResponse, error) // ContainerRename renames a container ContainerRename(context.Context, *ContainerRenameRequest) (*ContainerRenameResponse, error) // TODO: ContainerCommit commits the changes of the specified container // ContainerSignal sends a signal to specified container ContainerSignal(context.Context, *ContainerSignalRequest) (*ContainerSignalResponse, error) // TODO: ContainerLabels updates labels of the specified container // ContainerStop stops the specified container ContainerStop(context.Context, *ContainerStopRequest) (*ContainerStopResponse, error) // ContainerRemove removes a container from a specified pod ContainerRemove(context.Context, *ContainerRemoveRequest) (*ContainerRemoveResponse, error) // ExecCreate creates exec in specified container ExecCreate(context.Context, *ExecCreateRequest) (*ExecCreateResponse, error) // ExecStart starts exec ExecStart(PublicAPI_ExecStartServer) error // ExecSignal sends a signal to specified exec in specified container ExecSignal(context.Context, *ExecSignalRequest) (*ExecSignalResponse, 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) // TTYResize resizes the tty of the specified container TTYResize(context.Context, *TTYResizeRequest) (*TTYResizeResponse, 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) // PortMappingList get a list of PortMappings PortMappingList(context.Context, *PortMappingListRequest) (*PortMappingListResponse, error) // PortMappingAdd add a list of PortMapping rules to a Pod PortMappingAdd(context.Context, *PortMappingModifyRequest) (*PortMappingModifyResponse, error) // PortMappingDel remove a list of PortMapping rules from a Pod PortMappingDel(context.Context, *PortMappingModifyRequest) (*PortMappingModifyResponse, 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_ExecVMClient ¶
type PublicAPI_ExecVMClient interface { Send(*ExecVMRequest) error Recv() (*ExecVMResponse, error) grpc.ClientStream }
type PublicAPI_ExecVMServer ¶
type PublicAPI_ExecVMServer interface { Send(*ExecVMResponse) error Recv() (*ExecVMRequest, 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 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) Descriptor ¶
func (*RBDVolumeSource) Descriptor() ([]byte, []int)
func (*RBDVolumeSource) GetFsType ¶
func (m *RBDVolumeSource) GetFsType() string
func (*RBDVolumeSource) GetImage ¶
func (m *RBDVolumeSource) GetImage() string
func (*RBDVolumeSource) GetKeyring ¶
func (m *RBDVolumeSource) GetKeyring() string
func (*RBDVolumeSource) GetMonitors ¶
func (m *RBDVolumeSource) GetMonitors() []string
func (*RBDVolumeSource) GetPool ¶
func (m *RBDVolumeSource) GetPool() string
func (*RBDVolumeSource) GetReadOnly ¶
func (m *RBDVolumeSource) GetReadOnly() bool
func (*RBDVolumeSource) GetUser ¶
func (m *RBDVolumeSource) GetUser() string
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) Descriptor ¶
func (*RunningStatus) Descriptor() ([]byte, []int)
func (*RunningStatus) GetStartedAt ¶
func (m *RunningStatus) GetStartedAt() string
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) Descriptor ¶
func (*ServiceAddRequest) Descriptor() ([]byte, []int)
func (*ServiceAddRequest) GetPodID ¶
func (m *ServiceAddRequest) GetPodID() string
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) Descriptor ¶
func (*ServiceAddResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*ServiceDelRequest) Descriptor() ([]byte, []int)
func (*ServiceDelRequest) GetPodID ¶
func (m *ServiceDelRequest) GetPodID() string
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) Descriptor ¶
func (*ServiceDelResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*ServiceListRequest) Descriptor() ([]byte, []int)
func (*ServiceListRequest) GetPodID ¶
func (m *ServiceListRequest) GetPodID() string
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) Descriptor ¶
func (*ServiceListResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*ServiceUpdateRequest) Descriptor() ([]byte, []int)
func (*ServiceUpdateRequest) GetPodID ¶
func (m *ServiceUpdateRequest) GetPodID() string
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) Descriptor ¶
func (*ServiceUpdateResponse) Descriptor() ([]byte, []int)
func (*ServiceUpdateResponse) ProtoMessage ¶
func (*ServiceUpdateResponse) ProtoMessage()
func (*ServiceUpdateResponse) Reset ¶
func (m *ServiceUpdateResponse) Reset()
func (*ServiceUpdateResponse) String ¶
func (m *ServiceUpdateResponse) String() string
type TTYResizeRequest ¶
type TTYResizeRequest 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"` Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` }
func (*TTYResizeRequest) Descriptor ¶
func (*TTYResizeRequest) Descriptor() ([]byte, []int)
func (*TTYResizeRequest) GetContainerID ¶
func (m *TTYResizeRequest) GetContainerID() string
func (*TTYResizeRequest) GetExecID ¶
func (m *TTYResizeRequest) GetExecID() string
func (*TTYResizeRequest) GetHeight ¶
func (m *TTYResizeRequest) GetHeight() int32
func (*TTYResizeRequest) GetWidth ¶
func (m *TTYResizeRequest) GetWidth() int32
func (*TTYResizeRequest) ProtoMessage ¶
func (*TTYResizeRequest) ProtoMessage()
func (*TTYResizeRequest) Reset ¶
func (m *TTYResizeRequest) Reset()
func (*TTYResizeRequest) String ¶
func (m *TTYResizeRequest) String() string
type TTYResizeResponse ¶
type TTYResizeResponse struct { }
func (*TTYResizeResponse) Descriptor ¶
func (*TTYResizeResponse) Descriptor() ([]byte, []int)
func (*TTYResizeResponse) ProtoMessage ¶
func (*TTYResizeResponse) ProtoMessage()
func (*TTYResizeResponse) Reset ¶
func (m *TTYResizeResponse) Reset()
func (*TTYResizeResponse) String ¶
func (m *TTYResizeResponse) 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) Descriptor ¶
func (*TcpStat) GetCloseWait ¶
func (*TcpStat) GetClosing ¶
func (*TcpStat) GetEstablished ¶
func (*TcpStat) GetFinWait1 ¶
func (*TcpStat) GetFinWait2 ¶
func (*TcpStat) GetLastAck ¶
func (*TcpStat) GetSynRecv ¶
func (*TcpStat) GetSynSent ¶
func (*TcpStat) GetTimeWait ¶
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) Descriptor ¶
func (*TermStatus) Descriptor() ([]byte, []int)
func (*TermStatus) GetExitCode ¶
func (m *TermStatus) GetExitCode() int32
func (*TermStatus) GetFinishedAt ¶
func (m *TermStatus) GetFinishedAt() string
func (*TermStatus) GetMessage ¶
func (m *TermStatus) GetMessage() string
func (*TermStatus) GetReason ¶
func (m *TermStatus) GetReason() string
func (*TermStatus) GetStartedAt ¶
func (m *TermStatus) GetStartedAt() string
func (*TermStatus) ProtoMessage ¶
func (*TermStatus) ProtoMessage()
func (*TermStatus) Reset ¶
func (m *TermStatus) Reset()
func (*TermStatus) String ¶
func (m *TermStatus) String() string
type Ulimit ¶
type Ulimit struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Hard uint64 `protobuf:"varint,2,opt,name=Hard,proto3" json:"Hard,omitempty"` Soft uint64 `protobuf:"varint,3,opt,name=Soft,proto3" json:"Soft,omitempty"` }
func (*Ulimit) Descriptor ¶
func (*Ulimit) ProtoMessage ¶
func (*Ulimit) ProtoMessage()
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 */ Id string `protobuf:"bytes,15,opt,name=id,proto3" json:"id,omitempty"` StopSignal string `protobuf:"bytes,17,opt,name=StopSignal,proto3" json:"StopSignal,omitempty"` Ulimits []*Ulimit `protobuf:"bytes,18,rep,name=ulimits" json:"ulimits,omitempty"` LogPath string `protobuf:"bytes,19,opt,name=logPath,proto3" json:"logPath,omitempty"` ReadOnly bool `protobuf:"varint,20,opt,name=readOnly,proto3" json:"readOnly,omitempty"` }
func (*UserContainer) Descriptor ¶
func (*UserContainer) Descriptor() ([]byte, []int)
func (*UserContainer) GetCommand ¶
func (m *UserContainer) GetCommand() []string
func (*UserContainer) GetEntrypoint ¶
func (m *UserContainer) GetEntrypoint() []string
func (*UserContainer) GetEnvs ¶
func (m *UserContainer) GetEnvs() []*EnvironmentVar
func (*UserContainer) GetFiles ¶
func (m *UserContainer) GetFiles() []*UserFileReference
func (*UserContainer) GetId ¶
func (m *UserContainer) GetId() string
func (*UserContainer) GetImage ¶
func (m *UserContainer) GetImage() string
func (*UserContainer) GetLabels ¶
func (m *UserContainer) GetLabels() map[string]string
func (*UserContainer) GetLogPath ¶
func (m *UserContainer) GetLogPath() string
func (*UserContainer) GetName ¶
func (m *UserContainer) GetName() string
func (*UserContainer) GetPorts ¶
func (m *UserContainer) GetPorts() []*UserContainerPort
func (*UserContainer) GetReadOnly ¶
func (m *UserContainer) GetReadOnly() bool
func (*UserContainer) GetRestartPolicy ¶
func (m *UserContainer) GetRestartPolicy() string
func (*UserContainer) GetStopSignal ¶
func (m *UserContainer) GetStopSignal() string
func (*UserContainer) GetSysctl ¶
func (m *UserContainer) GetSysctl() map[string]string
func (*UserContainer) GetTty ¶
func (m *UserContainer) GetTty() bool
func (*UserContainer) GetUlimits ¶
func (m *UserContainer) GetUlimits() []*Ulimit
func (*UserContainer) GetUser ¶
func (m *UserContainer) GetUser() *UserUser
func (*UserContainer) GetVolumes ¶
func (m *UserContainer) GetVolumes() []*UserVolumeReference
func (*UserContainer) GetWorkdir ¶
func (m *UserContainer) GetWorkdir() string
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) Descriptor ¶
func (*UserContainerPort) Descriptor() ([]byte, []int)
func (*UserContainerPort) GetContainerPort ¶
func (m *UserContainerPort) GetContainerPort() int32
func (*UserContainerPort) GetHostPort ¶
func (m *UserContainerPort) GetHostPort() int32
func (*UserContainerPort) GetProtocol ¶
func (m *UserContainerPort) GetProtocol() string
func (*UserContainerPort) GetServicePort ¶
func (m *UserContainerPort) GetServicePort() int32
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) Descriptor ¶
func (*UserFile) GetContent ¶
func (*UserFile) GetEncoding ¶
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"` Detail *UserFile `protobuf:"bytes,6,opt,name=detail" json:"detail,omitempty"` }
func (*UserFileReference) Descriptor ¶
func (*UserFileReference) Descriptor() ([]byte, []int)
func (*UserFileReference) GetDetail ¶
func (m *UserFileReference) GetDetail() *UserFile
func (*UserFileReference) GetFilename ¶
func (m *UserFileReference) GetFilename() string
func (*UserFileReference) GetGroup ¶
func (m *UserFileReference) GetGroup() string
func (*UserFileReference) GetPath ¶
func (m *UserFileReference) GetPath() string
func (*UserFileReference) GetPerm ¶
func (m *UserFileReference) GetPerm() string
func (*UserFileReference) GetUser ¶
func (m *UserFileReference) GetUser() string
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"` Mtu uint64 `protobuf:"varint,5,opt,name=mtu,proto3" json:"mtu,omitempty"` Gateway string `protobuf:"bytes,6,opt,name=gateway,proto3" json:"gateway,omitempty"` }
func (*UserInterface) Descriptor ¶
func (*UserInterface) Descriptor() ([]byte, []int)
func (*UserInterface) GetBridge ¶
func (m *UserInterface) GetBridge() string
func (*UserInterface) GetGateway ¶
func (m *UserInterface) GetGateway() string
func (*UserInterface) GetIfname ¶
func (m *UserInterface) GetIfname() string
func (*UserInterface) GetIp ¶
func (m *UserInterface) GetIp() string
func (*UserInterface) GetMac ¶
func (m *UserInterface) GetMac() string
func (*UserInterface) GetMtu ¶ added in v1.10.0
func (m *UserInterface) GetMtu() uint64
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"` Portmappings []*PortMapping `protobuf:"bytes,16,rep,name=portmappings" json:"portmappings,omitempty"` DnsOptions []string `protobuf:"bytes,17,rep,name=dnsOptions" json:"dnsOptions,omitempty"` DnsSearch []string `protobuf:"bytes,18,rep,name=dnsSearch" json:"dnsSearch,omitempty"` }
func (*UserPod) Descriptor ¶
func (*UserPod) GetContainers ¶
func (m *UserPod) GetContainers() []*UserContainer
func (*UserPod) GetDnsOptions ¶
func (*UserPod) GetDnsSearch ¶
func (*UserPod) GetHostname ¶
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) GetPortmappings ¶
func (m *UserPod) GetPortmappings() []*PortMapping
func (*UserPod) GetResource ¶
func (m *UserPod) GetResource() *UserResource
func (*UserPod) GetRestartPolicy ¶
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) Descriptor ¶
func (*UserResource) Descriptor() ([]byte, []int)
func (*UserResource) GetMemory ¶
func (m *UserResource) GetMemory() int32
func (*UserResource) GetVcpu ¶
func (m *UserResource) GetVcpu() int32
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) Descriptor ¶
func (*UserService) Descriptor() ([]byte, []int)
func (*UserService) GetHosts ¶
func (m *UserService) GetHosts() []*UserServiceBackend
func (*UserService) GetProtocol ¶
func (m *UserService) GetProtocol() string
func (*UserService) GetServiceIP ¶
func (m *UserService) GetServiceIP() string
func (*UserService) GetServicePort ¶
func (m *UserService) GetServicePort() int32
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) Descriptor ¶
func (*UserServiceBackend) Descriptor() ([]byte, []int)
func (*UserServiceBackend) GetHostIP ¶
func (m *UserServiceBackend) GetHostIP() string
func (*UserServiceBackend) GetHostPort ¶
func (m *UserServiceBackend) GetHostPort() int32
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) Descriptor ¶
func (*UserUser) GetAdditionalGroups ¶
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"` Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` Option *UserVolumeOption `protobuf:"bytes,4,opt,name=option" json:"option,omitempty"` Fstype string `protobuf:"bytes,5,opt,name=fstype,proto3" json:"fstype,omitempty"` }
func (*UserVolume) Descriptor ¶
func (*UserVolume) Descriptor() ([]byte, []int)
func (*UserVolume) GetFormat ¶
func (m *UserVolume) GetFormat() string
func (*UserVolume) GetFstype ¶
func (m *UserVolume) GetFstype() string
func (*UserVolume) GetName ¶
func (m *UserVolume) GetName() string
func (*UserVolume) GetOption ¶
func (m *UserVolume) GetOption() *UserVolumeOption
func (*UserVolume) GetSource ¶
func (m *UserVolume) GetSource() string
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) Descriptor ¶
func (*UserVolumeOption) Descriptor() ([]byte, []int)
func (*UserVolumeOption) GetKeyring ¶
func (m *UserVolumeOption) GetKeyring() string
func (*UserVolumeOption) GetMonitors ¶
func (m *UserVolumeOption) GetMonitors() []string
func (*UserVolumeOption) GetUser ¶
func (m *UserVolumeOption) GetUser() string
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"` Detail *UserVolume `protobuf:"bytes,4,opt,name=detail" json:"detail,omitempty"` }
func (*UserVolumeReference) Descriptor ¶
func (*UserVolumeReference) Descriptor() ([]byte, []int)
func (*UserVolumeReference) GetDetail ¶
func (m *UserVolumeReference) GetDetail() *UserVolume
func (*UserVolumeReference) GetPath ¶
func (m *UserVolumeReference) GetPath() string
func (*UserVolumeReference) GetReadOnly ¶
func (m *UserVolumeReference) GetReadOnly() bool
func (*UserVolumeReference) GetVolume ¶
func (m *UserVolumeReference) GetVolume() string
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) Descriptor ¶
func (*VMCreateRequest) Descriptor() ([]byte, []int)
func (*VMCreateRequest) GetCpu ¶
func (m *VMCreateRequest) GetCpu() int32
func (*VMCreateRequest) GetMemory ¶
func (m *VMCreateRequest) GetMemory() int32
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) Descriptor ¶
func (*VMCreateResponse) Descriptor() ([]byte, []int)
func (*VMCreateResponse) GetVmID ¶
func (m *VMCreateResponse) GetVmID() string
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) Descriptor ¶
func (*VMListRequest) Descriptor() ([]byte, []int)
func (*VMListRequest) GetPodID ¶
func (m *VMListRequest) GetPodID() string
func (*VMListRequest) GetVmID ¶
func (m *VMListRequest) GetVmID() string
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) Descriptor ¶
func (*VMListResponse) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*VMListResult) Descriptor() ([]byte, []int)
func (*VMListResult) GetPodID ¶
func (m *VMListResult) GetPodID() string
func (*VMListResult) GetStatus ¶
func (m *VMListResult) GetStatus() string
func (*VMListResult) GetVmID ¶
func (m *VMListResult) GetVmID() string
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) Descriptor ¶
func (*VMRemoveRequest) Descriptor() ([]byte, []int)
func (*VMRemoveRequest) GetVmID ¶
func (m *VMRemoveRequest) GetVmID() string
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) Descriptor ¶
func (*VMRemoveResponse) Descriptor() ([]byte, []int)
func (*VMRemoveResponse) GetCause ¶
func (m *VMRemoveResponse) GetCause() string
func (*VMRemoveResponse) GetCode ¶
func (m *VMRemoveResponse) GetCode() int32
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) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
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) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetApiVersion ¶
func (m *VersionResponse) GetApiVersion() string
func (*VersionResponse) GetVersion ¶
func (m *VersionResponse) GetVersion() string
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) Descriptor ¶
func (*VolumeMount) Descriptor() ([]byte, []int)
func (*VolumeMount) GetMountPath ¶
func (m *VolumeMount) GetMountPath() string
func (*VolumeMount) GetName ¶
func (m *VolumeMount) GetName() string
func (*VolumeMount) GetReadOnly ¶
func (m *VolumeMount) GetReadOnly() bool
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) Descriptor ¶
func (*WaitRequest) Descriptor() ([]byte, []int)
func (*WaitRequest) GetContainer ¶
func (m *WaitRequest) GetContainer() string
func (*WaitRequest) GetNoHang ¶
func (m *WaitRequest) GetNoHang() bool
func (*WaitRequest) GetProcessId ¶
func (m *WaitRequest) GetProcessId() string
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) Descriptor ¶
func (*WaitResponse) Descriptor() ([]byte, []int)
func (*WaitResponse) GetExitCode ¶
func (m *WaitResponse) GetExitCode() int32
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) Descriptor ¶
func (*WaitingStatus) Descriptor() ([]byte, []int)
func (*WaitingStatus) GetReason ¶
func (m *WaitingStatus) GetReason() string
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.