types

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2016 License: Apache-2.0, CC-BY-SA-4.0 Imports: 5 Imported by: 0

Documentation

Overview

Package types is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

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
UpdateContainerResponse
EventsRequest
Event
NetworkStats
CpuUsage
ThrottlingData
CpuStats
PidsStats
MemoryData
MemoryStats
BlkioStatsEntry
BlkioStats
HugetlbStats
CgroupStats
StatsResponse
StatsRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

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) GetRlimits

func (m *AddProcessRequest) GetRlimits() []*Rlimit

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 {
}

func (*AddProcessResponse) Descriptor

func (*AddProcessResponse) Descriptor() ([]byte, []int)

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) ProtoMessage

func (*BlkioStatsEntry) ProtoMessage()

func (*BlkioStatsEntry) Reset

func (m *BlkioStatsEntry) Reset()

func (*BlkioStatsEntry) String

func (m *BlkioStatsEntry) 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"`
}

func (*Checkpoint) Descriptor

func (*Checkpoint) Descriptor() ([]byte, []int)

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,name=pids" json:"pids,omitempty"`
	Runtime    string     `protobuf:"bytes,7,opt,name=runtime" json:"runtime,omitempty"`
}

func (*Container) Descriptor

func (*Container) Descriptor() ([]byte, []int)

func (*Container) GetProcesses

func (m *Container) GetProcesses() []*Process

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) String

func (m *Container) String() string

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) 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) Descriptor() ([]byte, []int)

func (*CpuStats) GetCpuUsage

func (m *CpuStats) GetCpuUsage() *CpuUsage

func (*CpuStats) GetThrottlingData

func (m *CpuStats) GetThrottlingData() *ThrottlingData

func (*CpuStats) ProtoMessage

func (*CpuStats) ProtoMessage()

func (*CpuStats) Reset

func (m *CpuStats) Reset()

func (*CpuStats) String

func (m *CpuStats) String() string

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,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) Descriptor() ([]byte, []int)

func (*CpuUsage) ProtoMessage

func (*CpuUsage) ProtoMessage()

func (*CpuUsage) Reset

func (m *CpuUsage) Reset()

func (*CpuUsage) String

func (m *CpuUsage) String() string

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"`
}

func (*CreateCheckpointRequest) Descriptor

func (*CreateCheckpointRequest) Descriptor() ([]byte, []int)

func (*CreateCheckpointRequest) GetCheckpoint

func (m *CreateCheckpointRequest) GetCheckpoint() *Checkpoint

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"`
}

func (*CreateContainerRequest) Descriptor

func (*CreateContainerRequest) Descriptor() ([]byte, []int)

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"`
}

func (*DeleteCheckpointRequest) Descriptor

func (*DeleteCheckpointRequest) Descriptor() ([]byte, []int)

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"`
	Timestamp uint64 `protobuf:"varint,5,opt,name=timestamp" json:"timestamp,omitempty"`
}

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

type EventsRequest

type EventsRequest struct {
	Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
}

func (*EventsRequest) Descriptor

func (*EventsRequest) Descriptor() ([]byte, []int)

func (*EventsRequest) ProtoMessage

func (*EventsRequest) ProtoMessage()

func (*EventsRequest) Reset

func (m *EventsRequest) Reset()

func (*EventsRequest) String

func (m *EventsRequest) 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) 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"`
}

func (*ListCheckpointRequest) Descriptor

func (*ListCheckpointRequest) Descriptor() ([]byte, []int)

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) Descriptor() ([]byte, []int)

func (*Machine) ProtoMessage

func (*Machine) ProtoMessage()

func (*Machine) Reset

func (m *Machine) Reset()

func (*Machine) String

func (m *Machine) String() string

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) 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) 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) 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) Descriptor() ([]byte, []int)

func (*PidsStats) ProtoMessage

func (*PidsStats) ProtoMessage()

func (*PidsStats) Reset

func (m *PidsStats) Reset()

func (*PidsStats) String

func (m *PidsStats) String() string

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) Descriptor() ([]byte, []int)

func (*Process) GetRlimits

func (m *Process) GetRlimits() []*Rlimit

func (*Process) GetUser

func (m *Process) GetUser() *User

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) Reset

func (m *Process) Reset()

func (*Process) String

func (m *Process) String() string

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) Descriptor() ([]byte, []int)

func (*Rlimit) ProtoMessage

func (*Rlimit) ProtoMessage()

func (*Rlimit) Reset

func (m *Rlimit) Reset()

func (*Rlimit) String

func (m *Rlimit) String() string

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) 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) 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) 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"`
	Timestamp    uint64          `protobuf:"varint,3,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) ProtoMessage

func (*StatsResponse) ProtoMessage()

func (*StatsResponse) Reset

func (m *StatsResponse) Reset()

func (*StatsResponse) String

func (m *StatsResponse) 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) 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) GetResources

func (m *UpdateContainerRequest) GetResources() *UpdateResource

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) 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       uint32 `protobuf:"varint,1,opt,name=blkioWeight" json:"blkioWeight,omitempty"`
	CpuShares         uint32 `protobuf:"varint,2,opt,name=cpuShares" json:"cpuShares,omitempty"`
	CpuPeriod         uint32 `protobuf:"varint,3,opt,name=cpuPeriod" json:"cpuPeriod,omitempty"`
	CpuQuota          uint32 `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       uint32 `protobuf:"varint,7,opt,name=memoryLimit" json:"memoryLimit,omitempty"`
	MemorySwap        uint32 `protobuf:"varint,8,opt,name=memorySwap" json:"memorySwap,omitempty"`
	MemoryReservation uint32 `protobuf:"varint,9,opt,name=memoryReservation" json:"memoryReservation,omitempty"`
	KernelMemoryLimit uint32 `protobuf:"varint,10,opt,name=kernelMemoryLimit" json:"kernelMemoryLimit,omitempty"`
}

func (*UpdateResource) Descriptor

func (*UpdateResource) Descriptor() ([]byte, []int)

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,name=additionalGids" json:"additionalGids,omitempty"`
}

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL