Documentation
¶
Index ¶
- func RegisterOSServiceServer(s *grpc.Server, srv OSServiceServer)
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetContainers() []*ContainerInfo
- func (m *Container) GetMetadata() *common.Metadata
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) String() string
- func (m *Container) XXX_DiscardUnknown()
- func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Container) XXX_Merge(src proto.Message)
- func (m *Container) XXX_Size() int
- func (m *Container) XXX_Unmarshal(b []byte) error
- type ContainerInfo
- func (*ContainerInfo) Descriptor() ([]byte, []int)
- func (m *ContainerInfo) GetId() string
- func (m *ContainerInfo) GetImage() string
- func (m *ContainerInfo) GetName() string
- func (m *ContainerInfo) GetNamespace() string
- func (m *ContainerInfo) GetPid() uint32
- func (m *ContainerInfo) GetPodId() string
- func (m *ContainerInfo) GetStatus() string
- func (*ContainerInfo) ProtoMessage()
- func (m *ContainerInfo) Reset()
- func (m *ContainerInfo) String() string
- func (m *ContainerInfo) XXX_DiscardUnknown()
- func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainerInfo) XXX_Merge(src proto.Message)
- func (m *ContainerInfo) XXX_Size() int
- func (m *ContainerInfo) XXX_Unmarshal(b []byte) error
- type ContainersRequest
- func (*ContainersRequest) Descriptor() ([]byte, []int)
- func (m *ContainersRequest) GetDriver() common.ContainerDriver
- func (m *ContainersRequest) GetNamespace() string
- func (*ContainersRequest) ProtoMessage()
- func (m *ContainersRequest) Reset()
- func (m *ContainersRequest) String() string
- func (m *ContainersRequest) XXX_DiscardUnknown()
- func (m *ContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainersRequest) XXX_Merge(src proto.Message)
- func (m *ContainersRequest) XXX_Size() int
- func (m *ContainersRequest) XXX_Unmarshal(b []byte) error
- type ContainersResponse
- func (*ContainersResponse) Descriptor() ([]byte, []int)
- func (m *ContainersResponse) GetMessages() []*Container
- func (*ContainersResponse) ProtoMessage()
- func (m *ContainersResponse) Reset()
- func (m *ContainersResponse) String() string
- func (m *ContainersResponse) XXX_DiscardUnknown()
- func (m *ContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainersResponse) XXX_Merge(src proto.Message)
- func (m *ContainersResponse) XXX_Size() int
- func (m *ContainersResponse) XXX_Unmarshal(b []byte) error
- type DmesgRequest
- func (*DmesgRequest) Descriptor() ([]byte, []int)
- func (m *DmesgRequest) GetFollow() bool
- func (m *DmesgRequest) GetTail() bool
- func (*DmesgRequest) ProtoMessage()
- func (m *DmesgRequest) Reset()
- func (m *DmesgRequest) String() string
- func (m *DmesgRequest) XXX_DiscardUnknown()
- func (m *DmesgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DmesgRequest) XXX_Merge(src proto.Message)
- func (m *DmesgRequest) XXX_Size() int
- func (m *DmesgRequest) XXX_Unmarshal(b []byte) error
- type MemInfo
- func (*MemInfo) Descriptor() ([]byte, []int)
- func (m *MemInfo) GetActive() uint64
- func (m *MemInfo) GetActiveanon() uint64
- func (m *MemInfo) GetActivefile() uint64
- func (m *MemInfo) GetAnonhugepages() uint64
- func (m *MemInfo) GetAnonpages() uint64
- func (m *MemInfo) GetBounce() uint64
- func (m *MemInfo) GetBuffers() uint64
- func (m *MemInfo) GetCached() uint64
- func (m *MemInfo) GetCmafree() uint64
- func (m *MemInfo) GetCmatotal() uint64
- func (m *MemInfo) GetCommitlimit() uint64
- func (m *MemInfo) GetCommittedas() uint64
- func (m *MemInfo) GetDirectmap1G() uint64
- func (m *MemInfo) GetDirectmap2M() uint64
- func (m *MemInfo) GetDirectmap4K() uint64
- func (m *MemInfo) GetDirty() uint64
- func (m *MemInfo) GetHardwarecorrupted() uint64
- func (m *MemInfo) GetHugepagesfree() uint64
- func (m *MemInfo) GetHugepagesize() uint64
- func (m *MemInfo) GetHugepagesrsvd() uint64
- func (m *MemInfo) GetHugepagessurp() uint64
- func (m *MemInfo) GetHugepagestotal() uint64
- func (m *MemInfo) GetInactive() uint64
- func (m *MemInfo) GetInactiveanon() uint64
- func (m *MemInfo) GetInactivefile() uint64
- func (m *MemInfo) GetKernelstack() uint64
- func (m *MemInfo) GetMapped() uint64
- func (m *MemInfo) GetMemavailable() uint64
- func (m *MemInfo) GetMemfree() uint64
- func (m *MemInfo) GetMemtotal() uint64
- func (m *MemInfo) GetMlocked() uint64
- func (m *MemInfo) GetNfsunstable() uint64
- func (m *MemInfo) GetPagetables() uint64
- func (m *MemInfo) GetShmem() uint64
- func (m *MemInfo) GetShmemhugepages() uint64
- func (m *MemInfo) GetShmempmdmapped() uint64
- func (m *MemInfo) GetSlab() uint64
- func (m *MemInfo) GetSreclaimable() uint64
- func (m *MemInfo) GetSunreclaim() uint64
- func (m *MemInfo) GetSwapcached() uint64
- func (m *MemInfo) GetSwapfree() uint64
- func (m *MemInfo) GetSwaptotal() uint64
- func (m *MemInfo) GetUnevictable() uint64
- func (m *MemInfo) GetVmallocchunk() uint64
- func (m *MemInfo) GetVmalloctotal() uint64
- func (m *MemInfo) GetVmallocused() uint64
- func (m *MemInfo) GetWriteback() uint64
- func (m *MemInfo) GetWritebacktmp() uint64
- func (*MemInfo) ProtoMessage()
- func (m *MemInfo) Reset()
- func (m *MemInfo) String() string
- func (m *MemInfo) XXX_DiscardUnknown()
- func (m *MemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MemInfo) XXX_Merge(src proto.Message)
- func (m *MemInfo) XXX_Size() int
- func (m *MemInfo) XXX_Unmarshal(b []byte) error
- type Memory
- func (*Memory) Descriptor() ([]byte, []int)
- func (m *Memory) GetMeminfo() *MemInfo
- func (m *Memory) GetMetadata() *common.Metadata
- func (*Memory) ProtoMessage()
- func (m *Memory) Reset()
- func (m *Memory) String() string
- func (m *Memory) XXX_DiscardUnknown()
- func (m *Memory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Memory) XXX_Merge(src proto.Message)
- func (m *Memory) XXX_Size() int
- func (m *Memory) XXX_Unmarshal(b []byte) error
- type MemoryResponse
- func (*MemoryResponse) Descriptor() ([]byte, []int)
- func (m *MemoryResponse) GetMessages() []*Memory
- func (*MemoryResponse) ProtoMessage()
- func (m *MemoryResponse) Reset()
- func (m *MemoryResponse) String() string
- func (m *MemoryResponse) XXX_DiscardUnknown()
- func (m *MemoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MemoryResponse) XXX_Merge(src proto.Message)
- func (m *MemoryResponse) XXX_Size() int
- func (m *MemoryResponse) XXX_Unmarshal(b []byte) error
- type OSServiceClient
- type OSServiceServer
- type OSService_DmesgClient
- type OSService_DmesgServer
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (m *Process) GetMetadata() *common.Metadata
- func (m *Process) GetProcesses() []*ProcessInfo
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) String() string
- func (m *Process) XXX_DiscardUnknown()
- func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Process) XXX_Merge(src proto.Message)
- func (m *Process) XXX_Size() int
- func (m *Process) XXX_Unmarshal(b []byte) error
- type ProcessInfo
- func (*ProcessInfo) Descriptor() ([]byte, []int)
- func (m *ProcessInfo) GetArgs() string
- func (m *ProcessInfo) GetCommand() string
- func (m *ProcessInfo) GetCpuTime() float64
- func (m *ProcessInfo) GetExecutable() string
- func (m *ProcessInfo) GetPid() int32
- func (m *ProcessInfo) GetPpid() int32
- func (m *ProcessInfo) GetResidentMemory() uint64
- func (m *ProcessInfo) GetState() string
- func (m *ProcessInfo) GetThreads() int32
- func (m *ProcessInfo) GetVirtualMemory() uint64
- func (*ProcessInfo) ProtoMessage()
- func (m *ProcessInfo) Reset()
- func (m *ProcessInfo) String() string
- func (m *ProcessInfo) XXX_DiscardUnknown()
- func (m *ProcessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessInfo) XXX_Merge(src proto.Message)
- func (m *ProcessInfo) XXX_Size() int
- func (m *ProcessInfo) XXX_Unmarshal(b []byte) error
- type ProcessesRequest
- func (*ProcessesRequest) Descriptor() ([]byte, []int)
- func (*ProcessesRequest) ProtoMessage()
- func (m *ProcessesRequest) Reset()
- func (m *ProcessesRequest) String() string
- func (m *ProcessesRequest) XXX_DiscardUnknown()
- func (m *ProcessesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessesRequest) XXX_Merge(src proto.Message)
- func (m *ProcessesRequest) XXX_Size() int
- func (m *ProcessesRequest) XXX_Unmarshal(b []byte) error
- type ProcessesResponse
- func (*ProcessesResponse) Descriptor() ([]byte, []int)
- func (m *ProcessesResponse) GetMessages() []*Process
- func (*ProcessesResponse) ProtoMessage()
- func (m *ProcessesResponse) Reset()
- func (m *ProcessesResponse) String() string
- func (m *ProcessesResponse) XXX_DiscardUnknown()
- func (m *ProcessesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessesResponse) XXX_Merge(src proto.Message)
- func (m *ProcessesResponse) XXX_Size() int
- func (m *ProcessesResponse) XXX_Unmarshal(b []byte) error
- type Restart
- func (*Restart) Descriptor() ([]byte, []int)
- func (m *Restart) GetMetadata() *common.Metadata
- func (*Restart) ProtoMessage()
- func (m *Restart) Reset()
- func (m *Restart) String() string
- func (m *Restart) XXX_DiscardUnknown()
- func (m *Restart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Restart) XXX_Merge(src proto.Message)
- func (m *Restart) XXX_Size() int
- func (m *Restart) XXX_Unmarshal(b []byte) error
- type RestartRequest
- func (*RestartRequest) Descriptor() ([]byte, []int)
- func (m *RestartRequest) GetDriver() common.ContainerDriver
- func (m *RestartRequest) GetId() string
- func (m *RestartRequest) GetNamespace() string
- func (*RestartRequest) ProtoMessage()
- func (m *RestartRequest) Reset()
- func (m *RestartRequest) String() string
- func (m *RestartRequest) XXX_DiscardUnknown()
- func (m *RestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestartRequest) XXX_Merge(src proto.Message)
- func (m *RestartRequest) XXX_Size() int
- func (m *RestartRequest) XXX_Unmarshal(b []byte) error
- type RestartResponse
- func (*RestartResponse) Descriptor() ([]byte, []int)
- func (m *RestartResponse) GetMessages() []*Restart
- func (*RestartResponse) ProtoMessage()
- func (m *RestartResponse) Reset()
- func (m *RestartResponse) String() string
- func (m *RestartResponse) XXX_DiscardUnknown()
- func (m *RestartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestartResponse) XXX_Merge(src proto.Message)
- func (m *RestartResponse) XXX_Size() int
- func (m *RestartResponse) XXX_Unmarshal(b []byte) error
- type Stat
- func (*Stat) Descriptor() ([]byte, []int)
- func (m *Stat) GetCpuUsage() uint64
- func (m *Stat) GetId() string
- func (m *Stat) GetMemoryUsage() uint64
- func (m *Stat) GetName() string
- func (m *Stat) GetNamespace() string
- func (m *Stat) GetPodId() string
- func (*Stat) ProtoMessage()
- func (m *Stat) Reset()
- func (m *Stat) String() string
- func (m *Stat) XXX_DiscardUnknown()
- func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stat) XXX_Merge(src proto.Message)
- func (m *Stat) XXX_Size() int
- func (m *Stat) XXX_Unmarshal(b []byte) error
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) GetMetadata() *common.Metadata
- func (m *Stats) GetStats() []*Stat
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) String() string
- func (m *Stats) XXX_DiscardUnknown()
- func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stats) XXX_Merge(src proto.Message)
- func (m *Stats) XXX_Size() int
- func (m *Stats) XXX_Unmarshal(b []byte) error
- type StatsRequest
- func (*StatsRequest) Descriptor() ([]byte, []int)
- func (m *StatsRequest) GetDriver() common.ContainerDriver
- func (m *StatsRequest) GetNamespace() string
- func (*StatsRequest) ProtoMessage()
- func (m *StatsRequest) Reset()
- func (m *StatsRequest) String() string
- func (m *StatsRequest) XXX_DiscardUnknown()
- func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatsRequest) XXX_Merge(src proto.Message)
- func (m *StatsRequest) XXX_Size() int
- func (m *StatsRequest) XXX_Unmarshal(b []byte) error
- type StatsResponse
- func (*StatsResponse) Descriptor() ([]byte, []int)
- func (m *StatsResponse) GetMessages() []*Stats
- func (*StatsResponse) ProtoMessage()
- func (m *StatsResponse) Reset()
- func (m *StatsResponse) String() string
- func (m *StatsResponse) XXX_DiscardUnknown()
- func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatsResponse) XXX_Merge(src proto.Message)
- func (m *StatsResponse) XXX_Size() int
- func (m *StatsResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOSServiceServer ¶
func RegisterOSServiceServer(s *grpc.Server, srv OSServiceServer)
Types ¶
type Container ¶
type Container struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Containers []*ContainerInfo `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The messages message containing the requested containers.
func (*Container) Descriptor ¶
func (*Container) GetContainers ¶
func (m *Container) GetContainers() []*ContainerInfo
func (*Container) GetMetadata ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) XXX_DiscardUnknown ¶
func (m *Container) XXX_DiscardUnknown()
func (*Container) XXX_Marshal ¶
func (*Container) XXX_Unmarshal ¶
type ContainerInfo ¶
type ContainerInfo struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` Pid uint32 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` PodId string `protobuf:"bytes,6,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The messages message containing the requested containers.
func (*ContainerInfo) Descriptor ¶
func (*ContainerInfo) Descriptor() ([]byte, []int)
func (*ContainerInfo) GetId ¶
func (m *ContainerInfo) GetId() string
func (*ContainerInfo) GetImage ¶
func (m *ContainerInfo) GetImage() string
func (*ContainerInfo) GetName ¶
func (m *ContainerInfo) GetName() string
func (*ContainerInfo) GetNamespace ¶
func (m *ContainerInfo) GetNamespace() string
func (*ContainerInfo) GetPid ¶
func (m *ContainerInfo) GetPid() uint32
func (*ContainerInfo) GetPodId ¶
func (m *ContainerInfo) GetPodId() string
func (*ContainerInfo) GetStatus ¶
func (m *ContainerInfo) GetStatus() string
func (*ContainerInfo) ProtoMessage ¶
func (*ContainerInfo) ProtoMessage()
func (*ContainerInfo) Reset ¶
func (m *ContainerInfo) Reset()
func (*ContainerInfo) String ¶
func (m *ContainerInfo) String() string
func (*ContainerInfo) XXX_DiscardUnknown ¶
func (m *ContainerInfo) XXX_DiscardUnknown()
func (*ContainerInfo) XXX_Marshal ¶
func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContainerInfo) XXX_Merge ¶
func (m *ContainerInfo) XXX_Merge(src proto.Message)
func (*ContainerInfo) XXX_Size ¶
func (m *ContainerInfo) XXX_Size() int
func (*ContainerInfo) XXX_Unmarshal ¶
func (m *ContainerInfo) XXX_Unmarshal(b []byte) error
type ContainersRequest ¶
type ContainersRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // driver might be default "containerd" or "cri" Driver common.ContainerDriver `protobuf:"varint,2,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContainersRequest) Descriptor ¶
func (*ContainersRequest) Descriptor() ([]byte, []int)
func (*ContainersRequest) GetDriver ¶
func (m *ContainersRequest) GetDriver() common.ContainerDriver
func (*ContainersRequest) GetNamespace ¶
func (m *ContainersRequest) GetNamespace() string
func (*ContainersRequest) ProtoMessage ¶
func (*ContainersRequest) ProtoMessage()
func (*ContainersRequest) Reset ¶
func (m *ContainersRequest) Reset()
func (*ContainersRequest) String ¶
func (m *ContainersRequest) String() string
func (*ContainersRequest) XXX_DiscardUnknown ¶
func (m *ContainersRequest) XXX_DiscardUnknown()
func (*ContainersRequest) XXX_Marshal ¶
func (m *ContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContainersRequest) XXX_Merge ¶
func (m *ContainersRequest) XXX_Merge(src proto.Message)
func (*ContainersRequest) XXX_Size ¶
func (m *ContainersRequest) XXX_Size() int
func (*ContainersRequest) XXX_Unmarshal ¶
func (m *ContainersRequest) XXX_Unmarshal(b []byte) error
type ContainersResponse ¶
type ContainersResponse struct { Messages []*Container `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContainersResponse) Descriptor ¶
func (*ContainersResponse) Descriptor() ([]byte, []int)
func (*ContainersResponse) GetMessages ¶
func (m *ContainersResponse) GetMessages() []*Container
func (*ContainersResponse) ProtoMessage ¶
func (*ContainersResponse) ProtoMessage()
func (*ContainersResponse) Reset ¶
func (m *ContainersResponse) Reset()
func (*ContainersResponse) String ¶
func (m *ContainersResponse) String() string
func (*ContainersResponse) XXX_DiscardUnknown ¶
func (m *ContainersResponse) XXX_DiscardUnknown()
func (*ContainersResponse) XXX_Marshal ¶
func (m *ContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContainersResponse) XXX_Merge ¶
func (m *ContainersResponse) XXX_Merge(src proto.Message)
func (*ContainersResponse) XXX_Size ¶
func (m *ContainersResponse) XXX_Size() int
func (*ContainersResponse) XXX_Unmarshal ¶
func (m *ContainersResponse) XXX_Unmarshal(b []byte) error
type DmesgRequest ¶
type DmesgRequest struct { Follow bool `protobuf:"varint,1,opt,name=follow,proto3" json:"follow,omitempty"` Tail bool `protobuf:"varint,2,opt,name=tail,proto3" json:"tail,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
dmesg
func (*DmesgRequest) Descriptor ¶
func (*DmesgRequest) Descriptor() ([]byte, []int)
func (*DmesgRequest) GetFollow ¶
func (m *DmesgRequest) GetFollow() bool
func (*DmesgRequest) GetTail ¶
func (m *DmesgRequest) GetTail() bool
func (*DmesgRequest) ProtoMessage ¶
func (*DmesgRequest) ProtoMessage()
func (*DmesgRequest) Reset ¶
func (m *DmesgRequest) Reset()
func (*DmesgRequest) String ¶
func (m *DmesgRequest) String() string
func (*DmesgRequest) XXX_DiscardUnknown ¶
func (m *DmesgRequest) XXX_DiscardUnknown()
func (*DmesgRequest) XXX_Marshal ¶
func (m *DmesgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DmesgRequest) XXX_Merge ¶
func (m *DmesgRequest) XXX_Merge(src proto.Message)
func (*DmesgRequest) XXX_Size ¶
func (m *DmesgRequest) XXX_Size() int
func (*DmesgRequest) XXX_Unmarshal ¶
func (m *DmesgRequest) XXX_Unmarshal(b []byte) error
type MemInfo ¶
type MemInfo struct { Memtotal uint64 `protobuf:"varint,1,opt,name=memtotal,proto3" json:"memtotal,omitempty"` Memfree uint64 `protobuf:"varint,2,opt,name=memfree,proto3" json:"memfree,omitempty"` Memavailable uint64 `protobuf:"varint,3,opt,name=memavailable,proto3" json:"memavailable,omitempty"` Buffers uint64 `protobuf:"varint,4,opt,name=buffers,proto3" json:"buffers,omitempty"` Cached uint64 `protobuf:"varint,5,opt,name=cached,proto3" json:"cached,omitempty"` Swapcached uint64 `protobuf:"varint,6,opt,name=swapcached,proto3" json:"swapcached,omitempty"` Active uint64 `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"` Inactive uint64 `protobuf:"varint,8,opt,name=inactive,proto3" json:"inactive,omitempty"` Activeanon uint64 `protobuf:"varint,9,opt,name=activeanon,proto3" json:"activeanon,omitempty"` Inactiveanon uint64 `protobuf:"varint,10,opt,name=inactiveanon,proto3" json:"inactiveanon,omitempty"` Activefile uint64 `protobuf:"varint,11,opt,name=activefile,proto3" json:"activefile,omitempty"` Inactivefile uint64 `protobuf:"varint,12,opt,name=inactivefile,proto3" json:"inactivefile,omitempty"` Unevictable uint64 `protobuf:"varint,13,opt,name=unevictable,proto3" json:"unevictable,omitempty"` Mlocked uint64 `protobuf:"varint,14,opt,name=mlocked,proto3" json:"mlocked,omitempty"` Swaptotal uint64 `protobuf:"varint,15,opt,name=swaptotal,proto3" json:"swaptotal,omitempty"` Swapfree uint64 `protobuf:"varint,16,opt,name=swapfree,proto3" json:"swapfree,omitempty"` Dirty uint64 `protobuf:"varint,17,opt,name=dirty,proto3" json:"dirty,omitempty"` Writeback uint64 `protobuf:"varint,18,opt,name=writeback,proto3" json:"writeback,omitempty"` Anonpages uint64 `protobuf:"varint,19,opt,name=anonpages,proto3" json:"anonpages,omitempty"` Mapped uint64 `protobuf:"varint,20,opt,name=mapped,proto3" json:"mapped,omitempty"` Shmem uint64 `protobuf:"varint,21,opt,name=shmem,proto3" json:"shmem,omitempty"` Slab uint64 `protobuf:"varint,22,opt,name=slab,proto3" json:"slab,omitempty"` Sreclaimable uint64 `protobuf:"varint,23,opt,name=sreclaimable,proto3" json:"sreclaimable,omitempty"` Sunreclaim uint64 `protobuf:"varint,24,opt,name=sunreclaim,proto3" json:"sunreclaim,omitempty"` Kernelstack uint64 `protobuf:"varint,25,opt,name=kernelstack,proto3" json:"kernelstack,omitempty"` Pagetables uint64 `protobuf:"varint,26,opt,name=pagetables,proto3" json:"pagetables,omitempty"` Nfsunstable uint64 `protobuf:"varint,27,opt,name=nfsunstable,proto3" json:"nfsunstable,omitempty"` Bounce uint64 `protobuf:"varint,28,opt,name=bounce,proto3" json:"bounce,omitempty"` Writebacktmp uint64 `protobuf:"varint,29,opt,name=writebacktmp,proto3" json:"writebacktmp,omitempty"` Commitlimit uint64 `protobuf:"varint,30,opt,name=commitlimit,proto3" json:"commitlimit,omitempty"` Committedas uint64 `protobuf:"varint,31,opt,name=committedas,proto3" json:"committedas,omitempty"` Vmalloctotal uint64 `protobuf:"varint,32,opt,name=vmalloctotal,proto3" json:"vmalloctotal,omitempty"` Vmallocused uint64 `protobuf:"varint,33,opt,name=vmallocused,proto3" json:"vmallocused,omitempty"` Vmallocchunk uint64 `protobuf:"varint,34,opt,name=vmallocchunk,proto3" json:"vmallocchunk,omitempty"` Hardwarecorrupted uint64 `protobuf:"varint,35,opt,name=hardwarecorrupted,proto3" json:"hardwarecorrupted,omitempty"` Anonhugepages uint64 `protobuf:"varint,36,opt,name=anonhugepages,proto3" json:"anonhugepages,omitempty"` Shmemhugepages uint64 `protobuf:"varint,37,opt,name=shmemhugepages,proto3" json:"shmemhugepages,omitempty"` Shmempmdmapped uint64 `protobuf:"varint,38,opt,name=shmempmdmapped,proto3" json:"shmempmdmapped,omitempty"` Cmatotal uint64 `protobuf:"varint,39,opt,name=cmatotal,proto3" json:"cmatotal,omitempty"` Cmafree uint64 `protobuf:"varint,40,opt,name=cmafree,proto3" json:"cmafree,omitempty"` Hugepagestotal uint64 `protobuf:"varint,41,opt,name=hugepagestotal,proto3" json:"hugepagestotal,omitempty"` Hugepagesfree uint64 `protobuf:"varint,42,opt,name=hugepagesfree,proto3" json:"hugepagesfree,omitempty"` Hugepagesrsvd uint64 `protobuf:"varint,43,opt,name=hugepagesrsvd,proto3" json:"hugepagesrsvd,omitempty"` Hugepagessurp uint64 `protobuf:"varint,44,opt,name=hugepagessurp,proto3" json:"hugepagessurp,omitempty"` Hugepagesize uint64 `protobuf:"varint,45,opt,name=hugepagesize,proto3" json:"hugepagesize,omitempty"` Directmap4K uint64 `protobuf:"varint,46,opt,name=directmap4k,proto3" json:"directmap4k,omitempty"` Directmap2M uint64 `protobuf:"varint,47,opt,name=directmap2m,proto3" json:"directmap2m,omitempty"` Directmap1G uint64 `protobuf:"varint,48,opt,name=directmap1g,proto3" json:"directmap1g,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MemInfo) Descriptor ¶
func (*MemInfo) GetActiveanon ¶
func (*MemInfo) GetActivefile ¶
func (*MemInfo) GetAnonhugepages ¶
func (*MemInfo) GetAnonpages ¶
func (*MemInfo) GetBuffers ¶
func (*MemInfo) GetCmafree ¶
func (*MemInfo) GetCmatotal ¶
func (*MemInfo) GetCommitlimit ¶
func (*MemInfo) GetCommittedas ¶
func (*MemInfo) GetDirectmap1G ¶
func (*MemInfo) GetDirectmap2M ¶
func (*MemInfo) GetDirectmap4K ¶
func (*MemInfo) GetHardwarecorrupted ¶
func (*MemInfo) GetHugepagesfree ¶
func (*MemInfo) GetHugepagesize ¶
func (*MemInfo) GetHugepagesrsvd ¶
func (*MemInfo) GetHugepagessurp ¶
func (*MemInfo) GetHugepagestotal ¶
func (*MemInfo) GetInactive ¶
func (*MemInfo) GetInactiveanon ¶
func (*MemInfo) GetInactivefile ¶
func (*MemInfo) GetKernelstack ¶
func (*MemInfo) GetMemavailable ¶
func (*MemInfo) GetMemfree ¶
func (*MemInfo) GetMemtotal ¶
func (*MemInfo) GetMlocked ¶
func (*MemInfo) GetNfsunstable ¶
func (*MemInfo) GetPagetables ¶
func (*MemInfo) GetShmemhugepages ¶
func (*MemInfo) GetShmempmdmapped ¶
func (*MemInfo) GetSreclaimable ¶
func (*MemInfo) GetSunreclaim ¶
func (*MemInfo) GetSwapcached ¶
func (*MemInfo) GetSwapfree ¶
func (*MemInfo) GetSwaptotal ¶
func (*MemInfo) GetUnevictable ¶
func (*MemInfo) GetVmallocchunk ¶
func (*MemInfo) GetVmalloctotal ¶
func (*MemInfo) GetVmallocused ¶
func (*MemInfo) GetWriteback ¶
func (*MemInfo) GetWritebacktmp ¶
func (*MemInfo) ProtoMessage ¶
func (*MemInfo) ProtoMessage()
func (*MemInfo) XXX_DiscardUnknown ¶
func (m *MemInfo) XXX_DiscardUnknown()
func (*MemInfo) XXX_Marshal ¶
func (*MemInfo) XXX_Unmarshal ¶
type Memory ¶
type Memory struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Meminfo *MemInfo `protobuf:"bytes,2,opt,name=meminfo,proto3" json:"meminfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Memory) Descriptor ¶
func (*Memory) GetMeminfo ¶
func (*Memory) GetMetadata ¶
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) XXX_DiscardUnknown ¶
func (m *Memory) XXX_DiscardUnknown()
func (*Memory) XXX_Marshal ¶
func (*Memory) XXX_Unmarshal ¶
type MemoryResponse ¶
type MemoryResponse struct { Messages []*Memory `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MemoryResponse) Descriptor ¶
func (*MemoryResponse) Descriptor() ([]byte, []int)
func (*MemoryResponse) GetMessages ¶
func (m *MemoryResponse) GetMessages() []*Memory
func (*MemoryResponse) ProtoMessage ¶
func (*MemoryResponse) ProtoMessage()
func (*MemoryResponse) Reset ¶
func (m *MemoryResponse) Reset()
func (*MemoryResponse) String ¶
func (m *MemoryResponse) String() string
func (*MemoryResponse) XXX_DiscardUnknown ¶
func (m *MemoryResponse) XXX_DiscardUnknown()
func (*MemoryResponse) XXX_Marshal ¶
func (m *MemoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MemoryResponse) XXX_Merge ¶
func (m *MemoryResponse) XXX_Merge(src proto.Message)
func (*MemoryResponse) XXX_Size ¶
func (m *MemoryResponse) XXX_Size() int
func (*MemoryResponse) XXX_Unmarshal ¶
func (m *MemoryResponse) XXX_Unmarshal(b []byte) error
type OSServiceClient ¶
type OSServiceClient interface { Containers(ctx context.Context, in *ContainersRequest, opts ...grpc.CallOption) (*ContainersResponse, error) Dmesg(ctx context.Context, in *DmesgRequest, opts ...grpc.CallOption) (OSService_DmesgClient, error) Memory(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MemoryResponse, error) Processes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProcessesResponse, error) Restart(ctx context.Context, in *RestartRequest, opts ...grpc.CallOption) (*RestartResponse, error) Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) }
OSServiceClient is the client API for OSService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOSServiceClient ¶
func NewOSServiceClient(cc *grpc.ClientConn) OSServiceClient
type OSServiceServer ¶
type OSServiceServer interface { Containers(context.Context, *ContainersRequest) (*ContainersResponse, error) Dmesg(*DmesgRequest, OSService_DmesgServer) error Memory(context.Context, *empty.Empty) (*MemoryResponse, error) Processes(context.Context, *empty.Empty) (*ProcessesResponse, error) Restart(context.Context, *RestartRequest) (*RestartResponse, error) Stats(context.Context, *StatsRequest) (*StatsResponse, error) }
OSServiceServer is the server API for OSService service.
type OSService_DmesgClient ¶
type OSService_DmesgClient interface { Recv() (*common.Data, error) grpc.ClientStream }
type OSService_DmesgServer ¶
type OSService_DmesgServer interface { Send(*common.Data) error grpc.ServerStream }
type Process ¶
type Process struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Processes []*ProcessInfo `protobuf:"bytes,2,rep,name=processes,proto3" json:"processes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Process) Descriptor ¶
func (*Process) GetMetadata ¶
func (*Process) GetProcesses ¶
func (m *Process) GetProcesses() []*ProcessInfo
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) XXX_DiscardUnknown ¶
func (m *Process) XXX_DiscardUnknown()
func (*Process) XXX_Marshal ¶
func (*Process) XXX_Unmarshal ¶
type ProcessInfo ¶
type ProcessInfo struct { Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` Ppid int32 `protobuf:"varint,2,opt,name=ppid,proto3" json:"ppid,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Threads int32 `protobuf:"varint,4,opt,name=threads,proto3" json:"threads,omitempty"` CpuTime float64 `protobuf:"fixed64,5,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"` VirtualMemory uint64 `protobuf:"varint,6,opt,name=virtual_memory,json=virtualMemory,proto3" json:"virtual_memory,omitempty"` ResidentMemory uint64 `protobuf:"varint,7,opt,name=resident_memory,json=residentMemory,proto3" json:"resident_memory,omitempty"` Command string `protobuf:"bytes,8,opt,name=command,proto3" json:"command,omitempty"` Executable string `protobuf:"bytes,9,opt,name=executable,proto3" json:"executable,omitempty"` Args string `protobuf:"bytes,10,opt,name=args,proto3" json:"args,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProcessInfo) Descriptor ¶
func (*ProcessInfo) Descriptor() ([]byte, []int)
func (*ProcessInfo) GetArgs ¶
func (m *ProcessInfo) GetArgs() string
func (*ProcessInfo) GetCommand ¶
func (m *ProcessInfo) GetCommand() string
func (*ProcessInfo) GetCpuTime ¶
func (m *ProcessInfo) GetCpuTime() float64
func (*ProcessInfo) GetExecutable ¶
func (m *ProcessInfo) GetExecutable() string
func (*ProcessInfo) GetPid ¶
func (m *ProcessInfo) GetPid() int32
func (*ProcessInfo) GetPpid ¶
func (m *ProcessInfo) GetPpid() int32
func (*ProcessInfo) GetResidentMemory ¶
func (m *ProcessInfo) GetResidentMemory() uint64
func (*ProcessInfo) GetState ¶
func (m *ProcessInfo) GetState() string
func (*ProcessInfo) GetThreads ¶
func (m *ProcessInfo) GetThreads() int32
func (*ProcessInfo) GetVirtualMemory ¶
func (m *ProcessInfo) GetVirtualMemory() uint64
func (*ProcessInfo) ProtoMessage ¶
func (*ProcessInfo) ProtoMessage()
func (*ProcessInfo) Reset ¶
func (m *ProcessInfo) Reset()
func (*ProcessInfo) String ¶
func (m *ProcessInfo) String() string
func (*ProcessInfo) XXX_DiscardUnknown ¶
func (m *ProcessInfo) XXX_DiscardUnknown()
func (*ProcessInfo) XXX_Marshal ¶
func (m *ProcessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessInfo) XXX_Merge ¶
func (m *ProcessInfo) XXX_Merge(src proto.Message)
func (*ProcessInfo) XXX_Size ¶
func (m *ProcessInfo) XXX_Size() int
func (*ProcessInfo) XXX_Unmarshal ¶
func (m *ProcessInfo) XXX_Unmarshal(b []byte) error
type ProcessesRequest ¶
type ProcessesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
rpc processes
func (*ProcessesRequest) Descriptor ¶
func (*ProcessesRequest) Descriptor() ([]byte, []int)
func (*ProcessesRequest) ProtoMessage ¶
func (*ProcessesRequest) ProtoMessage()
func (*ProcessesRequest) Reset ¶
func (m *ProcessesRequest) Reset()
func (*ProcessesRequest) String ¶
func (m *ProcessesRequest) String() string
func (*ProcessesRequest) XXX_DiscardUnknown ¶
func (m *ProcessesRequest) XXX_DiscardUnknown()
func (*ProcessesRequest) XXX_Marshal ¶
func (m *ProcessesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessesRequest) XXX_Merge ¶
func (m *ProcessesRequest) XXX_Merge(src proto.Message)
func (*ProcessesRequest) XXX_Size ¶
func (m *ProcessesRequest) XXX_Size() int
func (*ProcessesRequest) XXX_Unmarshal ¶
func (m *ProcessesRequest) XXX_Unmarshal(b []byte) error
type ProcessesResponse ¶
type ProcessesResponse struct { Messages []*Process `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProcessesResponse) Descriptor ¶
func (*ProcessesResponse) Descriptor() ([]byte, []int)
func (*ProcessesResponse) GetMessages ¶
func (m *ProcessesResponse) GetMessages() []*Process
func (*ProcessesResponse) ProtoMessage ¶
func (*ProcessesResponse) ProtoMessage()
func (*ProcessesResponse) Reset ¶
func (m *ProcessesResponse) Reset()
func (*ProcessesResponse) String ¶
func (m *ProcessesResponse) String() string
func (*ProcessesResponse) XXX_DiscardUnknown ¶
func (m *ProcessesResponse) XXX_DiscardUnknown()
func (*ProcessesResponse) XXX_Marshal ¶
func (m *ProcessesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessesResponse) XXX_Merge ¶
func (m *ProcessesResponse) XXX_Merge(src proto.Message)
func (*ProcessesResponse) XXX_Size ¶
func (m *ProcessesResponse) XXX_Size() int
func (*ProcessesResponse) XXX_Unmarshal ¶
func (m *ProcessesResponse) XXX_Unmarshal(b []byte) error
type Restart ¶
type Restart struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Restart) Descriptor ¶
func (*Restart) GetMetadata ¶
func (*Restart) ProtoMessage ¶
func (*Restart) ProtoMessage()
func (*Restart) XXX_DiscardUnknown ¶
func (m *Restart) XXX_DiscardUnknown()
func (*Restart) XXX_Marshal ¶
func (*Restart) XXX_Unmarshal ¶
type RestartRequest ¶
type RestartRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // driver might be default "containerd" or "cri" Driver common.ContainerDriver `protobuf:"varint,3,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
rpc restart The request message containing the process to restart.
func (*RestartRequest) Descriptor ¶
func (*RestartRequest) Descriptor() ([]byte, []int)
func (*RestartRequest) GetDriver ¶
func (m *RestartRequest) GetDriver() common.ContainerDriver
func (*RestartRequest) GetId ¶
func (m *RestartRequest) GetId() string
func (*RestartRequest) GetNamespace ¶
func (m *RestartRequest) GetNamespace() string
func (*RestartRequest) ProtoMessage ¶
func (*RestartRequest) ProtoMessage()
func (*RestartRequest) Reset ¶
func (m *RestartRequest) Reset()
func (*RestartRequest) String ¶
func (m *RestartRequest) String() string
func (*RestartRequest) XXX_DiscardUnknown ¶
func (m *RestartRequest) XXX_DiscardUnknown()
func (*RestartRequest) XXX_Marshal ¶
func (m *RestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestartRequest) XXX_Merge ¶
func (m *RestartRequest) XXX_Merge(src proto.Message)
func (*RestartRequest) XXX_Size ¶
func (m *RestartRequest) XXX_Size() int
func (*RestartRequest) XXX_Unmarshal ¶
func (m *RestartRequest) XXX_Unmarshal(b []byte) error
type RestartResponse ¶
type RestartResponse struct { Messages []*Restart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The messages message containing the restart status.
func (*RestartResponse) Descriptor ¶
func (*RestartResponse) Descriptor() ([]byte, []int)
func (*RestartResponse) GetMessages ¶
func (m *RestartResponse) GetMessages() []*Restart
func (*RestartResponse) ProtoMessage ¶
func (*RestartResponse) ProtoMessage()
func (*RestartResponse) Reset ¶
func (m *RestartResponse) Reset()
func (*RestartResponse) String ¶
func (m *RestartResponse) String() string
func (*RestartResponse) XXX_DiscardUnknown ¶
func (m *RestartResponse) XXX_DiscardUnknown()
func (*RestartResponse) XXX_Marshal ¶
func (m *RestartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestartResponse) XXX_Merge ¶
func (m *RestartResponse) XXX_Merge(src proto.Message)
func (*RestartResponse) XXX_Size ¶
func (m *RestartResponse) XXX_Size() int
func (*RestartResponse) XXX_Unmarshal ¶
func (m *RestartResponse) XXX_Unmarshal(b []byte) error
type Stat ¶
type Stat struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` MemoryUsage uint64 `protobuf:"varint,4,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` CpuUsage uint64 `protobuf:"varint,5,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` PodId string `protobuf:"bytes,6,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The messages message containing the requested stat.
func (*Stat) Descriptor ¶
func (*Stat) GetCpuUsage ¶
func (*Stat) GetMemoryUsage ¶
func (*Stat) GetNamespace ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) XXX_DiscardUnknown ¶
func (m *Stat) XXX_DiscardUnknown()
func (*Stat) XXX_Unmarshal ¶
type Stats ¶
type Stats struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Stats []*Stat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The messages message containing the requested stats.
func (*Stats) Descriptor ¶
func (*Stats) GetMetadata ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) XXX_DiscardUnknown ¶
func (m *Stats) XXX_DiscardUnknown()
func (*Stats) XXX_Marshal ¶
func (*Stats) XXX_Unmarshal ¶
type StatsRequest ¶
type StatsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // driver might be default "containerd" or "cri" Driver common.ContainerDriver `protobuf:"varint,2,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message containing the containerd namespace.
func (*StatsRequest) Descriptor ¶
func (*StatsRequest) Descriptor() ([]byte, []int)
func (*StatsRequest) GetDriver ¶
func (m *StatsRequest) GetDriver() common.ContainerDriver
func (*StatsRequest) GetNamespace ¶
func (m *StatsRequest) GetNamespace() string
func (*StatsRequest) ProtoMessage ¶
func (*StatsRequest) ProtoMessage()
func (*StatsRequest) Reset ¶
func (m *StatsRequest) Reset()
func (*StatsRequest) String ¶
func (m *StatsRequest) String() string
func (*StatsRequest) XXX_DiscardUnknown ¶
func (m *StatsRequest) XXX_DiscardUnknown()
func (*StatsRequest) XXX_Marshal ¶
func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatsRequest) XXX_Merge ¶
func (m *StatsRequest) XXX_Merge(src proto.Message)
func (*StatsRequest) XXX_Size ¶
func (m *StatsRequest) XXX_Size() int
func (*StatsRequest) XXX_Unmarshal ¶
func (m *StatsRequest) XXX_Unmarshal(b []byte) error
type StatsResponse ¶
type StatsResponse struct { Messages []*Stats `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatsResponse) Descriptor ¶
func (*StatsResponse) Descriptor() ([]byte, []int)
func (*StatsResponse) GetMessages ¶
func (m *StatsResponse) GetMessages() []*Stats
func (*StatsResponse) ProtoMessage ¶
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) Reset ¶
func (m *StatsResponse) Reset()
func (*StatsResponse) String ¶
func (m *StatsResponse) String() string
func (*StatsResponse) XXX_DiscardUnknown ¶
func (m *StatsResponse) XXX_DiscardUnknown()
func (*StatsResponse) XXX_Marshal ¶
func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatsResponse) XXX_Merge ¶
func (m *StatsResponse) XXX_Merge(src proto.Message)
func (*StatsResponse) XXX_Size ¶
func (m *StatsResponse) XXX_Size() int
func (*StatsResponse) XXX_Unmarshal ¶
func (m *StatsResponse) XXX_Unmarshal(b []byte) error