Documentation ¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
GetServerVersionRequest GetServerVersionResponse UpdateProcessRequest UpdateProcessResponse CreateContainerRequest CreateContainerResponse SignalRequest SignalResponse AddProcessRequest Rlimit User AddProcessResponse CreateCheckpointRequest CreateCheckpointResponse DeleteCheckpointRequest DeleteCheckpointResponse ListCheckpointRequest Checkpoint ListCheckpointResponse StateRequest ContainerState Process Container Machine StateResponse UpdateContainerRequest UpdateResource BlockIODevice WeightDevice ThrottleDevice UpdateContainerResponse EventsRequest Event NetworkStats CpuUsage ThrottlingData CpuStats PidsStats MemoryData MemoryStats BlkioStatsEntry BlkioStats HugetlbStats CgroupStats StatsResponse StatsRequest
Index ¶
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type APIClient
- type APIServer
- type API_EventsClient
- type API_EventsServer
- type AddProcessRequest
- func (*AddProcessRequest) Descriptor() ([]byte, []int)
- func (m *AddProcessRequest) GetApparmorProfile() string
- func (m *AddProcessRequest) GetArgs() []string
- func (m *AddProcessRequest) GetCapabilities() []string
- func (m *AddProcessRequest) GetCwd() string
- func (m *AddProcessRequest) GetEnv() []string
- func (m *AddProcessRequest) GetId() string
- func (m *AddProcessRequest) GetNoNewPrivileges() bool
- func (m *AddProcessRequest) GetPid() string
- func (m *AddProcessRequest) GetRlimits() []*Rlimit
- func (m *AddProcessRequest) GetSelinuxLabel() string
- func (m *AddProcessRequest) GetStderr() string
- func (m *AddProcessRequest) GetStdin() string
- func (m *AddProcessRequest) GetStdout() string
- func (m *AddProcessRequest) GetTerminal() bool
- func (m *AddProcessRequest) GetUser() *User
- func (*AddProcessRequest) ProtoMessage()
- func (m *AddProcessRequest) Reset()
- func (m *AddProcessRequest) String() string
- type AddProcessResponse
- 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 (*BlkioStats) ProtoMessage()
- func (m *BlkioStats) Reset()
- func (m *BlkioStats) String() string
- 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 (*BlkioStatsEntry) ProtoMessage()
- func (m *BlkioStatsEntry) Reset()
- func (m *BlkioStatsEntry) String() string
- type BlockIODevice
- 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 (*CgroupStats) ProtoMessage()
- func (m *CgroupStats) Reset()
- func (m *CgroupStats) String() string
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)
- func (m *Checkpoint) GetEmptyNS() []string
- func (m *Checkpoint) GetExit() bool
- func (m *Checkpoint) GetName() string
- func (m *Checkpoint) GetShell() bool
- func (m *Checkpoint) GetTcp() bool
- func (m *Checkpoint) GetUnixSockets() bool
- func (*Checkpoint) ProtoMessage()
- func (m *Checkpoint) Reset()
- func (m *Checkpoint) String() string
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetBundlePath() string
- func (m *Container) GetId() string
- func (m *Container) GetLabels() []string
- func (m *Container) GetPids() []uint32
- func (m *Container) GetProcesses() []*Process
- func (m *Container) GetRuntime() string
- func (m *Container) GetStatus() string
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) String() string
- type ContainerState
- type CpuStats
- 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 (*CpuUsage) ProtoMessage()
- func (m *CpuUsage) Reset()
- func (m *CpuUsage) String() string
- type CreateCheckpointRequest
- func (*CreateCheckpointRequest) Descriptor() ([]byte, []int)
- func (m *CreateCheckpointRequest) GetCheckpoint() *Checkpoint
- func (m *CreateCheckpointRequest) GetCheckpointDir() string
- func (m *CreateCheckpointRequest) GetId() string
- func (*CreateCheckpointRequest) ProtoMessage()
- func (m *CreateCheckpointRequest) Reset()
- func (m *CreateCheckpointRequest) String() string
- type CreateCheckpointResponse
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)
- func (m *CreateContainerRequest) GetBundlePath() string
- func (m *CreateContainerRequest) GetCheckpoint() string
- func (m *CreateContainerRequest) GetCheckpointDir() string
- func (m *CreateContainerRequest) GetId() string
- func (m *CreateContainerRequest) GetLabels() []string
- func (m *CreateContainerRequest) GetNoPivotRoot() bool
- func (m *CreateContainerRequest) GetRuntime() string
- func (m *CreateContainerRequest) GetRuntimeArgs() []string
- func (m *CreateContainerRequest) GetStderr() string
- func (m *CreateContainerRequest) GetStdin() string
- func (m *CreateContainerRequest) GetStdout() string
- func (*CreateContainerRequest) ProtoMessage()
- func (m *CreateContainerRequest) Reset()
- func (m *CreateContainerRequest) String() string
- type CreateContainerResponse
- type DeleteCheckpointRequest
- func (*DeleteCheckpointRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCheckpointRequest) GetCheckpointDir() string
- func (m *DeleteCheckpointRequest) GetId() string
- func (m *DeleteCheckpointRequest) GetName() string
- func (*DeleteCheckpointRequest) ProtoMessage()
- func (m *DeleteCheckpointRequest) Reset()
- func (m *DeleteCheckpointRequest) String() string
- type DeleteCheckpointResponse
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetId() string
- func (m *Event) GetPid() string
- func (m *Event) GetStatus() uint32
- func (m *Event) GetTimestamp() *google_protobuf.Timestamp
- func (m *Event) GetType() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- type EventsRequest
- func (*EventsRequest) Descriptor() ([]byte, []int)
- func (m *EventsRequest) GetId() string
- func (m *EventsRequest) GetStoredOnly() bool
- func (m *EventsRequest) GetTimestamp() *google_protobuf.Timestamp
- func (*EventsRequest) ProtoMessage()
- func (m *EventsRequest) Reset()
- func (m *EventsRequest) String() string
- type GetServerVersionRequest
- type GetServerVersionResponse
- func (*GetServerVersionResponse) Descriptor() ([]byte, []int)
- func (m *GetServerVersionResponse) GetMajor() uint32
- func (m *GetServerVersionResponse) GetMinor() uint32
- func (m *GetServerVersionResponse) GetPatch() uint32
- func (m *GetServerVersionResponse) GetRevision() string
- func (*GetServerVersionResponse) ProtoMessage()
- func (m *GetServerVersionResponse) Reset()
- func (m *GetServerVersionResponse) String() string
- type HugetlbStats
- func (*HugetlbStats) Descriptor() ([]byte, []int)
- func (m *HugetlbStats) GetFailcnt() uint64
- func (m *HugetlbStats) GetLimit() uint64
- func (m *HugetlbStats) GetMaxUsage() uint64
- func (m *HugetlbStats) GetUsage() uint64
- func (*HugetlbStats) ProtoMessage()
- func (m *HugetlbStats) Reset()
- func (m *HugetlbStats) String() string
- type ListCheckpointRequest
- type ListCheckpointResponse
- type Machine
- 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 (*MemoryData) ProtoMessage()
- func (m *MemoryData) Reset()
- func (m *MemoryData) String() string
- 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 (*MemoryStats) ProtoMessage()
- func (m *MemoryStats) Reset()
- func (m *MemoryStats) String() string
- 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) GetRx_Packets() uint64
- func (m *NetworkStats) GetTxBytes() uint64
- func (m *NetworkStats) GetTxDropped() uint64
- func (m *NetworkStats) GetTxErrors() uint64
- func (m *NetworkStats) GetTxPackets() uint64
- func (*NetworkStats) ProtoMessage()
- func (m *NetworkStats) Reset()
- func (m *NetworkStats) String() string
- type PidsStats
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (m *Process) GetApparmorProfile() string
- func (m *Process) GetArgs() []string
- func (m *Process) GetCapabilities() []string
- func (m *Process) GetCwd() string
- func (m *Process) GetEnv() []string
- func (m *Process) GetNoNewPrivileges() bool
- func (m *Process) GetPid() string
- func (m *Process) GetRlimits() []*Rlimit
- func (m *Process) GetSelinuxLabel() string
- func (m *Process) GetStderr() string
- func (m *Process) GetStdin() string
- func (m *Process) GetStdout() string
- func (m *Process) GetSystemPid() uint32
- func (m *Process) GetTerminal() bool
- func (m *Process) GetUser() *User
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) String() string
- type Rlimit
- type SignalRequest
- type SignalResponse
- type StateRequest
- type StateResponse
- type StatsRequest
- type StatsResponse
- func (*StatsResponse) Descriptor() ([]byte, []int)
- func (m *StatsResponse) GetCgroupStats() *CgroupStats
- func (m *StatsResponse) GetNetworkStats() []*NetworkStats
- func (m *StatsResponse) GetTimestamp() *google_protobuf.Timestamp
- func (*StatsResponse) ProtoMessage()
- func (m *StatsResponse) Reset()
- func (m *StatsResponse) String() string
- type ThrottleDevice
- type ThrottlingData
- func (*ThrottlingData) Descriptor() ([]byte, []int)
- func (m *ThrottlingData) GetPeriods() uint64
- func (m *ThrottlingData) GetThrottledPeriods() uint64
- func (m *ThrottlingData) GetThrottledTime() uint64
- func (*ThrottlingData) ProtoMessage()
- func (m *ThrottlingData) Reset()
- func (m *ThrottlingData) String() string
- type UpdateContainerRequest
- func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
- func (m *UpdateContainerRequest) GetId() string
- func (m *UpdateContainerRequest) GetPid() string
- func (m *UpdateContainerRequest) GetResources() *UpdateResource
- func (m *UpdateContainerRequest) GetStatus() string
- func (*UpdateContainerRequest) ProtoMessage()
- func (m *UpdateContainerRequest) Reset()
- func (m *UpdateContainerRequest) String() string
- type UpdateContainerResponse
- type UpdateProcessRequest
- func (*UpdateProcessRequest) Descriptor() ([]byte, []int)
- func (m *UpdateProcessRequest) GetCloseStdin() bool
- func (m *UpdateProcessRequest) GetHeight() uint32
- func (m *UpdateProcessRequest) GetId() string
- func (m *UpdateProcessRequest) GetPid() string
- func (m *UpdateProcessRequest) GetWidth() uint32
- func (*UpdateProcessRequest) ProtoMessage()
- func (m *UpdateProcessRequest) Reset()
- func (m *UpdateProcessRequest) String() string
- type UpdateProcessResponse
- type UpdateResource
- func (*UpdateResource) Descriptor() ([]byte, []int)
- func (m *UpdateResource) GetBlkioLeafWeight() uint64
- func (m *UpdateResource) GetBlkioThrottleReadBpsDevice() []*ThrottleDevice
- func (m *UpdateResource) GetBlkioThrottleReadIopsDevice() []*ThrottleDevice
- func (m *UpdateResource) GetBlkioThrottleWriteBpsDevice() []*ThrottleDevice
- func (m *UpdateResource) GetBlkioThrottleWriteIopsDevice() []*ThrottleDevice
- func (m *UpdateResource) GetBlkioWeight() uint64
- func (m *UpdateResource) GetBlkioWeightDevice() []*WeightDevice
- func (m *UpdateResource) GetCpuPeriod() uint64
- func (m *UpdateResource) GetCpuQuota() uint64
- func (m *UpdateResource) GetCpuShares() uint64
- func (m *UpdateResource) GetCpusetCpus() string
- func (m *UpdateResource) GetCpusetMems() string
- func (m *UpdateResource) GetKernelMemoryLimit() uint64
- func (m *UpdateResource) GetKernelTCPMemoryLimit() uint64
- func (m *UpdateResource) GetMemoryLimit() uint64
- func (m *UpdateResource) GetMemoryReservation() uint64
- func (m *UpdateResource) GetMemorySwap() uint64
- func (m *UpdateResource) GetPidsLimit() uint64
- func (*UpdateResource) ProtoMessage()
- func (m *UpdateResource) Reset()
- func (m *UpdateResource) String() string
- type User
- type WeightDevice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAPIServer ¶
Types ¶
type APIClient ¶
type APIClient interface { GetServerVersion(ctx context.Context, in *GetServerVersionRequest, opts ...grpc.CallOption) (*GetServerVersionResponse, error) CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) UpdateContainer(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (*UpdateContainerResponse, error) Signal(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*SignalResponse, error) UpdateProcess(ctx context.Context, in *UpdateProcessRequest, opts ...grpc.CallOption) (*UpdateProcessResponse, error) AddProcess(ctx context.Context, in *AddProcessRequest, opts ...grpc.CallOption) (*AddProcessResponse, error) CreateCheckpoint(ctx context.Context, in *CreateCheckpointRequest, opts ...grpc.CallOption) (*CreateCheckpointResponse, error) DeleteCheckpoint(ctx context.Context, in *DeleteCheckpointRequest, opts ...grpc.CallOption) (*DeleteCheckpointResponse, error) ListCheckpoint(ctx context.Context, in *ListCheckpointRequest, opts ...grpc.CallOption) (*ListCheckpointResponse, error) State(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error) Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (API_EventsClient, error) Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) }
func NewAPIClient ¶
func NewAPIClient(cc *grpc.ClientConn) APIClient
type APIServer ¶
type APIServer interface { GetServerVersion(context.Context, *GetServerVersionRequest) (*GetServerVersionResponse, error) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) UpdateContainer(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error) Signal(context.Context, *SignalRequest) (*SignalResponse, error) UpdateProcess(context.Context, *UpdateProcessRequest) (*UpdateProcessResponse, error) AddProcess(context.Context, *AddProcessRequest) (*AddProcessResponse, error) CreateCheckpoint(context.Context, *CreateCheckpointRequest) (*CreateCheckpointResponse, error) DeleteCheckpoint(context.Context, *DeleteCheckpointRequest) (*DeleteCheckpointResponse, error) ListCheckpoint(context.Context, *ListCheckpointRequest) (*ListCheckpointResponse, error) State(context.Context, *StateRequest) (*StateResponse, error) Events(*EventsRequest, API_EventsServer) error Stats(context.Context, *StatsRequest) (*StatsResponse, error) }
type API_EventsClient ¶
type API_EventsClient interface { Recv() (*Event, error) grpc.ClientStream }
type API_EventsServer ¶
type API_EventsServer interface { Send(*Event) error grpc.ServerStream }
type AddProcessRequest ¶
type AddProcessRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Terminal bool `protobuf:"varint,2,opt,name=terminal" json:"terminal,omitempty"` User *User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"` Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"` Env []string `protobuf:"bytes,5,rep,name=env" json:"env,omitempty"` Cwd string `protobuf:"bytes,6,opt,name=cwd" json:"cwd,omitempty"` Pid string `protobuf:"bytes,7,opt,name=pid" json:"pid,omitempty"` Stdin string `protobuf:"bytes,8,opt,name=stdin" json:"stdin,omitempty"` Stdout string `protobuf:"bytes,9,opt,name=stdout" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,10,opt,name=stderr" json:"stderr,omitempty"` Capabilities []string `protobuf:"bytes,11,rep,name=capabilities" json:"capabilities,omitempty"` ApparmorProfile string `protobuf:"bytes,12,opt,name=apparmorProfile" json:"apparmorProfile,omitempty"` SelinuxLabel string `protobuf:"bytes,13,opt,name=selinuxLabel" json:"selinuxLabel,omitempty"` NoNewPrivileges bool `protobuf:"varint,14,opt,name=noNewPrivileges" json:"noNewPrivileges,omitempty"` Rlimits []*Rlimit `protobuf:"bytes,15,rep,name=rlimits" json:"rlimits,omitempty"` }
func (*AddProcessRequest) Descriptor ¶
func (*AddProcessRequest) Descriptor() ([]byte, []int)
func (*AddProcessRequest) GetApparmorProfile ¶ added in v0.2.7
func (m *AddProcessRequest) GetApparmorProfile() string
func (*AddProcessRequest) GetArgs ¶ added in v0.2.7
func (m *AddProcessRequest) GetArgs() []string
func (*AddProcessRequest) GetCapabilities ¶ added in v0.2.7
func (m *AddProcessRequest) GetCapabilities() []string
func (*AddProcessRequest) GetCwd ¶ added in v0.2.7
func (m *AddProcessRequest) GetCwd() string
func (*AddProcessRequest) GetEnv ¶ added in v0.2.7
func (m *AddProcessRequest) GetEnv() []string
func (*AddProcessRequest) GetId ¶ added in v0.2.7
func (m *AddProcessRequest) GetId() string
func (*AddProcessRequest) GetNoNewPrivileges ¶ added in v0.2.7
func (m *AddProcessRequest) GetNoNewPrivileges() bool
func (*AddProcessRequest) GetPid ¶ added in v0.2.7
func (m *AddProcessRequest) GetPid() string
func (*AddProcessRequest) GetRlimits ¶
func (m *AddProcessRequest) GetRlimits() []*Rlimit
func (*AddProcessRequest) GetSelinuxLabel ¶ added in v0.2.7
func (m *AddProcessRequest) GetSelinuxLabel() string
func (*AddProcessRequest) GetStderr ¶ added in v0.2.7
func (m *AddProcessRequest) GetStderr() string
func (*AddProcessRequest) GetStdin ¶ added in v0.2.7
func (m *AddProcessRequest) GetStdin() string
func (*AddProcessRequest) GetStdout ¶ added in v0.2.7
func (m *AddProcessRequest) GetStdout() string
func (*AddProcessRequest) GetTerminal ¶ added in v0.2.7
func (m *AddProcessRequest) GetTerminal() bool
func (*AddProcessRequest) GetUser ¶
func (m *AddProcessRequest) GetUser() *User
func (*AddProcessRequest) ProtoMessage ¶
func (*AddProcessRequest) ProtoMessage()
func (*AddProcessRequest) Reset ¶
func (m *AddProcessRequest) Reset()
func (*AddProcessRequest) String ¶
func (m *AddProcessRequest) String() string
type AddProcessResponse ¶
type AddProcessResponse struct {
SystemPid uint32 `protobuf:"varint,1,opt,name=systemPid" json:"systemPid,omitempty"`
}
func (*AddProcessResponse) Descriptor ¶
func (*AddProcessResponse) Descriptor() ([]byte, []int)
func (*AddProcessResponse) GetSystemPid ¶ added in v0.2.7
func (m *AddProcessResponse) GetSystemPid() uint32
func (*AddProcessResponse) ProtoMessage ¶
func (*AddProcessResponse) ProtoMessage()
func (*AddProcessResponse) Reset ¶
func (m *AddProcessResponse) Reset()
func (*AddProcessResponse) String ¶
func (m *AddProcessResponse) String() string
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) ProtoMessage ¶
func (*BlkioStats) ProtoMessage()
func (*BlkioStats) Reset ¶
func (m *BlkioStats) Reset()
func (*BlkioStats) String ¶
func (m *BlkioStats) String() string
type BlkioStatsEntry ¶
type BlkioStatsEntry struct { Major uint64 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"` Minor uint64 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"` Op string `protobuf:"bytes,3,opt,name=op" json:"op,omitempty"` Value uint64 `protobuf:"varint,4,opt,name=value" json:"value,omitempty"` }
func (*BlkioStatsEntry) Descriptor ¶
func (*BlkioStatsEntry) Descriptor() ([]byte, []int)
func (*BlkioStatsEntry) GetMajor ¶ added in v0.2.7
func (m *BlkioStatsEntry) GetMajor() uint64
func (*BlkioStatsEntry) GetMinor ¶ added in v0.2.7
func (m *BlkioStatsEntry) GetMinor() uint64
func (*BlkioStatsEntry) GetOp ¶ added in v0.2.7
func (m *BlkioStatsEntry) GetOp() string
func (*BlkioStatsEntry) GetValue ¶ added in v0.2.7
func (m *BlkioStatsEntry) GetValue() uint64
func (*BlkioStatsEntry) ProtoMessage ¶
func (*BlkioStatsEntry) ProtoMessage()
func (*BlkioStatsEntry) Reset ¶
func (m *BlkioStatsEntry) Reset()
func (*BlkioStatsEntry) String ¶
func (m *BlkioStatsEntry) String() string
type BlockIODevice ¶ added in v0.2.6
type BlockIODevice struct { Major int64 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"` Minor int64 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"` }
func (*BlockIODevice) Descriptor ¶ added in v0.2.6
func (*BlockIODevice) Descriptor() ([]byte, []int)
func (*BlockIODevice) GetMajor ¶ added in v0.2.7
func (m *BlockIODevice) GetMajor() int64
func (*BlockIODevice) GetMinor ¶ added in v0.2.7
func (m *BlockIODevice) GetMinor() int64
func (*BlockIODevice) ProtoMessage ¶ added in v0.2.6
func (*BlockIODevice) ProtoMessage()
func (*BlockIODevice) Reset ¶ added in v0.2.6
func (m *BlockIODevice) Reset()
func (*BlockIODevice) String ¶ added in v0.2.6
func (m *BlockIODevice) String() string
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"` BlkioStats *BlkioStats `protobuf:"bytes,3,opt,name=blkio_stats,json=blkioStats" json:"blkio_stats,omitempty"` HugetlbStats map[string]*HugetlbStats `` /* 164-byte string literal not displayed */ PidsStats *PidsStats `protobuf:"bytes,5,opt,name=pids_stats,json=pidsStats" json:"pids_stats,omitempty"` }
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) ProtoMessage ¶
func (*CgroupStats) ProtoMessage()
func (*CgroupStats) Reset ¶
func (m *CgroupStats) Reset()
func (*CgroupStats) String ¶
func (m *CgroupStats) String() string
type Checkpoint ¶
type Checkpoint struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Exit bool `protobuf:"varint,2,opt,name=exit" json:"exit,omitempty"` Tcp bool `protobuf:"varint,3,opt,name=tcp" json:"tcp,omitempty"` UnixSockets bool `protobuf:"varint,4,opt,name=unixSockets" json:"unixSockets,omitempty"` Shell bool `protobuf:"varint,5,opt,name=shell" json:"shell,omitempty"` EmptyNS []string `protobuf:"bytes,6,rep,name=emptyNS" json:"emptyNS,omitempty"` }
func (*Checkpoint) Descriptor ¶
func (*Checkpoint) Descriptor() ([]byte, []int)
func (*Checkpoint) GetEmptyNS ¶ added in v0.2.7
func (m *Checkpoint) GetEmptyNS() []string
func (*Checkpoint) GetExit ¶ added in v0.2.7
func (m *Checkpoint) GetExit() bool
func (*Checkpoint) GetName ¶ added in v0.2.7
func (m *Checkpoint) GetName() string
func (*Checkpoint) GetShell ¶ added in v0.2.7
func (m *Checkpoint) GetShell() bool
func (*Checkpoint) GetTcp ¶ added in v0.2.7
func (m *Checkpoint) GetTcp() bool
func (*Checkpoint) GetUnixSockets ¶ added in v0.2.7
func (m *Checkpoint) GetUnixSockets() bool
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) Reset ¶
func (m *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (m *Checkpoint) String() string
type Container ¶
type Container struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` BundlePath string `protobuf:"bytes,2,opt,name=bundlePath" json:"bundlePath,omitempty"` Processes []*Process `protobuf:"bytes,3,rep,name=processes" json:"processes,omitempty"` Status string `protobuf:"bytes,4,opt,name=status" json:"status,omitempty"` Labels []string `protobuf:"bytes,5,rep,name=labels" json:"labels,omitempty"` Pids []uint32 `protobuf:"varint,6,rep,packed,name=pids" json:"pids,omitempty"` Runtime string `protobuf:"bytes,7,opt,name=runtime" json:"runtime,omitempty"` }
func (*Container) Descriptor ¶
func (*Container) GetBundlePath ¶ added in v0.2.7
func (*Container) GetProcesses ¶
func (*Container) GetRuntime ¶ added in v0.2.7
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
type ContainerState ¶
type ContainerState struct {
Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}
func (*ContainerState) Descriptor ¶
func (*ContainerState) Descriptor() ([]byte, []int)
func (*ContainerState) GetStatus ¶ added in v0.2.7
func (m *ContainerState) GetStatus() string
func (*ContainerState) ProtoMessage ¶
func (*ContainerState) ProtoMessage()
func (*ContainerState) Reset ¶
func (m *ContainerState) Reset()
func (*ContainerState) String ¶
func (m *ContainerState) String() string
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"` SystemUsage uint64 `protobuf:"varint,3,opt,name=system_usage,json=systemUsage" json:"system_usage,omitempty"` }
func (*CpuStats) Descriptor ¶
func (*CpuStats) GetCpuUsage ¶
func (*CpuStats) GetSystemUsage ¶ added in v0.2.7
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" 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" json:"usage_in_kernelmode,omitempty"` UsageInUsermode uint64 `protobuf:"varint,4,opt,name=usage_in_usermode,json=usageInUsermode" json:"usage_in_usermode,omitempty"` }
func (*CpuUsage) Descriptor ¶
func (*CpuUsage) GetPercpuUsage ¶ added in v0.2.7
func (*CpuUsage) GetTotalUsage ¶ added in v0.2.7
func (*CpuUsage) GetUsageInKernelmode ¶ added in v0.2.7
func (*CpuUsage) GetUsageInUsermode ¶ added in v0.2.7
func (*CpuUsage) ProtoMessage ¶
func (*CpuUsage) ProtoMessage()
type CreateCheckpointRequest ¶
type CreateCheckpointRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Checkpoint *Checkpoint `protobuf:"bytes,2,opt,name=checkpoint" json:"checkpoint,omitempty"` CheckpointDir string `protobuf:"bytes,3,opt,name=checkpointDir" json:"checkpointDir,omitempty"` }
func (*CreateCheckpointRequest) Descriptor ¶
func (*CreateCheckpointRequest) Descriptor() ([]byte, []int)
func (*CreateCheckpointRequest) GetCheckpoint ¶
func (m *CreateCheckpointRequest) GetCheckpoint() *Checkpoint
func (*CreateCheckpointRequest) GetCheckpointDir ¶ added in v0.2.7
func (m *CreateCheckpointRequest) GetCheckpointDir() string
func (*CreateCheckpointRequest) GetId ¶ added in v0.2.7
func (m *CreateCheckpointRequest) GetId() string
func (*CreateCheckpointRequest) ProtoMessage ¶
func (*CreateCheckpointRequest) ProtoMessage()
func (*CreateCheckpointRequest) Reset ¶
func (m *CreateCheckpointRequest) Reset()
func (*CreateCheckpointRequest) String ¶
func (m *CreateCheckpointRequest) String() string
type CreateCheckpointResponse ¶
type CreateCheckpointResponse struct { }
func (*CreateCheckpointResponse) Descriptor ¶
func (*CreateCheckpointResponse) Descriptor() ([]byte, []int)
func (*CreateCheckpointResponse) ProtoMessage ¶
func (*CreateCheckpointResponse) ProtoMessage()
func (*CreateCheckpointResponse) Reset ¶
func (m *CreateCheckpointResponse) Reset()
func (*CreateCheckpointResponse) String ¶
func (m *CreateCheckpointResponse) String() string
type CreateContainerRequest ¶
type CreateContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` BundlePath string `protobuf:"bytes,2,opt,name=bundlePath" json:"bundlePath,omitempty"` Checkpoint string `protobuf:"bytes,3,opt,name=checkpoint" json:"checkpoint,omitempty"` Stdin string `protobuf:"bytes,4,opt,name=stdin" json:"stdin,omitempty"` Stdout string `protobuf:"bytes,5,opt,name=stdout" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,6,opt,name=stderr" json:"stderr,omitempty"` Labels []string `protobuf:"bytes,7,rep,name=labels" json:"labels,omitempty"` NoPivotRoot bool `protobuf:"varint,8,opt,name=noPivotRoot" json:"noPivotRoot,omitempty"` Runtime string `protobuf:"bytes,9,opt,name=runtime" json:"runtime,omitempty"` RuntimeArgs []string `protobuf:"bytes,10,rep,name=runtimeArgs" json:"runtimeArgs,omitempty"` CheckpointDir string `protobuf:"bytes,11,opt,name=checkpointDir" json:"checkpointDir,omitempty"` }
func (*CreateContainerRequest) Descriptor ¶
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
func (*CreateContainerRequest) GetBundlePath ¶ added in v0.2.7
func (m *CreateContainerRequest) GetBundlePath() string
func (*CreateContainerRequest) GetCheckpoint ¶ added in v0.2.7
func (m *CreateContainerRequest) GetCheckpoint() string
func (*CreateContainerRequest) GetCheckpointDir ¶ added in v0.2.7
func (m *CreateContainerRequest) GetCheckpointDir() string
func (*CreateContainerRequest) GetId ¶ added in v0.2.7
func (m *CreateContainerRequest) GetId() string
func (*CreateContainerRequest) GetLabels ¶ added in v0.2.7
func (m *CreateContainerRequest) GetLabels() []string
func (*CreateContainerRequest) GetNoPivotRoot ¶ added in v0.2.7
func (m *CreateContainerRequest) GetNoPivotRoot() bool
func (*CreateContainerRequest) GetRuntime ¶ added in v0.2.7
func (m *CreateContainerRequest) GetRuntime() string
func (*CreateContainerRequest) GetRuntimeArgs ¶ added in v0.2.7
func (m *CreateContainerRequest) GetRuntimeArgs() []string
func (*CreateContainerRequest) GetStderr ¶ added in v0.2.7
func (m *CreateContainerRequest) GetStderr() string
func (*CreateContainerRequest) GetStdin ¶ added in v0.2.7
func (m *CreateContainerRequest) GetStdin() string
func (*CreateContainerRequest) GetStdout ¶ added in v0.2.7
func (m *CreateContainerRequest) GetStdout() string
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) Reset ¶
func (m *CreateContainerRequest) Reset()
func (*CreateContainerRequest) String ¶
func (m *CreateContainerRequest) String() string
type CreateContainerResponse ¶
type CreateContainerResponse struct {
Container *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
}
func (*CreateContainerResponse) Descriptor ¶
func (*CreateContainerResponse) Descriptor() ([]byte, []int)
func (*CreateContainerResponse) GetContainer ¶
func (m *CreateContainerResponse) GetContainer() *Container
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) Reset ¶
func (m *CreateContainerResponse) Reset()
func (*CreateContainerResponse) String ¶
func (m *CreateContainerResponse) String() string
type DeleteCheckpointRequest ¶
type DeleteCheckpointRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` CheckpointDir string `protobuf:"bytes,3,opt,name=checkpointDir" json:"checkpointDir,omitempty"` }
func (*DeleteCheckpointRequest) Descriptor ¶
func (*DeleteCheckpointRequest) Descriptor() ([]byte, []int)
func (*DeleteCheckpointRequest) GetCheckpointDir ¶ added in v0.2.7
func (m *DeleteCheckpointRequest) GetCheckpointDir() string
func (*DeleteCheckpointRequest) GetId ¶ added in v0.2.7
func (m *DeleteCheckpointRequest) GetId() string
func (*DeleteCheckpointRequest) GetName ¶ added in v0.2.7
func (m *DeleteCheckpointRequest) GetName() string
func (*DeleteCheckpointRequest) ProtoMessage ¶
func (*DeleteCheckpointRequest) ProtoMessage()
func (*DeleteCheckpointRequest) Reset ¶
func (m *DeleteCheckpointRequest) Reset()
func (*DeleteCheckpointRequest) String ¶
func (m *DeleteCheckpointRequest) String() string
type DeleteCheckpointResponse ¶
type DeleteCheckpointResponse struct { }
func (*DeleteCheckpointResponse) Descriptor ¶
func (*DeleteCheckpointResponse) Descriptor() ([]byte, []int)
func (*DeleteCheckpointResponse) ProtoMessage ¶
func (*DeleteCheckpointResponse) ProtoMessage()
func (*DeleteCheckpointResponse) Reset ¶
func (m *DeleteCheckpointResponse) Reset()
func (*DeleteCheckpointResponse) String ¶
func (m *DeleteCheckpointResponse) String() string
type Event ¶
type Event struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` Status uint32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` Pid string `protobuf:"bytes,4,opt,name=pid" json:"pid,omitempty"` // Tag 5 is deprecated (old uint64 timestamp) Timestamp *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=timestamp" json:"timestamp,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) GetTimestamp ¶ added in v0.2.3
func (m *Event) GetTimestamp() *google_protobuf.Timestamp
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type EventsRequest ¶
type EventsRequest struct { // Tag 1 is deprecated (old uint64 timestamp) Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"` StoredOnly bool `protobuf:"varint,3,opt,name=storedOnly" json:"storedOnly,omitempty"` Id string `protobuf:"bytes,4,opt,name=id" json:"id,omitempty"` }
func (*EventsRequest) Descriptor ¶
func (*EventsRequest) Descriptor() ([]byte, []int)
func (*EventsRequest) GetId ¶ added in v0.2.7
func (m *EventsRequest) GetId() string
func (*EventsRequest) GetStoredOnly ¶ added in v0.2.7
func (m *EventsRequest) GetStoredOnly() bool
func (*EventsRequest) GetTimestamp ¶ added in v0.2.3
func (m *EventsRequest) GetTimestamp() *google_protobuf.Timestamp
func (*EventsRequest) ProtoMessage ¶
func (*EventsRequest) ProtoMessage()
func (*EventsRequest) Reset ¶
func (m *EventsRequest) Reset()
func (*EventsRequest) String ¶
func (m *EventsRequest) String() string
type GetServerVersionRequest ¶ added in v0.2.3
type GetServerVersionRequest struct { }
func (*GetServerVersionRequest) Descriptor ¶ added in v0.2.3
func (*GetServerVersionRequest) Descriptor() ([]byte, []int)
func (*GetServerVersionRequest) ProtoMessage ¶ added in v0.2.3
func (*GetServerVersionRequest) ProtoMessage()
func (*GetServerVersionRequest) Reset ¶ added in v0.2.3
func (m *GetServerVersionRequest) Reset()
func (*GetServerVersionRequest) String ¶ added in v0.2.3
func (m *GetServerVersionRequest) String() string
type GetServerVersionResponse ¶ added in v0.2.3
type GetServerVersionResponse struct { Major uint32 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"` Minor uint32 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"` Patch uint32 `protobuf:"varint,3,opt,name=patch" json:"patch,omitempty"` Revision string `protobuf:"bytes,4,opt,name=revision" json:"revision,omitempty"` }
func (*GetServerVersionResponse) Descriptor ¶ added in v0.2.3
func (*GetServerVersionResponse) Descriptor() ([]byte, []int)
func (*GetServerVersionResponse) GetMajor ¶ added in v0.2.7
func (m *GetServerVersionResponse) GetMajor() uint32
func (*GetServerVersionResponse) GetMinor ¶ added in v0.2.7
func (m *GetServerVersionResponse) GetMinor() uint32
func (*GetServerVersionResponse) GetPatch ¶ added in v0.2.7
func (m *GetServerVersionResponse) GetPatch() uint32
func (*GetServerVersionResponse) GetRevision ¶ added in v0.2.7
func (m *GetServerVersionResponse) GetRevision() string
func (*GetServerVersionResponse) ProtoMessage ¶ added in v0.2.3
func (*GetServerVersionResponse) ProtoMessage()
func (*GetServerVersionResponse) Reset ¶ added in v0.2.3
func (m *GetServerVersionResponse) Reset()
func (*GetServerVersionResponse) String ¶ added in v0.2.3
func (m *GetServerVersionResponse) String() string
type HugetlbStats ¶
type HugetlbStats struct { Usage uint64 `protobuf:"varint,1,opt,name=usage" json:"usage,omitempty"` MaxUsage uint64 `protobuf:"varint,2,opt,name=max_usage,json=maxUsage" json:"max_usage,omitempty"` Failcnt uint64 `protobuf:"varint,3,opt,name=failcnt" json:"failcnt,omitempty"` Limit uint64 `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"` }
func (*HugetlbStats) Descriptor ¶
func (*HugetlbStats) Descriptor() ([]byte, []int)
func (*HugetlbStats) GetFailcnt ¶ added in v0.2.7
func (m *HugetlbStats) GetFailcnt() uint64
func (*HugetlbStats) GetLimit ¶ added in v0.2.7
func (m *HugetlbStats) GetLimit() uint64
func (*HugetlbStats) GetMaxUsage ¶ added in v0.2.7
func (m *HugetlbStats) GetMaxUsage() uint64
func (*HugetlbStats) GetUsage ¶ added in v0.2.7
func (m *HugetlbStats) GetUsage() uint64
func (*HugetlbStats) ProtoMessage ¶
func (*HugetlbStats) ProtoMessage()
func (*HugetlbStats) Reset ¶
func (m *HugetlbStats) Reset()
func (*HugetlbStats) String ¶
func (m *HugetlbStats) String() string
type ListCheckpointRequest ¶
type ListCheckpointRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` CheckpointDir string `protobuf:"bytes,2,opt,name=checkpointDir" json:"checkpointDir,omitempty"` }
func (*ListCheckpointRequest) Descriptor ¶
func (*ListCheckpointRequest) Descriptor() ([]byte, []int)
func (*ListCheckpointRequest) GetCheckpointDir ¶ added in v0.2.7
func (m *ListCheckpointRequest) GetCheckpointDir() string
func (*ListCheckpointRequest) GetId ¶ added in v0.2.7
func (m *ListCheckpointRequest) GetId() string
func (*ListCheckpointRequest) ProtoMessage ¶
func (*ListCheckpointRequest) ProtoMessage()
func (*ListCheckpointRequest) Reset ¶
func (m *ListCheckpointRequest) Reset()
func (*ListCheckpointRequest) String ¶
func (m *ListCheckpointRequest) String() string
type ListCheckpointResponse ¶
type ListCheckpointResponse struct {
Checkpoints []*Checkpoint `protobuf:"bytes,1,rep,name=checkpoints" json:"checkpoints,omitempty"`
}
func (*ListCheckpointResponse) Descriptor ¶
func (*ListCheckpointResponse) Descriptor() ([]byte, []int)
func (*ListCheckpointResponse) GetCheckpoints ¶
func (m *ListCheckpointResponse) GetCheckpoints() []*Checkpoint
func (*ListCheckpointResponse) ProtoMessage ¶
func (*ListCheckpointResponse) ProtoMessage()
func (*ListCheckpointResponse) Reset ¶
func (m *ListCheckpointResponse) Reset()
func (*ListCheckpointResponse) String ¶
func (m *ListCheckpointResponse) String() string
type Machine ¶
type Machine struct { Cpus uint32 `protobuf:"varint,1,opt,name=cpus" json:"cpus,omitempty"` Memory uint64 `protobuf:"varint,2,opt,name=memory" json:"memory,omitempty"` }
Machine is information about machine on which containerd is run
func (*Machine) Descriptor ¶
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
type MemoryData ¶
type MemoryData struct { Usage uint64 `protobuf:"varint,1,opt,name=usage" json:"usage,omitempty"` MaxUsage uint64 `protobuf:"varint,2,opt,name=max_usage,json=maxUsage" json:"max_usage,omitempty"` Failcnt uint64 `protobuf:"varint,3,opt,name=failcnt" json:"failcnt,omitempty"` Limit uint64 `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"` }
func (*MemoryData) Descriptor ¶
func (*MemoryData) Descriptor() ([]byte, []int)
func (*MemoryData) GetFailcnt ¶ added in v0.2.7
func (m *MemoryData) GetFailcnt() uint64
func (*MemoryData) GetLimit ¶ added in v0.2.7
func (m *MemoryData) GetLimit() uint64
func (*MemoryData) GetMaxUsage ¶ added in v0.2.7
func (m *MemoryData) GetMaxUsage() uint64
func (*MemoryData) GetUsage ¶ added in v0.2.7
func (m *MemoryData) GetUsage() uint64
func (*MemoryData) ProtoMessage ¶
func (*MemoryData) ProtoMessage()
func (*MemoryData) Reset ¶
func (m *MemoryData) Reset()
func (*MemoryData) String ¶
func (m *MemoryData) String() string
type MemoryStats ¶
type MemoryStats struct { Cache uint64 `protobuf:"varint,1,opt,name=cache" 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"` Stats map[string]uint64 `` /* 131-byte string literal not displayed */ }
func (*MemoryStats) Descriptor ¶
func (*MemoryStats) Descriptor() ([]byte, []int)
func (*MemoryStats) GetCache ¶ added in v0.2.7
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) ProtoMessage ¶
func (*MemoryStats) ProtoMessage()
func (*MemoryStats) Reset ¶
func (m *MemoryStats) Reset()
func (*MemoryStats) String ¶
func (m *MemoryStats) String() string
type NetworkStats ¶
type NetworkStats struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` RxBytes uint64 `protobuf:"varint,2,opt,name=rx_bytes,json=rxBytes" json:"rx_bytes,omitempty"` Rx_Packets uint64 `protobuf:"varint,3,opt,name=rx_Packets,json=rxPackets" json:"rx_Packets,omitempty"` RxErrors uint64 `protobuf:"varint,4,opt,name=Rx_errors,json=RxErrors" json:"Rx_errors,omitempty"` RxDropped uint64 `protobuf:"varint,5,opt,name=Rx_dropped,json=RxDropped" json:"Rx_dropped,omitempty"` TxBytes uint64 `protobuf:"varint,6,opt,name=Tx_bytes,json=TxBytes" json:"Tx_bytes,omitempty"` TxPackets uint64 `protobuf:"varint,7,opt,name=Tx_packets,json=TxPackets" json:"Tx_packets,omitempty"` TxErrors uint64 `protobuf:"varint,8,opt,name=Tx_errors,json=TxErrors" json:"Tx_errors,omitempty"` TxDropped uint64 `protobuf:"varint,9,opt,name=Tx_dropped,json=TxDropped" json:"Tx_dropped,omitempty"` }
func (*NetworkStats) Descriptor ¶
func (*NetworkStats) Descriptor() ([]byte, []int)
func (*NetworkStats) GetName ¶ added in v0.2.7
func (m *NetworkStats) GetName() string
func (*NetworkStats) GetRxBytes ¶ added in v0.2.7
func (m *NetworkStats) GetRxBytes() uint64
func (*NetworkStats) GetRxDropped ¶ added in v0.2.7
func (m *NetworkStats) GetRxDropped() uint64
func (*NetworkStats) GetRxErrors ¶ added in v0.2.7
func (m *NetworkStats) GetRxErrors() uint64
func (*NetworkStats) GetRx_Packets ¶ added in v0.2.7
func (m *NetworkStats) GetRx_Packets() uint64
func (*NetworkStats) GetTxBytes ¶ added in v0.2.7
func (m *NetworkStats) GetTxBytes() uint64
func (*NetworkStats) GetTxDropped ¶ added in v0.2.7
func (m *NetworkStats) GetTxDropped() uint64
func (*NetworkStats) GetTxErrors ¶ added in v0.2.7
func (m *NetworkStats) GetTxErrors() uint64
func (*NetworkStats) GetTxPackets ¶ added in v0.2.7
func (m *NetworkStats) GetTxPackets() uint64
func (*NetworkStats) ProtoMessage ¶
func (*NetworkStats) ProtoMessage()
func (*NetworkStats) Reset ¶
func (m *NetworkStats) Reset()
func (*NetworkStats) String ¶
func (m *NetworkStats) String() string
type PidsStats ¶
type PidsStats struct { Current uint64 `protobuf:"varint,1,opt,name=current" json:"current,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"` }
func (*PidsStats) Descriptor ¶
func (*PidsStats) GetCurrent ¶ added in v0.2.7
func (*PidsStats) ProtoMessage ¶
func (*PidsStats) ProtoMessage()
type Process ¶
type Process struct { Pid string `protobuf:"bytes,1,opt,name=pid" json:"pid,omitempty"` Terminal bool `protobuf:"varint,2,opt,name=terminal" json:"terminal,omitempty"` User *User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"` Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"` Env []string `protobuf:"bytes,5,rep,name=env" json:"env,omitempty"` Cwd string `protobuf:"bytes,6,opt,name=cwd" json:"cwd,omitempty"` SystemPid uint32 `protobuf:"varint,7,opt,name=systemPid" json:"systemPid,omitempty"` Stdin string `protobuf:"bytes,8,opt,name=stdin" json:"stdin,omitempty"` Stdout string `protobuf:"bytes,9,opt,name=stdout" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,10,opt,name=stderr" json:"stderr,omitempty"` Capabilities []string `protobuf:"bytes,11,rep,name=capabilities" json:"capabilities,omitempty"` ApparmorProfile string `protobuf:"bytes,12,opt,name=apparmorProfile" json:"apparmorProfile,omitempty"` SelinuxLabel string `protobuf:"bytes,13,opt,name=selinuxLabel" json:"selinuxLabel,omitempty"` NoNewPrivileges bool `protobuf:"varint,14,opt,name=noNewPrivileges" json:"noNewPrivileges,omitempty"` Rlimits []*Rlimit `protobuf:"bytes,15,rep,name=rlimits" json:"rlimits,omitempty"` }
func (*Process) Descriptor ¶
func (*Process) GetApparmorProfile ¶ added in v0.2.7
func (*Process) GetCapabilities ¶ added in v0.2.7
func (*Process) GetNoNewPrivileges ¶ added in v0.2.7
func (*Process) GetRlimits ¶
func (*Process) GetSelinuxLabel ¶ added in v0.2.7
func (*Process) GetSystemPid ¶ added in v0.2.7
func (*Process) GetTerminal ¶ added in v0.2.7
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
type Rlimit ¶
type Rlimit struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Soft uint64 `protobuf:"varint,2,opt,name=soft" json:"soft,omitempty"` Hard uint64 `protobuf:"varint,3,opt,name=hard" json:"hard,omitempty"` }
func (*Rlimit) Descriptor ¶
func (*Rlimit) ProtoMessage ¶
func (*Rlimit) ProtoMessage()
type SignalRequest ¶
type SignalRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Pid string `protobuf:"bytes,2,opt,name=pid" json:"pid,omitempty"` Signal uint32 `protobuf:"varint,3,opt,name=signal" json:"signal,omitempty"` }
func (*SignalRequest) Descriptor ¶
func (*SignalRequest) Descriptor() ([]byte, []int)
func (*SignalRequest) GetId ¶ added in v0.2.7
func (m *SignalRequest) GetId() string
func (*SignalRequest) GetPid ¶ added in v0.2.7
func (m *SignalRequest) GetPid() string
func (*SignalRequest) GetSignal ¶ added in v0.2.7
func (m *SignalRequest) GetSignal() uint32
func (*SignalRequest) ProtoMessage ¶
func (*SignalRequest) ProtoMessage()
func (*SignalRequest) Reset ¶
func (m *SignalRequest) Reset()
func (*SignalRequest) String ¶
func (m *SignalRequest) String() string
type SignalResponse ¶
type SignalResponse struct { }
func (*SignalResponse) Descriptor ¶
func (*SignalResponse) Descriptor() ([]byte, []int)
func (*SignalResponse) ProtoMessage ¶
func (*SignalResponse) ProtoMessage()
func (*SignalResponse) Reset ¶
func (m *SignalResponse) Reset()
func (*SignalResponse) String ¶
func (m *SignalResponse) String() string
type StateRequest ¶
type StateRequest struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*StateRequest) Descriptor ¶
func (*StateRequest) Descriptor() ([]byte, []int)
func (*StateRequest) GetId ¶ added in v0.2.7
func (m *StateRequest) GetId() string
func (*StateRequest) ProtoMessage ¶
func (*StateRequest) ProtoMessage()
func (*StateRequest) Reset ¶
func (m *StateRequest) Reset()
func (*StateRequest) String ¶
func (m *StateRequest) String() string
type StateResponse ¶
type StateResponse struct { Containers []*Container `protobuf:"bytes,1,rep,name=containers" json:"containers,omitempty"` Machine *Machine `protobuf:"bytes,2,opt,name=machine" json:"machine,omitempty"` }
StateResponse is information about containerd daemon
func (*StateResponse) Descriptor ¶
func (*StateResponse) Descriptor() ([]byte, []int)
func (*StateResponse) GetContainers ¶
func (m *StateResponse) GetContainers() []*Container
func (*StateResponse) GetMachine ¶
func (m *StateResponse) GetMachine() *Machine
func (*StateResponse) ProtoMessage ¶
func (*StateResponse) ProtoMessage()
func (*StateResponse) Reset ¶
func (m *StateResponse) Reset()
func (*StateResponse) String ¶
func (m *StateResponse) String() string
type StatsRequest ¶
type StatsRequest struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*StatsRequest) Descriptor ¶
func (*StatsRequest) Descriptor() ([]byte, []int)
func (*StatsRequest) GetId ¶ added in v0.2.7
func (m *StatsRequest) GetId() string
func (*StatsRequest) ProtoMessage ¶
func (*StatsRequest) ProtoMessage()
func (*StatsRequest) Reset ¶
func (m *StatsRequest) Reset()
func (*StatsRequest) String ¶
func (m *StatsRequest) String() string
type StatsResponse ¶
type StatsResponse struct { NetworkStats []*NetworkStats `protobuf:"bytes,1,rep,name=network_stats,json=networkStats" json:"network_stats,omitempty"` CgroupStats *CgroupStats `protobuf:"bytes,2,opt,name=cgroup_stats,json=cgroupStats" json:"cgroup_stats,omitempty"` // Tag 3 is deprecated (old uint64 timestamp) Timestamp *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=timestamp" json:"timestamp,omitempty"` }
func (*StatsResponse) Descriptor ¶
func (*StatsResponse) Descriptor() ([]byte, []int)
func (*StatsResponse) GetCgroupStats ¶
func (m *StatsResponse) GetCgroupStats() *CgroupStats
func (*StatsResponse) GetNetworkStats ¶
func (m *StatsResponse) GetNetworkStats() []*NetworkStats
func (*StatsResponse) GetTimestamp ¶ added in v0.2.3
func (m *StatsResponse) GetTimestamp() *google_protobuf.Timestamp
func (*StatsResponse) ProtoMessage ¶
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) Reset ¶
func (m *StatsResponse) Reset()
func (*StatsResponse) String ¶
func (m *StatsResponse) String() string
type ThrottleDevice ¶ added in v0.2.6
type ThrottleDevice struct { BlkIODevice *BlockIODevice `protobuf:"bytes,1,opt,name=blkIODevice" json:"blkIODevice,omitempty"` Rate uint64 `protobuf:"varint,2,opt,name=rate" json:"rate,omitempty"` }
func (*ThrottleDevice) Descriptor ¶ added in v0.2.6
func (*ThrottleDevice) Descriptor() ([]byte, []int)
func (*ThrottleDevice) GetBlkIODevice ¶ added in v0.2.6
func (m *ThrottleDevice) GetBlkIODevice() *BlockIODevice
func (*ThrottleDevice) GetRate ¶ added in v0.2.7
func (m *ThrottleDevice) GetRate() uint64
func (*ThrottleDevice) ProtoMessage ¶ added in v0.2.6
func (*ThrottleDevice) ProtoMessage()
func (*ThrottleDevice) Reset ¶ added in v0.2.6
func (m *ThrottleDevice) Reset()
func (*ThrottleDevice) String ¶ added in v0.2.6
func (m *ThrottleDevice) String() string
type ThrottlingData ¶
type ThrottlingData struct { Periods uint64 `protobuf:"varint,1,opt,name=periods" json:"periods,omitempty"` ThrottledPeriods uint64 `protobuf:"varint,2,opt,name=throttled_periods,json=throttledPeriods" json:"throttled_periods,omitempty"` ThrottledTime uint64 `protobuf:"varint,3,opt,name=throttled_time,json=throttledTime" json:"throttled_time,omitempty"` }
func (*ThrottlingData) Descriptor ¶
func (*ThrottlingData) Descriptor() ([]byte, []int)
func (*ThrottlingData) GetPeriods ¶ added in v0.2.7
func (m *ThrottlingData) GetPeriods() uint64
func (*ThrottlingData) GetThrottledPeriods ¶ added in v0.2.7
func (m *ThrottlingData) GetThrottledPeriods() uint64
func (*ThrottlingData) GetThrottledTime ¶ added in v0.2.7
func (m *ThrottlingData) GetThrottledTime() uint64
func (*ThrottlingData) ProtoMessage ¶
func (*ThrottlingData) ProtoMessage()
func (*ThrottlingData) Reset ¶
func (m *ThrottlingData) Reset()
func (*ThrottlingData) String ¶
func (m *ThrottlingData) String() string
type UpdateContainerRequest ¶
type UpdateContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Pid string `protobuf:"bytes,2,opt,name=pid" json:"pid,omitempty"` Status string `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` Resources *UpdateResource `protobuf:"bytes,4,opt,name=resources" json:"resources,omitempty"` }
func (*UpdateContainerRequest) Descriptor ¶
func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
func (*UpdateContainerRequest) GetId ¶ added in v0.2.7
func (m *UpdateContainerRequest) GetId() string
func (*UpdateContainerRequest) GetPid ¶ added in v0.2.7
func (m *UpdateContainerRequest) GetPid() string
func (*UpdateContainerRequest) GetResources ¶
func (m *UpdateContainerRequest) GetResources() *UpdateResource
func (*UpdateContainerRequest) GetStatus ¶ added in v0.2.7
func (m *UpdateContainerRequest) GetStatus() string
func (*UpdateContainerRequest) ProtoMessage ¶
func (*UpdateContainerRequest) ProtoMessage()
func (*UpdateContainerRequest) Reset ¶
func (m *UpdateContainerRequest) Reset()
func (*UpdateContainerRequest) String ¶
func (m *UpdateContainerRequest) String() string
type UpdateContainerResponse ¶
type UpdateContainerResponse struct { }
func (*UpdateContainerResponse) Descriptor ¶
func (*UpdateContainerResponse) Descriptor() ([]byte, []int)
func (*UpdateContainerResponse) ProtoMessage ¶
func (*UpdateContainerResponse) ProtoMessage()
func (*UpdateContainerResponse) Reset ¶
func (m *UpdateContainerResponse) Reset()
func (*UpdateContainerResponse) String ¶
func (m *UpdateContainerResponse) String() string
type UpdateProcessRequest ¶
type UpdateProcessRequest struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Pid string `protobuf:"bytes,2,opt,name=pid" json:"pid,omitempty"` CloseStdin bool `protobuf:"varint,3,opt,name=closeStdin" json:"closeStdin,omitempty"` Width uint32 `protobuf:"varint,4,opt,name=width" json:"width,omitempty"` Height uint32 `protobuf:"varint,5,opt,name=height" json:"height,omitempty"` }
func (*UpdateProcessRequest) Descriptor ¶
func (*UpdateProcessRequest) Descriptor() ([]byte, []int)
func (*UpdateProcessRequest) GetCloseStdin ¶ added in v0.2.7
func (m *UpdateProcessRequest) GetCloseStdin() bool
func (*UpdateProcessRequest) GetHeight ¶ added in v0.2.7
func (m *UpdateProcessRequest) GetHeight() uint32
func (*UpdateProcessRequest) GetId ¶ added in v0.2.7
func (m *UpdateProcessRequest) GetId() string
func (*UpdateProcessRequest) GetPid ¶ added in v0.2.7
func (m *UpdateProcessRequest) GetPid() string
func (*UpdateProcessRequest) GetWidth ¶ added in v0.2.7
func (m *UpdateProcessRequest) GetWidth() uint32
func (*UpdateProcessRequest) ProtoMessage ¶
func (*UpdateProcessRequest) ProtoMessage()
func (*UpdateProcessRequest) Reset ¶
func (m *UpdateProcessRequest) Reset()
func (*UpdateProcessRequest) String ¶
func (m *UpdateProcessRequest) String() string
type UpdateProcessResponse ¶
type UpdateProcessResponse struct { }
func (*UpdateProcessResponse) Descriptor ¶
func (*UpdateProcessResponse) Descriptor() ([]byte, []int)
func (*UpdateProcessResponse) ProtoMessage ¶
func (*UpdateProcessResponse) ProtoMessage()
func (*UpdateProcessResponse) Reset ¶
func (m *UpdateProcessResponse) Reset()
func (*UpdateProcessResponse) String ¶
func (m *UpdateProcessResponse) String() string
type UpdateResource ¶
type UpdateResource struct { BlkioWeight uint64 `protobuf:"varint,1,opt,name=blkioWeight" json:"blkioWeight,omitempty"` CpuPeriod uint64 `protobuf:"varint,3,opt,name=cpuPeriod" json:"cpuPeriod,omitempty"` CpuQuota uint64 `protobuf:"varint,4,opt,name=cpuQuota" json:"cpuQuota,omitempty"` CpusetCpus string `protobuf:"bytes,5,opt,name=cpusetCpus" json:"cpusetCpus,omitempty"` CpusetMems string `protobuf:"bytes,6,opt,name=cpusetMems" json:"cpusetMems,omitempty"` MemoryLimit uint64 `protobuf:"varint,7,opt,name=memoryLimit" json:"memoryLimit,omitempty"` MemorySwap uint64 `protobuf:"varint,8,opt,name=memorySwap" json:"memorySwap,omitempty"` MemoryReservation uint64 `protobuf:"varint,9,opt,name=memoryReservation" json:"memoryReservation,omitempty"` KernelMemoryLimit uint64 `protobuf:"varint,10,opt,name=kernelMemoryLimit" json:"kernelMemoryLimit,omitempty"` KernelTCPMemoryLimit uint64 `protobuf:"varint,11,opt,name=kernelTCPMemoryLimit" json:"kernelTCPMemoryLimit,omitempty"` BlkioLeafWeight uint64 `protobuf:"varint,12,opt,name=blkioLeafWeight" json:"blkioLeafWeight,omitempty"` BlkioWeightDevice []*WeightDevice `protobuf:"bytes,13,rep,name=blkioWeightDevice" json:"blkioWeightDevice,omitempty"` BlkioThrottleReadBpsDevice []*ThrottleDevice `protobuf:"bytes,14,rep,name=blkioThrottleReadBpsDevice" json:"blkioThrottleReadBpsDevice,omitempty"` BlkioThrottleWriteBpsDevice []*ThrottleDevice `protobuf:"bytes,15,rep,name=blkioThrottleWriteBpsDevice" json:"blkioThrottleWriteBpsDevice,omitempty"` BlkioThrottleReadIopsDevice []*ThrottleDevice `protobuf:"bytes,16,rep,name=blkioThrottleReadIopsDevice" json:"blkioThrottleReadIopsDevice,omitempty"` BlkioThrottleWriteIopsDevice []*ThrottleDevice `protobuf:"bytes,17,rep,name=blkioThrottleWriteIopsDevice" json:"blkioThrottleWriteIopsDevice,omitempty"` PidsLimit uint64 `protobuf:"varint,18,opt,name=pidsLimit" json:"pidsLimit,omitempty"` }
func (*UpdateResource) Descriptor ¶
func (*UpdateResource) Descriptor() ([]byte, []int)
func (*UpdateResource) GetBlkioLeafWeight ¶ added in v0.2.7
func (m *UpdateResource) GetBlkioLeafWeight() uint64
func (*UpdateResource) GetBlkioThrottleReadBpsDevice ¶ added in v0.2.6
func (m *UpdateResource) GetBlkioThrottleReadBpsDevice() []*ThrottleDevice
func (*UpdateResource) GetBlkioThrottleReadIopsDevice ¶ added in v0.2.6
func (m *UpdateResource) GetBlkioThrottleReadIopsDevice() []*ThrottleDevice
func (*UpdateResource) GetBlkioThrottleWriteBpsDevice ¶ added in v0.2.6
func (m *UpdateResource) GetBlkioThrottleWriteBpsDevice() []*ThrottleDevice
func (*UpdateResource) GetBlkioThrottleWriteIopsDevice ¶ added in v0.2.6
func (m *UpdateResource) GetBlkioThrottleWriteIopsDevice() []*ThrottleDevice
func (*UpdateResource) GetBlkioWeight ¶ added in v0.2.7
func (m *UpdateResource) GetBlkioWeight() uint64
func (*UpdateResource) GetBlkioWeightDevice ¶ added in v0.2.6
func (m *UpdateResource) GetBlkioWeightDevice() []*WeightDevice
func (*UpdateResource) GetCpuPeriod ¶ added in v0.2.7
func (m *UpdateResource) GetCpuPeriod() uint64
func (*UpdateResource) GetCpuQuota ¶ added in v0.2.7
func (m *UpdateResource) GetCpuQuota() uint64
func (*UpdateResource) GetCpuShares ¶ added in v0.2.7
func (m *UpdateResource) GetCpuShares() uint64
func (*UpdateResource) GetCpusetCpus ¶ added in v0.2.7
func (m *UpdateResource) GetCpusetCpus() string
func (*UpdateResource) GetCpusetMems ¶ added in v0.2.7
func (m *UpdateResource) GetCpusetMems() string
func (*UpdateResource) GetKernelMemoryLimit ¶ added in v0.2.7
func (m *UpdateResource) GetKernelMemoryLimit() uint64
func (*UpdateResource) GetKernelTCPMemoryLimit ¶ added in v0.2.7
func (m *UpdateResource) GetKernelTCPMemoryLimit() uint64
func (*UpdateResource) GetMemoryLimit ¶ added in v0.2.7
func (m *UpdateResource) GetMemoryLimit() uint64
func (*UpdateResource) GetMemoryReservation ¶ added in v0.2.7
func (m *UpdateResource) GetMemoryReservation() uint64
func (*UpdateResource) GetMemorySwap ¶ added in v0.2.7
func (m *UpdateResource) GetMemorySwap() uint64
func (*UpdateResource) GetPidsLimit ¶ added in v0.2.9
func (m *UpdateResource) GetPidsLimit() uint64
func (*UpdateResource) ProtoMessage ¶
func (*UpdateResource) ProtoMessage()
func (*UpdateResource) Reset ¶
func (m *UpdateResource) Reset()
func (*UpdateResource) String ¶
func (m *UpdateResource) String() string
type User ¶
type User struct { Uid uint32 `protobuf:"varint,1,opt,name=uid" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,2,opt,name=gid" json:"gid,omitempty"` AdditionalGids []uint32 `protobuf:"varint,3,rep,packed,name=additionalGids" json:"additionalGids,omitempty"` }
func (*User) Descriptor ¶
func (*User) GetAdditionalGids ¶ added in v0.2.7
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
type WeightDevice ¶ added in v0.2.6
type WeightDevice struct { BlkIODevice *BlockIODevice `protobuf:"bytes,1,opt,name=blkIODevice" json:"blkIODevice,omitempty"` Weight uint32 `protobuf:"varint,2,opt,name=weight" json:"weight,omitempty"` LeafWeight uint32 `protobuf:"varint,3,opt,name=leafWeight" json:"leafWeight,omitempty"` }
func (*WeightDevice) Descriptor ¶ added in v0.2.6
func (*WeightDevice) Descriptor() ([]byte, []int)
func (*WeightDevice) GetBlkIODevice ¶ added in v0.2.6
func (m *WeightDevice) GetBlkIODevice() *BlockIODevice
func (*WeightDevice) GetLeafWeight ¶ added in v0.2.7
func (m *WeightDevice) GetLeafWeight() uint32
func (*WeightDevice) GetWeight ¶ added in v0.2.7
func (m *WeightDevice) GetWeight() uint32
func (*WeightDevice) ProtoMessage ¶ added in v0.2.6
func (*WeightDevice) ProtoMessage()
func (*WeightDevice) Reset ¶ added in v0.2.6
func (m *WeightDevice) Reset()
func (*WeightDevice) String ¶ added in v0.2.6
func (m *WeightDevice) String() string
Click to show internal directories.
Click to hide internal directories.