Versions in this module Expand all Collapse all v0 v0.2.5 Dec 5, 2016 Changes in this version + func RegisterAPIServer(s *grpc.Server, srv APIServer) + type APIClient interface + AddProcess func(ctx context.Context, in *AddProcessRequest, opts ...grpc.CallOption) (*AddProcessResponse, error) + CreateCheckpoint func(ctx context.Context, in *CreateCheckpointRequest, opts ...grpc.CallOption) (*CreateCheckpointResponse, error) + CreateContainer func(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) + DeleteCheckpoint func(ctx context.Context, in *DeleteCheckpointRequest, opts ...grpc.CallOption) (*DeleteCheckpointResponse, error) + Events func(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (API_EventsClient, error) + GetServerVersion func(ctx context.Context, in *GetServerVersionRequest, opts ...grpc.CallOption) (*GetServerVersionResponse, error) + ListCheckpoint func(ctx context.Context, in *ListCheckpointRequest, opts ...grpc.CallOption) (*ListCheckpointResponse, error) + Signal func(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*SignalResponse, error) + State func(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error) + Stats func(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) + UpdateContainer func(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (*UpdateContainerResponse, error) + UpdateProcess func(ctx context.Context, in *UpdateProcessRequest, opts ...grpc.CallOption) (*UpdateProcessResponse, error) + func NewAPIClient(cc *grpc.ClientConn) APIClient + type APIServer interface + AddProcess func(context.Context, *AddProcessRequest) (*AddProcessResponse, error) + CreateCheckpoint func(context.Context, *CreateCheckpointRequest) (*CreateCheckpointResponse, error) + CreateContainer func(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) + DeleteCheckpoint func(context.Context, *DeleteCheckpointRequest) (*DeleteCheckpointResponse, error) + Events func(*EventsRequest, API_EventsServer) error + GetServerVersion func(context.Context, *GetServerVersionRequest) (*GetServerVersionResponse, error) + ListCheckpoint func(context.Context, *ListCheckpointRequest) (*ListCheckpointResponse, error) + Signal func(context.Context, *SignalRequest) (*SignalResponse, error) + State func(context.Context, *StateRequest) (*StateResponse, error) + Stats func(context.Context, *StatsRequest) (*StatsResponse, error) + UpdateContainer func(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error) + UpdateProcess func(context.Context, *UpdateProcessRequest) (*UpdateProcessResponse, error) + type API_EventsClient interface + Recv func() (*Event, error) + type API_EventsServer interface + Send func(*Event) error + type AddProcessRequest struct + ApparmorProfile string + Args []string + Capabilities []string + Cwd string + Env []string + Id string + NoNewPrivileges bool + Pid string + Rlimits []*Rlimit + SelinuxLabel string + Stderr string + Stdin string + Stdout string + Terminal bool + User *User + func (*AddProcessRequest) Descriptor() ([]byte, []int) + func (*AddProcessRequest) ProtoMessage() + func (m *AddProcessRequest) GetRlimits() []*Rlimit + func (m *AddProcessRequest) GetUser() *User + func (m *AddProcessRequest) Reset() + func (m *AddProcessRequest) String() string + type AddProcessResponse struct + func (*AddProcessResponse) Descriptor() ([]byte, []int) + func (*AddProcessResponse) ProtoMessage() + func (m *AddProcessResponse) Reset() + func (m *AddProcessResponse) String() string + type BlkioStats struct + IoMergedRecursive []*BlkioStatsEntry + IoQueuedRecursive []*BlkioStatsEntry + IoServiceBytesRecursive []*BlkioStatsEntry + IoServiceTimeRecursive []*BlkioStatsEntry + IoServicedRecursive []*BlkioStatsEntry + IoTimeRecursive []*BlkioStatsEntry + IoWaitTimeRecursive []*BlkioStatsEntry + SectorsRecursive []*BlkioStatsEntry + func (*BlkioStats) Descriptor() ([]byte, []int) + func (*BlkioStats) ProtoMessage() + func (m *BlkioStats) GetIoMergedRecursive() []*BlkioStatsEntry + func (m *BlkioStats) GetIoQueuedRecursive() []*BlkioStatsEntry + func (m *BlkioStats) GetIoServiceBytesRecursive() []*BlkioStatsEntry + func (m *BlkioStats) GetIoServiceTimeRecursive() []*BlkioStatsEntry + func (m *BlkioStats) GetIoServicedRecursive() []*BlkioStatsEntry + func (m *BlkioStats) GetIoTimeRecursive() []*BlkioStatsEntry + func (m *BlkioStats) GetIoWaitTimeRecursive() []*BlkioStatsEntry + func (m *BlkioStats) GetSectorsRecursive() []*BlkioStatsEntry + func (m *BlkioStats) Reset() + func (m *BlkioStats) String() string + type BlkioStatsEntry struct + Major uint64 + Minor uint64 + Op string + Value uint64 + func (*BlkioStatsEntry) Descriptor() ([]byte, []int) + func (*BlkioStatsEntry) ProtoMessage() + func (m *BlkioStatsEntry) Reset() + func (m *BlkioStatsEntry) String() string + type CgroupStats struct + BlkioStats *BlkioStats + CpuStats *CpuStats + HugetlbStats map[string]*HugetlbStats + MemoryStats *MemoryStats + PidsStats *PidsStats + func (*CgroupStats) Descriptor() ([]byte, []int) + func (*CgroupStats) ProtoMessage() + func (m *CgroupStats) GetBlkioStats() *BlkioStats + func (m *CgroupStats) GetCpuStats() *CpuStats + func (m *CgroupStats) GetHugetlbStats() map[string]*HugetlbStats + func (m *CgroupStats) GetMemoryStats() *MemoryStats + func (m *CgroupStats) GetPidsStats() *PidsStats + func (m *CgroupStats) Reset() + func (m *CgroupStats) String() string + type Checkpoint struct + EmptyNS []string + Exit bool + Name string + Shell bool + Tcp bool + UnixSockets bool + func (*Checkpoint) Descriptor() ([]byte, []int) + func (*Checkpoint) ProtoMessage() + func (m *Checkpoint) Reset() + func (m *Checkpoint) String() string + type Container struct + BundlePath string + Id string + Labels []string + Pids []uint32 + Processes []*Process + Runtime string + Status string + func (*Container) Descriptor() ([]byte, []int) + func (*Container) ProtoMessage() + func (m *Container) GetProcesses() []*Process + func (m *Container) Reset() + func (m *Container) String() string + type ContainerState struct + Status string + func (*ContainerState) Descriptor() ([]byte, []int) + func (*ContainerState) ProtoMessage() + func (m *ContainerState) Reset() + func (m *ContainerState) String() string + type CpuStats struct + CpuUsage *CpuUsage + SystemUsage uint64 + ThrottlingData *ThrottlingData + func (*CpuStats) Descriptor() ([]byte, []int) + func (*CpuStats) ProtoMessage() + func (m *CpuStats) GetCpuUsage() *CpuUsage + func (m *CpuStats) GetThrottlingData() *ThrottlingData + func (m *CpuStats) Reset() + func (m *CpuStats) String() string + type CpuUsage struct + PercpuUsage []uint64 + TotalUsage uint64 + UsageInKernelmode uint64 + UsageInUsermode uint64 + func (*CpuUsage) Descriptor() ([]byte, []int) + func (*CpuUsage) ProtoMessage() + func (m *CpuUsage) Reset() + func (m *CpuUsage) String() string + type CreateCheckpointRequest struct + Checkpoint *Checkpoint + CheckpointDir string + Id string + func (*CreateCheckpointRequest) Descriptor() ([]byte, []int) + func (*CreateCheckpointRequest) ProtoMessage() + func (m *CreateCheckpointRequest) GetCheckpoint() *Checkpoint + func (m *CreateCheckpointRequest) Reset() + func (m *CreateCheckpointRequest) String() string + type CreateCheckpointResponse struct + func (*CreateCheckpointResponse) Descriptor() ([]byte, []int) + func (*CreateCheckpointResponse) ProtoMessage() + func (m *CreateCheckpointResponse) Reset() + func (m *CreateCheckpointResponse) String() string + type CreateContainerRequest struct + BundlePath string + Checkpoint string + CheckpointDir string + Id string + Labels []string + NoPivotRoot bool + Runtime string + RuntimeArgs []string + Stderr string + Stdin string + Stdout string + func (*CreateContainerRequest) Descriptor() ([]byte, []int) + func (*CreateContainerRequest) ProtoMessage() + func (m *CreateContainerRequest) Reset() + func (m *CreateContainerRequest) String() string + type CreateContainerResponse struct + Container *Container + func (*CreateContainerResponse) Descriptor() ([]byte, []int) + func (*CreateContainerResponse) ProtoMessage() + func (m *CreateContainerResponse) GetContainer() *Container + func (m *CreateContainerResponse) Reset() + func (m *CreateContainerResponse) String() string + type DeleteCheckpointRequest struct + CheckpointDir string + Id string + Name string + func (*DeleteCheckpointRequest) Descriptor() ([]byte, []int) + func (*DeleteCheckpointRequest) ProtoMessage() + func (m *DeleteCheckpointRequest) Reset() + func (m *DeleteCheckpointRequest) String() string + type DeleteCheckpointResponse struct + func (*DeleteCheckpointResponse) Descriptor() ([]byte, []int) + func (*DeleteCheckpointResponse) ProtoMessage() + func (m *DeleteCheckpointResponse) Reset() + func (m *DeleteCheckpointResponse) String() string + type Event struct + Id string + Pid string + Status uint32 + Timestamp *google_protobuf.Timestamp + Type string + func (*Event) Descriptor() ([]byte, []int) + func (*Event) ProtoMessage() + func (m *Event) GetTimestamp() *google_protobuf.Timestamp + func (m *Event) Reset() + func (m *Event) String() string + type EventsRequest struct + Id string + StoredOnly bool + Timestamp *google_protobuf.Timestamp + func (*EventsRequest) Descriptor() ([]byte, []int) + func (*EventsRequest) ProtoMessage() + func (m *EventsRequest) GetTimestamp() *google_protobuf.Timestamp + func (m *EventsRequest) Reset() + func (m *EventsRequest) String() string + type GetServerVersionRequest struct + func (*GetServerVersionRequest) Descriptor() ([]byte, []int) + func (*GetServerVersionRequest) ProtoMessage() + func (m *GetServerVersionRequest) Reset() + func (m *GetServerVersionRequest) String() string + type GetServerVersionResponse struct + Major uint32 + Minor uint32 + Patch uint32 + Revision string + func (*GetServerVersionResponse) Descriptor() ([]byte, []int) + func (*GetServerVersionResponse) ProtoMessage() + func (m *GetServerVersionResponse) Reset() + func (m *GetServerVersionResponse) String() string + type HugetlbStats struct + Failcnt uint64 + Limit uint64 + MaxUsage uint64 + Usage uint64 + func (*HugetlbStats) Descriptor() ([]byte, []int) + func (*HugetlbStats) ProtoMessage() + func (m *HugetlbStats) Reset() + func (m *HugetlbStats) String() string + type ListCheckpointRequest struct + CheckpointDir string + Id string + func (*ListCheckpointRequest) Descriptor() ([]byte, []int) + func (*ListCheckpointRequest) ProtoMessage() + func (m *ListCheckpointRequest) Reset() + func (m *ListCheckpointRequest) String() string + type ListCheckpointResponse struct + Checkpoints []*Checkpoint + func (*ListCheckpointResponse) Descriptor() ([]byte, []int) + func (*ListCheckpointResponse) ProtoMessage() + func (m *ListCheckpointResponse) GetCheckpoints() []*Checkpoint + func (m *ListCheckpointResponse) Reset() + func (m *ListCheckpointResponse) String() string + type Machine struct + Cpus uint32 + Memory uint64 + func (*Machine) Descriptor() ([]byte, []int) + func (*Machine) ProtoMessage() + func (m *Machine) Reset() + func (m *Machine) String() string + type MemoryData struct + Failcnt uint64 + Limit uint64 + MaxUsage uint64 + Usage uint64 + func (*MemoryData) Descriptor() ([]byte, []int) + func (*MemoryData) ProtoMessage() + func (m *MemoryData) Reset() + func (m *MemoryData) String() string + type MemoryStats struct + Cache uint64 + KernelUsage *MemoryData + Stats map[string]uint64 + SwapUsage *MemoryData + Usage *MemoryData + func (*MemoryStats) Descriptor() ([]byte, []int) + func (*MemoryStats) ProtoMessage() + func (m *MemoryStats) GetKernelUsage() *MemoryData + func (m *MemoryStats) GetStats() map[string]uint64 + func (m *MemoryStats) GetSwapUsage() *MemoryData + func (m *MemoryStats) GetUsage() *MemoryData + func (m *MemoryStats) Reset() + func (m *MemoryStats) String() string + type NetworkStats struct + Name string + RxBytes uint64 + RxDropped uint64 + RxErrors uint64 + Rx_Packets uint64 + TxBytes uint64 + TxDropped uint64 + TxErrors uint64 + TxPackets uint64 + func (*NetworkStats) Descriptor() ([]byte, []int) + func (*NetworkStats) ProtoMessage() + func (m *NetworkStats) Reset() + func (m *NetworkStats) String() string + type PidsStats struct + Current uint64 + Limit uint64 + func (*PidsStats) Descriptor() ([]byte, []int) + func (*PidsStats) ProtoMessage() + func (m *PidsStats) Reset() + func (m *PidsStats) String() string + type Process struct + ApparmorProfile string + Args []string + Capabilities []string + Cwd string + Env []string + NoNewPrivileges bool + Pid string + Rlimits []*Rlimit + SelinuxLabel string + Stderr string + Stdin string + Stdout string + SystemPid uint32 + Terminal bool + User *User + func (*Process) Descriptor() ([]byte, []int) + func (*Process) ProtoMessage() + func (m *Process) GetRlimits() []*Rlimit + func (m *Process) GetUser() *User + func (m *Process) Reset() + func (m *Process) String() string + type Rlimit struct + Hard uint64 + Soft uint64 + Type string + func (*Rlimit) Descriptor() ([]byte, []int) + func (*Rlimit) ProtoMessage() + func (m *Rlimit) Reset() + func (m *Rlimit) String() string + type SignalRequest struct + Id string + Pid string + Signal uint32 + func (*SignalRequest) Descriptor() ([]byte, []int) + func (*SignalRequest) ProtoMessage() + func (m *SignalRequest) Reset() + func (m *SignalRequest) String() string + type SignalResponse struct + func (*SignalResponse) Descriptor() ([]byte, []int) + func (*SignalResponse) ProtoMessage() + func (m *SignalResponse) Reset() + func (m *SignalResponse) String() string + type StateRequest struct + Id string + func (*StateRequest) Descriptor() ([]byte, []int) + func (*StateRequest) ProtoMessage() + func (m *StateRequest) Reset() + func (m *StateRequest) String() string + type StateResponse struct + Containers []*Container + Machine *Machine + func (*StateResponse) Descriptor() ([]byte, []int) + func (*StateResponse) ProtoMessage() + func (m *StateResponse) GetContainers() []*Container + func (m *StateResponse) GetMachine() *Machine + func (m *StateResponse) Reset() + func (m *StateResponse) String() string + type StatsRequest struct + Id string + func (*StatsRequest) Descriptor() ([]byte, []int) + func (*StatsRequest) ProtoMessage() + func (m *StatsRequest) Reset() + func (m *StatsRequest) String() string + type StatsResponse struct + CgroupStats *CgroupStats + NetworkStats []*NetworkStats + Timestamp *google_protobuf.Timestamp + func (*StatsResponse) Descriptor() ([]byte, []int) + func (*StatsResponse) ProtoMessage() + func (m *StatsResponse) GetCgroupStats() *CgroupStats + func (m *StatsResponse) GetNetworkStats() []*NetworkStats + func (m *StatsResponse) GetTimestamp() *google_protobuf.Timestamp + func (m *StatsResponse) Reset() + func (m *StatsResponse) String() string + type ThrottlingData struct + Periods uint64 + ThrottledPeriods uint64 + ThrottledTime uint64 + func (*ThrottlingData) Descriptor() ([]byte, []int) + func (*ThrottlingData) ProtoMessage() + func (m *ThrottlingData) Reset() + func (m *ThrottlingData) String() string + type UpdateContainerRequest struct + Id string + Pid string + Resources *UpdateResource + Status string + func (*UpdateContainerRequest) Descriptor() ([]byte, []int) + func (*UpdateContainerRequest) ProtoMessage() + func (m *UpdateContainerRequest) GetResources() *UpdateResource + func (m *UpdateContainerRequest) Reset() + func (m *UpdateContainerRequest) String() string + type UpdateContainerResponse struct + func (*UpdateContainerResponse) Descriptor() ([]byte, []int) + func (*UpdateContainerResponse) ProtoMessage() + func (m *UpdateContainerResponse) Reset() + func (m *UpdateContainerResponse) String() string + type UpdateProcessRequest struct + CloseStdin bool + Height uint32 + Id string + Pid string + Width uint32 + func (*UpdateProcessRequest) Descriptor() ([]byte, []int) + func (*UpdateProcessRequest) ProtoMessage() + func (m *UpdateProcessRequest) Reset() + func (m *UpdateProcessRequest) String() string + type UpdateProcessResponse struct + func (*UpdateProcessResponse) Descriptor() ([]byte, []int) + func (*UpdateProcessResponse) ProtoMessage() + func (m *UpdateProcessResponse) Reset() + func (m *UpdateProcessResponse) String() string + type UpdateResource struct + BlkioWeight uint64 + CpuPeriod uint64 + CpuQuota uint64 + CpuShares uint64 + CpusetCpus string + CpusetMems string + KernelMemoryLimit uint64 + KernelTCPMemoryLimit uint64 + MemoryLimit uint64 + MemoryReservation uint64 + MemorySwap uint64 + func (*UpdateResource) Descriptor() ([]byte, []int) + func (*UpdateResource) ProtoMessage() + func (m *UpdateResource) Reset() + func (m *UpdateResource) String() string + type User struct + AdditionalGids []uint32 + Gid uint32 + Uid uint32 + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) Reset() + func (m *User) String() string