Documentation ¶
Overview ¶
Package grpc is a generated protocol buffer package.
It is generated from these files:
agent.proto health.proto oci.proto
It has these top-level messages:
CreateContainerRequest StartContainerRequest RemoveContainerRequest ExecProcessRequest SignalProcessRequest WaitProcessRequest WaitProcessResponse ListProcessesRequest ListProcessesResponse UpdateContainerRequest StatsContainerRequest PauseContainerRequest ResumeContainerRequest CpuUsage ThrottlingData CpuStats PidsStats MemoryData MemoryStats BlkioStatsEntry BlkioStats HugetlbStats CgroupStats NetworkStats StatsContainerResponse WriteStreamRequest WriteStreamResponse ReadStreamRequest ReadStreamResponse CloseStdinRequest TtyWinResizeRequest KernelModule CreateSandboxRequest DestroySandboxRequest Interfaces Routes UpdateInterfaceRequest UpdateRoutesRequest ListInterfacesRequest ListRoutesRequest ARPNeighbors AddARPNeighborsRequest OnlineCPUMemRequest ReseedRandomDevRequest AgentDetails GuestDetailsRequest GuestDetailsResponse MemHotplugByProbeRequest SetGuestDateTimeRequest Storage Device StringUser CopyFileRequest StartTracingRequest StopTracingRequest GetOOMEventRequest OOMEvent CheckRequest HealthCheckResponse VersionCheckResponse Spec Process Box User LinuxCapabilities POSIXRlimit Mount Root Hooks Hook Linux Windows Solaris LinuxIDMapping LinuxNamespace LinuxDevice LinuxResources LinuxMemory LinuxCPU LinuxWeightDevice LinuxThrottleDevice LinuxBlockIO LinuxPids LinuxDeviceCgroup LinuxNetwork LinuxHugepageLimit LinuxInterfacePriority LinuxSeccomp LinuxSeccompArg LinuxSyscall LinuxIntelRdt
Index ¶
- Constants
- Variables
- func GRPCtoOCI(grpcSpec *Spec) (*specs.Spec, error)
- func ProcessGRPCtoOCI(grpcProcess *Process) (*specs.Process, error)
- func RegisterAgentServiceServer(s *grpc1.Server, srv AgentServiceServer)
- func RegisterHealthServer(s *grpc1.Server, srv HealthServer)
- func ResourcesGRPCtoOCI(grpcResources *LinuxResources) (*specs.LinuxResources, error)
- type ARPNeighbors
- func (*ARPNeighbors) Descriptor() ([]byte, []int)
- func (m *ARPNeighbors) GetARPNeighbors() []*types.ARPNeighbor
- func (m *ARPNeighbors) Marshal() (dAtA []byte, err error)
- func (m *ARPNeighbors) MarshalTo(dAtA []byte) (int, error)
- func (*ARPNeighbors) ProtoMessage()
- func (m *ARPNeighbors) Reset()
- func (m *ARPNeighbors) Size() (n int)
- func (m *ARPNeighbors) String() string
- func (m *ARPNeighbors) Unmarshal(dAtA []byte) error
- type AddARPNeighborsRequest
- func (*AddARPNeighborsRequest) Descriptor() ([]byte, []int)
- func (m *AddARPNeighborsRequest) GetNeighbors() *ARPNeighbors
- func (m *AddARPNeighborsRequest) Marshal() (dAtA []byte, err error)
- func (m *AddARPNeighborsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*AddARPNeighborsRequest) ProtoMessage()
- func (m *AddARPNeighborsRequest) Reset()
- func (m *AddARPNeighborsRequest) Size() (n int)
- func (m *AddARPNeighborsRequest) String() string
- func (m *AddARPNeighborsRequest) Unmarshal(dAtA []byte) error
- type AgentDetails
- func (*AgentDetails) Descriptor() ([]byte, []int)
- func (m *AgentDetails) GetDeviceHandlers() []string
- func (m *AgentDetails) GetInitDaemon() bool
- func (m *AgentDetails) GetStorageHandlers() []string
- func (m *AgentDetails) GetSupportsSeccomp() bool
- func (m *AgentDetails) GetVersion() string
- func (m *AgentDetails) Marshal() (dAtA []byte, err error)
- func (m *AgentDetails) MarshalTo(dAtA []byte) (int, error)
- func (*AgentDetails) ProtoMessage()
- func (m *AgentDetails) Reset()
- func (m *AgentDetails) Size() (n int)
- func (m *AgentDetails) String() string
- func (m *AgentDetails) Unmarshal(dAtA []byte) error
- type AgentServiceClient
- type AgentServiceServer
- type BlkioStats
- func (*BlkioStats) Descriptor() ([]byte, []int)
- func (m *BlkioStats) GetIoMergedRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) GetIoQueuedRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) GetIoServiceBytesRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) GetIoServiceTimeRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) GetIoServicedRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) GetIoTimeRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) GetIoWaitTimeRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) GetSectorsRecursive() []*BlkioStatsEntry
- func (m *BlkioStats) Marshal() (dAtA []byte, err error)
- func (m *BlkioStats) MarshalTo(dAtA []byte) (int, error)
- func (*BlkioStats) ProtoMessage()
- func (m *BlkioStats) Reset()
- func (m *BlkioStats) Size() (n int)
- func (m *BlkioStats) String() string
- func (m *BlkioStats) Unmarshal(dAtA []byte) error
- type BlkioStatsEntry
- func (*BlkioStatsEntry) Descriptor() ([]byte, []int)
- func (m *BlkioStatsEntry) GetMajor() uint64
- func (m *BlkioStatsEntry) GetMinor() uint64
- func (m *BlkioStatsEntry) GetOp() string
- func (m *BlkioStatsEntry) GetValue() uint64
- func (m *BlkioStatsEntry) Marshal() (dAtA []byte, err error)
- func (m *BlkioStatsEntry) MarshalTo(dAtA []byte) (int, error)
- func (*BlkioStatsEntry) ProtoMessage()
- func (m *BlkioStatsEntry) Reset()
- func (m *BlkioStatsEntry) Size() (n int)
- func (m *BlkioStatsEntry) String() string
- func (m *BlkioStatsEntry) Unmarshal(dAtA []byte) error
- type Box
- func (*Box) Descriptor() ([]byte, []int)
- func (this *Box) Equal(that interface{}) bool
- func (m *Box) GetHeight() uint32
- func (m *Box) GetWidth() uint32
- func (m *Box) Marshal() (dAtA []byte, err error)
- func (m *Box) MarshalTo(dAtA []byte) (int, error)
- func (*Box) ProtoMessage()
- func (m *Box) Reset()
- func (m *Box) Size() (n int)
- func (m *Box) String() string
- func (m *Box) Unmarshal(dAtA []byte) error
- type CgroupStats
- func (*CgroupStats) Descriptor() ([]byte, []int)
- func (m *CgroupStats) GetBlkioStats() *BlkioStats
- func (m *CgroupStats) GetCpuStats() *CpuStats
- func (m *CgroupStats) GetHugetlbStats() map[string]*HugetlbStats
- func (m *CgroupStats) GetMemoryStats() *MemoryStats
- func (m *CgroupStats) GetPidsStats() *PidsStats
- func (m *CgroupStats) Marshal() (dAtA []byte, err error)
- func (m *CgroupStats) MarshalTo(dAtA []byte) (int, error)
- func (*CgroupStats) ProtoMessage()
- func (m *CgroupStats) Reset()
- func (m *CgroupStats) Size() (n int)
- func (m *CgroupStats) String() string
- func (m *CgroupStats) Unmarshal(dAtA []byte) error
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)
- func (this *CheckRequest) Equal(that interface{}) bool
- func (m *CheckRequest) GetService() string
- func (m *CheckRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CheckRequest) ProtoMessage()
- func (m *CheckRequest) Reset()
- func (m *CheckRequest) Size() (n int)
- func (m *CheckRequest) String() string
- func (m *CheckRequest) Unmarshal(dAtA []byte) error
- type CloseStdinRequest
- func (*CloseStdinRequest) Descriptor() ([]byte, []int)
- func (m *CloseStdinRequest) GetContainerId() string
- func (m *CloseStdinRequest) GetExecId() string
- func (m *CloseStdinRequest) Marshal() (dAtA []byte, err error)
- func (m *CloseStdinRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CloseStdinRequest) ProtoMessage()
- func (m *CloseStdinRequest) Reset()
- func (m *CloseStdinRequest) Size() (n int)
- func (m *CloseStdinRequest) String() string
- func (m *CloseStdinRequest) Unmarshal(dAtA []byte) error
- type CopyFileRequest
- func (*CopyFileRequest) Descriptor() ([]byte, []int)
- func (m *CopyFileRequest) GetData() []byte
- func (m *CopyFileRequest) GetDirMode() uint32
- func (m *CopyFileRequest) GetFileMode() uint32
- func (m *CopyFileRequest) GetFileSize() int64
- func (m *CopyFileRequest) GetGid() int32
- func (m *CopyFileRequest) GetOffset() int64
- func (m *CopyFileRequest) GetPath() string
- func (m *CopyFileRequest) GetUid() int32
- func (m *CopyFileRequest) Marshal() (dAtA []byte, err error)
- func (m *CopyFileRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CopyFileRequest) ProtoMessage()
- func (m *CopyFileRequest) Reset()
- func (m *CopyFileRequest) Size() (n int)
- func (m *CopyFileRequest) String() string
- func (m *CopyFileRequest) Unmarshal(dAtA []byte) error
- type CpuStats
- func (*CpuStats) Descriptor() ([]byte, []int)
- func (m *CpuStats) GetCpuUsage() *CpuUsage
- func (m *CpuStats) GetThrottlingData() *ThrottlingData
- func (m *CpuStats) Marshal() (dAtA []byte, err error)
- func (m *CpuStats) MarshalTo(dAtA []byte) (int, error)
- func (*CpuStats) ProtoMessage()
- func (m *CpuStats) Reset()
- func (m *CpuStats) Size() (n int)
- func (m *CpuStats) String() string
- func (m *CpuStats) Unmarshal(dAtA []byte) error
- type CpuUsage
- func (*CpuUsage) Descriptor() ([]byte, []int)
- func (m *CpuUsage) GetPercpuUsage() []uint64
- func (m *CpuUsage) GetTotalUsage() uint64
- func (m *CpuUsage) GetUsageInKernelmode() uint64
- func (m *CpuUsage) GetUsageInUsermode() uint64
- func (m *CpuUsage) Marshal() (dAtA []byte, err error)
- func (m *CpuUsage) MarshalTo(dAtA []byte) (int, error)
- func (*CpuUsage) ProtoMessage()
- func (m *CpuUsage) Reset()
- func (m *CpuUsage) Size() (n int)
- func (m *CpuUsage) String() string
- func (m *CpuUsage) Unmarshal(dAtA []byte) error
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)
- func (m *CreateContainerRequest) GetAgentPidns() bool
- func (m *CreateContainerRequest) GetContainerId() string
- func (m *CreateContainerRequest) GetDevices() []*Device
- func (m *CreateContainerRequest) GetExecId() string
- func (m *CreateContainerRequest) GetOCI() *Spec
- func (m *CreateContainerRequest) GetSandboxPidns() bool
- func (m *CreateContainerRequest) GetStorages() []*Storage
- func (m *CreateContainerRequest) GetStringUser() *StringUser
- func (m *CreateContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CreateContainerRequest) ProtoMessage()
- func (m *CreateContainerRequest) Reset()
- func (m *CreateContainerRequest) Size() (n int)
- func (m *CreateContainerRequest) String() string
- func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error
- type CreateSandboxRequest
- func (*CreateSandboxRequest) Descriptor() ([]byte, []int)
- func (m *CreateSandboxRequest) GetDns() []string
- func (m *CreateSandboxRequest) GetGuestHookPath() string
- func (m *CreateSandboxRequest) GetHostname() string
- func (m *CreateSandboxRequest) GetKernelModules() []*KernelModule
- func (m *CreateSandboxRequest) GetSandboxId() string
- func (m *CreateSandboxRequest) GetSandboxPidns() bool
- func (m *CreateSandboxRequest) GetStorages() []*Storage
- func (m *CreateSandboxRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateSandboxRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CreateSandboxRequest) ProtoMessage()
- func (m *CreateSandboxRequest) Reset()
- func (m *CreateSandboxRequest) Size() (n int)
- func (m *CreateSandboxRequest) String() string
- func (m *CreateSandboxRequest) Unmarshal(dAtA []byte) error
- type DestroySandboxRequest
- func (*DestroySandboxRequest) Descriptor() ([]byte, []int)
- func (m *DestroySandboxRequest) Marshal() (dAtA []byte, err error)
- func (m *DestroySandboxRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DestroySandboxRequest) ProtoMessage()
- func (m *DestroySandboxRequest) Reset()
- func (m *DestroySandboxRequest) Size() (n int)
- func (m *DestroySandboxRequest) String() string
- func (m *DestroySandboxRequest) Unmarshal(dAtA []byte) error
- type Device
- func (*Device) Descriptor() ([]byte, []int)
- func (m *Device) GetContainerPath() string
- func (m *Device) GetId() string
- func (m *Device) GetOptions() []string
- func (m *Device) GetType() string
- func (m *Device) GetVmPath() string
- func (m *Device) Marshal() (dAtA []byte, err error)
- func (m *Device) MarshalTo(dAtA []byte) (int, error)
- func (*Device) ProtoMessage()
- func (m *Device) Reset()
- func (m *Device) Size() (n int)
- func (m *Device) String() string
- func (m *Device) Unmarshal(dAtA []byte) error
- type ExecProcessRequest
- func (*ExecProcessRequest) Descriptor() ([]byte, []int)
- func (m *ExecProcessRequest) GetContainerId() string
- func (m *ExecProcessRequest) GetExecId() string
- func (m *ExecProcessRequest) GetProcess() *Process
- func (m *ExecProcessRequest) GetStringUser() *StringUser
- func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error)
- func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ExecProcessRequest) ProtoMessage()
- func (m *ExecProcessRequest) Reset()
- func (m *ExecProcessRequest) Size() (n int)
- func (m *ExecProcessRequest) String() string
- func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error
- type GetOOMEventRequest
- func (*GetOOMEventRequest) Descriptor() ([]byte, []int)
- func (m *GetOOMEventRequest) Marshal() (dAtA []byte, err error)
- func (m *GetOOMEventRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetOOMEventRequest) ProtoMessage()
- func (m *GetOOMEventRequest) Reset()
- func (m *GetOOMEventRequest) Size() (n int)
- func (m *GetOOMEventRequest) String() string
- func (m *GetOOMEventRequest) Unmarshal(dAtA []byte) error
- type GuestDetailsRequest
- func (*GuestDetailsRequest) Descriptor() ([]byte, []int)
- func (m *GuestDetailsRequest) GetMemBlockSize() bool
- func (m *GuestDetailsRequest) GetMemHotplugProbe() bool
- func (m *GuestDetailsRequest) Marshal() (dAtA []byte, err error)
- func (m *GuestDetailsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GuestDetailsRequest) ProtoMessage()
- func (m *GuestDetailsRequest) Reset()
- func (m *GuestDetailsRequest) Size() (n int)
- func (m *GuestDetailsRequest) String() string
- func (m *GuestDetailsRequest) Unmarshal(dAtA []byte) error
- type GuestDetailsResponse
- func (*GuestDetailsResponse) Descriptor() ([]byte, []int)
- func (m *GuestDetailsResponse) GetAgentDetails() *AgentDetails
- func (m *GuestDetailsResponse) GetMemBlockSizeBytes() uint64
- func (m *GuestDetailsResponse) GetSupportMemHotplugProbe() bool
- func (m *GuestDetailsResponse) Marshal() (dAtA []byte, err error)
- func (m *GuestDetailsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GuestDetailsResponse) ProtoMessage()
- func (m *GuestDetailsResponse) Reset()
- func (m *GuestDetailsResponse) Size() (n int)
- func (m *GuestDetailsResponse) String() string
- func (m *GuestDetailsResponse) Unmarshal(dAtA []byte) error
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)
- func (this *HealthCheckResponse) Equal(that interface{}) bool
- func (m *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
- func (m *HealthCheckResponse) Marshal() (dAtA []byte, err error)
- func (m *HealthCheckResponse) MarshalTo(dAtA []byte) (int, error)
- func (*HealthCheckResponse) ProtoMessage()
- func (m *HealthCheckResponse) Reset()
- func (m *HealthCheckResponse) Size() (n int)
- func (m *HealthCheckResponse) String() string
- func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error
- type HealthCheckResponse_ServingStatus
- type HealthClient
- type HealthServer
- type Hook
- func (*Hook) Descriptor() ([]byte, []int)
- func (this *Hook) Equal(that interface{}) bool
- func (m *Hook) GetArgs() []string
- func (m *Hook) GetEnv() []string
- func (m *Hook) GetPath() string
- func (m *Hook) GetTimeout() int64
- func (m *Hook) Marshal() (dAtA []byte, err error)
- func (m *Hook) MarshalTo(dAtA []byte) (int, error)
- func (*Hook) ProtoMessage()
- func (m *Hook) Reset()
- func (m *Hook) Size() (n int)
- func (m *Hook) String() string
- func (m *Hook) Unmarshal(dAtA []byte) error
- type Hooks
- func (*Hooks) Descriptor() ([]byte, []int)
- func (this *Hooks) Equal(that interface{}) bool
- func (m *Hooks) GetPoststart() []Hook
- func (m *Hooks) GetPoststop() []Hook
- func (m *Hooks) GetPrestart() []Hook
- func (m *Hooks) Marshal() (dAtA []byte, err error)
- func (m *Hooks) MarshalTo(dAtA []byte) (int, error)
- func (*Hooks) ProtoMessage()
- func (m *Hooks) Reset()
- func (m *Hooks) Size() (n int)
- func (m *Hooks) String() string
- func (m *Hooks) Unmarshal(dAtA []byte) error
- type HugetlbStats
- func (*HugetlbStats) Descriptor() ([]byte, []int)
- func (m *HugetlbStats) GetFailcnt() uint64
- func (m *HugetlbStats) GetMaxUsage() uint64
- func (m *HugetlbStats) GetUsage() uint64
- func (m *HugetlbStats) Marshal() (dAtA []byte, err error)
- func (m *HugetlbStats) MarshalTo(dAtA []byte) (int, error)
- func (*HugetlbStats) ProtoMessage()
- func (m *HugetlbStats) Reset()
- func (m *HugetlbStats) Size() (n int)
- func (m *HugetlbStats) String() string
- func (m *HugetlbStats) Unmarshal(dAtA []byte) error
- type Interfaces
- func (*Interfaces) Descriptor() ([]byte, []int)
- func (m *Interfaces) GetInterfaces() []*types.Interface
- func (m *Interfaces) Marshal() (dAtA []byte, err error)
- func (m *Interfaces) MarshalTo(dAtA []byte) (int, error)
- func (*Interfaces) ProtoMessage()
- func (m *Interfaces) Reset()
- func (m *Interfaces) Size() (n int)
- func (m *Interfaces) String() string
- func (m *Interfaces) Unmarshal(dAtA []byte) error
- type KernelModule
- func (*KernelModule) Descriptor() ([]byte, []int)
- func (m *KernelModule) GetName() string
- func (m *KernelModule) GetParameters() []string
- func (m *KernelModule) Marshal() (dAtA []byte, err error)
- func (m *KernelModule) MarshalTo(dAtA []byte) (int, error)
- func (*KernelModule) ProtoMessage()
- func (m *KernelModule) Reset()
- func (m *KernelModule) Size() (n int)
- func (m *KernelModule) String() string
- func (m *KernelModule) Unmarshal(dAtA []byte) error
- type Linux
- func (*Linux) Descriptor() ([]byte, []int)
- func (this *Linux) Equal(that interface{}) bool
- func (m *Linux) GetCgroupsPath() string
- func (m *Linux) GetDevices() []LinuxDevice
- func (m *Linux) GetGIDMappings() []LinuxIDMapping
- func (m *Linux) GetIntelRdt() *LinuxIntelRdt
- func (m *Linux) GetMaskedPaths() []string
- func (m *Linux) GetMountLabel() string
- func (m *Linux) GetNamespaces() []LinuxNamespace
- func (m *Linux) GetReadonlyPaths() []string
- func (m *Linux) GetResources() *LinuxResources
- func (m *Linux) GetRootfsPropagation() string
- func (m *Linux) GetSeccomp() *LinuxSeccomp
- func (m *Linux) GetSysctl() map[string]string
- func (m *Linux) GetUIDMappings() []LinuxIDMapping
- func (m *Linux) Marshal() (dAtA []byte, err error)
- func (m *Linux) MarshalTo(dAtA []byte) (int, error)
- func (*Linux) ProtoMessage()
- func (m *Linux) Reset()
- func (m *Linux) Size() (n int)
- func (m *Linux) String() string
- func (m *Linux) Unmarshal(dAtA []byte) error
- type LinuxBlockIO
- func (*LinuxBlockIO) Descriptor() ([]byte, []int)
- func (this *LinuxBlockIO) Equal(that interface{}) bool
- func (m *LinuxBlockIO) GetLeafWeight() uint32
- func (m *LinuxBlockIO) GetThrottleReadBpsDevice() []LinuxThrottleDevice
- func (m *LinuxBlockIO) GetThrottleReadIOPSDevice() []LinuxThrottleDevice
- func (m *LinuxBlockIO) GetThrottleWriteBpsDevice() []LinuxThrottleDevice
- func (m *LinuxBlockIO) GetThrottleWriteIOPSDevice() []LinuxThrottleDevice
- func (m *LinuxBlockIO) GetWeight() uint32
- func (m *LinuxBlockIO) GetWeightDevice() []LinuxWeightDevice
- func (m *LinuxBlockIO) Marshal() (dAtA []byte, err error)
- func (m *LinuxBlockIO) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxBlockIO) ProtoMessage()
- func (m *LinuxBlockIO) Reset()
- func (m *LinuxBlockIO) Size() (n int)
- func (m *LinuxBlockIO) String() string
- func (m *LinuxBlockIO) Unmarshal(dAtA []byte) error
- type LinuxCPU
- func (*LinuxCPU) Descriptor() ([]byte, []int)
- func (this *LinuxCPU) Equal(that interface{}) bool
- func (m *LinuxCPU) GetCpus() string
- func (m *LinuxCPU) GetMems() string
- func (m *LinuxCPU) GetPeriod() uint64
- func (m *LinuxCPU) GetQuota() int64
- func (m *LinuxCPU) GetRealtimePeriod() uint64
- func (m *LinuxCPU) GetRealtimeRuntime() int64
- func (m *LinuxCPU) GetShares() uint64
- func (m *LinuxCPU) Marshal() (dAtA []byte, err error)
- func (m *LinuxCPU) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxCPU) ProtoMessage()
- func (m *LinuxCPU) Reset()
- func (m *LinuxCPU) Size() (n int)
- func (m *LinuxCPU) String() string
- func (m *LinuxCPU) Unmarshal(dAtA []byte) error
- type LinuxCapabilities
- func (*LinuxCapabilities) Descriptor() ([]byte, []int)
- func (this *LinuxCapabilities) Equal(that interface{}) bool
- func (m *LinuxCapabilities) GetAmbient() []string
- func (m *LinuxCapabilities) GetBounding() []string
- func (m *LinuxCapabilities) GetEffective() []string
- func (m *LinuxCapabilities) GetInheritable() []string
- func (m *LinuxCapabilities) GetPermitted() []string
- func (m *LinuxCapabilities) Marshal() (dAtA []byte, err error)
- func (m *LinuxCapabilities) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxCapabilities) ProtoMessage()
- func (m *LinuxCapabilities) Reset()
- func (m *LinuxCapabilities) Size() (n int)
- func (m *LinuxCapabilities) String() string
- func (m *LinuxCapabilities) Unmarshal(dAtA []byte) error
- type LinuxDevice
- func (*LinuxDevice) Descriptor() ([]byte, []int)
- func (this *LinuxDevice) Equal(that interface{}) bool
- func (m *LinuxDevice) GetFileMode() uint32
- func (m *LinuxDevice) GetGID() uint32
- func (m *LinuxDevice) GetMajor() int64
- func (m *LinuxDevice) GetMinor() int64
- func (m *LinuxDevice) GetPath() string
- func (m *LinuxDevice) GetType() string
- func (m *LinuxDevice) GetUID() uint32
- func (m *LinuxDevice) Marshal() (dAtA []byte, err error)
- func (m *LinuxDevice) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxDevice) ProtoMessage()
- func (m *LinuxDevice) Reset()
- func (m *LinuxDevice) Size() (n int)
- func (m *LinuxDevice) String() string
- func (m *LinuxDevice) Unmarshal(dAtA []byte) error
- type LinuxDeviceCgroup
- func (*LinuxDeviceCgroup) Descriptor() ([]byte, []int)
- func (this *LinuxDeviceCgroup) Equal(that interface{}) bool
- func (m *LinuxDeviceCgroup) GetAccess() string
- func (m *LinuxDeviceCgroup) GetAllow() bool
- func (m *LinuxDeviceCgroup) GetMajor() int64
- func (m *LinuxDeviceCgroup) GetMinor() int64
- func (m *LinuxDeviceCgroup) GetType() string
- func (m *LinuxDeviceCgroup) Marshal() (dAtA []byte, err error)
- func (m *LinuxDeviceCgroup) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxDeviceCgroup) ProtoMessage()
- func (m *LinuxDeviceCgroup) Reset()
- func (m *LinuxDeviceCgroup) Size() (n int)
- func (m *LinuxDeviceCgroup) String() string
- func (m *LinuxDeviceCgroup) Unmarshal(dAtA []byte) error
- type LinuxHugepageLimit
- func (*LinuxHugepageLimit) Descriptor() ([]byte, []int)
- func (this *LinuxHugepageLimit) Equal(that interface{}) bool
- func (m *LinuxHugepageLimit) GetLimit() uint64
- func (m *LinuxHugepageLimit) GetPagesize() string
- func (m *LinuxHugepageLimit) Marshal() (dAtA []byte, err error)
- func (m *LinuxHugepageLimit) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxHugepageLimit) ProtoMessage()
- func (m *LinuxHugepageLimit) Reset()
- func (m *LinuxHugepageLimit) Size() (n int)
- func (m *LinuxHugepageLimit) String() string
- func (m *LinuxHugepageLimit) Unmarshal(dAtA []byte) error
- type LinuxIDMapping
- func (*LinuxIDMapping) Descriptor() ([]byte, []int)
- func (this *LinuxIDMapping) Equal(that interface{}) bool
- func (m *LinuxIDMapping) GetContainerID() uint32
- func (m *LinuxIDMapping) GetHostID() uint32
- func (m *LinuxIDMapping) GetSize_() uint32
- func (m *LinuxIDMapping) Marshal() (dAtA []byte, err error)
- func (m *LinuxIDMapping) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxIDMapping) ProtoMessage()
- func (m *LinuxIDMapping) Reset()
- func (m *LinuxIDMapping) Size() (n int)
- func (m *LinuxIDMapping) String() string
- func (m *LinuxIDMapping) Unmarshal(dAtA []byte) error
- type LinuxIntelRdt
- func (*LinuxIntelRdt) Descriptor() ([]byte, []int)
- func (this *LinuxIntelRdt) Equal(that interface{}) bool
- func (m *LinuxIntelRdt) GetL3CacheSchema() string
- func (m *LinuxIntelRdt) Marshal() (dAtA []byte, err error)
- func (m *LinuxIntelRdt) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxIntelRdt) ProtoMessage()
- func (m *LinuxIntelRdt) Reset()
- func (m *LinuxIntelRdt) Size() (n int)
- func (m *LinuxIntelRdt) String() string
- func (m *LinuxIntelRdt) Unmarshal(dAtA []byte) error
- type LinuxInterfacePriority
- func (*LinuxInterfacePriority) Descriptor() ([]byte, []int)
- func (this *LinuxInterfacePriority) Equal(that interface{}) bool
- func (m *LinuxInterfacePriority) GetName() string
- func (m *LinuxInterfacePriority) GetPriority() uint32
- func (m *LinuxInterfacePriority) Marshal() (dAtA []byte, err error)
- func (m *LinuxInterfacePriority) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxInterfacePriority) ProtoMessage()
- func (m *LinuxInterfacePriority) Reset()
- func (m *LinuxInterfacePriority) Size() (n int)
- func (m *LinuxInterfacePriority) String() string
- func (m *LinuxInterfacePriority) Unmarshal(dAtA []byte) error
- type LinuxMemory
- func (*LinuxMemory) Descriptor() ([]byte, []int)
- func (this *LinuxMemory) Equal(that interface{}) bool
- func (m *LinuxMemory) GetDisableOOMKiller() bool
- func (m *LinuxMemory) GetKernel() int64
- func (m *LinuxMemory) GetKernelTCP() int64
- func (m *LinuxMemory) GetLimit() int64
- func (m *LinuxMemory) GetReservation() int64
- func (m *LinuxMemory) GetSwap() int64
- func (m *LinuxMemory) GetSwappiness() uint64
- func (m *LinuxMemory) Marshal() (dAtA []byte, err error)
- func (m *LinuxMemory) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxMemory) ProtoMessage()
- func (m *LinuxMemory) Reset()
- func (m *LinuxMemory) Size() (n int)
- func (m *LinuxMemory) String() string
- func (m *LinuxMemory) Unmarshal(dAtA []byte) error
- type LinuxNamespace
- func (*LinuxNamespace) Descriptor() ([]byte, []int)
- func (this *LinuxNamespace) Equal(that interface{}) bool
- func (m *LinuxNamespace) GetPath() string
- func (m *LinuxNamespace) GetType() string
- func (m *LinuxNamespace) Marshal() (dAtA []byte, err error)
- func (m *LinuxNamespace) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxNamespace) ProtoMessage()
- func (m *LinuxNamespace) Reset()
- func (m *LinuxNamespace) Size() (n int)
- func (m *LinuxNamespace) String() string
- func (m *LinuxNamespace) Unmarshal(dAtA []byte) error
- type LinuxNetwork
- func (*LinuxNetwork) Descriptor() ([]byte, []int)
- func (this *LinuxNetwork) Equal(that interface{}) bool
- func (m *LinuxNetwork) GetClassID() uint32
- func (m *LinuxNetwork) GetPriorities() []LinuxInterfacePriority
- func (m *LinuxNetwork) Marshal() (dAtA []byte, err error)
- func (m *LinuxNetwork) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxNetwork) ProtoMessage()
- func (m *LinuxNetwork) Reset()
- func (m *LinuxNetwork) Size() (n int)
- func (m *LinuxNetwork) String() string
- func (m *LinuxNetwork) Unmarshal(dAtA []byte) error
- type LinuxPids
- func (*LinuxPids) Descriptor() ([]byte, []int)
- func (this *LinuxPids) Equal(that interface{}) bool
- func (m *LinuxPids) GetLimit() int64
- func (m *LinuxPids) Marshal() (dAtA []byte, err error)
- func (m *LinuxPids) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxPids) ProtoMessage()
- func (m *LinuxPids) Reset()
- func (m *LinuxPids) Size() (n int)
- func (m *LinuxPids) String() string
- func (m *LinuxPids) Unmarshal(dAtA []byte) error
- type LinuxResources
- func (*LinuxResources) Descriptor() ([]byte, []int)
- func (this *LinuxResources) Equal(that interface{}) bool
- func (m *LinuxResources) GetBlockIO() *LinuxBlockIO
- func (m *LinuxResources) GetCPU() *LinuxCPU
- func (m *LinuxResources) GetDevices() []LinuxDeviceCgroup
- func (m *LinuxResources) GetHugepageLimits() []LinuxHugepageLimit
- func (m *LinuxResources) GetMemory() *LinuxMemory
- func (m *LinuxResources) GetNetwork() *LinuxNetwork
- func (m *LinuxResources) GetPids() *LinuxPids
- func (m *LinuxResources) Marshal() (dAtA []byte, err error)
- func (m *LinuxResources) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxResources) ProtoMessage()
- func (m *LinuxResources) Reset()
- func (m *LinuxResources) Size() (n int)
- func (m *LinuxResources) String() string
- func (m *LinuxResources) Unmarshal(dAtA []byte) error
- type LinuxSeccomp
- func (*LinuxSeccomp) Descriptor() ([]byte, []int)
- func (this *LinuxSeccomp) Equal(that interface{}) bool
- func (m *LinuxSeccomp) GetArchitectures() []string
- func (m *LinuxSeccomp) GetDefaultAction() string
- func (m *LinuxSeccomp) GetSyscalls() []LinuxSyscall
- func (m *LinuxSeccomp) Marshal() (dAtA []byte, err error)
- func (m *LinuxSeccomp) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxSeccomp) ProtoMessage()
- func (m *LinuxSeccomp) Reset()
- func (m *LinuxSeccomp) Size() (n int)
- func (m *LinuxSeccomp) String() string
- func (m *LinuxSeccomp) Unmarshal(dAtA []byte) error
- type LinuxSeccompArg
- func (*LinuxSeccompArg) Descriptor() ([]byte, []int)
- func (this *LinuxSeccompArg) Equal(that interface{}) bool
- func (m *LinuxSeccompArg) GetIndex() uint64
- func (m *LinuxSeccompArg) GetOp() string
- func (m *LinuxSeccompArg) GetValue() uint64
- func (m *LinuxSeccompArg) GetValueTwo() uint64
- func (m *LinuxSeccompArg) Marshal() (dAtA []byte, err error)
- func (m *LinuxSeccompArg) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxSeccompArg) ProtoMessage()
- func (m *LinuxSeccompArg) Reset()
- func (m *LinuxSeccompArg) Size() (n int)
- func (m *LinuxSeccompArg) String() string
- func (m *LinuxSeccompArg) Unmarshal(dAtA []byte) error
- type LinuxSyscall
- func (*LinuxSyscall) Descriptor() ([]byte, []int)
- func (this *LinuxSyscall) Equal(that interface{}) bool
- func (m *LinuxSyscall) GetAction() string
- func (m *LinuxSyscall) GetArgs() []LinuxSeccompArg
- func (m *LinuxSyscall) GetNames() []string
- func (m *LinuxSyscall) Marshal() (dAtA []byte, err error)
- func (m *LinuxSyscall) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxSyscall) ProtoMessage()
- func (m *LinuxSyscall) Reset()
- func (m *LinuxSyscall) Size() (n int)
- func (m *LinuxSyscall) String() string
- func (m *LinuxSyscall) Unmarshal(dAtA []byte) error
- type LinuxThrottleDevice
- func (*LinuxThrottleDevice) Descriptor() ([]byte, []int)
- func (this *LinuxThrottleDevice) Equal(that interface{}) bool
- func (m *LinuxThrottleDevice) GetMajor() int64
- func (m *LinuxThrottleDevice) GetMinor() int64
- func (m *LinuxThrottleDevice) GetRate() uint64
- func (m *LinuxThrottleDevice) Marshal() (dAtA []byte, err error)
- func (m *LinuxThrottleDevice) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxThrottleDevice) ProtoMessage()
- func (m *LinuxThrottleDevice) Reset()
- func (m *LinuxThrottleDevice) Size() (n int)
- func (m *LinuxThrottleDevice) String() string
- func (m *LinuxThrottleDevice) Unmarshal(dAtA []byte) error
- type LinuxWeightDevice
- func (*LinuxWeightDevice) Descriptor() ([]byte, []int)
- func (this *LinuxWeightDevice) Equal(that interface{}) bool
- func (m *LinuxWeightDevice) GetLeafWeight() uint32
- func (m *LinuxWeightDevice) GetMajor() int64
- func (m *LinuxWeightDevice) GetMinor() int64
- func (m *LinuxWeightDevice) GetWeight() uint32
- func (m *LinuxWeightDevice) Marshal() (dAtA []byte, err error)
- func (m *LinuxWeightDevice) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxWeightDevice) ProtoMessage()
- func (m *LinuxWeightDevice) Reset()
- func (m *LinuxWeightDevice) Size() (n int)
- func (m *LinuxWeightDevice) String() string
- func (m *LinuxWeightDevice) Unmarshal(dAtA []byte) error
- type ListInterfacesRequest
- func (*ListInterfacesRequest) Descriptor() ([]byte, []int)
- func (m *ListInterfacesRequest) Marshal() (dAtA []byte, err error)
- func (m *ListInterfacesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListInterfacesRequest) ProtoMessage()
- func (m *ListInterfacesRequest) Reset()
- func (m *ListInterfacesRequest) Size() (n int)
- func (m *ListInterfacesRequest) String() string
- func (m *ListInterfacesRequest) Unmarshal(dAtA []byte) error
- type ListProcessesRequest
- func (*ListProcessesRequest) Descriptor() ([]byte, []int)
- func (m *ListProcessesRequest) GetArgs() []string
- func (m *ListProcessesRequest) GetContainerId() string
- func (m *ListProcessesRequest) GetFormat() string
- func (m *ListProcessesRequest) Marshal() (dAtA []byte, err error)
- func (m *ListProcessesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListProcessesRequest) ProtoMessage()
- func (m *ListProcessesRequest) Reset()
- func (m *ListProcessesRequest) Size() (n int)
- func (m *ListProcessesRequest) String() string
- func (m *ListProcessesRequest) Unmarshal(dAtA []byte) error
- type ListProcessesResponse
- func (*ListProcessesResponse) Descriptor() ([]byte, []int)
- func (m *ListProcessesResponse) GetProcessList() []byte
- func (m *ListProcessesResponse) Marshal() (dAtA []byte, err error)
- func (m *ListProcessesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListProcessesResponse) ProtoMessage()
- func (m *ListProcessesResponse) Reset()
- func (m *ListProcessesResponse) Size() (n int)
- func (m *ListProcessesResponse) String() string
- func (m *ListProcessesResponse) Unmarshal(dAtA []byte) error
- type ListRoutesRequest
- func (*ListRoutesRequest) Descriptor() ([]byte, []int)
- func (m *ListRoutesRequest) Marshal() (dAtA []byte, err error)
- func (m *ListRoutesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListRoutesRequest) ProtoMessage()
- func (m *ListRoutesRequest) Reset()
- func (m *ListRoutesRequest) Size() (n int)
- func (m *ListRoutesRequest) String() string
- func (m *ListRoutesRequest) Unmarshal(dAtA []byte) error
- type MemHotplugByProbeRequest
- func (*MemHotplugByProbeRequest) Descriptor() ([]byte, []int)
- func (m *MemHotplugByProbeRequest) GetMemHotplugProbeAddr() []uint64
- func (m *MemHotplugByProbeRequest) Marshal() (dAtA []byte, err error)
- func (m *MemHotplugByProbeRequest) MarshalTo(dAtA []byte) (int, error)
- func (*MemHotplugByProbeRequest) ProtoMessage()
- func (m *MemHotplugByProbeRequest) Reset()
- func (m *MemHotplugByProbeRequest) Size() (n int)
- func (m *MemHotplugByProbeRequest) String() string
- func (m *MemHotplugByProbeRequest) Unmarshal(dAtA []byte) error
- type MemoryData
- func (*MemoryData) Descriptor() ([]byte, []int)
- func (m *MemoryData) GetFailcnt() uint64
- func (m *MemoryData) GetLimit() uint64
- func (m *MemoryData) GetMaxUsage() uint64
- func (m *MemoryData) GetUsage() uint64
- func (m *MemoryData) Marshal() (dAtA []byte, err error)
- func (m *MemoryData) MarshalTo(dAtA []byte) (int, error)
- func (*MemoryData) ProtoMessage()
- func (m *MemoryData) Reset()
- func (m *MemoryData) Size() (n int)
- func (m *MemoryData) String() string
- func (m *MemoryData) Unmarshal(dAtA []byte) error
- type MemoryStats
- func (*MemoryStats) Descriptor() ([]byte, []int)
- func (m *MemoryStats) GetCache() uint64
- func (m *MemoryStats) GetKernelUsage() *MemoryData
- func (m *MemoryStats) GetStats() map[string]uint64
- func (m *MemoryStats) GetSwapUsage() *MemoryData
- func (m *MemoryStats) GetUsage() *MemoryData
- func (m *MemoryStats) GetUseHierarchy() bool
- func (m *MemoryStats) Marshal() (dAtA []byte, err error)
- func (m *MemoryStats) MarshalTo(dAtA []byte) (int, error)
- func (*MemoryStats) ProtoMessage()
- func (m *MemoryStats) Reset()
- func (m *MemoryStats) Size() (n int)
- func (m *MemoryStats) String() string
- func (m *MemoryStats) Unmarshal(dAtA []byte) error
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)
- func (this *Mount) Equal(that interface{}) bool
- func (m *Mount) GetDestination() string
- func (m *Mount) GetOptions() []string
- func (m *Mount) GetSource() string
- func (m *Mount) GetType() string
- func (m *Mount) Marshal() (dAtA []byte, err error)
- func (m *Mount) MarshalTo(dAtA []byte) (int, error)
- func (*Mount) ProtoMessage()
- func (m *Mount) Reset()
- func (m *Mount) Size() (n int)
- func (m *Mount) String() string
- func (m *Mount) Unmarshal(dAtA []byte) error
- type NetworkStats
- func (*NetworkStats) Descriptor() ([]byte, []int)
- func (m *NetworkStats) GetName() string
- func (m *NetworkStats) GetRxBytes() uint64
- func (m *NetworkStats) GetRxDropped() uint64
- func (m *NetworkStats) GetRxErrors() uint64
- func (m *NetworkStats) GetRxPackets() uint64
- func (m *NetworkStats) GetTxBytes() uint64
- func (m *NetworkStats) GetTxDropped() uint64
- func (m *NetworkStats) GetTxErrors() uint64
- func (m *NetworkStats) GetTxPackets() uint64
- func (m *NetworkStats) Marshal() (dAtA []byte, err error)
- func (m *NetworkStats) MarshalTo(dAtA []byte) (int, error)
- func (*NetworkStats) ProtoMessage()
- func (m *NetworkStats) Reset()
- func (m *NetworkStats) Size() (n int)
- func (m *NetworkStats) String() string
- func (m *NetworkStats) Unmarshal(dAtA []byte) error
- type OOMEvent
- func (*OOMEvent) Descriptor() ([]byte, []int)
- func (m *OOMEvent) GetContainerId() string
- func (m *OOMEvent) Marshal() (dAtA []byte, err error)
- func (m *OOMEvent) MarshalTo(dAtA []byte) (int, error)
- func (*OOMEvent) ProtoMessage()
- func (m *OOMEvent) Reset()
- func (m *OOMEvent) Size() (n int)
- func (m *OOMEvent) String() string
- func (m *OOMEvent) Unmarshal(dAtA []byte) error
- type OnlineCPUMemRequest
- func (*OnlineCPUMemRequest) Descriptor() ([]byte, []int)
- func (m *OnlineCPUMemRequest) GetCpuOnly() bool
- func (m *OnlineCPUMemRequest) GetNbCpus() uint32
- func (m *OnlineCPUMemRequest) GetWait() bool
- func (m *OnlineCPUMemRequest) Marshal() (dAtA []byte, err error)
- func (m *OnlineCPUMemRequest) MarshalTo(dAtA []byte) (int, error)
- func (*OnlineCPUMemRequest) ProtoMessage()
- func (m *OnlineCPUMemRequest) Reset()
- func (m *OnlineCPUMemRequest) Size() (n int)
- func (m *OnlineCPUMemRequest) String() string
- func (m *OnlineCPUMemRequest) Unmarshal(dAtA []byte) error
- type POSIXRlimit
- func (*POSIXRlimit) Descriptor() ([]byte, []int)
- func (this *POSIXRlimit) Equal(that interface{}) bool
- func (m *POSIXRlimit) GetHard() uint64
- func (m *POSIXRlimit) GetSoft() uint64
- func (m *POSIXRlimit) GetType() string
- func (m *POSIXRlimit) Marshal() (dAtA []byte, err error)
- func (m *POSIXRlimit) MarshalTo(dAtA []byte) (int, error)
- func (*POSIXRlimit) ProtoMessage()
- func (m *POSIXRlimit) Reset()
- func (m *POSIXRlimit) Size() (n int)
- func (m *POSIXRlimit) String() string
- func (m *POSIXRlimit) Unmarshal(dAtA []byte) error
- type PauseContainerRequest
- func (*PauseContainerRequest) Descriptor() ([]byte, []int)
- func (m *PauseContainerRequest) GetContainerId() string
- func (m *PauseContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *PauseContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PauseContainerRequest) ProtoMessage()
- func (m *PauseContainerRequest) Reset()
- func (m *PauseContainerRequest) Size() (n int)
- func (m *PauseContainerRequest) String() string
- func (m *PauseContainerRequest) Unmarshal(dAtA []byte) error
- type PidsStats
- func (*PidsStats) Descriptor() ([]byte, []int)
- func (m *PidsStats) GetCurrent() uint64
- func (m *PidsStats) GetLimit() uint64
- func (m *PidsStats) Marshal() (dAtA []byte, err error)
- func (m *PidsStats) MarshalTo(dAtA []byte) (int, error)
- func (*PidsStats) ProtoMessage()
- func (m *PidsStats) Reset()
- func (m *PidsStats) Size() (n int)
- func (m *PidsStats) String() string
- func (m *PidsStats) Unmarshal(dAtA []byte) error
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (this *Process) Equal(that interface{}) bool
- func (m *Process) GetApparmorProfile() string
- func (m *Process) GetArgs() []string
- func (m *Process) GetCapabilities() *LinuxCapabilities
- func (m *Process) GetConsoleSize() *Box
- func (m *Process) GetCwd() string
- func (m *Process) GetEnv() []string
- func (m *Process) GetNoNewPrivileges() bool
- func (m *Process) GetOOMScoreAdj() int64
- func (m *Process) GetRlimits() []POSIXRlimit
- func (m *Process) GetSelinuxLabel() string
- func (m *Process) GetTerminal() bool
- func (m *Process) GetUser() User
- func (m *Process) Marshal() (dAtA []byte, err error)
- func (m *Process) MarshalTo(dAtA []byte) (int, error)
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) Size() (n int)
- func (m *Process) String() string
- func (m *Process) Unmarshal(dAtA []byte) error
- type ReadStreamRequest
- func (*ReadStreamRequest) Descriptor() ([]byte, []int)
- func (m *ReadStreamRequest) GetContainerId() string
- func (m *ReadStreamRequest) GetExecId() string
- func (m *ReadStreamRequest) GetLen() uint32
- func (m *ReadStreamRequest) Marshal() (dAtA []byte, err error)
- func (m *ReadStreamRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ReadStreamRequest) ProtoMessage()
- func (m *ReadStreamRequest) Reset()
- func (m *ReadStreamRequest) Size() (n int)
- func (m *ReadStreamRequest) String() string
- func (m *ReadStreamRequest) Unmarshal(dAtA []byte) error
- type ReadStreamResponse
- func (*ReadStreamResponse) Descriptor() ([]byte, []int)
- func (m *ReadStreamResponse) GetData() []byte
- func (m *ReadStreamResponse) Marshal() (dAtA []byte, err error)
- func (m *ReadStreamResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ReadStreamResponse) ProtoMessage()
- func (m *ReadStreamResponse) Reset()
- func (m *ReadStreamResponse) Size() (n int)
- func (m *ReadStreamResponse) String() string
- func (m *ReadStreamResponse) Unmarshal(dAtA []byte) error
- type RemoveContainerRequest
- func (*RemoveContainerRequest) Descriptor() ([]byte, []int)
- func (m *RemoveContainerRequest) GetContainerId() string
- func (m *RemoveContainerRequest) GetTimeout() uint32
- func (m *RemoveContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveContainerRequest) ProtoMessage()
- func (m *RemoveContainerRequest) Reset()
- func (m *RemoveContainerRequest) Size() (n int)
- func (m *RemoveContainerRequest) String() string
- func (m *RemoveContainerRequest) Unmarshal(dAtA []byte) error
- type ReseedRandomDevRequest
- func (*ReseedRandomDevRequest) Descriptor() ([]byte, []int)
- func (m *ReseedRandomDevRequest) GetData() []byte
- func (m *ReseedRandomDevRequest) Marshal() (dAtA []byte, err error)
- func (m *ReseedRandomDevRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ReseedRandomDevRequest) ProtoMessage()
- func (m *ReseedRandomDevRequest) Reset()
- func (m *ReseedRandomDevRequest) Size() (n int)
- func (m *ReseedRandomDevRequest) String() string
- func (m *ReseedRandomDevRequest) Unmarshal(dAtA []byte) error
- type ResumeContainerRequest
- func (*ResumeContainerRequest) Descriptor() ([]byte, []int)
- func (m *ResumeContainerRequest) GetContainerId() string
- func (m *ResumeContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *ResumeContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ResumeContainerRequest) ProtoMessage()
- func (m *ResumeContainerRequest) Reset()
- func (m *ResumeContainerRequest) Size() (n int)
- func (m *ResumeContainerRequest) String() string
- func (m *ResumeContainerRequest) Unmarshal(dAtA []byte) error
- type Root
- func (*Root) Descriptor() ([]byte, []int)
- func (this *Root) Equal(that interface{}) bool
- func (m *Root) GetPath() string
- func (m *Root) GetReadonly() bool
- func (m *Root) Marshal() (dAtA []byte, err error)
- func (m *Root) MarshalTo(dAtA []byte) (int, error)
- func (*Root) ProtoMessage()
- func (m *Root) Reset()
- func (m *Root) Size() (n int)
- func (m *Root) String() string
- func (m *Root) Unmarshal(dAtA []byte) error
- type Routes
- func (*Routes) Descriptor() ([]byte, []int)
- func (m *Routes) GetRoutes() []*types.Route
- func (m *Routes) Marshal() (dAtA []byte, err error)
- func (m *Routes) MarshalTo(dAtA []byte) (int, error)
- func (*Routes) ProtoMessage()
- func (m *Routes) Reset()
- func (m *Routes) Size() (n int)
- func (m *Routes) String() string
- func (m *Routes) Unmarshal(dAtA []byte) error
- type SetGuestDateTimeRequest
- func (*SetGuestDateTimeRequest) Descriptor() ([]byte, []int)
- func (m *SetGuestDateTimeRequest) GetSec() int64
- func (m *SetGuestDateTimeRequest) GetUsec() int64
- func (m *SetGuestDateTimeRequest) Marshal() (dAtA []byte, err error)
- func (m *SetGuestDateTimeRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SetGuestDateTimeRequest) ProtoMessage()
- func (m *SetGuestDateTimeRequest) Reset()
- func (m *SetGuestDateTimeRequest) Size() (n int)
- func (m *SetGuestDateTimeRequest) String() string
- func (m *SetGuestDateTimeRequest) Unmarshal(dAtA []byte) error
- type SignalProcessRequest
- func (*SignalProcessRequest) Descriptor() ([]byte, []int)
- func (m *SignalProcessRequest) GetContainerId() string
- func (m *SignalProcessRequest) GetExecId() string
- func (m *SignalProcessRequest) GetSignal() uint32
- func (m *SignalProcessRequest) Marshal() (dAtA []byte, err error)
- func (m *SignalProcessRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SignalProcessRequest) ProtoMessage()
- func (m *SignalProcessRequest) Reset()
- func (m *SignalProcessRequest) Size() (n int)
- func (m *SignalProcessRequest) String() string
- func (m *SignalProcessRequest) Unmarshal(dAtA []byte) error
- type Solaris
- func (*Solaris) Descriptor() ([]byte, []int)
- func (this *Solaris) Equal(that interface{}) bool
- func (m *Solaris) GetDummy() string
- func (m *Solaris) Marshal() (dAtA []byte, err error)
- func (m *Solaris) MarshalTo(dAtA []byte) (int, error)
- func (*Solaris) ProtoMessage()
- func (m *Solaris) Reset()
- func (m *Solaris) Size() (n int)
- func (m *Solaris) String() string
- func (m *Solaris) Unmarshal(dAtA []byte) error
- type Spec
- func (*Spec) Descriptor() ([]byte, []int)
- func (this *Spec) Equal(that interface{}) bool
- func (m *Spec) GetAnnotations() map[string]string
- func (m *Spec) GetHooks() *Hooks
- func (m *Spec) GetHostname() string
- func (m *Spec) GetLinux() *Linux
- func (m *Spec) GetMounts() []Mount
- func (m *Spec) GetProcess() *Process
- func (m *Spec) GetRoot() *Root
- func (m *Spec) GetSolaris() *Solaris
- func (m *Spec) GetVersion() string
- func (m *Spec) GetWindows() *Windows
- func (m *Spec) Marshal() (dAtA []byte, err error)
- func (m *Spec) MarshalTo(dAtA []byte) (int, error)
- func (*Spec) ProtoMessage()
- func (m *Spec) Reset()
- func (m *Spec) Size() (n int)
- func (m *Spec) String() string
- func (m *Spec) Unmarshal(dAtA []byte) error
- type StartContainerRequest
- func (*StartContainerRequest) Descriptor() ([]byte, []int)
- func (m *StartContainerRequest) GetContainerId() string
- func (m *StartContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *StartContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StartContainerRequest) ProtoMessage()
- func (m *StartContainerRequest) Reset()
- func (m *StartContainerRequest) Size() (n int)
- func (m *StartContainerRequest) String() string
- func (m *StartContainerRequest) Unmarshal(dAtA []byte) error
- type StartTracingRequest
- func (*StartTracingRequest) Descriptor() ([]byte, []int)
- func (m *StartTracingRequest) Marshal() (dAtA []byte, err error)
- func (m *StartTracingRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StartTracingRequest) ProtoMessage()
- func (m *StartTracingRequest) Reset()
- func (m *StartTracingRequest) Size() (n int)
- func (m *StartTracingRequest) String() string
- func (m *StartTracingRequest) Unmarshal(dAtA []byte) error
- type StatsContainerRequest
- func (*StatsContainerRequest) Descriptor() ([]byte, []int)
- func (m *StatsContainerRequest) GetContainerId() string
- func (m *StatsContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *StatsContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StatsContainerRequest) ProtoMessage()
- func (m *StatsContainerRequest) Reset()
- func (m *StatsContainerRequest) Size() (n int)
- func (m *StatsContainerRequest) String() string
- func (m *StatsContainerRequest) Unmarshal(dAtA []byte) error
- type StatsContainerResponse
- func (*StatsContainerResponse) Descriptor() ([]byte, []int)
- func (m *StatsContainerResponse) GetCgroupStats() *CgroupStats
- func (m *StatsContainerResponse) GetNetworkStats() []*NetworkStats
- func (m *StatsContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *StatsContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StatsContainerResponse) ProtoMessage()
- func (m *StatsContainerResponse) Reset()
- func (m *StatsContainerResponse) Size() (n int)
- func (m *StatsContainerResponse) String() string
- func (m *StatsContainerResponse) Unmarshal(dAtA []byte) error
- type StopTracingRequest
- func (*StopTracingRequest) Descriptor() ([]byte, []int)
- func (m *StopTracingRequest) Marshal() (dAtA []byte, err error)
- func (m *StopTracingRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StopTracingRequest) ProtoMessage()
- func (m *StopTracingRequest) Reset()
- func (m *StopTracingRequest) Size() (n int)
- func (m *StopTracingRequest) String() string
- func (m *StopTracingRequest) Unmarshal(dAtA []byte) error
- type Storage
- func (*Storage) Descriptor() ([]byte, []int)
- func (m *Storage) GetDriver() string
- func (m *Storage) GetDriverOptions() []string
- func (m *Storage) GetFstype() string
- func (m *Storage) GetMountPoint() string
- func (m *Storage) GetOptions() []string
- func (m *Storage) GetSource() string
- func (m *Storage) Marshal() (dAtA []byte, err error)
- func (m *Storage) MarshalTo(dAtA []byte) (int, error)
- func (*Storage) ProtoMessage()
- func (m *Storage) Reset()
- func (m *Storage) Size() (n int)
- func (m *Storage) String() string
- func (m *Storage) Unmarshal(dAtA []byte) error
- type StringUser
- func (*StringUser) Descriptor() ([]byte, []int)
- func (m *StringUser) GetAdditionalGids() []string
- func (m *StringUser) GetGid() string
- func (m *StringUser) GetUid() string
- func (m *StringUser) Marshal() (dAtA []byte, err error)
- func (m *StringUser) MarshalTo(dAtA []byte) (int, error)
- func (*StringUser) ProtoMessage()
- func (m *StringUser) Reset()
- func (m *StringUser) Size() (n int)
- func (m *StringUser) String() string
- func (m *StringUser) Unmarshal(dAtA []byte) error
- type ThrottlingData
- func (*ThrottlingData) Descriptor() ([]byte, []int)
- func (m *ThrottlingData) GetPeriods() uint64
- func (m *ThrottlingData) GetThrottledPeriods() uint64
- func (m *ThrottlingData) GetThrottledTime() uint64
- func (m *ThrottlingData) Marshal() (dAtA []byte, err error)
- func (m *ThrottlingData) MarshalTo(dAtA []byte) (int, error)
- func (*ThrottlingData) ProtoMessage()
- func (m *ThrottlingData) Reset()
- func (m *ThrottlingData) Size() (n int)
- func (m *ThrottlingData) String() string
- func (m *ThrottlingData) Unmarshal(dAtA []byte) error
- type TtyWinResizeRequest
- func (*TtyWinResizeRequest) Descriptor() ([]byte, []int)
- func (m *TtyWinResizeRequest) GetColumn() uint32
- func (m *TtyWinResizeRequest) GetContainerId() string
- func (m *TtyWinResizeRequest) GetExecId() string
- func (m *TtyWinResizeRequest) GetRow() uint32
- func (m *TtyWinResizeRequest) Marshal() (dAtA []byte, err error)
- func (m *TtyWinResizeRequest) MarshalTo(dAtA []byte) (int, error)
- func (*TtyWinResizeRequest) ProtoMessage()
- func (m *TtyWinResizeRequest) Reset()
- func (m *TtyWinResizeRequest) Size() (n int)
- func (m *TtyWinResizeRequest) String() string
- func (m *TtyWinResizeRequest) Unmarshal(dAtA []byte) error
- type UpdateContainerRequest
- func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
- func (m *UpdateContainerRequest) GetContainerId() string
- func (m *UpdateContainerRequest) GetResources() *LinuxResources
- func (m *UpdateContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateContainerRequest) ProtoMessage()
- func (m *UpdateContainerRequest) Reset()
- func (m *UpdateContainerRequest) Size() (n int)
- func (m *UpdateContainerRequest) String() string
- func (m *UpdateContainerRequest) Unmarshal(dAtA []byte) error
- type UpdateInterfaceRequest
- func (*UpdateInterfaceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateInterfaceRequest) GetInterface() *types.Interface
- func (m *UpdateInterfaceRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateInterfaceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateInterfaceRequest) ProtoMessage()
- func (m *UpdateInterfaceRequest) Reset()
- func (m *UpdateInterfaceRequest) Size() (n int)
- func (m *UpdateInterfaceRequest) String() string
- func (m *UpdateInterfaceRequest) Unmarshal(dAtA []byte) error
- type UpdateRoutesRequest
- func (*UpdateRoutesRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRoutesRequest) GetRoutes() *Routes
- func (m *UpdateRoutesRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateRoutesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateRoutesRequest) ProtoMessage()
- func (m *UpdateRoutesRequest) Reset()
- func (m *UpdateRoutesRequest) Size() (n int)
- func (m *UpdateRoutesRequest) String() string
- func (m *UpdateRoutesRequest) Unmarshal(dAtA []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (this *User) Equal(that interface{}) bool
- func (m *User) GetAdditionalGids() []uint32
- func (m *User) GetGID() uint32
- func (m *User) GetUID() uint32
- func (m *User) GetUsername() string
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (m *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- type VersionCheckResponse
- func (*VersionCheckResponse) Descriptor() ([]byte, []int)
- func (this *VersionCheckResponse) Equal(that interface{}) bool
- func (m *VersionCheckResponse) GetAgentVersion() string
- func (m *VersionCheckResponse) GetGrpcVersion() string
- func (m *VersionCheckResponse) Marshal() (dAtA []byte, err error)
- func (m *VersionCheckResponse) MarshalTo(dAtA []byte) (int, error)
- func (*VersionCheckResponse) ProtoMessage()
- func (m *VersionCheckResponse) Reset()
- func (m *VersionCheckResponse) Size() (n int)
- func (m *VersionCheckResponse) String() string
- func (m *VersionCheckResponse) Unmarshal(dAtA []byte) error
- type WaitProcessRequest
- func (*WaitProcessRequest) Descriptor() ([]byte, []int)
- func (m *WaitProcessRequest) GetContainerId() string
- func (m *WaitProcessRequest) GetExecId() string
- func (m *WaitProcessRequest) Marshal() (dAtA []byte, err error)
- func (m *WaitProcessRequest) MarshalTo(dAtA []byte) (int, error)
- func (*WaitProcessRequest) ProtoMessage()
- func (m *WaitProcessRequest) Reset()
- func (m *WaitProcessRequest) Size() (n int)
- func (m *WaitProcessRequest) String() string
- func (m *WaitProcessRequest) Unmarshal(dAtA []byte) error
- type WaitProcessResponse
- func (*WaitProcessResponse) Descriptor() ([]byte, []int)
- func (m *WaitProcessResponse) GetStatus() int32
- func (m *WaitProcessResponse) Marshal() (dAtA []byte, err error)
- func (m *WaitProcessResponse) MarshalTo(dAtA []byte) (int, error)
- func (*WaitProcessResponse) ProtoMessage()
- func (m *WaitProcessResponse) Reset()
- func (m *WaitProcessResponse) Size() (n int)
- func (m *WaitProcessResponse) String() string
- func (m *WaitProcessResponse) Unmarshal(dAtA []byte) error
- type Windows
- func (*Windows) Descriptor() ([]byte, []int)
- func (this *Windows) Equal(that interface{}) bool
- func (m *Windows) GetDummy() string
- func (m *Windows) Marshal() (dAtA []byte, err error)
- func (m *Windows) MarshalTo(dAtA []byte) (int, error)
- func (*Windows) ProtoMessage()
- func (m *Windows) Reset()
- func (m *Windows) Size() (n int)
- func (m *Windows) String() string
- func (m *Windows) Unmarshal(dAtA []byte) error
- type WriteStreamRequest
- func (*WriteStreamRequest) Descriptor() ([]byte, []int)
- func (m *WriteStreamRequest) GetContainerId() string
- func (m *WriteStreamRequest) GetData() []byte
- func (m *WriteStreamRequest) GetExecId() string
- func (m *WriteStreamRequest) Marshal() (dAtA []byte, err error)
- func (m *WriteStreamRequest) MarshalTo(dAtA []byte) (int, error)
- func (*WriteStreamRequest) ProtoMessage()
- func (m *WriteStreamRequest) Reset()
- func (m *WriteStreamRequest) Size() (n int)
- func (m *WriteStreamRequest) String() string
- func (m *WriteStreamRequest) Unmarshal(dAtA []byte) error
- type WriteStreamResponse
- func (*WriteStreamResponse) Descriptor() ([]byte, []int)
- func (m *WriteStreamResponse) GetLen() uint32
- func (m *WriteStreamResponse) Marshal() (dAtA []byte, err error)
- func (m *WriteStreamResponse) MarshalTo(dAtA []byte) (int, error)
- func (*WriteStreamResponse) ProtoMessage()
- func (m *WriteStreamResponse) Reset()
- func (m *WriteStreamResponse) Size() (n int)
- func (m *WriteStreamResponse) String() string
- func (m *WriteStreamResponse) Unmarshal(dAtA []byte) error
Constants ¶
const APIVersion = "0.0.1"
APIVersion specifies the version of the gRPC communications protocol used by Kata Containers.
Variables ¶
var ( ErrInvalidLengthAgent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAgent = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthHealth = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHealth = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthOci = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOci = fmt.Errorf("proto: integer overflow") )
var HealthCheckResponse_ServingStatus_name = map[int32]string{
0: "UNKNOWN",
1: "SERVING",
2: "NOT_SERVING",
}
var HealthCheckResponse_ServingStatus_value = map[string]int32{
"UNKNOWN": 0,
"SERVING": 1,
"NOT_SERVING": 2,
}
Functions ¶
func ProcessGRPCtoOCI ¶
ProcessGRPCtoOCI converts a gRPC specification back into an OCI representation
func RegisterAgentServiceServer ¶
func RegisterAgentServiceServer(s *grpc1.Server, srv AgentServiceServer)
func RegisterHealthServer ¶
func RegisterHealthServer(s *grpc1.Server, srv HealthServer)
func ResourcesGRPCtoOCI ¶
func ResourcesGRPCtoOCI(grpcResources *LinuxResources) (*specs.LinuxResources, error)
ResourcesGRPCtoOCI converts an gRPC LinuxResources specification into its OCI representation
Types ¶
type ARPNeighbors ¶
type ARPNeighbors struct {
ARPNeighbors []*types.ARPNeighbor `protobuf:"bytes,1,rep,name=ARPNeighbors" json:"ARPNeighbors,omitempty"`
}
func (*ARPNeighbors) Descriptor ¶
func (*ARPNeighbors) Descriptor() ([]byte, []int)
func (*ARPNeighbors) GetARPNeighbors ¶
func (m *ARPNeighbors) GetARPNeighbors() []*types.ARPNeighbor
func (*ARPNeighbors) Marshal ¶
func (m *ARPNeighbors) Marshal() (dAtA []byte, err error)
func (*ARPNeighbors) ProtoMessage ¶
func (*ARPNeighbors) ProtoMessage()
func (*ARPNeighbors) Reset ¶
func (m *ARPNeighbors) Reset()
func (*ARPNeighbors) Size ¶
func (m *ARPNeighbors) Size() (n int)
func (*ARPNeighbors) String ¶
func (m *ARPNeighbors) String() string
func (*ARPNeighbors) Unmarshal ¶
func (m *ARPNeighbors) Unmarshal(dAtA []byte) error
type AddARPNeighborsRequest ¶
type AddARPNeighborsRequest struct {
Neighbors *ARPNeighbors `protobuf:"bytes,1,opt,name=neighbors" json:"neighbors,omitempty"`
}
func (*AddARPNeighborsRequest) Descriptor ¶
func (*AddARPNeighborsRequest) Descriptor() ([]byte, []int)
func (*AddARPNeighborsRequest) GetNeighbors ¶
func (m *AddARPNeighborsRequest) GetNeighbors() *ARPNeighbors
func (*AddARPNeighborsRequest) Marshal ¶
func (m *AddARPNeighborsRequest) Marshal() (dAtA []byte, err error)
func (*AddARPNeighborsRequest) MarshalTo ¶
func (m *AddARPNeighborsRequest) MarshalTo(dAtA []byte) (int, error)
func (*AddARPNeighborsRequest) ProtoMessage ¶
func (*AddARPNeighborsRequest) ProtoMessage()
func (*AddARPNeighborsRequest) Reset ¶
func (m *AddARPNeighborsRequest) Reset()
func (*AddARPNeighborsRequest) Size ¶
func (m *AddARPNeighborsRequest) Size() (n int)
func (*AddARPNeighborsRequest) String ¶
func (m *AddARPNeighborsRequest) String() string
func (*AddARPNeighborsRequest) Unmarshal ¶
func (m *AddARPNeighborsRequest) Unmarshal(dAtA []byte) error
type AgentDetails ¶
type AgentDetails struct { // Semantic version of agent (see https://semver.org). Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Set if the agent is running as PID 1. InitDaemon bool `protobuf:"varint,2,opt,name=init_daemon,json=initDaemon,proto3" json:"init_daemon,omitempty"` // List of available device handlers. DeviceHandlers []string `protobuf:"bytes,3,rep,name=device_handlers,json=deviceHandlers" json:"device_handlers,omitempty"` // List of available storage handlers. StorageHandlers []string `protobuf:"bytes,4,rep,name=storage_handlers,json=storageHandlers" json:"storage_handlers,omitempty"` // Set only if the agent is built with seccomp support and the guest // environment supports seccomp. SupportsSeccomp bool `protobuf:"varint,5,opt,name=supports_seccomp,json=supportsSeccomp,proto3" json:"supports_seccomp,omitempty"` }
AgentDetails provides information to the client about the running agent.
func (*AgentDetails) Descriptor ¶
func (*AgentDetails) Descriptor() ([]byte, []int)
func (*AgentDetails) GetDeviceHandlers ¶
func (m *AgentDetails) GetDeviceHandlers() []string
func (*AgentDetails) GetInitDaemon ¶
func (m *AgentDetails) GetInitDaemon() bool
func (*AgentDetails) GetStorageHandlers ¶
func (m *AgentDetails) GetStorageHandlers() []string
func (*AgentDetails) GetSupportsSeccomp ¶
func (m *AgentDetails) GetSupportsSeccomp() bool
func (*AgentDetails) GetVersion ¶
func (m *AgentDetails) GetVersion() string
func (*AgentDetails) Marshal ¶
func (m *AgentDetails) Marshal() (dAtA []byte, err error)
func (*AgentDetails) ProtoMessage ¶
func (*AgentDetails) ProtoMessage()
func (*AgentDetails) Reset ¶
func (m *AgentDetails) Reset()
func (*AgentDetails) Size ¶
func (m *AgentDetails) Size() (n int)
func (*AgentDetails) String ¶
func (m *AgentDetails) String() string
func (*AgentDetails) Unmarshal ¶
func (m *AgentDetails) Unmarshal(dAtA []byte) error
type AgentServiceClient ¶
type AgentServiceClient interface { // execution CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) // RemoveContainer will tear down an existing container by forcibly terminating // all processes running inside that container and releasing all internal // resources associated with it. // RemoveContainer will wait for all processes termination before returning. // If any process can not be killed or if it can not be killed after // the RemoveContainerRequest timeout, RemoveContainer will return an error. RemoveContainer(ctx context.Context, in *RemoveContainerRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) ExecProcess(ctx context.Context, in *ExecProcessRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) SignalProcess(ctx context.Context, in *SignalProcessRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) WaitProcess(ctx context.Context, in *WaitProcessRequest, opts ...grpc1.CallOption) (*WaitProcessResponse, error) ListProcesses(ctx context.Context, in *ListProcessesRequest, opts ...grpc1.CallOption) (*ListProcessesResponse, error) UpdateContainer(ctx context.Context, in *UpdateContainerRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) StatsContainer(ctx context.Context, in *StatsContainerRequest, opts ...grpc1.CallOption) (*StatsContainerResponse, error) PauseContainer(ctx context.Context, in *PauseContainerRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) ResumeContainer(ctx context.Context, in *ResumeContainerRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) // stdio WriteStdin(ctx context.Context, in *WriteStreamRequest, opts ...grpc1.CallOption) (*WriteStreamResponse, error) ReadStdout(ctx context.Context, in *ReadStreamRequest, opts ...grpc1.CallOption) (*ReadStreamResponse, error) ReadStderr(ctx context.Context, in *ReadStreamRequest, opts ...grpc1.CallOption) (*ReadStreamResponse, error) CloseStdin(ctx context.Context, in *CloseStdinRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) TtyWinResize(ctx context.Context, in *TtyWinResizeRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) // networking UpdateInterface(ctx context.Context, in *UpdateInterfaceRequest, opts ...grpc1.CallOption) (*types.Interface, error) UpdateRoutes(ctx context.Context, in *UpdateRoutesRequest, opts ...grpc1.CallOption) (*Routes, error) ListInterfaces(ctx context.Context, in *ListInterfacesRequest, opts ...grpc1.CallOption) (*Interfaces, error) ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc1.CallOption) (*Routes, error) AddARPNeighbors(ctx context.Context, in *AddARPNeighborsRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) // tracing StartTracing(ctx context.Context, in *StartTracingRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) StopTracing(ctx context.Context, in *StopTracingRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) // misc (TODO: some rpcs can be replaced by hyperstart-exec) CreateSandbox(ctx context.Context, in *CreateSandboxRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) DestroySandbox(ctx context.Context, in *DestroySandboxRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) OnlineCPUMem(ctx context.Context, in *OnlineCPUMemRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) ReseedRandomDev(ctx context.Context, in *ReseedRandomDevRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) GetGuestDetails(ctx context.Context, in *GuestDetailsRequest, opts ...grpc1.CallOption) (*GuestDetailsResponse, error) MemHotplugByProbe(ctx context.Context, in *MemHotplugByProbeRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) SetGuestDateTime(ctx context.Context, in *SetGuestDateTimeRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc1.CallOption) (*google_protobuf2.Empty, error) GetOOMEvent(ctx context.Context, in *GetOOMEventRequest, opts ...grpc1.CallOption) (*OOMEvent, error) }
func NewAgentServiceClient ¶
func NewAgentServiceClient(cc *grpc1.ClientConn) AgentServiceClient
type AgentServiceServer ¶
type AgentServiceServer interface { // execution CreateContainer(context.Context, *CreateContainerRequest) (*google_protobuf2.Empty, error) StartContainer(context.Context, *StartContainerRequest) (*google_protobuf2.Empty, error) // RemoveContainer will tear down an existing container by forcibly terminating // all processes running inside that container and releasing all internal // resources associated with it. // RemoveContainer will wait for all processes termination before returning. // If any process can not be killed or if it can not be killed after // the RemoveContainerRequest timeout, RemoveContainer will return an error. RemoveContainer(context.Context, *RemoveContainerRequest) (*google_protobuf2.Empty, error) ExecProcess(context.Context, *ExecProcessRequest) (*google_protobuf2.Empty, error) SignalProcess(context.Context, *SignalProcessRequest) (*google_protobuf2.Empty, error) WaitProcess(context.Context, *WaitProcessRequest) (*WaitProcessResponse, error) ListProcesses(context.Context, *ListProcessesRequest) (*ListProcessesResponse, error) UpdateContainer(context.Context, *UpdateContainerRequest) (*google_protobuf2.Empty, error) StatsContainer(context.Context, *StatsContainerRequest) (*StatsContainerResponse, error) PauseContainer(context.Context, *PauseContainerRequest) (*google_protobuf2.Empty, error) ResumeContainer(context.Context, *ResumeContainerRequest) (*google_protobuf2.Empty, error) // stdio WriteStdin(context.Context, *WriteStreamRequest) (*WriteStreamResponse, error) ReadStdout(context.Context, *ReadStreamRequest) (*ReadStreamResponse, error) ReadStderr(context.Context, *ReadStreamRequest) (*ReadStreamResponse, error) CloseStdin(context.Context, *CloseStdinRequest) (*google_protobuf2.Empty, error) TtyWinResize(context.Context, *TtyWinResizeRequest) (*google_protobuf2.Empty, error) // networking UpdateInterface(context.Context, *UpdateInterfaceRequest) (*types.Interface, error) UpdateRoutes(context.Context, *UpdateRoutesRequest) (*Routes, error) ListInterfaces(context.Context, *ListInterfacesRequest) (*Interfaces, error) ListRoutes(context.Context, *ListRoutesRequest) (*Routes, error) AddARPNeighbors(context.Context, *AddARPNeighborsRequest) (*google_protobuf2.Empty, error) // tracing StartTracing(context.Context, *StartTracingRequest) (*google_protobuf2.Empty, error) StopTracing(context.Context, *StopTracingRequest) (*google_protobuf2.Empty, error) // misc (TODO: some rpcs can be replaced by hyperstart-exec) CreateSandbox(context.Context, *CreateSandboxRequest) (*google_protobuf2.Empty, error) DestroySandbox(context.Context, *DestroySandboxRequest) (*google_protobuf2.Empty, error) OnlineCPUMem(context.Context, *OnlineCPUMemRequest) (*google_protobuf2.Empty, error) ReseedRandomDev(context.Context, *ReseedRandomDevRequest) (*google_protobuf2.Empty, error) GetGuestDetails(context.Context, *GuestDetailsRequest) (*GuestDetailsResponse, error) MemHotplugByProbe(context.Context, *MemHotplugByProbeRequest) (*google_protobuf2.Empty, error) SetGuestDateTime(context.Context, *SetGuestDateTimeRequest) (*google_protobuf2.Empty, error) CopyFile(context.Context, *CopyFileRequest) (*google_protobuf2.Empty, error) GetOOMEvent(context.Context, *GetOOMEventRequest) (*OOMEvent, error) }
type BlkioStats ¶
type BlkioStats struct { IoServiceBytesRecursive []*BlkioStatsEntry `` /* 127-byte string literal not displayed */ IoServicedRecursive []*BlkioStatsEntry `protobuf:"bytes,2,rep,name=io_serviced_recursive,json=ioServicedRecursive" json:"io_serviced_recursive,omitempty"` IoQueuedRecursive []*BlkioStatsEntry `protobuf:"bytes,3,rep,name=io_queued_recursive,json=ioQueuedRecursive" json:"io_queued_recursive,omitempty"` IoServiceTimeRecursive []*BlkioStatsEntry `protobuf:"bytes,4,rep,name=io_service_time_recursive,json=ioServiceTimeRecursive" json:"io_service_time_recursive,omitempty"` IoWaitTimeRecursive []*BlkioStatsEntry `protobuf:"bytes,5,rep,name=io_wait_time_recursive,json=ioWaitTimeRecursive" json:"io_wait_time_recursive,omitempty"` IoMergedRecursive []*BlkioStatsEntry `protobuf:"bytes,6,rep,name=io_merged_recursive,json=ioMergedRecursive" json:"io_merged_recursive,omitempty"` IoTimeRecursive []*BlkioStatsEntry `protobuf:"bytes,7,rep,name=io_time_recursive,json=ioTimeRecursive" json:"io_time_recursive,omitempty"` SectorsRecursive []*BlkioStatsEntry `protobuf:"bytes,8,rep,name=sectors_recursive,json=sectorsRecursive" json:"sectors_recursive,omitempty"` }
func (*BlkioStats) Descriptor ¶
func (*BlkioStats) Descriptor() ([]byte, []int)
func (*BlkioStats) GetIoMergedRecursive ¶
func (m *BlkioStats) GetIoMergedRecursive() []*BlkioStatsEntry
func (*BlkioStats) GetIoQueuedRecursive ¶
func (m *BlkioStats) GetIoQueuedRecursive() []*BlkioStatsEntry
func (*BlkioStats) GetIoServiceBytesRecursive ¶
func (m *BlkioStats) GetIoServiceBytesRecursive() []*BlkioStatsEntry
func (*BlkioStats) GetIoServiceTimeRecursive ¶
func (m *BlkioStats) GetIoServiceTimeRecursive() []*BlkioStatsEntry
func (*BlkioStats) GetIoServicedRecursive ¶
func (m *BlkioStats) GetIoServicedRecursive() []*BlkioStatsEntry
func (*BlkioStats) GetIoTimeRecursive ¶
func (m *BlkioStats) GetIoTimeRecursive() []*BlkioStatsEntry
func (*BlkioStats) GetIoWaitTimeRecursive ¶
func (m *BlkioStats) GetIoWaitTimeRecursive() []*BlkioStatsEntry
func (*BlkioStats) GetSectorsRecursive ¶
func (m *BlkioStats) GetSectorsRecursive() []*BlkioStatsEntry
func (*BlkioStats) Marshal ¶
func (m *BlkioStats) Marshal() (dAtA []byte, err error)
func (*BlkioStats) ProtoMessage ¶
func (*BlkioStats) ProtoMessage()
func (*BlkioStats) Reset ¶
func (m *BlkioStats) Reset()
func (*BlkioStats) Size ¶
func (m *BlkioStats) Size() (n int)
func (*BlkioStats) String ¶
func (m *BlkioStats) String() string
func (*BlkioStats) Unmarshal ¶
func (m *BlkioStats) Unmarshal(dAtA []byte) error
type BlkioStatsEntry ¶
type BlkioStatsEntry struct { Major uint64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor uint64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Op string `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"` Value uint64 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"` }
func (*BlkioStatsEntry) Descriptor ¶
func (*BlkioStatsEntry) Descriptor() ([]byte, []int)
func (*BlkioStatsEntry) GetMajor ¶
func (m *BlkioStatsEntry) GetMajor() uint64
func (*BlkioStatsEntry) GetMinor ¶
func (m *BlkioStatsEntry) GetMinor() uint64
func (*BlkioStatsEntry) GetOp ¶
func (m *BlkioStatsEntry) GetOp() string
func (*BlkioStatsEntry) GetValue ¶
func (m *BlkioStatsEntry) GetValue() uint64
func (*BlkioStatsEntry) Marshal ¶
func (m *BlkioStatsEntry) Marshal() (dAtA []byte, err error)
func (*BlkioStatsEntry) ProtoMessage ¶
func (*BlkioStatsEntry) ProtoMessage()
func (*BlkioStatsEntry) Reset ¶
func (m *BlkioStatsEntry) Reset()
func (*BlkioStatsEntry) Size ¶
func (m *BlkioStatsEntry) Size() (n int)
func (*BlkioStatsEntry) String ¶
func (m *BlkioStatsEntry) String() string
func (*BlkioStatsEntry) Unmarshal ¶
func (m *BlkioStatsEntry) Unmarshal(dAtA []byte) error
type Box ¶
type Box struct { // Height is the vertical dimension of a box. Height uint32 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"` // Width is the horizontal dimension of a box. Width uint32 `protobuf:"varint,2,opt,name=Width,proto3" json:"Width,omitempty"` }
func NewPopulatedBox ¶
func (*Box) Descriptor ¶
func (*Box) ProtoMessage ¶
func (*Box) ProtoMessage()
type CgroupStats ¶
type CgroupStats struct { CpuStats *CpuStats `protobuf:"bytes,1,opt,name=cpu_stats,json=cpuStats" json:"cpu_stats,omitempty"` MemoryStats *MemoryStats `protobuf:"bytes,2,opt,name=memory_stats,json=memoryStats" json:"memory_stats,omitempty"` PidsStats *PidsStats `protobuf:"bytes,3,opt,name=pids_stats,json=pidsStats" json:"pids_stats,omitempty"` BlkioStats *BlkioStats `protobuf:"bytes,4,opt,name=blkio_stats,json=blkioStats" json:"blkio_stats,omitempty"` HugetlbStats map[string]*HugetlbStats `` /* 171-byte string literal not displayed */ }
func (*CgroupStats) Descriptor ¶
func (*CgroupStats) Descriptor() ([]byte, []int)
func (*CgroupStats) GetBlkioStats ¶
func (m *CgroupStats) GetBlkioStats() *BlkioStats
func (*CgroupStats) GetCpuStats ¶
func (m *CgroupStats) GetCpuStats() *CpuStats
func (*CgroupStats) GetHugetlbStats ¶
func (m *CgroupStats) GetHugetlbStats() map[string]*HugetlbStats
func (*CgroupStats) GetMemoryStats ¶
func (m *CgroupStats) GetMemoryStats() *MemoryStats
func (*CgroupStats) GetPidsStats ¶
func (m *CgroupStats) GetPidsStats() *PidsStats
func (*CgroupStats) Marshal ¶
func (m *CgroupStats) Marshal() (dAtA []byte, err error)
func (*CgroupStats) ProtoMessage ¶
func (*CgroupStats) ProtoMessage()
func (*CgroupStats) Reset ¶
func (m *CgroupStats) Reset()
func (*CgroupStats) Size ¶
func (m *CgroupStats) Size() (n int)
func (*CgroupStats) String ¶
func (m *CgroupStats) String() string
func (*CgroupStats) Unmarshal ¶
func (m *CgroupStats) Unmarshal(dAtA []byte) error
type CheckRequest ¶
type CheckRequest struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
}
func NewPopulatedCheckRequest ¶
func NewPopulatedCheckRequest(r randyHealth, easy bool) *CheckRequest
func (*CheckRequest) Descriptor ¶
func (*CheckRequest) Descriptor() ([]byte, []int)
func (*CheckRequest) Equal ¶
func (this *CheckRequest) Equal(that interface{}) bool
func (*CheckRequest) GetService ¶
func (m *CheckRequest) GetService() string
func (*CheckRequest) Marshal ¶
func (m *CheckRequest) Marshal() (dAtA []byte, err error)
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) Reset ¶
func (m *CheckRequest) Reset()
func (*CheckRequest) Size ¶
func (m *CheckRequest) Size() (n int)
func (*CheckRequest) String ¶
func (m *CheckRequest) String() string
func (*CheckRequest) Unmarshal ¶
func (m *CheckRequest) Unmarshal(dAtA []byte) error
type CloseStdinRequest ¶
type CloseStdinRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` }
func (*CloseStdinRequest) Descriptor ¶
func (*CloseStdinRequest) Descriptor() ([]byte, []int)
func (*CloseStdinRequest) GetContainerId ¶
func (m *CloseStdinRequest) GetContainerId() string
func (*CloseStdinRequest) GetExecId ¶
func (m *CloseStdinRequest) GetExecId() string
func (*CloseStdinRequest) Marshal ¶
func (m *CloseStdinRequest) Marshal() (dAtA []byte, err error)
func (*CloseStdinRequest) MarshalTo ¶
func (m *CloseStdinRequest) MarshalTo(dAtA []byte) (int, error)
func (*CloseStdinRequest) ProtoMessage ¶
func (*CloseStdinRequest) ProtoMessage()
func (*CloseStdinRequest) Reset ¶
func (m *CloseStdinRequest) Reset()
func (*CloseStdinRequest) Size ¶
func (m *CloseStdinRequest) Size() (n int)
func (*CloseStdinRequest) String ¶
func (m *CloseStdinRequest) String() string
func (*CloseStdinRequest) Unmarshal ¶
func (m *CloseStdinRequest) Unmarshal(dAtA []byte) error
type CopyFileRequest ¶
type CopyFileRequest struct { // Path is the destination file in the guest. It must be absolute, // canonical and below /run. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // FileSize is the expected file size, for security reasons write operations // are made in a temporary file, once it has the expected size, it's moved // to the destination path. FileSize int64 `protobuf:"varint,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` // FileMode is the file mode. FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"` // DirMode is the mode for the parent directories of destination path. DirMode uint32 `protobuf:"varint,4,opt,name=dir_mode,json=dirMode,proto3" json:"dir_mode,omitempty"` // Uid is the numeric user id. Uid int32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` // Gid is the numeric group id. Gid int32 `protobuf:"varint,6,opt,name=gid,proto3" json:"gid,omitempty"` // Offset for the next write operation. Offset int64 `protobuf:"varint,7,opt,name=offset,proto3" json:"offset,omitempty"` // Data to write in the destination file. Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` }
func (*CopyFileRequest) Descriptor ¶
func (*CopyFileRequest) Descriptor() ([]byte, []int)
func (*CopyFileRequest) GetData ¶
func (m *CopyFileRequest) GetData() []byte
func (*CopyFileRequest) GetDirMode ¶
func (m *CopyFileRequest) GetDirMode() uint32
func (*CopyFileRequest) GetFileMode ¶
func (m *CopyFileRequest) GetFileMode() uint32
func (*CopyFileRequest) GetFileSize ¶
func (m *CopyFileRequest) GetFileSize() int64
func (*CopyFileRequest) GetGid ¶
func (m *CopyFileRequest) GetGid() int32
func (*CopyFileRequest) GetOffset ¶
func (m *CopyFileRequest) GetOffset() int64
func (*CopyFileRequest) GetPath ¶
func (m *CopyFileRequest) GetPath() string
func (*CopyFileRequest) GetUid ¶
func (m *CopyFileRequest) GetUid() int32
func (*CopyFileRequest) Marshal ¶
func (m *CopyFileRequest) Marshal() (dAtA []byte, err error)
func (*CopyFileRequest) ProtoMessage ¶
func (*CopyFileRequest) ProtoMessage()
func (*CopyFileRequest) Reset ¶
func (m *CopyFileRequest) Reset()
func (*CopyFileRequest) Size ¶
func (m *CopyFileRequest) Size() (n int)
func (*CopyFileRequest) String ¶
func (m *CopyFileRequest) String() string
func (*CopyFileRequest) Unmarshal ¶
func (m *CopyFileRequest) Unmarshal(dAtA []byte) error
type CpuStats ¶
type CpuStats struct { CpuUsage *CpuUsage `protobuf:"bytes,1,opt,name=cpu_usage,json=cpuUsage" json:"cpu_usage,omitempty"` ThrottlingData *ThrottlingData `protobuf:"bytes,2,opt,name=throttling_data,json=throttlingData" json:"throttling_data,omitempty"` }
func (*CpuStats) Descriptor ¶
func (*CpuStats) GetCpuUsage ¶
func (*CpuStats) GetThrottlingData ¶
func (m *CpuStats) GetThrottlingData() *ThrottlingData
func (*CpuStats) ProtoMessage ¶
func (*CpuStats) ProtoMessage()
type CpuUsage ¶
type CpuUsage struct { TotalUsage uint64 `protobuf:"varint,1,opt,name=total_usage,json=totalUsage,proto3" json:"total_usage,omitempty"` PercpuUsage []uint64 `protobuf:"varint,2,rep,packed,name=percpu_usage,json=percpuUsage" json:"percpu_usage,omitempty"` UsageInKernelmode uint64 `protobuf:"varint,3,opt,name=usage_in_kernelmode,json=usageInKernelmode,proto3" json:"usage_in_kernelmode,omitempty"` UsageInUsermode uint64 `protobuf:"varint,4,opt,name=usage_in_usermode,json=usageInUsermode,proto3" json:"usage_in_usermode,omitempty"` }
func (*CpuUsage) Descriptor ¶
func (*CpuUsage) GetPercpuUsage ¶
func (*CpuUsage) GetTotalUsage ¶
func (*CpuUsage) GetUsageInKernelmode ¶
func (*CpuUsage) GetUsageInUsermode ¶
func (*CpuUsage) ProtoMessage ¶
func (*CpuUsage) ProtoMessage()
type CreateContainerRequest ¶
type CreateContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` StringUser *StringUser `protobuf:"bytes,3,opt,name=string_user,json=stringUser" json:"string_user,omitempty"` Devices []*Device `protobuf:"bytes,4,rep,name=devices" json:"devices,omitempty"` Storages []*Storage `protobuf:"bytes,5,rep,name=storages" json:"storages,omitempty"` OCI *Spec `protobuf:"bytes,6,opt,name=OCI" json:"OCI,omitempty"` // This field is used to indicate if the container needs to join // sandbox shared pid ns or create a new namespace. This field is // meant to override the NEWPID config settings in the OCI spec. // The agent would receive an OCI spec with PID namespace cleared // out altogether and not just the pid ns path. SandboxPidns bool `protobuf:"varint,7,opt,name=sandbox_pidns,json=sandboxPidns,proto3" json:"sandbox_pidns,omitempty"` // This field is used to indicate if container should just join the // the pid namespace of the agent. This functionality is added to // allow debug containers/sidecars to have access to the main pid // namespace. AgentPidns bool `protobuf:"varint,8,opt,name=agent_pidns,json=agentPidns,proto3" json:"agent_pidns,omitempty"` }
func (*CreateContainerRequest) Descriptor ¶
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
func (*CreateContainerRequest) GetAgentPidns ¶
func (m *CreateContainerRequest) GetAgentPidns() bool
func (*CreateContainerRequest) GetContainerId ¶
func (m *CreateContainerRequest) GetContainerId() string
func (*CreateContainerRequest) GetDevices ¶
func (m *CreateContainerRequest) GetDevices() []*Device
func (*CreateContainerRequest) GetExecId ¶
func (m *CreateContainerRequest) GetExecId() string
func (*CreateContainerRequest) GetOCI ¶
func (m *CreateContainerRequest) GetOCI() *Spec
func (*CreateContainerRequest) GetSandboxPidns ¶
func (m *CreateContainerRequest) GetSandboxPidns() bool
func (*CreateContainerRequest) GetStorages ¶
func (m *CreateContainerRequest) GetStorages() []*Storage
func (*CreateContainerRequest) GetStringUser ¶
func (m *CreateContainerRequest) GetStringUser() *StringUser
func (*CreateContainerRequest) Marshal ¶
func (m *CreateContainerRequest) Marshal() (dAtA []byte, err error)
func (*CreateContainerRequest) MarshalTo ¶
func (m *CreateContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) Reset ¶
func (m *CreateContainerRequest) Reset()
func (*CreateContainerRequest) Size ¶
func (m *CreateContainerRequest) Size() (n int)
func (*CreateContainerRequest) String ¶
func (m *CreateContainerRequest) String() string
func (*CreateContainerRequest) Unmarshal ¶
func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error
type CreateSandboxRequest ¶
type CreateSandboxRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Dns []string `protobuf:"bytes,2,rep,name=dns" json:"dns,omitempty"` Storages []*Storage `protobuf:"bytes,3,rep,name=storages" json:"storages,omitempty"` // This field means that a pause process needs to be created by the // agent. This pid namespace of the pause process will be treated as // a shared pid namespace. All containers created will join this shared // pid namespace. SandboxPidns bool `protobuf:"varint,4,opt,name=sandbox_pidns,json=sandboxPidns,proto3" json:"sandbox_pidns,omitempty"` // SandboxId identifies which sandbox is using the agent. We allow only // one sandbox per agent and implicitly require that CreateSandbox is // called before other sandbox/network calls. SandboxId string `protobuf:"bytes,5,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // This field, if non-empty, designates an absolute path to a directory // that the agent will search for OCI hooks to run within the guest. GuestHookPath string `protobuf:"bytes,6,opt,name=guest_hook_path,json=guestHookPath,proto3" json:"guest_hook_path,omitempty"` // This field is the list of kernel modules to be loaded in the guest kernel. KernelModules []*KernelModule `protobuf:"bytes,7,rep,name=kernel_modules,json=kernelModules" json:"kernel_modules,omitempty"` }
func (*CreateSandboxRequest) Descriptor ¶
func (*CreateSandboxRequest) Descriptor() ([]byte, []int)
func (*CreateSandboxRequest) GetDns ¶
func (m *CreateSandboxRequest) GetDns() []string
func (*CreateSandboxRequest) GetGuestHookPath ¶
func (m *CreateSandboxRequest) GetGuestHookPath() string
func (*CreateSandboxRequest) GetHostname ¶
func (m *CreateSandboxRequest) GetHostname() string
func (*CreateSandboxRequest) GetKernelModules ¶
func (m *CreateSandboxRequest) GetKernelModules() []*KernelModule
func (*CreateSandboxRequest) GetSandboxId ¶
func (m *CreateSandboxRequest) GetSandboxId() string
func (*CreateSandboxRequest) GetSandboxPidns ¶
func (m *CreateSandboxRequest) GetSandboxPidns() bool
func (*CreateSandboxRequest) GetStorages ¶
func (m *CreateSandboxRequest) GetStorages() []*Storage
func (*CreateSandboxRequest) Marshal ¶
func (m *CreateSandboxRequest) Marshal() (dAtA []byte, err error)
func (*CreateSandboxRequest) MarshalTo ¶
func (m *CreateSandboxRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateSandboxRequest) ProtoMessage ¶
func (*CreateSandboxRequest) ProtoMessage()
func (*CreateSandboxRequest) Reset ¶
func (m *CreateSandboxRequest) Reset()
func (*CreateSandboxRequest) Size ¶
func (m *CreateSandboxRequest) Size() (n int)
func (*CreateSandboxRequest) String ¶
func (m *CreateSandboxRequest) String() string
func (*CreateSandboxRequest) Unmarshal ¶
func (m *CreateSandboxRequest) Unmarshal(dAtA []byte) error
type DestroySandboxRequest ¶
type DestroySandboxRequest struct { }
func (*DestroySandboxRequest) Descriptor ¶
func (*DestroySandboxRequest) Descriptor() ([]byte, []int)
func (*DestroySandboxRequest) Marshal ¶
func (m *DestroySandboxRequest) Marshal() (dAtA []byte, err error)
func (*DestroySandboxRequest) MarshalTo ¶
func (m *DestroySandboxRequest) MarshalTo(dAtA []byte) (int, error)
func (*DestroySandboxRequest) ProtoMessage ¶
func (*DestroySandboxRequest) ProtoMessage()
func (*DestroySandboxRequest) Reset ¶
func (m *DestroySandboxRequest) Reset()
func (*DestroySandboxRequest) Size ¶
func (m *DestroySandboxRequest) Size() (n int)
func (*DestroySandboxRequest) String ¶
func (m *DestroySandboxRequest) String() string
func (*DestroySandboxRequest) Unmarshal ¶
func (m *DestroySandboxRequest) Unmarshal(dAtA []byte) error
type Device ¶
type Device struct { // Id can be used to identify the device inside the VM. Some devices // might not need it to be identified on the VM, and will rely on the // provided VmPath instead. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Type defines the type of device described. This can be "blk", // "scsi", "vfio", ... // Particularly, this should be used to trigger the use of the // appropriate device handler. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // VmPath can be used by the caller to provide directly the path of // the device as it will appear inside the VM. For some devices, the // device id or the list of options passed might not be enough to find // the device. In those cases, the caller should predict and provide // this vm_path. VmPath string `protobuf:"bytes,3,opt,name=vm_path,json=vmPath,proto3" json:"vm_path,omitempty"` // ContainerPath defines the path where the device should be found inside // the container. This path should match the path of the device from // the device list listed inside the OCI spec. This is used in order // to identify the right device in the spec and update it with the // right options such as major/minor numbers as they appear inside // the VM for instance. Note that an empty ctr_path should be used // to make sure the device handler inside the agent is called, but // no spec update needs to be performed. This has to happen for the // case of rootfs, when a device has to be waited for after it has // been hotplugged. An equivalent Storage entry should be defined if // any mount needs to be performed afterwards. ContainerPath string `protobuf:"bytes,4,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"` // Options allows the caller to define a list of options such as block // sizes, numbers of luns, ... which are very specific to every device // and cannot be generalized through extra fields. Options []string `protobuf:"bytes,5,rep,name=options" json:"options,omitempty"` }
Device represents only the devices that could have been defined through the Linux Device list of the OCI specification.
func (*Device) Descriptor ¶
func (*Device) GetContainerPath ¶
func (*Device) GetOptions ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
type ExecProcessRequest ¶
type ExecProcessRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` StringUser *StringUser `protobuf:"bytes,3,opt,name=string_user,json=stringUser" json:"string_user,omitempty"` Process *Process `protobuf:"bytes,4,opt,name=process" json:"process,omitempty"` }
func (*ExecProcessRequest) Descriptor ¶
func (*ExecProcessRequest) Descriptor() ([]byte, []int)
func (*ExecProcessRequest) GetContainerId ¶
func (m *ExecProcessRequest) GetContainerId() string
func (*ExecProcessRequest) GetExecId ¶
func (m *ExecProcessRequest) GetExecId() string
func (*ExecProcessRequest) GetProcess ¶
func (m *ExecProcessRequest) GetProcess() *Process
func (*ExecProcessRequest) GetStringUser ¶
func (m *ExecProcessRequest) GetStringUser() *StringUser
func (*ExecProcessRequest) Marshal ¶
func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error)
func (*ExecProcessRequest) MarshalTo ¶
func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error)
func (*ExecProcessRequest) ProtoMessage ¶
func (*ExecProcessRequest) ProtoMessage()
func (*ExecProcessRequest) Reset ¶
func (m *ExecProcessRequest) Reset()
func (*ExecProcessRequest) Size ¶
func (m *ExecProcessRequest) Size() (n int)
func (*ExecProcessRequest) String ¶
func (m *ExecProcessRequest) String() string
func (*ExecProcessRequest) Unmarshal ¶
func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error
type GetOOMEventRequest ¶
type GetOOMEventRequest struct { }
func (*GetOOMEventRequest) Descriptor ¶
func (*GetOOMEventRequest) Descriptor() ([]byte, []int)
func (*GetOOMEventRequest) Marshal ¶
func (m *GetOOMEventRequest) Marshal() (dAtA []byte, err error)
func (*GetOOMEventRequest) MarshalTo ¶
func (m *GetOOMEventRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetOOMEventRequest) ProtoMessage ¶
func (*GetOOMEventRequest) ProtoMessage()
func (*GetOOMEventRequest) Reset ¶
func (m *GetOOMEventRequest) Reset()
func (*GetOOMEventRequest) Size ¶
func (m *GetOOMEventRequest) Size() (n int)
func (*GetOOMEventRequest) String ¶
func (m *GetOOMEventRequest) String() string
func (*GetOOMEventRequest) Unmarshal ¶
func (m *GetOOMEventRequest) Unmarshal(dAtA []byte) error
type GuestDetailsRequest ¶
type GuestDetailsRequest struct { // MemBlockSize asks server to return the system memory block size that can be used // for memory hotplug alignment. Typically the server returns what's in // /sys/devices/system/memory/block_size_bytes. MemBlockSize bool `protobuf:"varint,1,opt,name=mem_block_size,json=memBlockSize,proto3" json:"mem_block_size,omitempty"` // MemoryHotplugProbe asks server to return whether guest kernel supports memory hotplug // via probeinterface. Typically the server will check if the path // /sys/devices/system/memory/probe exists. MemHotplugProbe bool `protobuf:"varint,2,opt,name=mem_hotplug_probe,json=memHotplugProbe,proto3" json:"mem_hotplug_probe,omitempty"` }
func (*GuestDetailsRequest) Descriptor ¶
func (*GuestDetailsRequest) Descriptor() ([]byte, []int)
func (*GuestDetailsRequest) GetMemBlockSize ¶
func (m *GuestDetailsRequest) GetMemBlockSize() bool
func (*GuestDetailsRequest) GetMemHotplugProbe ¶
func (m *GuestDetailsRequest) GetMemHotplugProbe() bool
func (*GuestDetailsRequest) Marshal ¶
func (m *GuestDetailsRequest) Marshal() (dAtA []byte, err error)
func (*GuestDetailsRequest) MarshalTo ¶
func (m *GuestDetailsRequest) MarshalTo(dAtA []byte) (int, error)
func (*GuestDetailsRequest) ProtoMessage ¶
func (*GuestDetailsRequest) ProtoMessage()
func (*GuestDetailsRequest) Reset ¶
func (m *GuestDetailsRequest) Reset()
func (*GuestDetailsRequest) Size ¶
func (m *GuestDetailsRequest) Size() (n int)
func (*GuestDetailsRequest) String ¶
func (m *GuestDetailsRequest) String() string
func (*GuestDetailsRequest) Unmarshal ¶
func (m *GuestDetailsRequest) Unmarshal(dAtA []byte) error
type GuestDetailsResponse ¶
type GuestDetailsResponse struct { // MemBlockSizeBytes returns the system memory block size in bytes. MemBlockSizeBytes uint64 `protobuf:"varint,1,opt,name=mem_block_size_bytes,json=memBlockSizeBytes,proto3" json:"mem_block_size_bytes,omitempty"` AgentDetails *AgentDetails `protobuf:"bytes,2,opt,name=agent_details,json=agentDetails" json:"agent_details,omitempty"` SupportMemHotplugProbe bool `` /* 132-byte string literal not displayed */ }
func (*GuestDetailsResponse) Descriptor ¶
func (*GuestDetailsResponse) Descriptor() ([]byte, []int)
func (*GuestDetailsResponse) GetAgentDetails ¶
func (m *GuestDetailsResponse) GetAgentDetails() *AgentDetails
func (*GuestDetailsResponse) GetMemBlockSizeBytes ¶
func (m *GuestDetailsResponse) GetMemBlockSizeBytes() uint64
func (*GuestDetailsResponse) GetSupportMemHotplugProbe ¶
func (m *GuestDetailsResponse) GetSupportMemHotplugProbe() bool
func (*GuestDetailsResponse) Marshal ¶
func (m *GuestDetailsResponse) Marshal() (dAtA []byte, err error)
func (*GuestDetailsResponse) MarshalTo ¶
func (m *GuestDetailsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GuestDetailsResponse) ProtoMessage ¶
func (*GuestDetailsResponse) ProtoMessage()
func (*GuestDetailsResponse) Reset ¶
func (m *GuestDetailsResponse) Reset()
func (*GuestDetailsResponse) Size ¶
func (m *GuestDetailsResponse) Size() (n int)
func (*GuestDetailsResponse) String ¶
func (m *GuestDetailsResponse) String() string
func (*GuestDetailsResponse) Unmarshal ¶
func (m *GuestDetailsResponse) Unmarshal(dAtA []byte) error
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=grpc.HealthCheckResponse_ServingStatus" json:"status,omitempty"`
}
func NewPopulatedHealthCheckResponse ¶
func NewPopulatedHealthCheckResponse(r randyHealth, easy bool) *HealthCheckResponse
func (*HealthCheckResponse) Descriptor ¶
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
func (*HealthCheckResponse) Equal ¶
func (this *HealthCheckResponse) Equal(that interface{}) bool
func (*HealthCheckResponse) GetStatus ¶
func (m *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
func (*HealthCheckResponse) Marshal ¶
func (m *HealthCheckResponse) Marshal() (dAtA []byte, err error)
func (*HealthCheckResponse) MarshalTo ¶
func (m *HealthCheckResponse) MarshalTo(dAtA []byte) (int, error)
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) Reset ¶
func (m *HealthCheckResponse) Reset()
func (*HealthCheckResponse) Size ¶
func (m *HealthCheckResponse) Size() (n int)
func (*HealthCheckResponse) String ¶
func (m *HealthCheckResponse) String() string
func (*HealthCheckResponse) Unmarshal ¶
func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error
type HealthCheckResponse_ServingStatus ¶
type HealthCheckResponse_ServingStatus int32
const ( HealthCheckResponse_UNKNOWN HealthCheckResponse_ServingStatus = 0 HealthCheckResponse_SERVING HealthCheckResponse_ServingStatus = 1 HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2 )
func (HealthCheckResponse_ServingStatus) EnumDescriptor ¶
func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)
func (HealthCheckResponse_ServingStatus) String ¶
func (x HealthCheckResponse_ServingStatus) String() string
type HealthClient ¶
type HealthClient interface { Check(ctx context.Context, in *CheckRequest, opts ...grpc1.CallOption) (*HealthCheckResponse, error) Version(ctx context.Context, in *CheckRequest, opts ...grpc1.CallOption) (*VersionCheckResponse, error) }
func NewHealthClient ¶
func NewHealthClient(cc *grpc1.ClientConn) HealthClient
type HealthServer ¶
type HealthServer interface { Check(context.Context, *CheckRequest) (*HealthCheckResponse, error) Version(context.Context, *CheckRequest) (*VersionCheckResponse, error) }
type Hook ¶
type Hook struct { Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"` Args []string `protobuf:"bytes,2,rep,name=Args" json:"Args,omitempty"` Env []string `protobuf:"bytes,3,rep,name=Env" json:"Env,omitempty"` Timeout int64 `protobuf:"varint,4,opt,name=Timeout,proto3" json:"Timeout,omitempty"` }
func NewPopulatedHook ¶
func (*Hook) Descriptor ¶
func (*Hook) GetTimeout ¶
func (*Hook) ProtoMessage ¶
func (*Hook) ProtoMessage()
type Hooks ¶
type Hooks struct { // Prestart is a list of hooks to be run before the container process is executed. Prestart []Hook `protobuf:"bytes,1,rep,name=Prestart" json:"Prestart"` // Poststart is a list of hooks to be run after the container process is started. Poststart []Hook `protobuf:"bytes,2,rep,name=Poststart" json:"Poststart"` // Poststop is a list of hooks to be run after the container process exits. Poststop []Hook `protobuf:"bytes,3,rep,name=Poststop" json:"Poststop"` }
func NewPopulatedHooks ¶
func (*Hooks) Descriptor ¶
func (*Hooks) GetPoststart ¶
func (*Hooks) GetPoststop ¶
func (*Hooks) GetPrestart ¶
func (*Hooks) ProtoMessage ¶
func (*Hooks) ProtoMessage()
type HugetlbStats ¶
type HugetlbStats struct { Usage uint64 `protobuf:"varint,1,opt,name=usage,proto3" json:"usage,omitempty"` MaxUsage uint64 `protobuf:"varint,2,opt,name=max_usage,json=maxUsage,proto3" json:"max_usage,omitempty"` Failcnt uint64 `protobuf:"varint,3,opt,name=failcnt,proto3" json:"failcnt,omitempty"` }
func (*HugetlbStats) Descriptor ¶
func (*HugetlbStats) Descriptor() ([]byte, []int)
func (*HugetlbStats) GetFailcnt ¶
func (m *HugetlbStats) GetFailcnt() uint64
func (*HugetlbStats) GetMaxUsage ¶
func (m *HugetlbStats) GetMaxUsage() uint64
func (*HugetlbStats) GetUsage ¶
func (m *HugetlbStats) GetUsage() uint64
func (*HugetlbStats) Marshal ¶
func (m *HugetlbStats) Marshal() (dAtA []byte, err error)
func (*HugetlbStats) ProtoMessage ¶
func (*HugetlbStats) ProtoMessage()
func (*HugetlbStats) Reset ¶
func (m *HugetlbStats) Reset()
func (*HugetlbStats) Size ¶
func (m *HugetlbStats) Size() (n int)
func (*HugetlbStats) String ¶
func (m *HugetlbStats) String() string
func (*HugetlbStats) Unmarshal ¶
func (m *HugetlbStats) Unmarshal(dAtA []byte) error
type Interfaces ¶
type Interfaces struct {
Interfaces []*types.Interface `protobuf:"bytes,1,rep,name=Interfaces" json:"Interfaces,omitempty"`
}
func (*Interfaces) Descriptor ¶
func (*Interfaces) Descriptor() ([]byte, []int)
func (*Interfaces) GetInterfaces ¶
func (m *Interfaces) GetInterfaces() []*types.Interface
func (*Interfaces) Marshal ¶
func (m *Interfaces) Marshal() (dAtA []byte, err error)
func (*Interfaces) ProtoMessage ¶
func (*Interfaces) ProtoMessage()
func (*Interfaces) Reset ¶
func (m *Interfaces) Reset()
func (*Interfaces) Size ¶
func (m *Interfaces) Size() (n int)
func (*Interfaces) String ¶
func (m *Interfaces) String() string
func (*Interfaces) Unmarshal ¶
func (m *Interfaces) Unmarshal(dAtA []byte) error
type KernelModule ¶
type KernelModule struct { // This field is the name of the kernel module. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field are the parameters for the kernel module which are // whitespace-delimited key=value pairs passed to modprobe(8). Parameters []string `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"` }
func (*KernelModule) Descriptor ¶
func (*KernelModule) Descriptor() ([]byte, []int)
func (*KernelModule) GetName ¶
func (m *KernelModule) GetName() string
func (*KernelModule) GetParameters ¶
func (m *KernelModule) GetParameters() []string
func (*KernelModule) Marshal ¶
func (m *KernelModule) Marshal() (dAtA []byte, err error)
func (*KernelModule) ProtoMessage ¶
func (*KernelModule) ProtoMessage()
func (*KernelModule) Reset ¶
func (m *KernelModule) Reset()
func (*KernelModule) Size ¶
func (m *KernelModule) Size() (n int)
func (*KernelModule) String ¶
func (m *KernelModule) String() string
func (*KernelModule) Unmarshal ¶
func (m *KernelModule) Unmarshal(dAtA []byte) error
type Linux ¶
type Linux struct { // UIDMapping specifies user mappings for supporting user namespaces. UIDMappings []LinuxIDMapping `protobuf:"bytes,1,rep,name=UIDMappings" json:"UIDMappings"` // GIDMapping specifies group mappings for supporting user namespaces. GIDMappings []LinuxIDMapping `protobuf:"bytes,2,rep,name=GIDMappings" json:"GIDMappings"` // Sysctl are a set of key value pairs that are set for the container on start Sysctl map[string]string `` /* 146-byte string literal not displayed */ // Resources contain cgroup information for handling resource constraints // for the container Resources *LinuxResources `protobuf:"bytes,4,opt,name=Resources" json:"Resources,omitempty"` // CgroupsPath specifies the path to cgroups that are created and/or joined by the container. // The path is expected to be relative to the cgroups mountpoint. // If resources are specified, the cgroups at CgroupsPath will be updated based on resources. CgroupsPath string `protobuf:"bytes,5,opt,name=CgroupsPath,proto3" json:"CgroupsPath,omitempty"` // Namespaces contains the namespaces that are created and/or joined by the container Namespaces []LinuxNamespace `protobuf:"bytes,6,rep,name=Namespaces" json:"Namespaces"` // Devices are a list of device nodes that are created for the container Devices []LinuxDevice `protobuf:"bytes,7,rep,name=Devices" json:"Devices"` // Seccomp specifies the seccomp security settings for the container. Seccomp *LinuxSeccomp `protobuf:"bytes,8,opt,name=Seccomp" json:"Seccomp,omitempty"` // RootfsPropagation is the rootfs mount propagation mode for the container. RootfsPropagation string `protobuf:"bytes,9,opt,name=RootfsPropagation,proto3" json:"RootfsPropagation,omitempty"` // MaskedPaths masks over the provided paths inside the container. MaskedPaths []string `protobuf:"bytes,10,rep,name=MaskedPaths" json:"MaskedPaths,omitempty"` // ReadonlyPaths sets the provided paths as RO inside the container. ReadonlyPaths []string `protobuf:"bytes,11,rep,name=ReadonlyPaths" json:"ReadonlyPaths,omitempty"` // MountLabel specifies the selinux context for the mounts in the container. MountLabel string `protobuf:"bytes,12,opt,name=MountLabel,proto3" json:"MountLabel,omitempty"` // IntelRdt contains Intel Resource Director Technology (RDT) information // for handling resource constraints (e.g., L3 cache) for the container IntelRdt *LinuxIntelRdt `protobuf:"bytes,13,opt,name=IntelRdt" json:"IntelRdt,omitempty"` }
func NewPopulatedLinux ¶
func (*Linux) Descriptor ¶
func (*Linux) GetCgroupsPath ¶
func (*Linux) GetDevices ¶
func (m *Linux) GetDevices() []LinuxDevice
func (*Linux) GetGIDMappings ¶
func (m *Linux) GetGIDMappings() []LinuxIDMapping
func (*Linux) GetIntelRdt ¶
func (m *Linux) GetIntelRdt() *LinuxIntelRdt
func (*Linux) GetMaskedPaths ¶
func (*Linux) GetMountLabel ¶
func (*Linux) GetNamespaces ¶
func (m *Linux) GetNamespaces() []LinuxNamespace
func (*Linux) GetReadonlyPaths ¶
func (*Linux) GetResources ¶
func (m *Linux) GetResources() *LinuxResources
func (*Linux) GetRootfsPropagation ¶
func (*Linux) GetSeccomp ¶
func (m *Linux) GetSeccomp() *LinuxSeccomp
func (*Linux) GetUIDMappings ¶
func (m *Linux) GetUIDMappings() []LinuxIDMapping
func (*Linux) ProtoMessage ¶
func (*Linux) ProtoMessage()
type LinuxBlockIO ¶
type LinuxBlockIO struct { // Specifies per cgroup weight Weight uint32 `protobuf:"varint,1,opt,name=Weight,proto3" json:"Weight,omitempty"` // Specifies tasks' weight in the given cgroup while competing with the cgroup's child cgroups, CFQ scheduler only LeafWeight uint32 `protobuf:"varint,2,opt,name=LeafWeight,proto3" json:"LeafWeight,omitempty"` // Weight per cgroup per device, can override BlkioWeight WeightDevice []LinuxWeightDevice `protobuf:"bytes,3,rep,name=WeightDevice" json:"WeightDevice"` // IO read rate limit per cgroup per device, bytes per second ThrottleReadBpsDevice []LinuxThrottleDevice `protobuf:"bytes,4,rep,name=ThrottleReadBpsDevice" json:"ThrottleReadBpsDevice"` // IO write rate limit per cgroup per device, bytes per second ThrottleWriteBpsDevice []LinuxThrottleDevice `protobuf:"bytes,5,rep,name=ThrottleWriteBpsDevice" json:"ThrottleWriteBpsDevice"` // IO read rate limit per cgroup per device, IO per second ThrottleReadIOPSDevice []LinuxThrottleDevice `protobuf:"bytes,6,rep,name=ThrottleReadIOPSDevice" json:"ThrottleReadIOPSDevice"` // IO write rate limit per cgroup per device, IO per second ThrottleWriteIOPSDevice []LinuxThrottleDevice `protobuf:"bytes,7,rep,name=ThrottleWriteIOPSDevice" json:"ThrottleWriteIOPSDevice"` }
func NewPopulatedLinuxBlockIO ¶
func NewPopulatedLinuxBlockIO(r randyOci, easy bool) *LinuxBlockIO
func (*LinuxBlockIO) Descriptor ¶
func (*LinuxBlockIO) Descriptor() ([]byte, []int)
func (*LinuxBlockIO) Equal ¶
func (this *LinuxBlockIO) Equal(that interface{}) bool
func (*LinuxBlockIO) GetLeafWeight ¶
func (m *LinuxBlockIO) GetLeafWeight() uint32
func (*LinuxBlockIO) GetThrottleReadBpsDevice ¶
func (m *LinuxBlockIO) GetThrottleReadBpsDevice() []LinuxThrottleDevice
func (*LinuxBlockIO) GetThrottleReadIOPSDevice ¶
func (m *LinuxBlockIO) GetThrottleReadIOPSDevice() []LinuxThrottleDevice
func (*LinuxBlockIO) GetThrottleWriteBpsDevice ¶
func (m *LinuxBlockIO) GetThrottleWriteBpsDevice() []LinuxThrottleDevice
func (*LinuxBlockIO) GetThrottleWriteIOPSDevice ¶
func (m *LinuxBlockIO) GetThrottleWriteIOPSDevice() []LinuxThrottleDevice
func (*LinuxBlockIO) GetWeight ¶
func (m *LinuxBlockIO) GetWeight() uint32
func (*LinuxBlockIO) GetWeightDevice ¶
func (m *LinuxBlockIO) GetWeightDevice() []LinuxWeightDevice
func (*LinuxBlockIO) Marshal ¶
func (m *LinuxBlockIO) Marshal() (dAtA []byte, err error)
func (*LinuxBlockIO) ProtoMessage ¶
func (*LinuxBlockIO) ProtoMessage()
func (*LinuxBlockIO) Reset ¶
func (m *LinuxBlockIO) Reset()
func (*LinuxBlockIO) Size ¶
func (m *LinuxBlockIO) Size() (n int)
func (*LinuxBlockIO) String ¶
func (m *LinuxBlockIO) String() string
func (*LinuxBlockIO) Unmarshal ¶
func (m *LinuxBlockIO) Unmarshal(dAtA []byte) error
type LinuxCPU ¶
type LinuxCPU struct { uint64 `protobuf:"varint,1,opt,name=Shares,proto3" json:"Shares,omitempty"` // CPU hardcap limit (in usecs). Allowed cpu time in a given period. Quota int64 `protobuf:"varint,2,opt,name=Quota,proto3" json:"Quota,omitempty"` // CPU period to be used for hardcapping (in usecs). Period uint64 `protobuf:"varint,3,opt,name=Period,proto3" json:"Period,omitempty"` // How much time realtime scheduling may use (in usecs). RealtimeRuntime int64 `protobuf:"varint,4,opt,name=RealtimeRuntime,proto3" json:"RealtimeRuntime,omitempty"` // CPU period to be used for realtime scheduling (in usecs). RealtimePeriod uint64 `protobuf:"varint,5,opt,name=RealtimePeriod,proto3" json:"RealtimePeriod,omitempty"` // CPUs to use within the cpuset. Default is to use any CPU available. Cpus string `protobuf:"bytes,6,opt,name=Cpus,proto3" json:"Cpus,omitempty"` // List of memory nodes in the cpuset. Default is to use any available memory node. Mems string `protobuf:"bytes,7,opt,name=Mems,proto3" json:"Mems,omitempty"` }Shares
func NewPopulatedLinuxCPU ¶
func (*LinuxCPU) Descriptor ¶
func (*LinuxCPU) GetRealtimePeriod ¶
func (*LinuxCPU) GetRealtimeRuntime ¶
func (*LinuxCPU) ProtoMessage ¶
func (*LinuxCPU) ProtoMessage()
type LinuxCapabilities ¶
type LinuxCapabilities struct { // Bounding is the set of capabilities checked by the kernel. Bounding []string `protobuf:"bytes,1,rep,name=Bounding" json:"Bounding,omitempty"` // Effective is the set of capabilities checked by the kernel. Effective []string `protobuf:"bytes,2,rep,name=Effective" json:"Effective,omitempty"` // Inheritable is the capabilities preserved across execve. Inheritable []string `protobuf:"bytes,3,rep,name=Inheritable" json:"Inheritable,omitempty"` // Permitted is the limiting superset for effective capabilities. Permitted []string `protobuf:"bytes,4,rep,name=Permitted" json:"Permitted,omitempty"` // Ambient is the ambient set of capabilities that are kept. Ambient []string `protobuf:"bytes,5,rep,name=Ambient" json:"Ambient,omitempty"` }
func NewPopulatedLinuxCapabilities ¶
func NewPopulatedLinuxCapabilities(r randyOci, easy bool) *LinuxCapabilities
func (*LinuxCapabilities) Descriptor ¶
func (*LinuxCapabilities) Descriptor() ([]byte, []int)
func (*LinuxCapabilities) Equal ¶
func (this *LinuxCapabilities) Equal(that interface{}) bool
func (*LinuxCapabilities) GetAmbient ¶
func (m *LinuxCapabilities) GetAmbient() []string
func (*LinuxCapabilities) GetBounding ¶
func (m *LinuxCapabilities) GetBounding() []string
func (*LinuxCapabilities) GetEffective ¶
func (m *LinuxCapabilities) GetEffective() []string
func (*LinuxCapabilities) GetInheritable ¶
func (m *LinuxCapabilities) GetInheritable() []string
func (*LinuxCapabilities) GetPermitted ¶
func (m *LinuxCapabilities) GetPermitted() []string
func (*LinuxCapabilities) Marshal ¶
func (m *LinuxCapabilities) Marshal() (dAtA []byte, err error)
func (*LinuxCapabilities) MarshalTo ¶
func (m *LinuxCapabilities) MarshalTo(dAtA []byte) (int, error)
func (*LinuxCapabilities) ProtoMessage ¶
func (*LinuxCapabilities) ProtoMessage()
func (*LinuxCapabilities) Reset ¶
func (m *LinuxCapabilities) Reset()
func (*LinuxCapabilities) Size ¶
func (m *LinuxCapabilities) Size() (n int)
func (*LinuxCapabilities) String ¶
func (m *LinuxCapabilities) String() string
func (*LinuxCapabilities) Unmarshal ¶
func (m *LinuxCapabilities) Unmarshal(dAtA []byte) error
type LinuxDevice ¶
type LinuxDevice struct { // Path to the device. Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"` // Device type, block, char, etc. Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"` // Major is the device's major number. Major int64 `protobuf:"varint,3,opt,name=Major,proto3" json:"Major,omitempty"` // Minor is the device's minor number. Minor int64 `protobuf:"varint,4,opt,name=Minor,proto3" json:"Minor,omitempty"` // FileMode permission bits for the device. FileMode uint32 `protobuf:"varint,5,opt,name=FileMode,proto3" json:"FileMode,omitempty"` // UID of the device. UID uint32 `protobuf:"varint,6,opt,name=UID,proto3" json:"UID,omitempty"` // Gid of the device. GID uint32 `protobuf:"varint,7,opt,name=GID,proto3" json:"GID,omitempty"` }
func NewPopulatedLinuxDevice ¶
func NewPopulatedLinuxDevice(r randyOci, easy bool) *LinuxDevice
func (*LinuxDevice) Descriptor ¶
func (*LinuxDevice) Descriptor() ([]byte, []int)
func (*LinuxDevice) Equal ¶
func (this *LinuxDevice) Equal(that interface{}) bool
func (*LinuxDevice) GetFileMode ¶
func (m *LinuxDevice) GetFileMode() uint32
func (*LinuxDevice) GetGID ¶
func (m *LinuxDevice) GetGID() uint32
func (*LinuxDevice) GetMajor ¶
func (m *LinuxDevice) GetMajor() int64
func (*LinuxDevice) GetMinor ¶
func (m *LinuxDevice) GetMinor() int64
func (*LinuxDevice) GetPath ¶
func (m *LinuxDevice) GetPath() string
func (*LinuxDevice) GetType ¶
func (m *LinuxDevice) GetType() string
func (*LinuxDevice) GetUID ¶
func (m *LinuxDevice) GetUID() uint32
func (*LinuxDevice) Marshal ¶
func (m *LinuxDevice) Marshal() (dAtA []byte, err error)
func (*LinuxDevice) ProtoMessage ¶
func (*LinuxDevice) ProtoMessage()
func (*LinuxDevice) Reset ¶
func (m *LinuxDevice) Reset()
func (*LinuxDevice) Size ¶
func (m *LinuxDevice) Size() (n int)
func (*LinuxDevice) String ¶
func (m *LinuxDevice) String() string
func (*LinuxDevice) Unmarshal ¶
func (m *LinuxDevice) Unmarshal(dAtA []byte) error
type LinuxDeviceCgroup ¶
type LinuxDeviceCgroup struct { // Allow or deny Allow bool `protobuf:"varint,1,opt,name=Allow,proto3" json:"Allow,omitempty"` // Device type, block, char, etc. Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"` // Major is the device's major number. Major int64 `protobuf:"varint,3,opt,name=Major,proto3" json:"Major,omitempty"` // Minor is the device's minor number. Minor int64 `protobuf:"varint,4,opt,name=Minor,proto3" json:"Minor,omitempty"` // Cgroup access permissions format, rwm. Access string `protobuf:"bytes,5,opt,name=Access,proto3" json:"Access,omitempty"` }
func NewPopulatedLinuxDeviceCgroup ¶
func NewPopulatedLinuxDeviceCgroup(r randyOci, easy bool) *LinuxDeviceCgroup
func (*LinuxDeviceCgroup) Descriptor ¶
func (*LinuxDeviceCgroup) Descriptor() ([]byte, []int)
func (*LinuxDeviceCgroup) Equal ¶
func (this *LinuxDeviceCgroup) Equal(that interface{}) bool
func (*LinuxDeviceCgroup) GetAccess ¶
func (m *LinuxDeviceCgroup) GetAccess() string
func (*LinuxDeviceCgroup) GetAllow ¶
func (m *LinuxDeviceCgroup) GetAllow() bool
func (*LinuxDeviceCgroup) GetMajor ¶
func (m *LinuxDeviceCgroup) GetMajor() int64
func (*LinuxDeviceCgroup) GetMinor ¶
func (m *LinuxDeviceCgroup) GetMinor() int64
func (*LinuxDeviceCgroup) GetType ¶
func (m *LinuxDeviceCgroup) GetType() string
func (*LinuxDeviceCgroup) Marshal ¶
func (m *LinuxDeviceCgroup) Marshal() (dAtA []byte, err error)
func (*LinuxDeviceCgroup) MarshalTo ¶
func (m *LinuxDeviceCgroup) MarshalTo(dAtA []byte) (int, error)
func (*LinuxDeviceCgroup) ProtoMessage ¶
func (*LinuxDeviceCgroup) ProtoMessage()
func (*LinuxDeviceCgroup) Reset ¶
func (m *LinuxDeviceCgroup) Reset()
func (*LinuxDeviceCgroup) Size ¶
func (m *LinuxDeviceCgroup) Size() (n int)
func (*LinuxDeviceCgroup) String ¶
func (m *LinuxDeviceCgroup) String() string
func (*LinuxDeviceCgroup) Unmarshal ¶
func (m *LinuxDeviceCgroup) Unmarshal(dAtA []byte) error
type LinuxHugepageLimit ¶
type LinuxHugepageLimit struct { // Pagesize is the hugepage size Pagesize string `protobuf:"bytes,1,opt,name=Pagesize,proto3" json:"Pagesize,omitempty"` // Limit is the limit of "hugepagesize" hugetlb usage Limit uint64 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"` }
func NewPopulatedLinuxHugepageLimit ¶
func NewPopulatedLinuxHugepageLimit(r randyOci, easy bool) *LinuxHugepageLimit
func (*LinuxHugepageLimit) Descriptor ¶
func (*LinuxHugepageLimit) Descriptor() ([]byte, []int)
func (*LinuxHugepageLimit) Equal ¶
func (this *LinuxHugepageLimit) Equal(that interface{}) bool
func (*LinuxHugepageLimit) GetLimit ¶
func (m *LinuxHugepageLimit) GetLimit() uint64
func (*LinuxHugepageLimit) GetPagesize ¶
func (m *LinuxHugepageLimit) GetPagesize() string
func (*LinuxHugepageLimit) Marshal ¶
func (m *LinuxHugepageLimit) Marshal() (dAtA []byte, err error)
func (*LinuxHugepageLimit) MarshalTo ¶
func (m *LinuxHugepageLimit) MarshalTo(dAtA []byte) (int, error)
func (*LinuxHugepageLimit) ProtoMessage ¶
func (*LinuxHugepageLimit) ProtoMessage()
func (*LinuxHugepageLimit) Reset ¶
func (m *LinuxHugepageLimit) Reset()
func (*LinuxHugepageLimit) Size ¶
func (m *LinuxHugepageLimit) Size() (n int)
func (*LinuxHugepageLimit) String ¶
func (m *LinuxHugepageLimit) String() string
func (*LinuxHugepageLimit) Unmarshal ¶
func (m *LinuxHugepageLimit) Unmarshal(dAtA []byte) error
type LinuxIDMapping ¶
type LinuxIDMapping struct { // HostID is the starting UID/GID on the host to be mapped to 'ContainerID' HostID uint32 `protobuf:"varint,1,opt,name=HostID,proto3" json:"HostID,omitempty"` // ContainerID is the starting UID/GID in the container ContainerID uint32 `protobuf:"varint,2,opt,name=ContainerID,proto3" json:"ContainerID,omitempty"` // Size is the number of IDs to be mapped Size_ uint32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"` }
func NewPopulatedLinuxIDMapping ¶
func NewPopulatedLinuxIDMapping(r randyOci, easy bool) *LinuxIDMapping
func (*LinuxIDMapping) Descriptor ¶
func (*LinuxIDMapping) Descriptor() ([]byte, []int)
func (*LinuxIDMapping) Equal ¶
func (this *LinuxIDMapping) Equal(that interface{}) bool
func (*LinuxIDMapping) GetContainerID ¶
func (m *LinuxIDMapping) GetContainerID() uint32
func (*LinuxIDMapping) GetHostID ¶
func (m *LinuxIDMapping) GetHostID() uint32
func (*LinuxIDMapping) GetSize_ ¶
func (m *LinuxIDMapping) GetSize_() uint32
func (*LinuxIDMapping) Marshal ¶
func (m *LinuxIDMapping) Marshal() (dAtA []byte, err error)
func (*LinuxIDMapping) ProtoMessage ¶
func (*LinuxIDMapping) ProtoMessage()
func (*LinuxIDMapping) Reset ¶
func (m *LinuxIDMapping) Reset()
func (*LinuxIDMapping) Size ¶
func (m *LinuxIDMapping) Size() (n int)
func (*LinuxIDMapping) String ¶
func (m *LinuxIDMapping) String() string
func (*LinuxIDMapping) Unmarshal ¶
func (m *LinuxIDMapping) Unmarshal(dAtA []byte) error
type LinuxIntelRdt ¶
type LinuxIntelRdt struct { // The schema for L3 cache id and capacity bitmask (CBM) // Format: "L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;..." L3CacheSchema string `protobuf:"bytes,1,opt,name=L3CacheSchema,proto3" json:"L3CacheSchema,omitempty"` }
func NewPopulatedLinuxIntelRdt ¶
func NewPopulatedLinuxIntelRdt(r randyOci, easy bool) *LinuxIntelRdt
func (*LinuxIntelRdt) Descriptor ¶
func (*LinuxIntelRdt) Descriptor() ([]byte, []int)
func (*LinuxIntelRdt) Equal ¶
func (this *LinuxIntelRdt) Equal(that interface{}) bool
func (*LinuxIntelRdt) GetL3CacheSchema ¶
func (m *LinuxIntelRdt) GetL3CacheSchema() string
func (*LinuxIntelRdt) Marshal ¶
func (m *LinuxIntelRdt) Marshal() (dAtA []byte, err error)
func (*LinuxIntelRdt) ProtoMessage ¶
func (*LinuxIntelRdt) ProtoMessage()
func (*LinuxIntelRdt) Reset ¶
func (m *LinuxIntelRdt) Reset()
func (*LinuxIntelRdt) Size ¶
func (m *LinuxIntelRdt) Size() (n int)
func (*LinuxIntelRdt) String ¶
func (m *LinuxIntelRdt) String() string
func (*LinuxIntelRdt) Unmarshal ¶
func (m *LinuxIntelRdt) Unmarshal(dAtA []byte) error
type LinuxInterfacePriority ¶
type LinuxInterfacePriority struct { // Name is the name of the network interface Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // Priority for the interface Priority uint32 `protobuf:"varint,2,opt,name=Priority,proto3" json:"Priority,omitempty"` }
func NewPopulatedLinuxInterfacePriority ¶
func NewPopulatedLinuxInterfacePriority(r randyOci, easy bool) *LinuxInterfacePriority
func (*LinuxInterfacePriority) Descriptor ¶
func (*LinuxInterfacePriority) Descriptor() ([]byte, []int)
func (*LinuxInterfacePriority) Equal ¶
func (this *LinuxInterfacePriority) Equal(that interface{}) bool
func (*LinuxInterfacePriority) GetName ¶
func (m *LinuxInterfacePriority) GetName() string
func (*LinuxInterfacePriority) GetPriority ¶
func (m *LinuxInterfacePriority) GetPriority() uint32
func (*LinuxInterfacePriority) Marshal ¶
func (m *LinuxInterfacePriority) Marshal() (dAtA []byte, err error)
func (*LinuxInterfacePriority) MarshalTo ¶
func (m *LinuxInterfacePriority) MarshalTo(dAtA []byte) (int, error)
func (*LinuxInterfacePriority) ProtoMessage ¶
func (*LinuxInterfacePriority) ProtoMessage()
func (*LinuxInterfacePriority) Reset ¶
func (m *LinuxInterfacePriority) Reset()
func (*LinuxInterfacePriority) Size ¶
func (m *LinuxInterfacePriority) Size() (n int)
func (*LinuxInterfacePriority) String ¶
func (m *LinuxInterfacePriority) String() string
func (*LinuxInterfacePriority) Unmarshal ¶
func (m *LinuxInterfacePriority) Unmarshal(dAtA []byte) error
type LinuxMemory ¶
type LinuxMemory struct { // Memory limit (in bytes). Limit int64 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"` // Memory reservation or soft_limit (in bytes). Reservation int64 `protobuf:"varint,2,opt,name=Reservation,proto3" json:"Reservation,omitempty"` // Total memory limit (memory + swap). Swap int64 `protobuf:"varint,3,opt,name=Swap,proto3" json:"Swap,omitempty"` // Kernel memory limit (in bytes). Kernel int64 `protobuf:"varint,4,opt,name=Kernel,proto3" json:"Kernel,omitempty"` // Kernel memory limit for tcp (in bytes) KernelTCP int64 `protobuf:"varint,5,opt,name=KernelTCP,proto3" json:"KernelTCP,omitempty"` // How aggressive the kernel will swap memory pages. Swappiness uint64 `protobuf:"varint,6,opt,name=Swappiness,proto3" json:"Swappiness,omitempty"` // DisableOOMKiller disables the OOM killer for out of memory conditions DisableOOMKiller bool `protobuf:"varint,7,opt,name=DisableOOMKiller,proto3" json:"DisableOOMKiller,omitempty"` }
func NewPopulatedLinuxMemory ¶
func NewPopulatedLinuxMemory(r randyOci, easy bool) *LinuxMemory
func (*LinuxMemory) Descriptor ¶
func (*LinuxMemory) Descriptor() ([]byte, []int)
func (*LinuxMemory) Equal ¶
func (this *LinuxMemory) Equal(that interface{}) bool
func (*LinuxMemory) GetDisableOOMKiller ¶
func (m *LinuxMemory) GetDisableOOMKiller() bool
func (*LinuxMemory) GetKernel ¶
func (m *LinuxMemory) GetKernel() int64
func (*LinuxMemory) GetKernelTCP ¶
func (m *LinuxMemory) GetKernelTCP() int64
func (*LinuxMemory) GetLimit ¶
func (m *LinuxMemory) GetLimit() int64
func (*LinuxMemory) GetReservation ¶
func (m *LinuxMemory) GetReservation() int64
func (*LinuxMemory) GetSwap ¶
func (m *LinuxMemory) GetSwap() int64
func (*LinuxMemory) GetSwappiness ¶
func (m *LinuxMemory) GetSwappiness() uint64
func (*LinuxMemory) Marshal ¶
func (m *LinuxMemory) Marshal() (dAtA []byte, err error)
func (*LinuxMemory) ProtoMessage ¶
func (*LinuxMemory) ProtoMessage()
func (*LinuxMemory) Reset ¶
func (m *LinuxMemory) Reset()
func (*LinuxMemory) Size ¶
func (m *LinuxMemory) Size() (n int)
func (*LinuxMemory) String ¶
func (m *LinuxMemory) String() string
func (*LinuxMemory) Unmarshal ¶
func (m *LinuxMemory) Unmarshal(dAtA []byte) error
type LinuxNamespace ¶
type LinuxNamespace struct { // Type is the type of namespace Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` // Path is a path to an existing namespace persisted on disk that can be joined // and is of the same type Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"` }
func NewPopulatedLinuxNamespace ¶
func NewPopulatedLinuxNamespace(r randyOci, easy bool) *LinuxNamespace
func (*LinuxNamespace) Descriptor ¶
func (*LinuxNamespace) Descriptor() ([]byte, []int)
func (*LinuxNamespace) Equal ¶
func (this *LinuxNamespace) Equal(that interface{}) bool
func (*LinuxNamespace) GetPath ¶
func (m *LinuxNamespace) GetPath() string
func (*LinuxNamespace) GetType ¶
func (m *LinuxNamespace) GetType() string
func (*LinuxNamespace) Marshal ¶
func (m *LinuxNamespace) Marshal() (dAtA []byte, err error)
func (*LinuxNamespace) ProtoMessage ¶
func (*LinuxNamespace) ProtoMessage()
func (*LinuxNamespace) Reset ¶
func (m *LinuxNamespace) Reset()
func (*LinuxNamespace) Size ¶
func (m *LinuxNamespace) Size() (n int)
func (*LinuxNamespace) String ¶
func (m *LinuxNamespace) String() string
func (*LinuxNamespace) Unmarshal ¶
func (m *LinuxNamespace) Unmarshal(dAtA []byte) error
type LinuxNetwork ¶
type LinuxNetwork struct { // Set class identifier for container's network packets ClassID uint32 `protobuf:"varint,1,opt,name=ClassID,proto3" json:"ClassID,omitempty"` // Set priority of network traffic for container Priorities []LinuxInterfacePriority `protobuf:"bytes,2,rep,name=Priorities" json:"Priorities"` }
func NewPopulatedLinuxNetwork ¶
func NewPopulatedLinuxNetwork(r randyOci, easy bool) *LinuxNetwork
func (*LinuxNetwork) Descriptor ¶
func (*LinuxNetwork) Descriptor() ([]byte, []int)
func (*LinuxNetwork) Equal ¶
func (this *LinuxNetwork) Equal(that interface{}) bool
func (*LinuxNetwork) GetClassID ¶
func (m *LinuxNetwork) GetClassID() uint32
func (*LinuxNetwork) GetPriorities ¶
func (m *LinuxNetwork) GetPriorities() []LinuxInterfacePriority
func (*LinuxNetwork) Marshal ¶
func (m *LinuxNetwork) Marshal() (dAtA []byte, err error)
func (*LinuxNetwork) ProtoMessage ¶
func (*LinuxNetwork) ProtoMessage()
func (*LinuxNetwork) Reset ¶
func (m *LinuxNetwork) Reset()
func (*LinuxNetwork) Size ¶
func (m *LinuxNetwork) Size() (n int)
func (*LinuxNetwork) String ¶
func (m *LinuxNetwork) String() string
func (*LinuxNetwork) Unmarshal ¶
func (m *LinuxNetwork) Unmarshal(dAtA []byte) error
type LinuxPids ¶
type LinuxPids struct { // Maximum number of PIDs. Default is "no limit". Limit int64 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"` }
func NewPopulatedLinuxPids ¶
func (*LinuxPids) Descriptor ¶
func (*LinuxPids) ProtoMessage ¶
func (*LinuxPids) ProtoMessage()
type LinuxResources ¶
type LinuxResources struct { // Devices configures the device whitelist. Devices []LinuxDeviceCgroup `protobuf:"bytes,1,rep,name=Devices" json:"Devices"` // Memory restriction configuration Memory *LinuxMemory `protobuf:"bytes,2,opt,name=Memory" json:"Memory,omitempty"` // CPU resource restriction configuration CPU *LinuxCPU `protobuf:"bytes,3,opt,name=CPU" json:"CPU,omitempty"` // Task resource restriction configuration. Pids *LinuxPids `protobuf:"bytes,4,opt,name=Pids" json:"Pids,omitempty"` // BlockIO restriction configuration BlockIO *LinuxBlockIO `protobuf:"bytes,5,opt,name=BlockIO" json:"BlockIO,omitempty"` // Hugetlb limit (in bytes) HugepageLimits []LinuxHugepageLimit `protobuf:"bytes,6,rep,name=HugepageLimits" json:"HugepageLimits"` // Network restriction configuration Network *LinuxNetwork `protobuf:"bytes,7,opt,name=Network" json:"Network,omitempty"` }
func NewPopulatedLinuxResources ¶
func NewPopulatedLinuxResources(r randyOci, easy bool) *LinuxResources
func ResourcesOCItoGRPC ¶
func ResourcesOCItoGRPC(ociResources *specs.LinuxResources) (*LinuxResources, error)
ResourcesOCItoGRPC converts an OCI LinuxResources specification into its gRPC representation
func (*LinuxResources) Descriptor ¶
func (*LinuxResources) Descriptor() ([]byte, []int)
func (*LinuxResources) Equal ¶
func (this *LinuxResources) Equal(that interface{}) bool
func (*LinuxResources) GetBlockIO ¶
func (m *LinuxResources) GetBlockIO() *LinuxBlockIO
func (*LinuxResources) GetCPU ¶
func (m *LinuxResources) GetCPU() *LinuxCPU
func (*LinuxResources) GetDevices ¶
func (m *LinuxResources) GetDevices() []LinuxDeviceCgroup
func (*LinuxResources) GetHugepageLimits ¶
func (m *LinuxResources) GetHugepageLimits() []LinuxHugepageLimit
func (*LinuxResources) GetMemory ¶
func (m *LinuxResources) GetMemory() *LinuxMemory
func (*LinuxResources) GetNetwork ¶
func (m *LinuxResources) GetNetwork() *LinuxNetwork
func (*LinuxResources) GetPids ¶
func (m *LinuxResources) GetPids() *LinuxPids
func (*LinuxResources) Marshal ¶
func (m *LinuxResources) Marshal() (dAtA []byte, err error)
func (*LinuxResources) ProtoMessage ¶
func (*LinuxResources) ProtoMessage()
func (*LinuxResources) Reset ¶
func (m *LinuxResources) Reset()
func (*LinuxResources) Size ¶
func (m *LinuxResources) Size() (n int)
func (*LinuxResources) String ¶
func (m *LinuxResources) String() string
func (*LinuxResources) Unmarshal ¶
func (m *LinuxResources) Unmarshal(dAtA []byte) error
type LinuxSeccomp ¶
type LinuxSeccomp struct { DefaultAction string `protobuf:"bytes,1,opt,name=DefaultAction,proto3" json:"DefaultAction,omitempty"` Architectures []string `protobuf:"bytes,2,rep,name=Architectures" json:"Architectures,omitempty"` Syscalls []LinuxSyscall `protobuf:"bytes,3,rep,name=Syscalls" json:"Syscalls"` }
func NewPopulatedLinuxSeccomp ¶
func NewPopulatedLinuxSeccomp(r randyOci, easy bool) *LinuxSeccomp
func (*LinuxSeccomp) Descriptor ¶
func (*LinuxSeccomp) Descriptor() ([]byte, []int)
func (*LinuxSeccomp) Equal ¶
func (this *LinuxSeccomp) Equal(that interface{}) bool
func (*LinuxSeccomp) GetArchitectures ¶
func (m *LinuxSeccomp) GetArchitectures() []string
func (*LinuxSeccomp) GetDefaultAction ¶
func (m *LinuxSeccomp) GetDefaultAction() string
func (*LinuxSeccomp) GetSyscalls ¶
func (m *LinuxSeccomp) GetSyscalls() []LinuxSyscall
func (*LinuxSeccomp) Marshal ¶
func (m *LinuxSeccomp) Marshal() (dAtA []byte, err error)
func (*LinuxSeccomp) ProtoMessage ¶
func (*LinuxSeccomp) ProtoMessage()
func (*LinuxSeccomp) Reset ¶
func (m *LinuxSeccomp) Reset()
func (*LinuxSeccomp) Size ¶
func (m *LinuxSeccomp) Size() (n int)
func (*LinuxSeccomp) String ¶
func (m *LinuxSeccomp) String() string
func (*LinuxSeccomp) Unmarshal ¶
func (m *LinuxSeccomp) Unmarshal(dAtA []byte) error
type LinuxSeccompArg ¶
type LinuxSeccompArg struct { Index uint64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` ValueTwo uint64 `protobuf:"varint,3,opt,name=ValueTwo,proto3" json:"ValueTwo,omitempty"` Op string `protobuf:"bytes,4,opt,name=Op,proto3" json:"Op,omitempty"` }
func NewPopulatedLinuxSeccompArg ¶
func NewPopulatedLinuxSeccompArg(r randyOci, easy bool) *LinuxSeccompArg
func (*LinuxSeccompArg) Descriptor ¶
func (*LinuxSeccompArg) Descriptor() ([]byte, []int)
func (*LinuxSeccompArg) Equal ¶
func (this *LinuxSeccompArg) Equal(that interface{}) bool
func (*LinuxSeccompArg) GetIndex ¶
func (m *LinuxSeccompArg) GetIndex() uint64
func (*LinuxSeccompArg) GetOp ¶
func (m *LinuxSeccompArg) GetOp() string
func (*LinuxSeccompArg) GetValue ¶
func (m *LinuxSeccompArg) GetValue() uint64
func (*LinuxSeccompArg) GetValueTwo ¶
func (m *LinuxSeccompArg) GetValueTwo() uint64
func (*LinuxSeccompArg) Marshal ¶
func (m *LinuxSeccompArg) Marshal() (dAtA []byte, err error)
func (*LinuxSeccompArg) ProtoMessage ¶
func (*LinuxSeccompArg) ProtoMessage()
func (*LinuxSeccompArg) Reset ¶
func (m *LinuxSeccompArg) Reset()
func (*LinuxSeccompArg) Size ¶
func (m *LinuxSeccompArg) Size() (n int)
func (*LinuxSeccompArg) String ¶
func (m *LinuxSeccompArg) String() string
func (*LinuxSeccompArg) Unmarshal ¶
func (m *LinuxSeccompArg) Unmarshal(dAtA []byte) error
type LinuxSyscall ¶
type LinuxSyscall struct { Names []string `protobuf:"bytes,1,rep,name=Names" json:"Names,omitempty"` Action string `protobuf:"bytes,2,opt,name=Action,proto3" json:"Action,omitempty"` Args []LinuxSeccompArg `protobuf:"bytes,3,rep,name=Args" json:"Args"` }
func NewPopulatedLinuxSyscall ¶
func NewPopulatedLinuxSyscall(r randyOci, easy bool) *LinuxSyscall
func (*LinuxSyscall) Descriptor ¶
func (*LinuxSyscall) Descriptor() ([]byte, []int)
func (*LinuxSyscall) Equal ¶
func (this *LinuxSyscall) Equal(that interface{}) bool
func (*LinuxSyscall) GetAction ¶
func (m *LinuxSyscall) GetAction() string
func (*LinuxSyscall) GetArgs ¶
func (m *LinuxSyscall) GetArgs() []LinuxSeccompArg
func (*LinuxSyscall) GetNames ¶
func (m *LinuxSyscall) GetNames() []string
func (*LinuxSyscall) Marshal ¶
func (m *LinuxSyscall) Marshal() (dAtA []byte, err error)
func (*LinuxSyscall) ProtoMessage ¶
func (*LinuxSyscall) ProtoMessage()
func (*LinuxSyscall) Reset ¶
func (m *LinuxSyscall) Reset()
func (*LinuxSyscall) Size ¶
func (m *LinuxSyscall) Size() (n int)
func (*LinuxSyscall) String ¶
func (m *LinuxSyscall) String() string
func (*LinuxSyscall) Unmarshal ¶
func (m *LinuxSyscall) Unmarshal(dAtA []byte) error
type LinuxThrottleDevice ¶
type LinuxThrottleDevice struct { // Major is the device's major number. Major int64 `protobuf:"varint,1,opt,name=Major,proto3" json:"Major,omitempty"` // Minor is the device's minor number. Minor int64 `protobuf:"varint,2,opt,name=Minor,proto3" json:"Minor,omitempty"` // Rate is the IO rate limit per cgroup per device Rate uint64 `protobuf:"varint,3,opt,name=Rate,proto3" json:"Rate,omitempty"` }
func NewPopulatedLinuxThrottleDevice ¶
func NewPopulatedLinuxThrottleDevice(r randyOci, easy bool) *LinuxThrottleDevice
func (*LinuxThrottleDevice) Descriptor ¶
func (*LinuxThrottleDevice) Descriptor() ([]byte, []int)
func (*LinuxThrottleDevice) Equal ¶
func (this *LinuxThrottleDevice) Equal(that interface{}) bool
func (*LinuxThrottleDevice) GetMajor ¶
func (m *LinuxThrottleDevice) GetMajor() int64
func (*LinuxThrottleDevice) GetMinor ¶
func (m *LinuxThrottleDevice) GetMinor() int64
func (*LinuxThrottleDevice) GetRate ¶
func (m *LinuxThrottleDevice) GetRate() uint64
func (*LinuxThrottleDevice) Marshal ¶
func (m *LinuxThrottleDevice) Marshal() (dAtA []byte, err error)
func (*LinuxThrottleDevice) MarshalTo ¶
func (m *LinuxThrottleDevice) MarshalTo(dAtA []byte) (int, error)
func (*LinuxThrottleDevice) ProtoMessage ¶
func (*LinuxThrottleDevice) ProtoMessage()
func (*LinuxThrottleDevice) Reset ¶
func (m *LinuxThrottleDevice) Reset()
func (*LinuxThrottleDevice) Size ¶
func (m *LinuxThrottleDevice) Size() (n int)
func (*LinuxThrottleDevice) String ¶
func (m *LinuxThrottleDevice) String() string
func (*LinuxThrottleDevice) Unmarshal ¶
func (m *LinuxThrottleDevice) Unmarshal(dAtA []byte) error
type LinuxWeightDevice ¶
type LinuxWeightDevice struct { // Major is the device's major number. Major int64 `protobuf:"varint,1,opt,name=Major,proto3" json:"Major,omitempty"` // Minor is the device's minor number. Minor int64 `protobuf:"varint,2,opt,name=Minor,proto3" json:"Minor,omitempty"` // Weight is the bandwidth rate for the device. Weight uint32 `protobuf:"varint,3,opt,name=Weight,proto3" json:"Weight,omitempty"` // LeafWeight is the bandwidth rate for the device while competing with the cgroup's child cgroups, CFQ scheduler only LeafWeight uint32 `protobuf:"varint,4,opt,name=LeafWeight,proto3" json:"LeafWeight,omitempty"` }
func NewPopulatedLinuxWeightDevice ¶
func NewPopulatedLinuxWeightDevice(r randyOci, easy bool) *LinuxWeightDevice
func (*LinuxWeightDevice) Descriptor ¶
func (*LinuxWeightDevice) Descriptor() ([]byte, []int)
func (*LinuxWeightDevice) Equal ¶
func (this *LinuxWeightDevice) Equal(that interface{}) bool
func (*LinuxWeightDevice) GetLeafWeight ¶
func (m *LinuxWeightDevice) GetLeafWeight() uint32
func (*LinuxWeightDevice) GetMajor ¶
func (m *LinuxWeightDevice) GetMajor() int64
func (*LinuxWeightDevice) GetMinor ¶
func (m *LinuxWeightDevice) GetMinor() int64
func (*LinuxWeightDevice) GetWeight ¶
func (m *LinuxWeightDevice) GetWeight() uint32
func (*LinuxWeightDevice) Marshal ¶
func (m *LinuxWeightDevice) Marshal() (dAtA []byte, err error)
func (*LinuxWeightDevice) MarshalTo ¶
func (m *LinuxWeightDevice) MarshalTo(dAtA []byte) (int, error)
func (*LinuxWeightDevice) ProtoMessage ¶
func (*LinuxWeightDevice) ProtoMessage()
func (*LinuxWeightDevice) Reset ¶
func (m *LinuxWeightDevice) Reset()
func (*LinuxWeightDevice) Size ¶
func (m *LinuxWeightDevice) Size() (n int)
func (*LinuxWeightDevice) String ¶
func (m *LinuxWeightDevice) String() string
func (*LinuxWeightDevice) Unmarshal ¶
func (m *LinuxWeightDevice) Unmarshal(dAtA []byte) error
type ListInterfacesRequest ¶
type ListInterfacesRequest struct { }
func (*ListInterfacesRequest) Descriptor ¶
func (*ListInterfacesRequest) Descriptor() ([]byte, []int)
func (*ListInterfacesRequest) Marshal ¶
func (m *ListInterfacesRequest) Marshal() (dAtA []byte, err error)
func (*ListInterfacesRequest) MarshalTo ¶
func (m *ListInterfacesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListInterfacesRequest) ProtoMessage ¶
func (*ListInterfacesRequest) ProtoMessage()
func (*ListInterfacesRequest) Reset ¶
func (m *ListInterfacesRequest) Reset()
func (*ListInterfacesRequest) Size ¶
func (m *ListInterfacesRequest) Size() (n int)
func (*ListInterfacesRequest) String ¶
func (m *ListInterfacesRequest) String() string
func (*ListInterfacesRequest) Unmarshal ¶
func (m *ListInterfacesRequest) Unmarshal(dAtA []byte) error
type ListProcessesRequest ¶
type ListProcessesRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Args []string `protobuf:"bytes,3,rep,name=args" json:"args,omitempty"` }
ListProcessesRequest contains the options used to list running processes inside the container
func (*ListProcessesRequest) Descriptor ¶
func (*ListProcessesRequest) Descriptor() ([]byte, []int)
func (*ListProcessesRequest) GetArgs ¶
func (m *ListProcessesRequest) GetArgs() []string
func (*ListProcessesRequest) GetContainerId ¶
func (m *ListProcessesRequest) GetContainerId() string
func (*ListProcessesRequest) GetFormat ¶
func (m *ListProcessesRequest) GetFormat() string
func (*ListProcessesRequest) Marshal ¶
func (m *ListProcessesRequest) Marshal() (dAtA []byte, err error)
func (*ListProcessesRequest) MarshalTo ¶
func (m *ListProcessesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListProcessesRequest) ProtoMessage ¶
func (*ListProcessesRequest) ProtoMessage()
func (*ListProcessesRequest) Reset ¶
func (m *ListProcessesRequest) Reset()
func (*ListProcessesRequest) Size ¶
func (m *ListProcessesRequest) Size() (n int)
func (*ListProcessesRequest) String ¶
func (m *ListProcessesRequest) String() string
func (*ListProcessesRequest) Unmarshal ¶
func (m *ListProcessesRequest) Unmarshal(dAtA []byte) error
type ListProcessesResponse ¶
type ListProcessesResponse struct {
ProcessList []byte `protobuf:"bytes,1,opt,name=process_list,json=processList,proto3" json:"process_list,omitempty"`
}
ListProcessesResponse represents the list of running processes inside the container
func (*ListProcessesResponse) Descriptor ¶
func (*ListProcessesResponse) Descriptor() ([]byte, []int)
func (*ListProcessesResponse) GetProcessList ¶
func (m *ListProcessesResponse) GetProcessList() []byte
func (*ListProcessesResponse) Marshal ¶
func (m *ListProcessesResponse) Marshal() (dAtA []byte, err error)
func (*ListProcessesResponse) MarshalTo ¶
func (m *ListProcessesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListProcessesResponse) ProtoMessage ¶
func (*ListProcessesResponse) ProtoMessage()
func (*ListProcessesResponse) Reset ¶
func (m *ListProcessesResponse) Reset()
func (*ListProcessesResponse) Size ¶
func (m *ListProcessesResponse) Size() (n int)
func (*ListProcessesResponse) String ¶
func (m *ListProcessesResponse) String() string
func (*ListProcessesResponse) Unmarshal ¶
func (m *ListProcessesResponse) Unmarshal(dAtA []byte) error
type ListRoutesRequest ¶
type ListRoutesRequest struct { }
func (*ListRoutesRequest) Descriptor ¶
func (*ListRoutesRequest) Descriptor() ([]byte, []int)
func (*ListRoutesRequest) Marshal ¶
func (m *ListRoutesRequest) Marshal() (dAtA []byte, err error)
func (*ListRoutesRequest) MarshalTo ¶
func (m *ListRoutesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListRoutesRequest) ProtoMessage ¶
func (*ListRoutesRequest) ProtoMessage()
func (*ListRoutesRequest) Reset ¶
func (m *ListRoutesRequest) Reset()
func (*ListRoutesRequest) Size ¶
func (m *ListRoutesRequest) Size() (n int)
func (*ListRoutesRequest) String ¶
func (m *ListRoutesRequest) String() string
func (*ListRoutesRequest) Unmarshal ¶
func (m *ListRoutesRequest) Unmarshal(dAtA []byte) error
type MemHotplugByProbeRequest ¶
type MemHotplugByProbeRequest struct { // server needs to send the value of memHotplugProbeAddr into file /sys/devices/system/memory/probe, // in order to notify the guest kernel about hot-add memory event MemHotplugProbeAddr []uint64 `protobuf:"varint,1,rep,packed,name=memHotplugProbeAddr" json:"memHotplugProbeAddr,omitempty"` }
func (*MemHotplugByProbeRequest) Descriptor ¶
func (*MemHotplugByProbeRequest) Descriptor() ([]byte, []int)
func (*MemHotplugByProbeRequest) GetMemHotplugProbeAddr ¶
func (m *MemHotplugByProbeRequest) GetMemHotplugProbeAddr() []uint64
func (*MemHotplugByProbeRequest) Marshal ¶
func (m *MemHotplugByProbeRequest) Marshal() (dAtA []byte, err error)
func (*MemHotplugByProbeRequest) MarshalTo ¶
func (m *MemHotplugByProbeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MemHotplugByProbeRequest) ProtoMessage ¶
func (*MemHotplugByProbeRequest) ProtoMessage()
func (*MemHotplugByProbeRequest) Reset ¶
func (m *MemHotplugByProbeRequest) Reset()
func (*MemHotplugByProbeRequest) Size ¶
func (m *MemHotplugByProbeRequest) Size() (n int)
func (*MemHotplugByProbeRequest) String ¶
func (m *MemHotplugByProbeRequest) String() string
func (*MemHotplugByProbeRequest) Unmarshal ¶
func (m *MemHotplugByProbeRequest) Unmarshal(dAtA []byte) error
type MemoryData ¶
type MemoryData struct { Usage uint64 `protobuf:"varint,1,opt,name=usage,proto3" json:"usage,omitempty"` MaxUsage uint64 `protobuf:"varint,2,opt,name=max_usage,json=maxUsage,proto3" json:"max_usage,omitempty"` Failcnt uint64 `protobuf:"varint,3,opt,name=failcnt,proto3" json:"failcnt,omitempty"` Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` }
func (*MemoryData) Descriptor ¶
func (*MemoryData) Descriptor() ([]byte, []int)
func (*MemoryData) GetFailcnt ¶
func (m *MemoryData) GetFailcnt() uint64
func (*MemoryData) GetLimit ¶
func (m *MemoryData) GetLimit() uint64
func (*MemoryData) GetMaxUsage ¶
func (m *MemoryData) GetMaxUsage() uint64
func (*MemoryData) GetUsage ¶
func (m *MemoryData) GetUsage() uint64
func (*MemoryData) Marshal ¶
func (m *MemoryData) Marshal() (dAtA []byte, err error)
func (*MemoryData) ProtoMessage ¶
func (*MemoryData) ProtoMessage()
func (*MemoryData) Reset ¶
func (m *MemoryData) Reset()
func (*MemoryData) Size ¶
func (m *MemoryData) Size() (n int)
func (*MemoryData) String ¶
func (m *MemoryData) String() string
func (*MemoryData) Unmarshal ¶
func (m *MemoryData) Unmarshal(dAtA []byte) error
type MemoryStats ¶
type MemoryStats struct { Cache uint64 `protobuf:"varint,1,opt,name=cache,proto3" json:"cache,omitempty"` Usage *MemoryData `protobuf:"bytes,2,opt,name=usage" json:"usage,omitempty"` SwapUsage *MemoryData `protobuf:"bytes,3,opt,name=swap_usage,json=swapUsage" json:"swap_usage,omitempty"` KernelUsage *MemoryData `protobuf:"bytes,4,opt,name=kernel_usage,json=kernelUsage" json:"kernel_usage,omitempty"` UseHierarchy bool `protobuf:"varint,5,opt,name=use_hierarchy,json=useHierarchy,proto3" json:"use_hierarchy,omitempty"` Stats map[string]uint64 `` /* 145-byte string literal not displayed */ }
func (*MemoryStats) Descriptor ¶
func (*MemoryStats) Descriptor() ([]byte, []int)
func (*MemoryStats) GetCache ¶
func (m *MemoryStats) GetCache() uint64
func (*MemoryStats) GetKernelUsage ¶
func (m *MemoryStats) GetKernelUsage() *MemoryData
func (*MemoryStats) GetStats ¶
func (m *MemoryStats) GetStats() map[string]uint64
func (*MemoryStats) GetSwapUsage ¶
func (m *MemoryStats) GetSwapUsage() *MemoryData
func (*MemoryStats) GetUsage ¶
func (m *MemoryStats) GetUsage() *MemoryData
func (*MemoryStats) GetUseHierarchy ¶
func (m *MemoryStats) GetUseHierarchy() bool
func (*MemoryStats) Marshal ¶
func (m *MemoryStats) Marshal() (dAtA []byte, err error)
func (*MemoryStats) ProtoMessage ¶
func (*MemoryStats) ProtoMessage()
func (*MemoryStats) Reset ¶
func (m *MemoryStats) Reset()
func (*MemoryStats) Size ¶
func (m *MemoryStats) Size() (n int)
func (*MemoryStats) String ¶
func (m *MemoryStats) String() string
func (*MemoryStats) Unmarshal ¶
func (m *MemoryStats) Unmarshal(dAtA []byte) error
type Mount ¶
type Mount struct { // destination is the path inside the container expect when it starts with "tmp:/" Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // source is the path inside the container expect when it starts with "vm:/dev/" or "tmp:/" // the path which starts with "vm:/dev/" refers the guest vm's "/dev", // especially, "vm:/dev/hostfs/" refers to the shared filesystem. // "tmp:/" is a temporary directory which is used for temporary mounts. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Options []string `protobuf:"bytes,4,rep,name=options" json:"options,omitempty"` }
func NewPopulatedMount ¶
func (*Mount) Descriptor ¶
func (*Mount) GetDestination ¶
func (*Mount) GetOptions ¶
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
type NetworkStats ¶
type NetworkStats struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RxBytes uint64 `protobuf:"varint,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` RxPackets uint64 `protobuf:"varint,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` RxErrors uint64 `protobuf:"varint,4,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"` RxDropped uint64 `protobuf:"varint,5,opt,name=rx_dropped,json=rxDropped,proto3" json:"rx_dropped,omitempty"` TxBytes uint64 `protobuf:"varint,6,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"` TxPackets uint64 `protobuf:"varint,7,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"` TxErrors uint64 `protobuf:"varint,8,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"` TxDropped uint64 `protobuf:"varint,9,opt,name=tx_dropped,json=txDropped,proto3" json:"tx_dropped,omitempty"` }
func (*NetworkStats) Descriptor ¶
func (*NetworkStats) Descriptor() ([]byte, []int)
func (*NetworkStats) GetName ¶
func (m *NetworkStats) GetName() string
func (*NetworkStats) GetRxBytes ¶
func (m *NetworkStats) GetRxBytes() uint64
func (*NetworkStats) GetRxDropped ¶
func (m *NetworkStats) GetRxDropped() uint64
func (*NetworkStats) GetRxErrors ¶
func (m *NetworkStats) GetRxErrors() uint64
func (*NetworkStats) GetRxPackets ¶
func (m *NetworkStats) GetRxPackets() uint64
func (*NetworkStats) GetTxBytes ¶
func (m *NetworkStats) GetTxBytes() uint64
func (*NetworkStats) GetTxDropped ¶
func (m *NetworkStats) GetTxDropped() uint64
func (*NetworkStats) GetTxErrors ¶
func (m *NetworkStats) GetTxErrors() uint64
func (*NetworkStats) GetTxPackets ¶
func (m *NetworkStats) GetTxPackets() uint64
func (*NetworkStats) Marshal ¶
func (m *NetworkStats) Marshal() (dAtA []byte, err error)
func (*NetworkStats) ProtoMessage ¶
func (*NetworkStats) ProtoMessage()
func (*NetworkStats) Reset ¶
func (m *NetworkStats) Reset()
func (*NetworkStats) Size ¶
func (m *NetworkStats) Size() (n int)
func (*NetworkStats) String ¶
func (m *NetworkStats) String() string
func (*NetworkStats) Unmarshal ¶
func (m *NetworkStats) Unmarshal(dAtA []byte) error
type OOMEvent ¶
type OOMEvent struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}
func (*OOMEvent) Descriptor ¶
func (*OOMEvent) GetContainerId ¶
func (*OOMEvent) ProtoMessage ¶
func (*OOMEvent) ProtoMessage()
type OnlineCPUMemRequest ¶
type OnlineCPUMemRequest struct { // Wait specifies if the caller waits for the agent to online all resources. // If true the agent returns once all resources have been connected, otherwise all // resources are connected asynchronously and the agent returns immediately. Wait bool `protobuf:"varint,1,opt,name=wait,proto3" json:"wait,omitempty"` // NbCpus specifies the number of CPUs that were added and the agent has to online. NbCpus uint32 `protobuf:"varint,2,opt,name=nb_cpus,json=nbCpus,proto3" json:"nb_cpus,omitempty"` // CpuOnly specifies whether only online CPU or not. CpuOnly bool `protobuf:"varint,3,opt,name=cpu_only,json=cpuOnly,proto3" json:"cpu_only,omitempty"` }
func (*OnlineCPUMemRequest) Descriptor ¶
func (*OnlineCPUMemRequest) Descriptor() ([]byte, []int)
func (*OnlineCPUMemRequest) GetCpuOnly ¶
func (m *OnlineCPUMemRequest) GetCpuOnly() bool
func (*OnlineCPUMemRequest) GetNbCpus ¶
func (m *OnlineCPUMemRequest) GetNbCpus() uint32
func (*OnlineCPUMemRequest) GetWait ¶
func (m *OnlineCPUMemRequest) GetWait() bool
func (*OnlineCPUMemRequest) Marshal ¶
func (m *OnlineCPUMemRequest) Marshal() (dAtA []byte, err error)
func (*OnlineCPUMemRequest) MarshalTo ¶
func (m *OnlineCPUMemRequest) MarshalTo(dAtA []byte) (int, error)
func (*OnlineCPUMemRequest) ProtoMessage ¶
func (*OnlineCPUMemRequest) ProtoMessage()
func (*OnlineCPUMemRequest) Reset ¶
func (m *OnlineCPUMemRequest) Reset()
func (*OnlineCPUMemRequest) Size ¶
func (m *OnlineCPUMemRequest) Size() (n int)
func (*OnlineCPUMemRequest) String ¶
func (m *OnlineCPUMemRequest) String() string
func (*OnlineCPUMemRequest) Unmarshal ¶
func (m *OnlineCPUMemRequest) Unmarshal(dAtA []byte) error
type POSIXRlimit ¶
type POSIXRlimit struct { // Type of the rlimit to set Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` // Hard is the hard limit for the specified type Hard uint64 `protobuf:"varint,2,opt,name=Hard,proto3" json:"Hard,omitempty"` // Soft is the soft limit for the specified type Soft uint64 `protobuf:"varint,3,opt,name=Soft,proto3" json:"Soft,omitempty"` }
func NewPopulatedPOSIXRlimit ¶
func NewPopulatedPOSIXRlimit(r randyOci, easy bool) *POSIXRlimit
func (*POSIXRlimit) Descriptor ¶
func (*POSIXRlimit) Descriptor() ([]byte, []int)
func (*POSIXRlimit) Equal ¶
func (this *POSIXRlimit) Equal(that interface{}) bool
func (*POSIXRlimit) GetHard ¶
func (m *POSIXRlimit) GetHard() uint64
func (*POSIXRlimit) GetSoft ¶
func (m *POSIXRlimit) GetSoft() uint64
func (*POSIXRlimit) GetType ¶
func (m *POSIXRlimit) GetType() string
func (*POSIXRlimit) Marshal ¶
func (m *POSIXRlimit) Marshal() (dAtA []byte, err error)
func (*POSIXRlimit) ProtoMessage ¶
func (*POSIXRlimit) ProtoMessage()
func (*POSIXRlimit) Reset ¶
func (m *POSIXRlimit) Reset()
func (*POSIXRlimit) Size ¶
func (m *POSIXRlimit) Size() (n int)
func (*POSIXRlimit) String ¶
func (m *POSIXRlimit) String() string
func (*POSIXRlimit) Unmarshal ¶
func (m *POSIXRlimit) Unmarshal(dAtA []byte) error
type PauseContainerRequest ¶
type PauseContainerRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}
func (*PauseContainerRequest) Descriptor ¶
func (*PauseContainerRequest) Descriptor() ([]byte, []int)
func (*PauseContainerRequest) GetContainerId ¶
func (m *PauseContainerRequest) GetContainerId() string
func (*PauseContainerRequest) Marshal ¶
func (m *PauseContainerRequest) Marshal() (dAtA []byte, err error)
func (*PauseContainerRequest) MarshalTo ¶
func (m *PauseContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*PauseContainerRequest) ProtoMessage ¶
func (*PauseContainerRequest) ProtoMessage()
func (*PauseContainerRequest) Reset ¶
func (m *PauseContainerRequest) Reset()
func (*PauseContainerRequest) Size ¶
func (m *PauseContainerRequest) Size() (n int)
func (*PauseContainerRequest) String ¶
func (m *PauseContainerRequest) String() string
func (*PauseContainerRequest) Unmarshal ¶
func (m *PauseContainerRequest) Unmarshal(dAtA []byte) error
type PidsStats ¶
type PidsStats struct { Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` }
func (*PidsStats) Descriptor ¶
func (*PidsStats) GetCurrent ¶
func (*PidsStats) ProtoMessage ¶
func (*PidsStats) ProtoMessage()
type Process ¶
type Process struct { // Terminal creates an interactive terminal for the container. Terminal bool `protobuf:"varint,1,opt,name=Terminal,proto3" json:"Terminal,omitempty"` // ConsoleSize specifies the size of the console. ConsoleSize *Box `protobuf:"bytes,2,opt,name=ConsoleSize" json:"ConsoleSize,omitempty"` // User specifies user information for the process. User User `protobuf:"bytes,3,opt,name=User" json:"User"` // Args specifies the binary and arguments for the application to execute. Args []string `protobuf:"bytes,4,rep,name=Args" json:"Args,omitempty"` // Env populates the process environment for the process. Env []string `protobuf:"bytes,5,rep,name=Env" json:"Env,omitempty"` // Cwd is the current working directory for the process and must be // relative to the container's root. Cwd string `protobuf:"bytes,6,opt,name=Cwd,proto3" json:"Cwd,omitempty"` // Capabilities are Linux capabilities that are kept for the process. Capabilities *LinuxCapabilities `protobuf:"bytes,7,opt,name=Capabilities" json:"Capabilities,omitempty"` // Rlimits specifies rlimit options to apply to the process. Rlimits []POSIXRlimit `protobuf:"bytes,8,rep,name=Rlimits" json:"Rlimits"` // NoNewPrivileges controls whether additional privileges could be gained by processes in the container. NoNewPrivileges bool `protobuf:"varint,9,opt,name=NoNewPrivileges,proto3" json:"NoNewPrivileges,omitempty"` // ApparmorProfile specifies the apparmor profile for the container. ApparmorProfile string `protobuf:"bytes,10,opt,name=ApparmorProfile,proto3" json:"ApparmorProfile,omitempty"` // Specify an oom_score_adj for the container. OOMScoreAdj int64 `protobuf:"varint,11,opt,name=OOMScoreAdj,proto3" json:"OOMScoreAdj,omitempty"` // SelinuxLabel specifies the selinux context that the container process is run as. SelinuxLabel string `protobuf:"bytes,12,opt,name=SelinuxLabel,proto3" json:"SelinuxLabel,omitempty"` }
func NewPopulatedProcess ¶
func ProcessOCItoGRPC ¶
ProcessOCItoGRPC converts an OCI process specification into its gRPC representation
func (*Process) Descriptor ¶
func (*Process) GetApparmorProfile ¶
func (*Process) GetCapabilities ¶
func (m *Process) GetCapabilities() *LinuxCapabilities
func (*Process) GetConsoleSize ¶
func (*Process) GetNoNewPrivileges ¶
func (*Process) GetOOMScoreAdj ¶
func (*Process) GetRlimits ¶
func (m *Process) GetRlimits() []POSIXRlimit
func (*Process) GetSelinuxLabel ¶
func (*Process) GetTerminal ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
type ReadStreamRequest ¶
type ReadStreamRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` Len uint32 `protobuf:"varint,3,opt,name=len,proto3" json:"len,omitempty"` }
func (*ReadStreamRequest) Descriptor ¶
func (*ReadStreamRequest) Descriptor() ([]byte, []int)
func (*ReadStreamRequest) GetContainerId ¶
func (m *ReadStreamRequest) GetContainerId() string
func (*ReadStreamRequest) GetExecId ¶
func (m *ReadStreamRequest) GetExecId() string
func (*ReadStreamRequest) GetLen ¶
func (m *ReadStreamRequest) GetLen() uint32
func (*ReadStreamRequest) Marshal ¶
func (m *ReadStreamRequest) Marshal() (dAtA []byte, err error)
func (*ReadStreamRequest) MarshalTo ¶
func (m *ReadStreamRequest) MarshalTo(dAtA []byte) (int, error)
func (*ReadStreamRequest) ProtoMessage ¶
func (*ReadStreamRequest) ProtoMessage()
func (*ReadStreamRequest) Reset ¶
func (m *ReadStreamRequest) Reset()
func (*ReadStreamRequest) Size ¶
func (m *ReadStreamRequest) Size() (n int)
func (*ReadStreamRequest) String ¶
func (m *ReadStreamRequest) String() string
func (*ReadStreamRequest) Unmarshal ¶
func (m *ReadStreamRequest) Unmarshal(dAtA []byte) error
type ReadStreamResponse ¶
type ReadStreamResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*ReadStreamResponse) Descriptor ¶
func (*ReadStreamResponse) Descriptor() ([]byte, []int)
func (*ReadStreamResponse) GetData ¶
func (m *ReadStreamResponse) GetData() []byte
func (*ReadStreamResponse) Marshal ¶
func (m *ReadStreamResponse) Marshal() (dAtA []byte, err error)
func (*ReadStreamResponse) MarshalTo ¶
func (m *ReadStreamResponse) MarshalTo(dAtA []byte) (int, error)
func (*ReadStreamResponse) ProtoMessage ¶
func (*ReadStreamResponse) ProtoMessage()
func (*ReadStreamResponse) Reset ¶
func (m *ReadStreamResponse) Reset()
func (*ReadStreamResponse) Size ¶
func (m *ReadStreamResponse) Size() (n int)
func (*ReadStreamResponse) String ¶
func (m *ReadStreamResponse) String() string
func (*ReadStreamResponse) Unmarshal ¶
func (m *ReadStreamResponse) Unmarshal(dAtA []byte) error
type RemoveContainerRequest ¶
type RemoveContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // RemoveContainer will return an error if // it could not kill some container processes // after timeout seconds. // Setting timeout to 0 means RemoveContainer will // wait for ever. Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` }
func (*RemoveContainerRequest) Descriptor ¶
func (*RemoveContainerRequest) Descriptor() ([]byte, []int)
func (*RemoveContainerRequest) GetContainerId ¶
func (m *RemoveContainerRequest) GetContainerId() string
func (*RemoveContainerRequest) GetTimeout ¶
func (m *RemoveContainerRequest) GetTimeout() uint32
func (*RemoveContainerRequest) Marshal ¶
func (m *RemoveContainerRequest) Marshal() (dAtA []byte, err error)
func (*RemoveContainerRequest) MarshalTo ¶
func (m *RemoveContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveContainerRequest) ProtoMessage ¶
func (*RemoveContainerRequest) ProtoMessage()
func (*RemoveContainerRequest) Reset ¶
func (m *RemoveContainerRequest) Reset()
func (*RemoveContainerRequest) Size ¶
func (m *RemoveContainerRequest) Size() (n int)
func (*RemoveContainerRequest) String ¶
func (m *RemoveContainerRequest) String() string
func (*RemoveContainerRequest) Unmarshal ¶
func (m *RemoveContainerRequest) Unmarshal(dAtA []byte) error
type ReseedRandomDevRequest ¶
type ReseedRandomDevRequest struct { // Data specifies the random data used to reseed the guest crng. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*ReseedRandomDevRequest) Descriptor ¶
func (*ReseedRandomDevRequest) Descriptor() ([]byte, []int)
func (*ReseedRandomDevRequest) GetData ¶
func (m *ReseedRandomDevRequest) GetData() []byte
func (*ReseedRandomDevRequest) Marshal ¶
func (m *ReseedRandomDevRequest) Marshal() (dAtA []byte, err error)
func (*ReseedRandomDevRequest) MarshalTo ¶
func (m *ReseedRandomDevRequest) MarshalTo(dAtA []byte) (int, error)
func (*ReseedRandomDevRequest) ProtoMessage ¶
func (*ReseedRandomDevRequest) ProtoMessage()
func (*ReseedRandomDevRequest) Reset ¶
func (m *ReseedRandomDevRequest) Reset()
func (*ReseedRandomDevRequest) Size ¶
func (m *ReseedRandomDevRequest) Size() (n int)
func (*ReseedRandomDevRequest) String ¶
func (m *ReseedRandomDevRequest) String() string
func (*ReseedRandomDevRequest) Unmarshal ¶
func (m *ReseedRandomDevRequest) Unmarshal(dAtA []byte) error
type ResumeContainerRequest ¶
type ResumeContainerRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}
func (*ResumeContainerRequest) Descriptor ¶
func (*ResumeContainerRequest) Descriptor() ([]byte, []int)
func (*ResumeContainerRequest) GetContainerId ¶
func (m *ResumeContainerRequest) GetContainerId() string
func (*ResumeContainerRequest) Marshal ¶
func (m *ResumeContainerRequest) Marshal() (dAtA []byte, err error)
func (*ResumeContainerRequest) MarshalTo ¶
func (m *ResumeContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*ResumeContainerRequest) ProtoMessage ¶
func (*ResumeContainerRequest) ProtoMessage()
func (*ResumeContainerRequest) Reset ¶
func (m *ResumeContainerRequest) Reset()
func (*ResumeContainerRequest) Size ¶
func (m *ResumeContainerRequest) Size() (n int)
func (*ResumeContainerRequest) String ¶
func (m *ResumeContainerRequest) String() string
func (*ResumeContainerRequest) Unmarshal ¶
func (m *ResumeContainerRequest) Unmarshal(dAtA []byte) error
type Root ¶
type Root struct { // Path is the absolute path to the container's root filesystem. Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"` // Readonly makes the root filesystem for the container readonly before the process is executed. Readonly bool `protobuf:"varint,2,opt,name=Readonly,proto3" json:"Readonly,omitempty"` }
func NewPopulatedRoot ¶
func (*Root) Descriptor ¶
func (*Root) GetReadonly ¶
func (*Root) ProtoMessage ¶
func (*Root) ProtoMessage()
type Routes ¶
type Routes struct {
Routes []*types.Route `protobuf:"bytes,1,rep,name=Routes" json:"Routes,omitempty"`
}
func (*Routes) Descriptor ¶
func (*Routes) ProtoMessage ¶
func (*Routes) ProtoMessage()
type SetGuestDateTimeRequest ¶
type SetGuestDateTimeRequest struct { // Sec the second since the Epoch. Sec int64 `protobuf:"varint,1,opt,name=Sec,proto3" json:"Sec,omitempty"` // Usec the microseconds portion of time since the Epoch. Usec int64 `protobuf:"varint,2,opt,name=Usec,proto3" json:"Usec,omitempty"` }
func (*SetGuestDateTimeRequest) Descriptor ¶
func (*SetGuestDateTimeRequest) Descriptor() ([]byte, []int)
func (*SetGuestDateTimeRequest) GetSec ¶
func (m *SetGuestDateTimeRequest) GetSec() int64
func (*SetGuestDateTimeRequest) GetUsec ¶
func (m *SetGuestDateTimeRequest) GetUsec() int64
func (*SetGuestDateTimeRequest) Marshal ¶
func (m *SetGuestDateTimeRequest) Marshal() (dAtA []byte, err error)
func (*SetGuestDateTimeRequest) MarshalTo ¶
func (m *SetGuestDateTimeRequest) MarshalTo(dAtA []byte) (int, error)
func (*SetGuestDateTimeRequest) ProtoMessage ¶
func (*SetGuestDateTimeRequest) ProtoMessage()
func (*SetGuestDateTimeRequest) Reset ¶
func (m *SetGuestDateTimeRequest) Reset()
func (*SetGuestDateTimeRequest) Size ¶
func (m *SetGuestDateTimeRequest) Size() (n int)
func (*SetGuestDateTimeRequest) String ¶
func (m *SetGuestDateTimeRequest) String() string
func (*SetGuestDateTimeRequest) Unmarshal ¶
func (m *SetGuestDateTimeRequest) Unmarshal(dAtA []byte) error
type SignalProcessRequest ¶
type SignalProcessRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Special case for SignalProcess(): exec_id can be empty(""), // which means to send the signal to all the processes including their descendants. // Other APIs with exec_id should treat empty exec_id as an invalid request. ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` Signal uint32 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"` }
func (*SignalProcessRequest) Descriptor ¶
func (*SignalProcessRequest) Descriptor() ([]byte, []int)
func (*SignalProcessRequest) GetContainerId ¶
func (m *SignalProcessRequest) GetContainerId() string
func (*SignalProcessRequest) GetExecId ¶
func (m *SignalProcessRequest) GetExecId() string
func (*SignalProcessRequest) GetSignal ¶
func (m *SignalProcessRequest) GetSignal() uint32
func (*SignalProcessRequest) Marshal ¶
func (m *SignalProcessRequest) Marshal() (dAtA []byte, err error)
func (*SignalProcessRequest) MarshalTo ¶
func (m *SignalProcessRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignalProcessRequest) ProtoMessage ¶
func (*SignalProcessRequest) ProtoMessage()
func (*SignalProcessRequest) Reset ¶
func (m *SignalProcessRequest) Reset()
func (*SignalProcessRequest) Size ¶
func (m *SignalProcessRequest) Size() (n int)
func (*SignalProcessRequest) String ¶
func (m *SignalProcessRequest) String() string
func (*SignalProcessRequest) Unmarshal ¶
func (m *SignalProcessRequest) Unmarshal(dAtA []byte) error
type Solaris ¶
type Solaris struct { // Dummy string, never used. Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"` }
func NewPopulatedSolaris ¶
func (*Solaris) Descriptor ¶
func (*Solaris) ProtoMessage ¶
func (*Solaris) ProtoMessage()
type Spec ¶
type Spec struct { // Version of the Open Container Initiative Runtime Specification with which the bundle complies. Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` // Process configures the container process. Process *Process `protobuf:"bytes,2,opt,name=Process" json:"Process,omitempty"` // Root configures the container's root filesystem. Root *Root `protobuf:"bytes,3,opt,name=Root" json:"Root,omitempty"` // Hostname configures the container's hostname. Hostname string `protobuf:"bytes,4,opt,name=Hostname,proto3" json:"Hostname,omitempty"` // Mounts configures additional mounts (on top of Root). Mounts []Mount `protobuf:"bytes,5,rep,name=Mounts" json:"Mounts"` // Hooks configures callbacks for container lifecycle events. Hooks *Hooks `protobuf:"bytes,6,opt,name=Hooks" json:"Hooks,omitempty"` // Annotations contains arbitrary metadata for the container. Annotations map[string]string `` /* 156-byte string literal not displayed */ // Linux is platform-specific configuration for Linux based containers. Linux *Linux `protobuf:"bytes,8,opt,name=Linux" json:"Linux,omitempty"` // Solaris is platform-specific configuration for Solaris based containers. Solaris *Solaris `protobuf:"bytes,9,opt,name=Solaris" json:"Solaris,omitempty"` // Windows is platform-specific configuration for Windows based containers. Windows *Windows `protobuf:"bytes,10,opt,name=Windows" json:"Windows,omitempty"` }
func NewPopulatedSpec ¶
func (*Spec) Descriptor ¶
func (*Spec) GetAnnotations ¶
func (*Spec) GetHostname ¶
func (*Spec) GetProcess ¶
func (*Spec) GetSolaris ¶
func (*Spec) GetVersion ¶
func (*Spec) GetWindows ¶
func (*Spec) ProtoMessage ¶
func (*Spec) ProtoMessage()
type StartContainerRequest ¶
type StartContainerRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}
func (*StartContainerRequest) Descriptor ¶
func (*StartContainerRequest) Descriptor() ([]byte, []int)
func (*StartContainerRequest) GetContainerId ¶
func (m *StartContainerRequest) GetContainerId() string
func (*StartContainerRequest) Marshal ¶
func (m *StartContainerRequest) Marshal() (dAtA []byte, err error)
func (*StartContainerRequest) MarshalTo ¶
func (m *StartContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*StartContainerRequest) ProtoMessage ¶
func (*StartContainerRequest) ProtoMessage()
func (*StartContainerRequest) Reset ¶
func (m *StartContainerRequest) Reset()
func (*StartContainerRequest) Size ¶
func (m *StartContainerRequest) Size() (n int)
func (*StartContainerRequest) String ¶
func (m *StartContainerRequest) String() string
func (*StartContainerRequest) Unmarshal ¶
func (m *StartContainerRequest) Unmarshal(dAtA []byte) error
type StartTracingRequest ¶
type StartTracingRequest struct { }
func (*StartTracingRequest) Descriptor ¶
func (*StartTracingRequest) Descriptor() ([]byte, []int)
func (*StartTracingRequest) Marshal ¶
func (m *StartTracingRequest) Marshal() (dAtA []byte, err error)
func (*StartTracingRequest) MarshalTo ¶
func (m *StartTracingRequest) MarshalTo(dAtA []byte) (int, error)
func (*StartTracingRequest) ProtoMessage ¶
func (*StartTracingRequest) ProtoMessage()
func (*StartTracingRequest) Reset ¶
func (m *StartTracingRequest) Reset()
func (*StartTracingRequest) Size ¶
func (m *StartTracingRequest) Size() (n int)
func (*StartTracingRequest) String ¶
func (m *StartTracingRequest) String() string
func (*StartTracingRequest) Unmarshal ¶
func (m *StartTracingRequest) Unmarshal(dAtA []byte) error
type StatsContainerRequest ¶
type StatsContainerRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}
func (*StatsContainerRequest) Descriptor ¶
func (*StatsContainerRequest) Descriptor() ([]byte, []int)
func (*StatsContainerRequest) GetContainerId ¶
func (m *StatsContainerRequest) GetContainerId() string
func (*StatsContainerRequest) Marshal ¶
func (m *StatsContainerRequest) Marshal() (dAtA []byte, err error)
func (*StatsContainerRequest) MarshalTo ¶
func (m *StatsContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*StatsContainerRequest) ProtoMessage ¶
func (*StatsContainerRequest) ProtoMessage()
func (*StatsContainerRequest) Reset ¶
func (m *StatsContainerRequest) Reset()
func (*StatsContainerRequest) Size ¶
func (m *StatsContainerRequest) Size() (n int)
func (*StatsContainerRequest) String ¶
func (m *StatsContainerRequest) String() string
func (*StatsContainerRequest) Unmarshal ¶
func (m *StatsContainerRequest) Unmarshal(dAtA []byte) error
type StatsContainerResponse ¶
type StatsContainerResponse struct { CgroupStats *CgroupStats `protobuf:"bytes,1,opt,name=cgroup_stats,json=cgroupStats" json:"cgroup_stats,omitempty"` NetworkStats []*NetworkStats `protobuf:"bytes,2,rep,name=network_stats,json=networkStats" json:"network_stats,omitempty"` }
func (*StatsContainerResponse) Descriptor ¶
func (*StatsContainerResponse) Descriptor() ([]byte, []int)
func (*StatsContainerResponse) GetCgroupStats ¶
func (m *StatsContainerResponse) GetCgroupStats() *CgroupStats
func (*StatsContainerResponse) GetNetworkStats ¶
func (m *StatsContainerResponse) GetNetworkStats() []*NetworkStats
func (*StatsContainerResponse) Marshal ¶
func (m *StatsContainerResponse) Marshal() (dAtA []byte, err error)
func (*StatsContainerResponse) MarshalTo ¶
func (m *StatsContainerResponse) MarshalTo(dAtA []byte) (int, error)
func (*StatsContainerResponse) ProtoMessage ¶
func (*StatsContainerResponse) ProtoMessage()
func (*StatsContainerResponse) Reset ¶
func (m *StatsContainerResponse) Reset()
func (*StatsContainerResponse) Size ¶
func (m *StatsContainerResponse) Size() (n int)
func (*StatsContainerResponse) String ¶
func (m *StatsContainerResponse) String() string
func (*StatsContainerResponse) Unmarshal ¶
func (m *StatsContainerResponse) Unmarshal(dAtA []byte) error
type StopTracingRequest ¶
type StopTracingRequest struct { }
func (*StopTracingRequest) Descriptor ¶
func (*StopTracingRequest) Descriptor() ([]byte, []int)
func (*StopTracingRequest) Marshal ¶
func (m *StopTracingRequest) Marshal() (dAtA []byte, err error)
func (*StopTracingRequest) MarshalTo ¶
func (m *StopTracingRequest) MarshalTo(dAtA []byte) (int, error)
func (*StopTracingRequest) ProtoMessage ¶
func (*StopTracingRequest) ProtoMessage()
func (*StopTracingRequest) Reset ¶
func (m *StopTracingRequest) Reset()
func (*StopTracingRequest) Size ¶
func (m *StopTracingRequest) Size() (n int)
func (*StopTracingRequest) String ¶
func (m *StopTracingRequest) String() string
func (*StopTracingRequest) Unmarshal ¶
func (m *StopTracingRequest) Unmarshal(dAtA []byte) error
type Storage ¶
type Storage struct { // Driver is used to define the way the storage is passed through the // virtual machine. It can be "9p", "blk", or something else, but for // all cases, this will define if some extra steps are required before // this storage gets mounted into the container. Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` // DriverOptions allows the caller to define a list of options such // as block sizes, numbers of luns, ... which are very specific to // every device and cannot be generalized through extra fields. DriverOptions []string `protobuf:"bytes,2,rep,name=driver_options,json=driverOptions" json:"driver_options,omitempty"` // Source can be anything representing the source of the storage. This // will be handled by the proper handler based on the Driver used. // For instance, it can be a very simple path if the caller knows the // name of device inside the VM, or it can be some sort of identifier // to let the agent find the device inside the VM. Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Fstype represents the filesystem that needs to be used to mount the // storage inside the VM. For instance, it could be "xfs" for block // device, "9p" for shared filesystem, or "tmpfs" for shared /dev/shm. Fstype string `protobuf:"bytes,4,opt,name=fstype,proto3" json:"fstype,omitempty"` // Options describes the additional options that might be needed to // mount properly the storage filesytem. Options []string `protobuf:"bytes,5,rep,name=options" json:"options,omitempty"` // MountPoint refers to the path where the storage should be mounted // inside the VM. MountPoint string `protobuf:"bytes,6,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` }
Storage represents both the rootfs of the container, and any volume that could have been defined through the Mount list of the OCI specification.
func (*Storage) Descriptor ¶
func (*Storage) GetDriverOptions ¶
func (*Storage) GetMountPoint ¶
func (*Storage) GetOptions ¶
func (*Storage) ProtoMessage ¶
func (*Storage) ProtoMessage()
type StringUser ¶
type StringUser struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Gid string `protobuf:"bytes,2,opt,name=gid,proto3" json:"gid,omitempty"` AdditionalGids []string `protobuf:"bytes,3,rep,name=additionalGids" json:"additionalGids,omitempty"` }
func (*StringUser) Descriptor ¶
func (*StringUser) Descriptor() ([]byte, []int)
func (*StringUser) GetAdditionalGids ¶
func (m *StringUser) GetAdditionalGids() []string
func (*StringUser) GetGid ¶
func (m *StringUser) GetGid() string
func (*StringUser) GetUid ¶
func (m *StringUser) GetUid() string
func (*StringUser) Marshal ¶
func (m *StringUser) Marshal() (dAtA []byte, err error)
func (*StringUser) ProtoMessage ¶
func (*StringUser) ProtoMessage()
func (*StringUser) Reset ¶
func (m *StringUser) Reset()
func (*StringUser) Size ¶
func (m *StringUser) Size() (n int)
func (*StringUser) String ¶
func (m *StringUser) String() string
func (*StringUser) Unmarshal ¶
func (m *StringUser) Unmarshal(dAtA []byte) error
type ThrottlingData ¶
type ThrottlingData struct { Periods uint64 `protobuf:"varint,1,opt,name=periods,proto3" json:"periods,omitempty"` ThrottledPeriods uint64 `protobuf:"varint,2,opt,name=throttled_periods,json=throttledPeriods,proto3" json:"throttled_periods,omitempty"` ThrottledTime uint64 `protobuf:"varint,3,opt,name=throttled_time,json=throttledTime,proto3" json:"throttled_time,omitempty"` }
func (*ThrottlingData) Descriptor ¶
func (*ThrottlingData) Descriptor() ([]byte, []int)
func (*ThrottlingData) GetPeriods ¶
func (m *ThrottlingData) GetPeriods() uint64
func (*ThrottlingData) GetThrottledPeriods ¶
func (m *ThrottlingData) GetThrottledPeriods() uint64
func (*ThrottlingData) GetThrottledTime ¶
func (m *ThrottlingData) GetThrottledTime() uint64
func (*ThrottlingData) Marshal ¶
func (m *ThrottlingData) Marshal() (dAtA []byte, err error)
func (*ThrottlingData) ProtoMessage ¶
func (*ThrottlingData) ProtoMessage()
func (*ThrottlingData) Reset ¶
func (m *ThrottlingData) Reset()
func (*ThrottlingData) Size ¶
func (m *ThrottlingData) Size() (n int)
func (*ThrottlingData) String ¶
func (m *ThrottlingData) String() string
func (*ThrottlingData) Unmarshal ¶
func (m *ThrottlingData) Unmarshal(dAtA []byte) error
type TtyWinResizeRequest ¶
type TtyWinResizeRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` Row uint32 `protobuf:"varint,3,opt,name=row,proto3" json:"row,omitempty"` Column uint32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"` }
func (*TtyWinResizeRequest) Descriptor ¶
func (*TtyWinResizeRequest) Descriptor() ([]byte, []int)
func (*TtyWinResizeRequest) GetColumn ¶
func (m *TtyWinResizeRequest) GetColumn() uint32
func (*TtyWinResizeRequest) GetContainerId ¶
func (m *TtyWinResizeRequest) GetContainerId() string
func (*TtyWinResizeRequest) GetExecId ¶
func (m *TtyWinResizeRequest) GetExecId() string
func (*TtyWinResizeRequest) GetRow ¶
func (m *TtyWinResizeRequest) GetRow() uint32
func (*TtyWinResizeRequest) Marshal ¶
func (m *TtyWinResizeRequest) Marshal() (dAtA []byte, err error)
func (*TtyWinResizeRequest) MarshalTo ¶
func (m *TtyWinResizeRequest) MarshalTo(dAtA []byte) (int, error)
func (*TtyWinResizeRequest) ProtoMessage ¶
func (*TtyWinResizeRequest) ProtoMessage()
func (*TtyWinResizeRequest) Reset ¶
func (m *TtyWinResizeRequest) Reset()
func (*TtyWinResizeRequest) Size ¶
func (m *TtyWinResizeRequest) Size() (n int)
func (*TtyWinResizeRequest) String ¶
func (m *TtyWinResizeRequest) String() string
func (*TtyWinResizeRequest) Unmarshal ¶
func (m *TtyWinResizeRequest) Unmarshal(dAtA []byte) error
type UpdateContainerRequest ¶
type UpdateContainerRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Resources *LinuxResources `protobuf:"bytes,2,opt,name=resources" json:"resources,omitempty"` }
func (*UpdateContainerRequest) Descriptor ¶
func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
func (*UpdateContainerRequest) GetContainerId ¶
func (m *UpdateContainerRequest) GetContainerId() string
func (*UpdateContainerRequest) GetResources ¶
func (m *UpdateContainerRequest) GetResources() *LinuxResources
func (*UpdateContainerRequest) Marshal ¶
func (m *UpdateContainerRequest) Marshal() (dAtA []byte, err error)
func (*UpdateContainerRequest) MarshalTo ¶
func (m *UpdateContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateContainerRequest) ProtoMessage ¶
func (*UpdateContainerRequest) ProtoMessage()
func (*UpdateContainerRequest) Reset ¶
func (m *UpdateContainerRequest) Reset()
func (*UpdateContainerRequest) Size ¶
func (m *UpdateContainerRequest) Size() (n int)
func (*UpdateContainerRequest) String ¶
func (m *UpdateContainerRequest) String() string
func (*UpdateContainerRequest) Unmarshal ¶
func (m *UpdateContainerRequest) Unmarshal(dAtA []byte) error
type UpdateInterfaceRequest ¶
type UpdateInterfaceRequest struct {
Interface *types.Interface `protobuf:"bytes,1,opt,name=interface" json:"interface,omitempty"`
}
func (*UpdateInterfaceRequest) Descriptor ¶
func (*UpdateInterfaceRequest) Descriptor() ([]byte, []int)
func (*UpdateInterfaceRequest) GetInterface ¶
func (m *UpdateInterfaceRequest) GetInterface() *types.Interface
func (*UpdateInterfaceRequest) Marshal ¶
func (m *UpdateInterfaceRequest) Marshal() (dAtA []byte, err error)
func (*UpdateInterfaceRequest) MarshalTo ¶
func (m *UpdateInterfaceRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateInterfaceRequest) ProtoMessage ¶
func (*UpdateInterfaceRequest) ProtoMessage()
func (*UpdateInterfaceRequest) Reset ¶
func (m *UpdateInterfaceRequest) Reset()
func (*UpdateInterfaceRequest) Size ¶
func (m *UpdateInterfaceRequest) Size() (n int)
func (*UpdateInterfaceRequest) String ¶
func (m *UpdateInterfaceRequest) String() string
func (*UpdateInterfaceRequest) Unmarshal ¶
func (m *UpdateInterfaceRequest) Unmarshal(dAtA []byte) error
type UpdateRoutesRequest ¶
type UpdateRoutesRequest struct {
Routes *Routes `protobuf:"bytes,1,opt,name=routes" json:"routes,omitempty"`
}
func (*UpdateRoutesRequest) Descriptor ¶
func (*UpdateRoutesRequest) Descriptor() ([]byte, []int)
func (*UpdateRoutesRequest) GetRoutes ¶
func (m *UpdateRoutesRequest) GetRoutes() *Routes
func (*UpdateRoutesRequest) Marshal ¶
func (m *UpdateRoutesRequest) Marshal() (dAtA []byte, err error)
func (*UpdateRoutesRequest) MarshalTo ¶
func (m *UpdateRoutesRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateRoutesRequest) ProtoMessage ¶
func (*UpdateRoutesRequest) ProtoMessage()
func (*UpdateRoutesRequest) Reset ¶
func (m *UpdateRoutesRequest) Reset()
func (*UpdateRoutesRequest) Size ¶
func (m *UpdateRoutesRequest) Size() (n int)
func (*UpdateRoutesRequest) String ¶
func (m *UpdateRoutesRequest) String() string
func (*UpdateRoutesRequest) Unmarshal ¶
func (m *UpdateRoutesRequest) Unmarshal(dAtA []byte) error
type User ¶
type User struct { // UID is the user id. UID uint32 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"` // GID is the group id. GID uint32 `protobuf:"varint,2,opt,name=GID,proto3" json:"GID,omitempty"` // AdditionalGids are additional group ids set for the container's process. AdditionalGids []uint32 `protobuf:"varint,3,rep,packed,name=AdditionalGids" json:"AdditionalGids,omitempty"` // Username is the user name. Username string `protobuf:"bytes,4,opt,name=Username,proto3" json:"Username,omitempty"` }
func NewPopulatedUser ¶
func (*User) Descriptor ¶
func (*User) GetAdditionalGids ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
type VersionCheckResponse ¶
type VersionCheckResponse struct { GrpcVersion string `protobuf:"bytes,1,opt,name=grpc_version,json=grpcVersion,proto3" json:"grpc_version,omitempty"` AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` }
func NewPopulatedVersionCheckResponse ¶
func NewPopulatedVersionCheckResponse(r randyHealth, easy bool) *VersionCheckResponse
func (*VersionCheckResponse) Descriptor ¶
func (*VersionCheckResponse) Descriptor() ([]byte, []int)
func (*VersionCheckResponse) Equal ¶
func (this *VersionCheckResponse) Equal(that interface{}) bool
func (*VersionCheckResponse) GetAgentVersion ¶
func (m *VersionCheckResponse) GetAgentVersion() string
func (*VersionCheckResponse) GetGrpcVersion ¶
func (m *VersionCheckResponse) GetGrpcVersion() string
func (*VersionCheckResponse) Marshal ¶
func (m *VersionCheckResponse) Marshal() (dAtA []byte, err error)
func (*VersionCheckResponse) MarshalTo ¶
func (m *VersionCheckResponse) MarshalTo(dAtA []byte) (int, error)
func (*VersionCheckResponse) ProtoMessage ¶
func (*VersionCheckResponse) ProtoMessage()
func (*VersionCheckResponse) Reset ¶
func (m *VersionCheckResponse) Reset()
func (*VersionCheckResponse) Size ¶
func (m *VersionCheckResponse) Size() (n int)
func (*VersionCheckResponse) String ¶
func (m *VersionCheckResponse) String() string
func (*VersionCheckResponse) Unmarshal ¶
func (m *VersionCheckResponse) Unmarshal(dAtA []byte) error
type WaitProcessRequest ¶
type WaitProcessRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` }
func (*WaitProcessRequest) Descriptor ¶
func (*WaitProcessRequest) Descriptor() ([]byte, []int)
func (*WaitProcessRequest) GetContainerId ¶
func (m *WaitProcessRequest) GetContainerId() string
func (*WaitProcessRequest) GetExecId ¶
func (m *WaitProcessRequest) GetExecId() string
func (*WaitProcessRequest) Marshal ¶
func (m *WaitProcessRequest) Marshal() (dAtA []byte, err error)
func (*WaitProcessRequest) MarshalTo ¶
func (m *WaitProcessRequest) MarshalTo(dAtA []byte) (int, error)
func (*WaitProcessRequest) ProtoMessage ¶
func (*WaitProcessRequest) ProtoMessage()
func (*WaitProcessRequest) Reset ¶
func (m *WaitProcessRequest) Reset()
func (*WaitProcessRequest) Size ¶
func (m *WaitProcessRequest) Size() (n int)
func (*WaitProcessRequest) String ¶
func (m *WaitProcessRequest) String() string
func (*WaitProcessRequest) Unmarshal ¶
func (m *WaitProcessRequest) Unmarshal(dAtA []byte) error
type WaitProcessResponse ¶
type WaitProcessResponse struct {
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
}
func (*WaitProcessResponse) Descriptor ¶
func (*WaitProcessResponse) Descriptor() ([]byte, []int)
func (*WaitProcessResponse) GetStatus ¶
func (m *WaitProcessResponse) GetStatus() int32
func (*WaitProcessResponse) Marshal ¶
func (m *WaitProcessResponse) Marshal() (dAtA []byte, err error)
func (*WaitProcessResponse) MarshalTo ¶
func (m *WaitProcessResponse) MarshalTo(dAtA []byte) (int, error)
func (*WaitProcessResponse) ProtoMessage ¶
func (*WaitProcessResponse) ProtoMessage()
func (*WaitProcessResponse) Reset ¶
func (m *WaitProcessResponse) Reset()
func (*WaitProcessResponse) Size ¶
func (m *WaitProcessResponse) Size() (n int)
func (*WaitProcessResponse) String ¶
func (m *WaitProcessResponse) String() string
func (*WaitProcessResponse) Unmarshal ¶
func (m *WaitProcessResponse) Unmarshal(dAtA []byte) error
type Windows ¶
type Windows struct { // Dummy string, never used. Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"` }
func NewPopulatedWindows ¶
func (*Windows) Descriptor ¶
func (*Windows) ProtoMessage ¶
func (*Windows) ProtoMessage()
type WriteStreamRequest ¶
type WriteStreamRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ExecId string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` }
func (*WriteStreamRequest) Descriptor ¶
func (*WriteStreamRequest) Descriptor() ([]byte, []int)
func (*WriteStreamRequest) GetContainerId ¶
func (m *WriteStreamRequest) GetContainerId() string
func (*WriteStreamRequest) GetData ¶
func (m *WriteStreamRequest) GetData() []byte
func (*WriteStreamRequest) GetExecId ¶
func (m *WriteStreamRequest) GetExecId() string
func (*WriteStreamRequest) Marshal ¶
func (m *WriteStreamRequest) Marshal() (dAtA []byte, err error)
func (*WriteStreamRequest) MarshalTo ¶
func (m *WriteStreamRequest) MarshalTo(dAtA []byte) (int, error)
func (*WriteStreamRequest) ProtoMessage ¶
func (*WriteStreamRequest) ProtoMessage()
func (*WriteStreamRequest) Reset ¶
func (m *WriteStreamRequest) Reset()
func (*WriteStreamRequest) Size ¶
func (m *WriteStreamRequest) Size() (n int)
func (*WriteStreamRequest) String ¶
func (m *WriteStreamRequest) String() string
func (*WriteStreamRequest) Unmarshal ¶
func (m *WriteStreamRequest) Unmarshal(dAtA []byte) error
type WriteStreamResponse ¶
type WriteStreamResponse struct {
Len uint32 `protobuf:"varint,1,opt,name=len,proto3" json:"len,omitempty"`
}
func (*WriteStreamResponse) Descriptor ¶
func (*WriteStreamResponse) Descriptor() ([]byte, []int)
func (*WriteStreamResponse) GetLen ¶
func (m *WriteStreamResponse) GetLen() uint32
func (*WriteStreamResponse) Marshal ¶
func (m *WriteStreamResponse) Marshal() (dAtA []byte, err error)
func (*WriteStreamResponse) MarshalTo ¶
func (m *WriteStreamResponse) MarshalTo(dAtA []byte) (int, error)
func (*WriteStreamResponse) ProtoMessage ¶
func (*WriteStreamResponse) ProtoMessage()
func (*WriteStreamResponse) Reset ¶
func (m *WriteStreamResponse) Reset()
func (*WriteStreamResponse) Size ¶
func (m *WriteStreamResponse) Size() (n int)
func (*WriteStreamResponse) String ¶
func (m *WriteStreamResponse) String() string
func (*WriteStreamResponse) Unmarshal ¶
func (m *WriteStreamResponse) Unmarshal(dAtA []byte) error