garden

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package garden is a generated protocol buffer package.

It is generated from these files:

attach.proto
capacity.proto
create.proto
destroy.proto
environment_variable.proto
error.proto
info.proto
limit_bandwidth.proto
limit_cpu.proto
limit_disk.proto
limit_memory.proto
list.proto
message.proto
net_in.proto
net_out.proto
ping.proto
process_payload.proto
property.proto
resource_limits.proto
run.proto
stop.proto
stream_in.proto
stream_out.proto
tty.proto

It has these top-level messages:

AttachRequest

Index

Constants

View Source
const Default_RunRequest_Privileged bool = false
View Source
const Default_StopRequest_Kill bool = false

Variables

View Source
var CreateRequest_BindMount_Mode_name = map[int32]string{
	0: "RO",
	1: "RW",
}
View Source
var CreateRequest_BindMount_Mode_value = map[string]int32{
	"RO": 0,
	"RW": 1,
}
View Source
var CreateRequest_BindMount_Origin_name = map[int32]string{
	0: "Host",
	1: "Container",
}
View Source
var CreateRequest_BindMount_Origin_value = map[string]int32{
	"Host":      0,
	"Container": 1,
}
View Source
var Message_Type_name = map[int32]string{
	1:  "Error",
	11: "Create",
	12: "Stop",
	13: "Destroy",
	14: "Info",
	31: "NetIn",
	32: "NetOut",
	51: "LimitMemory",
	52: "LimitDisk",
	53: "LimitBandwidth",
	54: "LimitCpu",
	71: "Run",
	72: "Attach",
	73: "ProcessPayload",
	91: "Ping",
	92: "List",
	94: "Capacity",
	95: "StreamIn",
	96: "StreamOut",
}
View Source
var Message_Type_value = map[string]int32{
	"Error":          1,
	"Create":         11,
	"Stop":           12,
	"Destroy":        13,
	"Info":           14,
	"NetIn":          31,
	"NetOut":         32,
	"LimitMemory":    51,
	"LimitDisk":      52,
	"LimitBandwidth": 53,
	"LimitCpu":       54,
	"Run":            71,
	"Attach":         72,
	"ProcessPayload": 73,
	"Ping":           91,
	"List":           92,
	"Capacity":       94,
	"StreamIn":       95,
	"StreamOut":      96,
}
View Source
var ProcessPayload_Source_name = map[int32]string{
	0: "stdin",
	1: "stdout",
	2: "stderr",
}
View Source
var ProcessPayload_Source_value = map[string]int32{
	"stdin":  0,
	"stdout": 1,
	"stderr": 2,
}

Functions

func Messages

func Messages(msgs ...proto.Message) *bytes.Buffer

func RequestMessageForType

func RequestMessageForType(t Message_Type) proto.Message

func ResponseMessageForType

func ResponseMessageForType(t Message_Type) proto.Message

Types

type AttachRequest

type AttachRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	ProcessId        *uint32 `protobuf:"varint,2,req,name=process_id" json:"process_id,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*AttachRequest) GetHandle

func (m *AttachRequest) GetHandle() string

func (*AttachRequest) GetProcessId

func (m *AttachRequest) GetProcessId() uint32

func (*AttachRequest) ProtoMessage

func (*AttachRequest) ProtoMessage()

func (*AttachRequest) Reset

func (m *AttachRequest) Reset()

func (*AttachRequest) String

func (m *AttachRequest) String() string

type CapacityRequest

type CapacityRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*CapacityRequest) ProtoMessage

func (*CapacityRequest) ProtoMessage()

func (*CapacityRequest) Reset

func (m *CapacityRequest) Reset()

func (*CapacityRequest) String

func (m *CapacityRequest) String() string

type CapacityResponse

type CapacityResponse struct {
	MemoryInBytes    *uint64 `protobuf:"varint,1,req,name=memory_in_bytes" json:"memory_in_bytes,omitempty"`
	DiskInBytes      *uint64 `protobuf:"varint,2,req,name=disk_in_bytes" json:"disk_in_bytes,omitempty"`
	MaxContainers    *uint64 `protobuf:"varint,3,req,name=max_containers" json:"max_containers,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CapacityResponse) GetDiskInBytes

func (m *CapacityResponse) GetDiskInBytes() uint64

func (*CapacityResponse) GetMaxContainers

func (m *CapacityResponse) GetMaxContainers() uint64

func (*CapacityResponse) GetMemoryInBytes

func (m *CapacityResponse) GetMemoryInBytes() uint64

func (*CapacityResponse) ProtoMessage

func (*CapacityResponse) ProtoMessage()

func (*CapacityResponse) Reset

func (m *CapacityResponse) Reset()

func (*CapacityResponse) String

func (m *CapacityResponse) String() string

type CreateRequest

type CreateRequest struct {
	BindMounts       []*CreateRequest_BindMount `protobuf:"bytes,1,rep,name=bind_mounts" json:"bind_mounts,omitempty"`
	GraceTime        *uint32                    `protobuf:"varint,2,opt,name=grace_time" json:"grace_time,omitempty"`
	Handle           *string                    `protobuf:"bytes,3,opt,name=handle" json:"handle,omitempty"`
	Network          *string                    `protobuf:"bytes,4,opt,name=network" json:"network,omitempty"`
	Rootfs           *string                    `protobuf:"bytes,5,opt,name=rootfs" json:"rootfs,omitempty"`
	Properties       []*Property                `protobuf:"bytes,6,rep,name=properties" json:"properties,omitempty"`
	Env              []*EnvironmentVariable     `protobuf:"bytes,7,rep,name=env" json:"env,omitempty"`
	XXX_unrecognized []byte                     `json:"-"`
}

func (*CreateRequest) GetBindMounts

func (m *CreateRequest) GetBindMounts() []*CreateRequest_BindMount

func (*CreateRequest) GetEnv

func (m *CreateRequest) GetEnv() []*EnvironmentVariable

func (*CreateRequest) GetGraceTime

func (m *CreateRequest) GetGraceTime() uint32

func (*CreateRequest) GetHandle

func (m *CreateRequest) GetHandle() string

func (*CreateRequest) GetNetwork

func (m *CreateRequest) GetNetwork() string

func (*CreateRequest) GetProperties

func (m *CreateRequest) GetProperties() []*Property

func (*CreateRequest) GetRootfs

func (m *CreateRequest) GetRootfs() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) Reset

func (m *CreateRequest) Reset()

func (*CreateRequest) String

func (m *CreateRequest) String() string

type CreateRequest_BindMount

type CreateRequest_BindMount struct {
	SrcPath          *string                         `protobuf:"bytes,1,req,name=src_path" json:"src_path,omitempty"`
	DstPath          *string                         `protobuf:"bytes,2,req,name=dst_path" json:"dst_path,omitempty"`
	Mode             *CreateRequest_BindMount_Mode   `protobuf:"varint,3,req,name=mode,enum=garden.CreateRequest_BindMount_Mode" json:"mode,omitempty"`
	Origin           *CreateRequest_BindMount_Origin `protobuf:"varint,4,opt,name=origin,enum=garden.CreateRequest_BindMount_Origin" json:"origin,omitempty"`
	XXX_unrecognized []byte                          `json:"-"`
}

func (*CreateRequest_BindMount) GetDstPath

func (m *CreateRequest_BindMount) GetDstPath() string

func (*CreateRequest_BindMount) GetMode

func (*CreateRequest_BindMount) GetOrigin

func (*CreateRequest_BindMount) GetSrcPath

func (m *CreateRequest_BindMount) GetSrcPath() string

func (*CreateRequest_BindMount) ProtoMessage

func (*CreateRequest_BindMount) ProtoMessage()

func (*CreateRequest_BindMount) Reset

func (m *CreateRequest_BindMount) Reset()

func (*CreateRequest_BindMount) String

func (m *CreateRequest_BindMount) String() string

type CreateRequest_BindMount_Mode

type CreateRequest_BindMount_Mode int32
const (
	CreateRequest_BindMount_RO CreateRequest_BindMount_Mode = 0
	CreateRequest_BindMount_RW CreateRequest_BindMount_Mode = 1
)

func (CreateRequest_BindMount_Mode) Enum

func (CreateRequest_BindMount_Mode) String

func (*CreateRequest_BindMount_Mode) UnmarshalJSON

func (x *CreateRequest_BindMount_Mode) UnmarshalJSON(data []byte) error

type CreateRequest_BindMount_Origin

type CreateRequest_BindMount_Origin int32
const (
	CreateRequest_BindMount_Host      CreateRequest_BindMount_Origin = 0
	CreateRequest_BindMount_Container CreateRequest_BindMount_Origin = 1
)

func (CreateRequest_BindMount_Origin) Enum

func (CreateRequest_BindMount_Origin) String

func (*CreateRequest_BindMount_Origin) UnmarshalJSON

func (x *CreateRequest_BindMount_Origin) UnmarshalJSON(data []byte) error

type CreateResponse

type CreateResponse struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CreateResponse) GetHandle

func (m *CreateResponse) GetHandle() string

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) Reset

func (m *CreateResponse) Reset()

func (*CreateResponse) String

func (m *CreateResponse) String() string

type DestroyRequest

type DestroyRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DestroyRequest) GetHandle

func (m *DestroyRequest) GetHandle() string

func (*DestroyRequest) ProtoMessage

func (*DestroyRequest) ProtoMessage()

func (*DestroyRequest) Reset

func (m *DestroyRequest) Reset()

func (*DestroyRequest) String

func (m *DestroyRequest) String() string

type DestroyResponse

type DestroyResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*DestroyResponse) ProtoMessage

func (*DestroyResponse) ProtoMessage()

func (*DestroyResponse) Reset

func (m *DestroyResponse) Reset()

func (*DestroyResponse) String

func (m *DestroyResponse) String() string

type EnvironmentVariable

type EnvironmentVariable struct {
	Key              *string `protobuf:"bytes,1,req" json:"Key,omitempty"`
	Value            *string `protobuf:"bytes,2,req" json:"Value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*EnvironmentVariable) GetKey

func (m *EnvironmentVariable) GetKey() string

func (*EnvironmentVariable) GetValue

func (m *EnvironmentVariable) GetValue() string

func (*EnvironmentVariable) ProtoMessage

func (*EnvironmentVariable) ProtoMessage()

func (*EnvironmentVariable) Reset

func (m *EnvironmentVariable) Reset()

func (*EnvironmentVariable) String

func (m *EnvironmentVariable) String() string

type ErrorResponse

type ErrorResponse struct {
	Message          *string  `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	Data             *string  `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
	Backtrace        []string `protobuf:"bytes,3,rep,name=backtrace" json:"backtrace,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*ErrorResponse) GetBacktrace

func (m *ErrorResponse) GetBacktrace() []string

func (*ErrorResponse) GetData

func (m *ErrorResponse) GetData() string

func (*ErrorResponse) GetMessage

func (m *ErrorResponse) GetMessage() string

func (*ErrorResponse) ProtoMessage

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) Reset

func (m *ErrorResponse) Reset()

func (*ErrorResponse) String

func (m *ErrorResponse) String() string

type InfoRequest

type InfoRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InfoRequest) GetHandle

func (m *InfoRequest) GetHandle() string

func (*InfoRequest) ProtoMessage

func (*InfoRequest) ProtoMessage()

func (*InfoRequest) Reset

func (m *InfoRequest) Reset()

func (*InfoRequest) String

func (m *InfoRequest) String() string

type InfoResponse

type InfoResponse struct {
	State            *string                     `protobuf:"bytes,10,opt,name=state" json:"state,omitempty"`
	Events           []string                    `protobuf:"bytes,20,rep,name=events" json:"events,omitempty"`
	HostIp           *string                     `protobuf:"bytes,30,opt,name=host_ip" json:"host_ip,omitempty"`
	ContainerIp      *string                     `protobuf:"bytes,31,opt,name=container_ip" json:"container_ip,omitempty"`
	ContainerPath    *string                     `protobuf:"bytes,32,opt,name=container_path" json:"container_path,omitempty"`
	MemoryStat       *InfoResponse_MemoryStat    `protobuf:"bytes,40,opt,name=memory_stat" json:"memory_stat,omitempty"`
	CpuStat          *InfoResponse_CpuStat       `protobuf:"bytes,41,opt,name=cpu_stat" json:"cpu_stat,omitempty"`
	DiskStat         *InfoResponse_DiskStat      `protobuf:"bytes,42,opt,name=disk_stat" json:"disk_stat,omitempty"`
	BandwidthStat    *InfoResponse_BandwidthStat `protobuf:"bytes,43,opt,name=bandwidth_stat" json:"bandwidth_stat,omitempty"`
	ProcessIds       []uint64                    `protobuf:"varint,44,rep,name=process_ids" json:"process_ids,omitempty"`
	Properties       []*Property                 `protobuf:"bytes,45,rep,name=properties" json:"properties,omitempty"`
	MappedPorts      []*InfoResponse_PortMapping `protobuf:"bytes,46,rep,name=mapped_ports" json:"mapped_ports,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

func (*InfoResponse) GetBandwidthStat

func (m *InfoResponse) GetBandwidthStat() *InfoResponse_BandwidthStat

func (*InfoResponse) GetContainerIp

func (m *InfoResponse) GetContainerIp() string

func (*InfoResponse) GetContainerPath

func (m *InfoResponse) GetContainerPath() string

func (*InfoResponse) GetCpuStat

func (m *InfoResponse) GetCpuStat() *InfoResponse_CpuStat

func (*InfoResponse) GetDiskStat

func (m *InfoResponse) GetDiskStat() *InfoResponse_DiskStat

func (*InfoResponse) GetEvents

func (m *InfoResponse) GetEvents() []string

func (*InfoResponse) GetHostIp

func (m *InfoResponse) GetHostIp() string

func (*InfoResponse) GetMappedPorts

func (m *InfoResponse) GetMappedPorts() []*InfoResponse_PortMapping

func (*InfoResponse) GetMemoryStat

func (m *InfoResponse) GetMemoryStat() *InfoResponse_MemoryStat

func (*InfoResponse) GetProcessIds

func (m *InfoResponse) GetProcessIds() []uint64

func (*InfoResponse) GetProperties

func (m *InfoResponse) GetProperties() []*Property

func (*InfoResponse) GetState

func (m *InfoResponse) GetState() string

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) Reset

func (m *InfoResponse) Reset()

func (*InfoResponse) String

func (m *InfoResponse) String() string

type InfoResponse_BandwidthStat

type InfoResponse_BandwidthStat struct {
	InRate           *uint64 `protobuf:"varint,1,opt,name=in_rate" json:"in_rate,omitempty"`
	InBurst          *uint64 `protobuf:"varint,2,opt,name=in_burst" json:"in_burst,omitempty"`
	OutRate          *uint64 `protobuf:"varint,3,opt,name=out_rate" json:"out_rate,omitempty"`
	OutBurst         *uint64 `protobuf:"varint,4,opt,name=out_burst" json:"out_burst,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InfoResponse_BandwidthStat) GetInBurst

func (m *InfoResponse_BandwidthStat) GetInBurst() uint64

func (*InfoResponse_BandwidthStat) GetInRate

func (m *InfoResponse_BandwidthStat) GetInRate() uint64

func (*InfoResponse_BandwidthStat) GetOutBurst

func (m *InfoResponse_BandwidthStat) GetOutBurst() uint64

func (*InfoResponse_BandwidthStat) GetOutRate

func (m *InfoResponse_BandwidthStat) GetOutRate() uint64

func (*InfoResponse_BandwidthStat) ProtoMessage

func (*InfoResponse_BandwidthStat) ProtoMessage()

func (*InfoResponse_BandwidthStat) Reset

func (m *InfoResponse_BandwidthStat) Reset()

func (*InfoResponse_BandwidthStat) String

func (m *InfoResponse_BandwidthStat) String() string

type InfoResponse_CpuStat

type InfoResponse_CpuStat struct {
	Usage            *uint64 `protobuf:"varint,1,opt,name=usage" json:"usage,omitempty"`
	User             *uint64 `protobuf:"varint,2,opt,name=user" json:"user,omitempty"`
	System           *uint64 `protobuf:"varint,3,opt,name=system" json:"system,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InfoResponse_CpuStat) GetSystem

func (m *InfoResponse_CpuStat) GetSystem() uint64

func (*InfoResponse_CpuStat) GetUsage

func (m *InfoResponse_CpuStat) GetUsage() uint64

func (*InfoResponse_CpuStat) GetUser

func (m *InfoResponse_CpuStat) GetUser() uint64

func (*InfoResponse_CpuStat) ProtoMessage

func (*InfoResponse_CpuStat) ProtoMessage()

func (*InfoResponse_CpuStat) Reset

func (m *InfoResponse_CpuStat) Reset()

func (*InfoResponse_CpuStat) String

func (m *InfoResponse_CpuStat) String() string

type InfoResponse_DiskStat

type InfoResponse_DiskStat struct {
	BytesUsed        *uint64 `protobuf:"varint,1,opt,name=bytes_used" json:"bytes_used,omitempty"`
	InodesUsed       *uint64 `protobuf:"varint,2,opt,name=inodes_used" json:"inodes_used,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InfoResponse_DiskStat) GetBytesUsed

func (m *InfoResponse_DiskStat) GetBytesUsed() uint64

func (*InfoResponse_DiskStat) GetInodesUsed

func (m *InfoResponse_DiskStat) GetInodesUsed() uint64

func (*InfoResponse_DiskStat) ProtoMessage

func (*InfoResponse_DiskStat) ProtoMessage()

func (*InfoResponse_DiskStat) Reset

func (m *InfoResponse_DiskStat) Reset()

func (*InfoResponse_DiskStat) String

func (m *InfoResponse_DiskStat) String() string

type InfoResponse_MemoryStat

type InfoResponse_MemoryStat struct {
	Cache                   *uint64 `protobuf:"varint,1,opt,name=cache" json:"cache,omitempty"`
	Rss                     *uint64 `protobuf:"varint,2,opt,name=rss" json:"rss,omitempty"`
	MappedFile              *uint64 `protobuf:"varint,3,opt,name=mapped_file" json:"mapped_file,omitempty"`
	Pgpgin                  *uint64 `protobuf:"varint,4,opt,name=pgpgin" json:"pgpgin,omitempty"`
	Pgpgout                 *uint64 `protobuf:"varint,5,opt,name=pgpgout" json:"pgpgout,omitempty"`
	Swap                    *uint64 `protobuf:"varint,6,opt,name=swap" json:"swap,omitempty"`
	Pgfault                 *uint64 `protobuf:"varint,7,opt,name=pgfault" json:"pgfault,omitempty"`
	Pgmajfault              *uint64 `protobuf:"varint,8,opt,name=pgmajfault" json:"pgmajfault,omitempty"`
	InactiveAnon            *uint64 `protobuf:"varint,9,opt,name=inactive_anon" json:"inactive_anon,omitempty"`
	ActiveAnon              *uint64 `protobuf:"varint,10,opt,name=active_anon" json:"active_anon,omitempty"`
	InactiveFile            *uint64 `protobuf:"varint,11,opt,name=inactive_file" json:"inactive_file,omitempty"`
	ActiveFile              *uint64 `protobuf:"varint,12,opt,name=active_file" json:"active_file,omitempty"`
	Unevictable             *uint64 `protobuf:"varint,13,opt,name=unevictable" json:"unevictable,omitempty"`
	HierarchicalMemoryLimit *uint64 `protobuf:"varint,14,opt,name=hierarchical_memory_limit" json:"hierarchical_memory_limit,omitempty"`
	HierarchicalMemswLimit  *uint64 `protobuf:"varint,15,opt,name=hierarchical_memsw_limit" json:"hierarchical_memsw_limit,omitempty"`
	TotalCache              *uint64 `protobuf:"varint,16,opt,name=total_cache" json:"total_cache,omitempty"`
	TotalRss                *uint64 `protobuf:"varint,17,opt,name=total_rss" json:"total_rss,omitempty"`
	TotalMappedFile         *uint64 `protobuf:"varint,18,opt,name=total_mapped_file" json:"total_mapped_file,omitempty"`
	TotalPgpgin             *uint64 `protobuf:"varint,19,opt,name=total_pgpgin" json:"total_pgpgin,omitempty"`
	TotalPgpgout            *uint64 `protobuf:"varint,20,opt,name=total_pgpgout" json:"total_pgpgout,omitempty"`
	TotalSwap               *uint64 `protobuf:"varint,21,opt,name=total_swap" json:"total_swap,omitempty"`
	TotalPgfault            *uint64 `protobuf:"varint,22,opt,name=total_pgfault" json:"total_pgfault,omitempty"`
	TotalPgmajfault         *uint64 `protobuf:"varint,23,opt,name=total_pgmajfault" json:"total_pgmajfault,omitempty"`
	TotalInactiveAnon       *uint64 `protobuf:"varint,24,opt,name=total_inactive_anon" json:"total_inactive_anon,omitempty"`
	TotalActiveAnon         *uint64 `protobuf:"varint,25,opt,name=total_active_anon" json:"total_active_anon,omitempty"`
	TotalInactiveFile       *uint64 `protobuf:"varint,26,opt,name=total_inactive_file" json:"total_inactive_file,omitempty"`
	TotalActiveFile         *uint64 `protobuf:"varint,27,opt,name=total_active_file" json:"total_active_file,omitempty"`
	TotalUnevictable        *uint64 `protobuf:"varint,28,opt,name=total_unevictable" json:"total_unevictable,omitempty"`
	XXX_unrecognized        []byte  `json:"-"`
}

func (*InfoResponse_MemoryStat) GetActiveAnon

func (m *InfoResponse_MemoryStat) GetActiveAnon() uint64

func (*InfoResponse_MemoryStat) GetActiveFile

func (m *InfoResponse_MemoryStat) GetActiveFile() uint64

func (*InfoResponse_MemoryStat) GetCache

func (m *InfoResponse_MemoryStat) GetCache() uint64

func (*InfoResponse_MemoryStat) GetHierarchicalMemoryLimit

func (m *InfoResponse_MemoryStat) GetHierarchicalMemoryLimit() uint64

func (*InfoResponse_MemoryStat) GetHierarchicalMemswLimit

func (m *InfoResponse_MemoryStat) GetHierarchicalMemswLimit() uint64

func (*InfoResponse_MemoryStat) GetInactiveAnon

func (m *InfoResponse_MemoryStat) GetInactiveAnon() uint64

func (*InfoResponse_MemoryStat) GetInactiveFile

func (m *InfoResponse_MemoryStat) GetInactiveFile() uint64

func (*InfoResponse_MemoryStat) GetMappedFile

func (m *InfoResponse_MemoryStat) GetMappedFile() uint64

func (*InfoResponse_MemoryStat) GetPgfault

func (m *InfoResponse_MemoryStat) GetPgfault() uint64

func (*InfoResponse_MemoryStat) GetPgmajfault

func (m *InfoResponse_MemoryStat) GetPgmajfault() uint64

func (*InfoResponse_MemoryStat) GetPgpgin

func (m *InfoResponse_MemoryStat) GetPgpgin() uint64

func (*InfoResponse_MemoryStat) GetPgpgout

func (m *InfoResponse_MemoryStat) GetPgpgout() uint64

func (*InfoResponse_MemoryStat) GetRss

func (m *InfoResponse_MemoryStat) GetRss() uint64

func (*InfoResponse_MemoryStat) GetSwap

func (m *InfoResponse_MemoryStat) GetSwap() uint64

func (*InfoResponse_MemoryStat) GetTotalActiveAnon

func (m *InfoResponse_MemoryStat) GetTotalActiveAnon() uint64

func (*InfoResponse_MemoryStat) GetTotalActiveFile

func (m *InfoResponse_MemoryStat) GetTotalActiveFile() uint64

func (*InfoResponse_MemoryStat) GetTotalCache

func (m *InfoResponse_MemoryStat) GetTotalCache() uint64

func (*InfoResponse_MemoryStat) GetTotalInactiveAnon

func (m *InfoResponse_MemoryStat) GetTotalInactiveAnon() uint64

func (*InfoResponse_MemoryStat) GetTotalInactiveFile

func (m *InfoResponse_MemoryStat) GetTotalInactiveFile() uint64

func (*InfoResponse_MemoryStat) GetTotalMappedFile

func (m *InfoResponse_MemoryStat) GetTotalMappedFile() uint64

func (*InfoResponse_MemoryStat) GetTotalPgfault

func (m *InfoResponse_MemoryStat) GetTotalPgfault() uint64

func (*InfoResponse_MemoryStat) GetTotalPgmajfault

func (m *InfoResponse_MemoryStat) GetTotalPgmajfault() uint64

func (*InfoResponse_MemoryStat) GetTotalPgpgin

func (m *InfoResponse_MemoryStat) GetTotalPgpgin() uint64

func (*InfoResponse_MemoryStat) GetTotalPgpgout

func (m *InfoResponse_MemoryStat) GetTotalPgpgout() uint64

func (*InfoResponse_MemoryStat) GetTotalRss

func (m *InfoResponse_MemoryStat) GetTotalRss() uint64

func (*InfoResponse_MemoryStat) GetTotalSwap

func (m *InfoResponse_MemoryStat) GetTotalSwap() uint64

func (*InfoResponse_MemoryStat) GetTotalUnevictable

func (m *InfoResponse_MemoryStat) GetTotalUnevictable() uint64

func (*InfoResponse_MemoryStat) GetUnevictable

func (m *InfoResponse_MemoryStat) GetUnevictable() uint64

func (*InfoResponse_MemoryStat) ProtoMessage

func (*InfoResponse_MemoryStat) ProtoMessage()

func (*InfoResponse_MemoryStat) Reset

func (m *InfoResponse_MemoryStat) Reset()

func (*InfoResponse_MemoryStat) String

func (m *InfoResponse_MemoryStat) String() string

type InfoResponse_PortMapping

type InfoResponse_PortMapping struct {
	HostPort         *uint32 `protobuf:"varint,1,req,name=host_port" json:"host_port,omitempty"`
	ContainerPort    *uint32 `protobuf:"varint,2,req,name=container_port" json:"container_port,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InfoResponse_PortMapping) GetContainerPort

func (m *InfoResponse_PortMapping) GetContainerPort() uint32

func (*InfoResponse_PortMapping) GetHostPort

func (m *InfoResponse_PortMapping) GetHostPort() uint32

func (*InfoResponse_PortMapping) ProtoMessage

func (*InfoResponse_PortMapping) ProtoMessage()

func (*InfoResponse_PortMapping) Reset

func (m *InfoResponse_PortMapping) Reset()

func (*InfoResponse_PortMapping) String

func (m *InfoResponse_PortMapping) String() string

type LimitBandwidthRequest

type LimitBandwidthRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	Rate             *uint64 `protobuf:"varint,2,req,name=rate" json:"rate,omitempty"`
	Burst            *uint64 `protobuf:"varint,3,req,name=burst" json:"burst,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitBandwidthRequest) GetBurst

func (m *LimitBandwidthRequest) GetBurst() uint64

func (*LimitBandwidthRequest) GetHandle

func (m *LimitBandwidthRequest) GetHandle() string

func (*LimitBandwidthRequest) GetRate

func (m *LimitBandwidthRequest) GetRate() uint64

func (*LimitBandwidthRequest) ProtoMessage

func (*LimitBandwidthRequest) ProtoMessage()

func (*LimitBandwidthRequest) Reset

func (m *LimitBandwidthRequest) Reset()

func (*LimitBandwidthRequest) String

func (m *LimitBandwidthRequest) String() string

type LimitBandwidthResponse

type LimitBandwidthResponse struct {
	Rate             *uint64 `protobuf:"varint,1,req,name=rate" json:"rate,omitempty"`
	Burst            *uint64 `protobuf:"varint,2,req,name=burst" json:"burst,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitBandwidthResponse) GetBurst

func (m *LimitBandwidthResponse) GetBurst() uint64

func (*LimitBandwidthResponse) GetRate

func (m *LimitBandwidthResponse) GetRate() uint64

func (*LimitBandwidthResponse) ProtoMessage

func (*LimitBandwidthResponse) ProtoMessage()

func (*LimitBandwidthResponse) Reset

func (m *LimitBandwidthResponse) Reset()

func (*LimitBandwidthResponse) String

func (m *LimitBandwidthResponse) String() string

type LimitCpuRequest

type LimitCpuRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	LimitInShares    *uint64 `protobuf:"varint,2,opt,name=limit_in_shares" json:"limit_in_shares,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitCpuRequest) GetHandle

func (m *LimitCpuRequest) GetHandle() string

func (*LimitCpuRequest) GetLimitInShares

func (m *LimitCpuRequest) GetLimitInShares() uint64

func (*LimitCpuRequest) ProtoMessage

func (*LimitCpuRequest) ProtoMessage()

func (*LimitCpuRequest) Reset

func (m *LimitCpuRequest) Reset()

func (*LimitCpuRequest) String

func (m *LimitCpuRequest) String() string

type LimitCpuResponse

type LimitCpuResponse struct {
	LimitInShares    *uint64 `protobuf:"varint,1,opt,name=limit_in_shares" json:"limit_in_shares,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitCpuResponse) GetLimitInShares

func (m *LimitCpuResponse) GetLimitInShares() uint64

func (*LimitCpuResponse) ProtoMessage

func (*LimitCpuResponse) ProtoMessage()

func (*LimitCpuResponse) Reset

func (m *LimitCpuResponse) Reset()

func (*LimitCpuResponse) String

func (m *LimitCpuResponse) String() string

type LimitDiskRequest

type LimitDiskRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	BlockSoft        *uint64 `protobuf:"varint,12,opt,name=block_soft" json:"block_soft,omitempty"`
	BlockHard        *uint64 `protobuf:"varint,13,opt,name=block_hard" json:"block_hard,omitempty"`
	InodeSoft        *uint64 `protobuf:"varint,22,opt,name=inode_soft" json:"inode_soft,omitempty"`
	InodeHard        *uint64 `protobuf:"varint,23,opt,name=inode_hard" json:"inode_hard,omitempty"`
	ByteSoft         *uint64 `protobuf:"varint,32,opt,name=byte_soft" json:"byte_soft,omitempty"`
	ByteHard         *uint64 `protobuf:"varint,33,opt,name=byte_hard" json:"byte_hard,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitDiskRequest) GetBlockHard

func (m *LimitDiskRequest) GetBlockHard() uint64

func (*LimitDiskRequest) GetBlockSoft

func (m *LimitDiskRequest) GetBlockSoft() uint64

func (*LimitDiskRequest) GetByteHard

func (m *LimitDiskRequest) GetByteHard() uint64

func (*LimitDiskRequest) GetByteSoft

func (m *LimitDiskRequest) GetByteSoft() uint64

func (*LimitDiskRequest) GetHandle

func (m *LimitDiskRequest) GetHandle() string

func (*LimitDiskRequest) GetInodeHard

func (m *LimitDiskRequest) GetInodeHard() uint64

func (*LimitDiskRequest) GetInodeSoft

func (m *LimitDiskRequest) GetInodeSoft() uint64

func (*LimitDiskRequest) ProtoMessage

func (*LimitDiskRequest) ProtoMessage()

func (*LimitDiskRequest) Reset

func (m *LimitDiskRequest) Reset()

func (*LimitDiskRequest) String

func (m *LimitDiskRequest) String() string

type LimitDiskResponse

type LimitDiskResponse struct {
	BlockSoft        *uint64 `protobuf:"varint,12,opt,name=block_soft" json:"block_soft,omitempty"`
	BlockHard        *uint64 `protobuf:"varint,13,opt,name=block_hard" json:"block_hard,omitempty"`
	InodeSoft        *uint64 `protobuf:"varint,22,opt,name=inode_soft" json:"inode_soft,omitempty"`
	InodeHard        *uint64 `protobuf:"varint,23,opt,name=inode_hard" json:"inode_hard,omitempty"`
	ByteSoft         *uint64 `protobuf:"varint,32,opt,name=byte_soft" json:"byte_soft,omitempty"`
	ByteHard         *uint64 `protobuf:"varint,33,opt,name=byte_hard" json:"byte_hard,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitDiskResponse) GetBlockHard

func (m *LimitDiskResponse) GetBlockHard() uint64

func (*LimitDiskResponse) GetBlockSoft

func (m *LimitDiskResponse) GetBlockSoft() uint64

func (*LimitDiskResponse) GetByteHard

func (m *LimitDiskResponse) GetByteHard() uint64

func (*LimitDiskResponse) GetByteSoft

func (m *LimitDiskResponse) GetByteSoft() uint64

func (*LimitDiskResponse) GetInodeHard

func (m *LimitDiskResponse) GetInodeHard() uint64

func (*LimitDiskResponse) GetInodeSoft

func (m *LimitDiskResponse) GetInodeSoft() uint64

func (*LimitDiskResponse) ProtoMessage

func (*LimitDiskResponse) ProtoMessage()

func (*LimitDiskResponse) Reset

func (m *LimitDiskResponse) Reset()

func (*LimitDiskResponse) String

func (m *LimitDiskResponse) String() string

type LimitMemoryRequest

type LimitMemoryRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	LimitInBytes     *uint64 `protobuf:"varint,2,opt,name=limit_in_bytes" json:"limit_in_bytes,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitMemoryRequest) GetHandle

func (m *LimitMemoryRequest) GetHandle() string

func (*LimitMemoryRequest) GetLimitInBytes

func (m *LimitMemoryRequest) GetLimitInBytes() uint64

func (*LimitMemoryRequest) ProtoMessage

func (*LimitMemoryRequest) ProtoMessage()

func (*LimitMemoryRequest) Reset

func (m *LimitMemoryRequest) Reset()

func (*LimitMemoryRequest) String

func (m *LimitMemoryRequest) String() string

type LimitMemoryResponse

type LimitMemoryResponse struct {
	LimitInBytes     *uint64 `protobuf:"varint,1,opt,name=limit_in_bytes" json:"limit_in_bytes,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*LimitMemoryResponse) GetLimitInBytes

func (m *LimitMemoryResponse) GetLimitInBytes() uint64

func (*LimitMemoryResponse) ProtoMessage

func (*LimitMemoryResponse) ProtoMessage()

func (*LimitMemoryResponse) Reset

func (m *LimitMemoryResponse) Reset()

func (*LimitMemoryResponse) String

func (m *LimitMemoryResponse) String() string

type ListRequest

type ListRequest struct {
	Properties       []*Property `protobuf:"bytes,1,rep,name=properties" json:"properties,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*ListRequest) GetProperties

func (m *ListRequest) GetProperties() []*Property

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

type ListResponse

type ListResponse struct {
	Handles          []string `protobuf:"bytes,1,rep,name=handles" json:"handles,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*ListResponse) GetHandles

func (m *ListResponse) GetHandles() []string

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

type Message

type Message struct {
	Type             *Message_Type `protobuf:"varint,1,req,name=type,enum=garden.Message_Type" json:"type,omitempty"`
	Payload          []byte        `protobuf:"bytes,2,req,name=payload" json:"payload,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*Message) GetPayload

func (m *Message) GetPayload() []byte

func (*Message) GetType

func (m *Message) GetType() Message_Type

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

type Message_Type

type Message_Type int32
const (
	Message_Error          Message_Type = 1
	Message_Create         Message_Type = 11
	Message_Stop           Message_Type = 12
	Message_Destroy        Message_Type = 13
	Message_Info           Message_Type = 14
	Message_NetIn          Message_Type = 31
	Message_NetOut         Message_Type = 32
	Message_LimitMemory    Message_Type = 51
	Message_LimitDisk      Message_Type = 52
	Message_LimitBandwidth Message_Type = 53
	Message_LimitCpu       Message_Type = 54
	Message_Run            Message_Type = 71
	Message_Attach         Message_Type = 72
	Message_ProcessPayload Message_Type = 73
	Message_Ping           Message_Type = 91
	Message_List           Message_Type = 92
	Message_Capacity       Message_Type = 94
	Message_StreamIn       Message_Type = 95
	Message_StreamOut      Message_Type = 96
)

func TypeForMessage

func TypeForMessage(msg proto.Message) Message_Type

func (Message_Type) Enum

func (x Message_Type) Enum() *Message_Type

func (Message_Type) String

func (x Message_Type) String() string

func (*Message_Type) UnmarshalJSON

func (x *Message_Type) UnmarshalJSON(data []byte) error

type NetInRequest

type NetInRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	HostPort         *uint32 `protobuf:"varint,3,opt,name=host_port" json:"host_port,omitempty"`
	ContainerPort    *uint32 `protobuf:"varint,2,opt,name=container_port" json:"container_port,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NetInRequest) GetContainerPort

func (m *NetInRequest) GetContainerPort() uint32

func (*NetInRequest) GetHandle

func (m *NetInRequest) GetHandle() string

func (*NetInRequest) GetHostPort

func (m *NetInRequest) GetHostPort() uint32

func (*NetInRequest) ProtoMessage

func (*NetInRequest) ProtoMessage()

func (*NetInRequest) Reset

func (m *NetInRequest) Reset()

func (*NetInRequest) String

func (m *NetInRequest) String() string

type NetInResponse

type NetInResponse struct {
	HostPort         *uint32 `protobuf:"varint,1,req,name=host_port" json:"host_port,omitempty"`
	ContainerPort    *uint32 `protobuf:"varint,2,req,name=container_port" json:"container_port,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NetInResponse) GetContainerPort

func (m *NetInResponse) GetContainerPort() uint32

func (*NetInResponse) GetHostPort

func (m *NetInResponse) GetHostPort() uint32

func (*NetInResponse) ProtoMessage

func (*NetInResponse) ProtoMessage()

func (*NetInResponse) Reset

func (m *NetInResponse) Reset()

func (*NetInResponse) String

func (m *NetInResponse) String() string

type NetOutRequest

type NetOutRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	Network          *string `protobuf:"bytes,2,opt,name=network" json:"network,omitempty"`
	Port             *uint32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NetOutRequest) GetHandle

func (m *NetOutRequest) GetHandle() string

func (*NetOutRequest) GetNetwork

func (m *NetOutRequest) GetNetwork() string

func (*NetOutRequest) GetPort

func (m *NetOutRequest) GetPort() uint32

func (*NetOutRequest) ProtoMessage

func (*NetOutRequest) ProtoMessage()

func (*NetOutRequest) Reset

func (m *NetOutRequest) Reset()

func (*NetOutRequest) String

func (m *NetOutRequest) String() string

type NetOutResponse

type NetOutResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*NetOutResponse) ProtoMessage

func (*NetOutResponse) ProtoMessage()

func (*NetOutResponse) Reset

func (m *NetOutResponse) Reset()

func (*NetOutResponse) String

func (m *NetOutResponse) String() string

type PingRequest

type PingRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) Reset

func (m *PingRequest) Reset()

func (*PingRequest) String

func (m *PingRequest) String() string

type PingResponse

type PingResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) Reset

func (m *PingResponse) Reset()

func (*PingResponse) String

func (m *PingResponse) String() string

type ProcessPayload

type ProcessPayload struct {
	ProcessId        *uint32                `protobuf:"varint,1,req,name=process_id" json:"process_id,omitempty"`
	Source           *ProcessPayload_Source `protobuf:"varint,2,opt,name=source,enum=garden.ProcessPayload_Source" json:"source,omitempty"`
	Data             *string                `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
	ExitStatus       *uint32                `protobuf:"varint,4,opt,name=exit_status" json:"exit_status,omitempty"`
	Error            *string                `protobuf:"bytes,5,opt,name=error" json:"error,omitempty"`
	Tty              *TTY                   `protobuf:"bytes,6,opt,name=tty" json:"tty,omitempty"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*ProcessPayload) GetData

func (m *ProcessPayload) GetData() string

func (*ProcessPayload) GetError

func (m *ProcessPayload) GetError() string

func (*ProcessPayload) GetExitStatus

func (m *ProcessPayload) GetExitStatus() uint32

func (*ProcessPayload) GetProcessId

func (m *ProcessPayload) GetProcessId() uint32

func (*ProcessPayload) GetSource

func (m *ProcessPayload) GetSource() ProcessPayload_Source

func (*ProcessPayload) GetTty

func (m *ProcessPayload) GetTty() *TTY

func (*ProcessPayload) ProtoMessage

func (*ProcessPayload) ProtoMessage()

func (*ProcessPayload) Reset

func (m *ProcessPayload) Reset()

func (*ProcessPayload) String

func (m *ProcessPayload) String() string

type ProcessPayload_Source

type ProcessPayload_Source int32
const (
	ProcessPayload_stdin  ProcessPayload_Source = 0
	ProcessPayload_stdout ProcessPayload_Source = 1
	ProcessPayload_stderr ProcessPayload_Source = 2
)

func (ProcessPayload_Source) Enum

func (ProcessPayload_Source) String

func (x ProcessPayload_Source) String() string

func (*ProcessPayload_Source) UnmarshalJSON

func (x *ProcessPayload_Source) UnmarshalJSON(data []byte) error

type Property

type Property struct {
	Key              *string `protobuf:"bytes,1,req" json:"Key,omitempty"`
	Value            *string `protobuf:"bytes,2,req" json:"Value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Property) GetKey

func (m *Property) GetKey() string

func (*Property) GetValue

func (m *Property) GetValue() string

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) Reset

func (m *Property) Reset()

func (*Property) String

func (m *Property) String() string

type ResourceLimits

type ResourceLimits struct {
	As               *uint64 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
	Core             *uint64 `protobuf:"varint,2,opt,name=core" json:"core,omitempty"`
	Cpu              *uint64 `protobuf:"varint,3,opt,name=cpu" json:"cpu,omitempty"`
	Data             *uint64 `protobuf:"varint,4,opt,name=data" json:"data,omitempty"`
	Fsize            *uint64 `protobuf:"varint,5,opt,name=fsize" json:"fsize,omitempty"`
	Locks            *uint64 `protobuf:"varint,6,opt,name=locks" json:"locks,omitempty"`
	Memlock          *uint64 `protobuf:"varint,7,opt,name=memlock" json:"memlock,omitempty"`
	Msgqueue         *uint64 `protobuf:"varint,8,opt,name=msgqueue" json:"msgqueue,omitempty"`
	Nice             *uint64 `protobuf:"varint,9,opt,name=nice" json:"nice,omitempty"`
	Nofile           *uint64 `protobuf:"varint,10,opt,name=nofile" json:"nofile,omitempty"`
	Nproc            *uint64 `protobuf:"varint,11,opt,name=nproc" json:"nproc,omitempty"`
	Rss              *uint64 `protobuf:"varint,12,opt,name=rss" json:"rss,omitempty"`
	Rtprio           *uint64 `protobuf:"varint,13,opt,name=rtprio" json:"rtprio,omitempty"`
	Sigpending       *uint64 `protobuf:"varint,14,opt,name=sigpending" json:"sigpending,omitempty"`
	Stack            *uint64 `protobuf:"varint,15,opt,name=stack" json:"stack,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ResourceLimits) GetAs

func (m *ResourceLimits) GetAs() uint64

func (*ResourceLimits) GetCore

func (m *ResourceLimits) GetCore() uint64

func (*ResourceLimits) GetCpu

func (m *ResourceLimits) GetCpu() uint64

func (*ResourceLimits) GetData

func (m *ResourceLimits) GetData() uint64

func (*ResourceLimits) GetFsize

func (m *ResourceLimits) GetFsize() uint64

func (*ResourceLimits) GetLocks

func (m *ResourceLimits) GetLocks() uint64

func (*ResourceLimits) GetMemlock

func (m *ResourceLimits) GetMemlock() uint64

func (*ResourceLimits) GetMsgqueue

func (m *ResourceLimits) GetMsgqueue() uint64

func (*ResourceLimits) GetNice

func (m *ResourceLimits) GetNice() uint64

func (*ResourceLimits) GetNofile

func (m *ResourceLimits) GetNofile() uint64

func (*ResourceLimits) GetNproc

func (m *ResourceLimits) GetNproc() uint64

func (*ResourceLimits) GetRss

func (m *ResourceLimits) GetRss() uint64

func (*ResourceLimits) GetRtprio

func (m *ResourceLimits) GetRtprio() uint64

func (*ResourceLimits) GetSigpending

func (m *ResourceLimits) GetSigpending() uint64

func (*ResourceLimits) GetStack

func (m *ResourceLimits) GetStack() uint64

func (*ResourceLimits) ProtoMessage

func (*ResourceLimits) ProtoMessage()

func (*ResourceLimits) Reset

func (m *ResourceLimits) Reset()

func (*ResourceLimits) String

func (m *ResourceLimits) String() string

type RunRequest

type RunRequest struct {
	Handle           *string                `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	Path             *string                `protobuf:"bytes,2,req,name=path" json:"path,omitempty"`
	Privileged       *bool                  `protobuf:"varint,3,opt,name=privileged,def=0" json:"privileged,omitempty"`
	Rlimits          *ResourceLimits        `protobuf:"bytes,4,opt,name=rlimits" json:"rlimits,omitempty"`
	Env              []*EnvironmentVariable `protobuf:"bytes,5,rep,name=env" json:"env,omitempty"`
	Args             []string               `protobuf:"bytes,6,rep,name=args" json:"args,omitempty"`
	Dir              *string                `protobuf:"bytes,7,opt,name=dir" json:"dir,omitempty"`
	Tty              *TTY                   `protobuf:"bytes,8,opt,name=tty" json:"tty,omitempty"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*RunRequest) GetArgs

func (m *RunRequest) GetArgs() []string

func (*RunRequest) GetDir

func (m *RunRequest) GetDir() string

func (*RunRequest) GetEnv

func (m *RunRequest) GetEnv() []*EnvironmentVariable

func (*RunRequest) GetHandle

func (m *RunRequest) GetHandle() string

func (*RunRequest) GetPath

func (m *RunRequest) GetPath() string

func (*RunRequest) GetPrivileged

func (m *RunRequest) GetPrivileged() bool

func (*RunRequest) GetRlimits

func (m *RunRequest) GetRlimits() *ResourceLimits

func (*RunRequest) GetTty

func (m *RunRequest) GetTty() *TTY

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) Reset

func (m *RunRequest) Reset()

func (*RunRequest) String

func (m *RunRequest) String() string

type StopRequest

type StopRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	Kill             *bool   `protobuf:"varint,20,opt,name=kill,def=0" json:"kill,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*StopRequest) GetHandle

func (m *StopRequest) GetHandle() string

func (*StopRequest) GetKill

func (m *StopRequest) GetKill() bool

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) Reset

func (m *StopRequest) Reset()

func (*StopRequest) String

func (m *StopRequest) String() string

type StopResponse

type StopResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*StopResponse) ProtoMessage

func (*StopResponse) ProtoMessage()

func (*StopResponse) Reset

func (m *StopResponse) Reset()

func (*StopResponse) String

func (m *StopResponse) String() string

type StreamInRequest

type StreamInRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	DstPath          *string `protobuf:"bytes,2,req,name=dst_path" json:"dst_path,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*StreamInRequest) GetDstPath

func (m *StreamInRequest) GetDstPath() string

func (*StreamInRequest) GetHandle

func (m *StreamInRequest) GetHandle() string

func (*StreamInRequest) ProtoMessage

func (*StreamInRequest) ProtoMessage()

func (*StreamInRequest) Reset

func (m *StreamInRequest) Reset()

func (*StreamInRequest) String

func (m *StreamInRequest) String() string

type StreamInResponse

type StreamInResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*StreamInResponse) ProtoMessage

func (*StreamInResponse) ProtoMessage()

func (*StreamInResponse) Reset

func (m *StreamInResponse) Reset()

func (*StreamInResponse) String

func (m *StreamInResponse) String() string

type StreamOutRequest

type StreamOutRequest struct {
	Handle           *string `protobuf:"bytes,1,req,name=handle" json:"handle,omitempty"`
	SrcPath          *string `protobuf:"bytes,2,req,name=src_path" json:"src_path,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*StreamOutRequest) GetHandle

func (m *StreamOutRequest) GetHandle() string

func (*StreamOutRequest) GetSrcPath

func (m *StreamOutRequest) GetSrcPath() string

func (*StreamOutRequest) ProtoMessage

func (*StreamOutRequest) ProtoMessage()

func (*StreamOutRequest) Reset

func (m *StreamOutRequest) Reset()

func (*StreamOutRequest) String

func (m *StreamOutRequest) String() string

type StreamOutResponse

type StreamOutResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*StreamOutResponse) ProtoMessage

func (*StreamOutResponse) ProtoMessage()

func (*StreamOutResponse) Reset

func (m *StreamOutResponse) Reset()

func (*StreamOutResponse) String

func (m *StreamOutResponse) String() string

type TTY

type TTY struct {
	WindowSize       *TTY_WindowSize `protobuf:"bytes,1,opt,name=window_size" json:"window_size,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*TTY) GetWindowSize

func (m *TTY) GetWindowSize() *TTY_WindowSize

func (*TTY) ProtoMessage

func (*TTY) ProtoMessage()

func (*TTY) Reset

func (m *TTY) Reset()

func (*TTY) String

func (m *TTY) String() string

type TTY_WindowSize

type TTY_WindowSize struct {
	Columns          *uint32 `protobuf:"varint,1,req,name=columns" json:"columns,omitempty"`
	Rows             *uint32 `protobuf:"varint,2,req,name=rows" json:"rows,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*TTY_WindowSize) GetColumns

func (m *TTY_WindowSize) GetColumns() uint32

func (*TTY_WindowSize) GetRows

func (m *TTY_WindowSize) GetRows() uint32

func (*TTY_WindowSize) ProtoMessage

func (*TTY_WindowSize) ProtoMessage()

func (*TTY_WindowSize) Reset

func (m *TTY_WindowSize) Reset()

func (*TTY_WindowSize) String

func (m *TTY_WindowSize) String() string

Jump to

Keyboard shortcuts

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