Documentation
¶
Overview ¶
Package vcontainermodels is a generated protocol buffer package.
It is generated from these files:
common.proto container.proto garden.proto process.proto service.proto
It has these top-level messages:
VContainerClientConfig Error KeyValueMessage Properties ImageRef BindMount ProcessSpec RunResponse TTYSpec WindowSize ResourceLimits BandwidthLimits ProcessLimits DiskLimits MemoryLimits CPULimits PidLimits PortMapping StreamInSpec StreamInResponse StreamOutSpec StreamOutResponse ContainerInfo Metrics ContainerMemoryStat ContainerCPUStat ContainerDiskStat ContainerNetworkStat StopMessage NetInRequest NetInResponse IPRange PortRange ICMPControl NetOutRuleRequest BulkNetOutRuleRequest Capacity ContainerSpec Limits ContainerInfoEntry BulkInfoRequest BulkInfoResponse ContainerMetricsEntry BulkMetricsRequest BulkMetricsResponse SignalRequest WaitResponse ContainersResponse StopRequest StopResponse
Index ¶
- Variables
- func RegisterVContainerServer(s *grpc.Server, srv VContainerServer)
- func RegisterVGardenServer(s *grpc.Server, srv VGardenServer)
- func RegisterVProcessServer(s *grpc.Server, srv VProcessServer)
- type BandwidthLimits
- func (*BandwidthLimits) Descriptor() ([]byte, []int)
- func (this *BandwidthLimits) Equal(that interface{}) bool
- func (m *BandwidthLimits) GetBurstRateInBytesPerSecond() uint64
- func (m *BandwidthLimits) GetRateInBytesPerSecond() uint64
- func (this *BandwidthLimits) GoString() string
- func (m *BandwidthLimits) Marshal() (dAtA []byte, err error)
- func (m *BandwidthLimits) MarshalTo(dAtA []byte) (int, error)
- func (*BandwidthLimits) ProtoMessage()
- func (m *BandwidthLimits) Reset()
- func (m *BandwidthLimits) Size() (n int)
- func (this *BandwidthLimits) String() string
- func (m *BandwidthLimits) Unmarshal(dAtA []byte) error
- type BindMount
- func (*BindMount) Descriptor() ([]byte, []int)
- func (this *BindMount) Equal(that interface{}) bool
- func (m *BindMount) GetDstPath() string
- func (m *BindMount) GetMode() BindMountMode
- func (m *BindMount) GetOrigin() BindMountOrigin
- func (m *BindMount) GetSrcPath() string
- func (this *BindMount) GoString() string
- func (m *BindMount) Marshal() (dAtA []byte, err error)
- func (m *BindMount) MarshalTo(dAtA []byte) (int, error)
- func (*BindMount) ProtoMessage()
- func (m *BindMount) Reset()
- func (m *BindMount) Size() (n int)
- func (this *BindMount) String() string
- func (m *BindMount) Unmarshal(dAtA []byte) error
- type BindMountMode
- type BindMountOrigin
- type BulkInfoRequest
- func (*BulkInfoRequest) Descriptor() ([]byte, []int)
- func (this *BulkInfoRequest) Equal(that interface{}) bool
- func (m *BulkInfoRequest) GetHandles() []string
- func (this *BulkInfoRequest) GoString() string
- func (m *BulkInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *BulkInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BulkInfoRequest) ProtoMessage()
- func (m *BulkInfoRequest) Reset()
- func (m *BulkInfoRequest) Size() (n int)
- func (this *BulkInfoRequest) String() string
- func (m *BulkInfoRequest) Unmarshal(dAtA []byte) error
- type BulkInfoResponse
- func (*BulkInfoResponse) Descriptor() ([]byte, []int)
- func (this *BulkInfoResponse) Equal(that interface{}) bool
- func (m *BulkInfoResponse) GetContainerInfoEntry() map[string]*ContainerInfoEntry
- func (this *BulkInfoResponse) GoString() string
- func (m *BulkInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *BulkInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (*BulkInfoResponse) ProtoMessage()
- func (m *BulkInfoResponse) Reset()
- func (m *BulkInfoResponse) Size() (n int)
- func (this *BulkInfoResponse) String() string
- func (m *BulkInfoResponse) Unmarshal(dAtA []byte) error
- type BulkMetricsRequest
- func (*BulkMetricsRequest) Descriptor() ([]byte, []int)
- func (this *BulkMetricsRequest) Equal(that interface{}) bool
- func (m *BulkMetricsRequest) GetHandles() []string
- func (this *BulkMetricsRequest) GoString() string
- func (m *BulkMetricsRequest) Marshal() (dAtA []byte, err error)
- func (m *BulkMetricsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BulkMetricsRequest) ProtoMessage()
- func (m *BulkMetricsRequest) Reset()
- func (m *BulkMetricsRequest) Size() (n int)
- func (this *BulkMetricsRequest) String() string
- func (m *BulkMetricsRequest) Unmarshal(dAtA []byte) error
- type BulkMetricsResponse
- func (*BulkMetricsResponse) Descriptor() ([]byte, []int)
- func (this *BulkMetricsResponse) Equal(that interface{}) bool
- func (m *BulkMetricsResponse) GetContainerMetricsEntry() map[string]*ContainerMetricsEntry
- func (this *BulkMetricsResponse) GoString() string
- func (m *BulkMetricsResponse) Marshal() (dAtA []byte, err error)
- func (m *BulkMetricsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*BulkMetricsResponse) ProtoMessage()
- func (m *BulkMetricsResponse) Reset()
- func (m *BulkMetricsResponse) Size() (n int)
- func (this *BulkMetricsResponse) String() string
- func (m *BulkMetricsResponse) Unmarshal(dAtA []byte) error
- type BulkNetOutRuleRequest
- func (*BulkNetOutRuleRequest) Descriptor() ([]byte, []int)
- func (this *BulkNetOutRuleRequest) Equal(that interface{}) bool
- func (m *BulkNetOutRuleRequest) GetNetOutRules() []*NetOutRuleRequest
- func (this *BulkNetOutRuleRequest) GoString() string
- func (m *BulkNetOutRuleRequest) Marshal() (dAtA []byte, err error)
- func (m *BulkNetOutRuleRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BulkNetOutRuleRequest) ProtoMessage()
- func (m *BulkNetOutRuleRequest) Reset()
- func (m *BulkNetOutRuleRequest) Size() (n int)
- func (this *BulkNetOutRuleRequest) String() string
- func (m *BulkNetOutRuleRequest) Unmarshal(dAtA []byte) error
- type CPULimits
- func (*CPULimits) Descriptor() ([]byte, []int)
- func (this *CPULimits) Equal(that interface{}) bool
- func (m *CPULimits) GetLimitInShares() uint64
- func (this *CPULimits) GoString() string
- func (m *CPULimits) Marshal() (dAtA []byte, err error)
- func (m *CPULimits) MarshalTo(dAtA []byte) (int, error)
- func (*CPULimits) ProtoMessage()
- func (m *CPULimits) Reset()
- func (m *CPULimits) Size() (n int)
- func (this *CPULimits) String() string
- func (m *CPULimits) Unmarshal(dAtA []byte) error
- type Capacity
- func (*Capacity) Descriptor() ([]byte, []int)
- func (this *Capacity) Equal(that interface{}) bool
- func (m *Capacity) GetDiskInBytes() uint64
- func (m *Capacity) GetMaxContainers() uint64
- func (m *Capacity) GetMemoryInBytes() uint64
- func (this *Capacity) GoString() string
- func (m *Capacity) Marshal() (dAtA []byte, err error)
- func (m *Capacity) MarshalTo(dAtA []byte) (int, error)
- func (*Capacity) ProtoMessage()
- func (m *Capacity) Reset()
- func (m *Capacity) Size() (n int)
- func (this *Capacity) String() string
- func (m *Capacity) Unmarshal(dAtA []byte) error
- type ContainerCPUStat
- func (*ContainerCPUStat) Descriptor() ([]byte, []int)
- func (this *ContainerCPUStat) Equal(that interface{}) bool
- func (m *ContainerCPUStat) GetSystem() uint64
- func (m *ContainerCPUStat) GetUsage() uint64
- func (m *ContainerCPUStat) GetUser() uint64
- func (this *ContainerCPUStat) GoString() string
- func (m *ContainerCPUStat) Marshal() (dAtA []byte, err error)
- func (m *ContainerCPUStat) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerCPUStat) ProtoMessage()
- func (m *ContainerCPUStat) Reset()
- func (m *ContainerCPUStat) Size() (n int)
- func (this *ContainerCPUStat) String() string
- func (m *ContainerCPUStat) Unmarshal(dAtA []byte) error
- type ContainerDiskStat
- func (*ContainerDiskStat) Descriptor() ([]byte, []int)
- func (this *ContainerDiskStat) Equal(that interface{}) bool
- func (m *ContainerDiskStat) GetExclusiveBytesUsed() uint64
- func (m *ContainerDiskStat) GetExclusiveInodesUsed() uint64
- func (m *ContainerDiskStat) GetTotalBytesUsed() uint64
- func (m *ContainerDiskStat) GetTotalInodesUsed() uint64
- func (this *ContainerDiskStat) GoString() string
- func (m *ContainerDiskStat) Marshal() (dAtA []byte, err error)
- func (m *ContainerDiskStat) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerDiskStat) ProtoMessage()
- func (m *ContainerDiskStat) Reset()
- func (m *ContainerDiskStat) Size() (n int)
- func (this *ContainerDiskStat) String() string
- func (m *ContainerDiskStat) Unmarshal(dAtA []byte) error
- type ContainerInfo
- func (*ContainerInfo) Descriptor() ([]byte, []int)
- func (this *ContainerInfo) Equal(that interface{}) bool
- func (m *ContainerInfo) GetContainerIP() string
- func (m *ContainerInfo) GetContainerPath() string
- func (m *ContainerInfo) GetEvents() []string
- func (m *ContainerInfo) GetExternalIP() string
- func (m *ContainerInfo) GetHostIP() string
- func (m *ContainerInfo) GetMappedPorts() []PortMapping
- func (m *ContainerInfo) GetProcessIDs() []string
- func (m *ContainerInfo) GetProperties() *Properties
- func (m *ContainerInfo) GetState() string
- func (this *ContainerInfo) GoString() string
- func (m *ContainerInfo) Marshal() (dAtA []byte, err error)
- func (m *ContainerInfo) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerInfo) ProtoMessage()
- func (m *ContainerInfo) Reset()
- func (m *ContainerInfo) Size() (n int)
- func (this *ContainerInfo) String() string
- func (m *ContainerInfo) Unmarshal(dAtA []byte) error
- type ContainerInfoEntry
- func (*ContainerInfoEntry) Descriptor() ([]byte, []int)
- func (this *ContainerInfoEntry) Equal(that interface{}) bool
- func (m *ContainerInfoEntry) GetErr() *Error
- func (m *ContainerInfoEntry) GetInfo() ContainerInfo
- func (this *ContainerInfoEntry) GoString() string
- func (m *ContainerInfoEntry) Marshal() (dAtA []byte, err error)
- func (m *ContainerInfoEntry) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerInfoEntry) ProtoMessage()
- func (m *ContainerInfoEntry) Reset()
- func (m *ContainerInfoEntry) Size() (n int)
- func (this *ContainerInfoEntry) String() string
- func (m *ContainerInfoEntry) Unmarshal(dAtA []byte) error
- type ContainerMemoryStat
- func (*ContainerMemoryStat) Descriptor() ([]byte, []int)
- func (this *ContainerMemoryStat) Equal(that interface{}) bool
- func (m *ContainerMemoryStat) GetActiveAnon() uint64
- func (m *ContainerMemoryStat) GetActiveFile() uint64
- func (m *ContainerMemoryStat) GetCache() uint64
- func (m *ContainerMemoryStat) GetHierarchicalMemoryLimit() uint64
- func (m *ContainerMemoryStat) GetHierarchicalMemswLimit() uint64
- func (m *ContainerMemoryStat) GetInactiveAnon() uint64
- func (m *ContainerMemoryStat) GetInactiveFile() uint64
- func (m *ContainerMemoryStat) GetMappedFile() uint64
- func (m *ContainerMemoryStat) GetPgfault() uint64
- func (m *ContainerMemoryStat) GetPgmajfault() uint64
- func (m *ContainerMemoryStat) GetPgpgin() uint64
- func (m *ContainerMemoryStat) GetPgpgout() uint64
- func (m *ContainerMemoryStat) GetRss() uint64
- func (m *ContainerMemoryStat) GetSwap() uint64
- func (m *ContainerMemoryStat) GetTotalActiveAnon() uint64
- func (m *ContainerMemoryStat) GetTotalActiveFile() uint64
- func (m *ContainerMemoryStat) GetTotalCache() uint64
- func (m *ContainerMemoryStat) GetTotalInactiveAnon() uint64
- func (m *ContainerMemoryStat) GetTotalInactiveFile() uint64
- func (m *ContainerMemoryStat) GetTotalMappedFile() uint64
- func (m *ContainerMemoryStat) GetTotalPgfault() uint64
- func (m *ContainerMemoryStat) GetTotalPgmajfault() uint64
- func (m *ContainerMemoryStat) GetTotalPgpgin() uint64
- func (m *ContainerMemoryStat) GetTotalPgpgout() uint64
- func (m *ContainerMemoryStat) GetTotalRss() uint64
- func (m *ContainerMemoryStat) GetTotalSwap() uint64
- func (m *ContainerMemoryStat) GetTotalUnevictable() uint64
- func (m *ContainerMemoryStat) GetTotalUsageTowardLimit() uint64
- func (m *ContainerMemoryStat) GetUnevictable() uint64
- func (this *ContainerMemoryStat) GoString() string
- func (m *ContainerMemoryStat) Marshal() (dAtA []byte, err error)
- func (m *ContainerMemoryStat) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerMemoryStat) ProtoMessage()
- func (m *ContainerMemoryStat) Reset()
- func (m *ContainerMemoryStat) Size() (n int)
- func (this *ContainerMemoryStat) String() string
- func (m *ContainerMemoryStat) Unmarshal(dAtA []byte) error
- type ContainerMetricsEntry
- func (*ContainerMetricsEntry) Descriptor() ([]byte, []int)
- func (this *ContainerMetricsEntry) Equal(that interface{}) bool
- func (m *ContainerMetricsEntry) GetErr() *Error
- func (m *ContainerMetricsEntry) GetMetrics() Metrics
- func (this *ContainerMetricsEntry) GoString() string
- func (m *ContainerMetricsEntry) Marshal() (dAtA []byte, err error)
- func (m *ContainerMetricsEntry) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerMetricsEntry) ProtoMessage()
- func (m *ContainerMetricsEntry) Reset()
- func (m *ContainerMetricsEntry) Size() (n int)
- func (this *ContainerMetricsEntry) String() string
- func (m *ContainerMetricsEntry) Unmarshal(dAtA []byte) error
- type ContainerNetworkStat
- func (*ContainerNetworkStat) Descriptor() ([]byte, []int)
- func (this *ContainerNetworkStat) Equal(that interface{}) bool
- func (m *ContainerNetworkStat) GetRxBytes() uint64
- func (m *ContainerNetworkStat) GetTxBytes() uint64
- func (this *ContainerNetworkStat) GoString() string
- func (m *ContainerNetworkStat) Marshal() (dAtA []byte, err error)
- func (m *ContainerNetworkStat) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerNetworkStat) ProtoMessage()
- func (m *ContainerNetworkStat) Reset()
- func (m *ContainerNetworkStat) Size() (n int)
- func (this *ContainerNetworkStat) String() string
- func (m *ContainerNetworkStat) Unmarshal(dAtA []byte) error
- type ContainerSpec
- func (*ContainerSpec) Descriptor() ([]byte, []int)
- func (this *ContainerSpec) Equal(that interface{}) bool
- func (m *ContainerSpec) GetBindMounts() []BindMount
- func (m *ContainerSpec) GetEnv() []string
- func (m *ContainerSpec) GetGraceTime() *google_protobuf2.Duration
- func (m *ContainerSpec) GetHandle() string
- func (m *ContainerSpec) GetImage() ImageRef
- func (m *ContainerSpec) GetLimits() Limits
- func (m *ContainerSpec) GetNetIn() []NetInRequest
- func (m *ContainerSpec) GetNetOut() []NetOutRuleRequest
- func (m *ContainerSpec) GetNetwork() string
- func (m *ContainerSpec) GetPrivileged() bool
- func (m *ContainerSpec) GetProperties() *Properties
- func (m *ContainerSpec) GetRootFSPath() string
- func (this *ContainerSpec) GoString() string
- func (m *ContainerSpec) Marshal() (dAtA []byte, err error)
- func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerSpec) ProtoMessage()
- func (m *ContainerSpec) Reset()
- func (m *ContainerSpec) Size() (n int)
- func (this *ContainerSpec) String() string
- func (m *ContainerSpec) Unmarshal(dAtA []byte) error
- type ContainersResponse
- func (*ContainersResponse) Descriptor() ([]byte, []int)
- func (this *ContainersResponse) Equal(that interface{}) bool
- func (m *ContainersResponse) GetHandle() []string
- func (this *ContainersResponse) GoString() string
- func (m *ContainersResponse) Marshal() (dAtA []byte, err error)
- func (m *ContainersResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ContainersResponse) ProtoMessage()
- func (m *ContainersResponse) Reset()
- func (m *ContainersResponse) Size() (n int)
- func (this *ContainersResponse) String() string
- func (m *ContainersResponse) Unmarshal(dAtA []byte) error
- type DiskLimitScope
- type DiskLimits
- func (*DiskLimits) Descriptor() ([]byte, []int)
- func (this *DiskLimits) Equal(that interface{}) bool
- func (m *DiskLimits) GetByteHard() uint64
- func (m *DiskLimits) GetByteSoft() uint64
- func (m *DiskLimits) GetInodeHard() uint64
- func (m *DiskLimits) GetInodeSoft() uint64
- func (m *DiskLimits) GetScope() DiskLimitScope
- func (this *DiskLimits) GoString() string
- func (m *DiskLimits) Marshal() (dAtA []byte, err error)
- func (m *DiskLimits) MarshalTo(dAtA []byte) (int, error)
- func (*DiskLimits) ProtoMessage()
- func (m *DiskLimits) Reset()
- func (m *DiskLimits) Size() (n int)
- func (this *DiskLimits) String() string
- func (m *DiskLimits) Unmarshal(dAtA []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (this *Error) Equal(that interface{}) bool
- func (m *Error) GetErr() string
- func (this *Error) GoString() string
- func (m *Error) Marshal() (dAtA []byte, err error)
- func (m *Error) MarshalTo(dAtA []byte) (int, error)
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) Size() (n int)
- func (this *Error) String() string
- func (m *Error) Unmarshal(dAtA []byte) error
- type ICMPControl
- func (*ICMPControl) Descriptor() ([]byte, []int)
- func (this *ICMPControl) Equal(that interface{}) bool
- func (m *ICMPControl) GetCode() uint32
- func (m *ICMPControl) GetType() uint32
- func (this *ICMPControl) GoString() string
- func (m *ICMPControl) Marshal() (dAtA []byte, err error)
- func (m *ICMPControl) MarshalTo(dAtA []byte) (int, error)
- func (*ICMPControl) ProtoMessage()
- func (m *ICMPControl) Reset()
- func (m *ICMPControl) Size() (n int)
- func (this *ICMPControl) String() string
- func (m *ICMPControl) Unmarshal(dAtA []byte) error
- type IPRange
- func (*IPRange) Descriptor() ([]byte, []int)
- func (this *IPRange) Equal(that interface{}) bool
- func (m *IPRange) GetEnd() []byte
- func (m *IPRange) GetStart() []byte
- func (this *IPRange) GoString() string
- func (m *IPRange) Marshal() (dAtA []byte, err error)
- func (m *IPRange) MarshalTo(dAtA []byte) (int, error)
- func (*IPRange) ProtoMessage()
- func (m *IPRange) Reset()
- func (m *IPRange) Size() (n int)
- func (this *IPRange) String() string
- func (m *IPRange) Unmarshal(dAtA []byte) error
- type ImageRef
- func (*ImageRef) Descriptor() ([]byte, []int)
- func (this *ImageRef) Equal(that interface{}) bool
- func (m *ImageRef) GetPassword() string
- func (m *ImageRef) GetURI() string
- func (m *ImageRef) GetUsername() string
- func (this *ImageRef) GoString() string
- func (m *ImageRef) Marshal() (dAtA []byte, err error)
- func (m *ImageRef) MarshalTo(dAtA []byte) (int, error)
- func (*ImageRef) ProtoMessage()
- func (m *ImageRef) Reset()
- func (m *ImageRef) Size() (n int)
- func (this *ImageRef) String() string
- func (m *ImageRef) Unmarshal(dAtA []byte) error
- type KeyValueMessage
- func (*KeyValueMessage) Descriptor() ([]byte, []int)
- func (this *KeyValueMessage) Equal(that interface{}) bool
- func (m *KeyValueMessage) GetKey() string
- func (m *KeyValueMessage) GetValue() string
- func (this *KeyValueMessage) GoString() string
- func (m *KeyValueMessage) Marshal() (dAtA []byte, err error)
- func (m *KeyValueMessage) MarshalTo(dAtA []byte) (int, error)
- func (*KeyValueMessage) ProtoMessage()
- func (m *KeyValueMessage) Reset()
- func (m *KeyValueMessage) Size() (n int)
- func (this *KeyValueMessage) String() string
- func (m *KeyValueMessage) Unmarshal(dAtA []byte) error
- type Limits
- func (*Limits) Descriptor() ([]byte, []int)
- func (this *Limits) Equal(that interface{}) bool
- func (m *Limits) GetBandwidth() BandwidthLimits
- func (m *Limits) GetCPU() CPULimits
- func (m *Limits) GetDisk() DiskLimits
- func (m *Limits) GetMemory() MemoryLimits
- func (m *Limits) GetPid() PidLimits
- func (this *Limits) GoString() string
- func (m *Limits) Marshal() (dAtA []byte, err error)
- func (m *Limits) MarshalTo(dAtA []byte) (int, error)
- func (*Limits) ProtoMessage()
- func (m *Limits) Reset()
- func (m *Limits) Size() (n int)
- func (this *Limits) String() string
- func (m *Limits) Unmarshal(dAtA []byte) error
- type MemoryLimits
- func (*MemoryLimits) Descriptor() ([]byte, []int)
- func (this *MemoryLimits) Equal(that interface{}) bool
- func (m *MemoryLimits) GetLimitInBytes() uint64
- func (this *MemoryLimits) GoString() string
- func (m *MemoryLimits) Marshal() (dAtA []byte, err error)
- func (m *MemoryLimits) MarshalTo(dAtA []byte) (int, error)
- func (*MemoryLimits) ProtoMessage()
- func (m *MemoryLimits) Reset()
- func (m *MemoryLimits) Size() (n int)
- func (this *MemoryLimits) String() string
- func (m *MemoryLimits) Unmarshal(dAtA []byte) error
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)
- func (this *Metrics) Equal(that interface{}) bool
- func (m *Metrics) GetCPUStat() *ContainerCPUStat
- func (m *Metrics) GetDiskStat() *ContainerDiskStat
- func (m *Metrics) GetMemoryStat() *ContainerMemoryStat
- func (m *Metrics) GetNetworkStat() *ContainerNetworkStat
- func (this *Metrics) GoString() string
- func (m *Metrics) Marshal() (dAtA []byte, err error)
- func (m *Metrics) MarshalTo(dAtA []byte) (int, error)
- func (*Metrics) ProtoMessage()
- func (m *Metrics) Reset()
- func (m *Metrics) Size() (n int)
- func (this *Metrics) String() string
- func (m *Metrics) Unmarshal(dAtA []byte) error
- type NetInRequest
- func (*NetInRequest) Descriptor() ([]byte, []int)
- func (this *NetInRequest) Equal(that interface{}) bool
- func (m *NetInRequest) GetContainerPort() uint32
- func (m *NetInRequest) GetHostPort() uint32
- func (this *NetInRequest) GoString() string
- func (m *NetInRequest) Marshal() (dAtA []byte, err error)
- func (m *NetInRequest) MarshalTo(dAtA []byte) (int, error)
- func (*NetInRequest) ProtoMessage()
- func (m *NetInRequest) Reset()
- func (m *NetInRequest) Size() (n int)
- func (this *NetInRequest) String() string
- func (m *NetInRequest) Unmarshal(dAtA []byte) error
- type NetInResponse
- func (*NetInResponse) Descriptor() ([]byte, []int)
- func (this *NetInResponse) Equal(that interface{}) bool
- func (m *NetInResponse) GetContainerPort() uint32
- func (m *NetInResponse) GetHostPort() uint32
- func (this *NetInResponse) GoString() string
- func (m *NetInResponse) Marshal() (dAtA []byte, err error)
- func (m *NetInResponse) MarshalTo(dAtA []byte) (int, error)
- func (*NetInResponse) ProtoMessage()
- func (m *NetInResponse) Reset()
- func (m *NetInResponse) Size() (n int)
- func (this *NetInResponse) String() string
- func (m *NetInResponse) Unmarshal(dAtA []byte) error
- type NetOutRuleRequest
- func (*NetOutRuleRequest) Descriptor() ([]byte, []int)
- func (this *NetOutRuleRequest) Equal(that interface{}) bool
- func (m *NetOutRuleRequest) GetICMPs() *ICMPControl
- func (m *NetOutRuleRequest) GetLog() bool
- func (m *NetOutRuleRequest) GetNetworks() []IPRange
- func (m *NetOutRuleRequest) GetPorts() []PortRange
- func (this *NetOutRuleRequest) GoString() string
- func (m *NetOutRuleRequest) Marshal() (dAtA []byte, err error)
- func (m *NetOutRuleRequest) MarshalTo(dAtA []byte) (int, error)
- func (*NetOutRuleRequest) ProtoMessage()
- func (m *NetOutRuleRequest) Reset()
- func (m *NetOutRuleRequest) Size() (n int)
- func (this *NetOutRuleRequest) String() string
- func (m *NetOutRuleRequest) Unmarshal(dAtA []byte) error
- type PidLimits
- func (*PidLimits) Descriptor() ([]byte, []int)
- func (this *PidLimits) Equal(that interface{}) bool
- func (m *PidLimits) GetMax() uint64
- func (this *PidLimits) GoString() string
- func (m *PidLimits) Marshal() (dAtA []byte, err error)
- func (m *PidLimits) MarshalTo(dAtA []byte) (int, error)
- func (*PidLimits) ProtoMessage()
- func (m *PidLimits) Reset()
- func (m *PidLimits) Size() (n int)
- func (this *PidLimits) String() string
- func (m *PidLimits) Unmarshal(dAtA []byte) error
- type PortMapping
- func (*PortMapping) Descriptor() ([]byte, []int)
- func (this *PortMapping) Equal(that interface{}) bool
- func (m *PortMapping) GetContainerPort() uint32
- func (m *PortMapping) GetHostPort() uint32
- func (this *PortMapping) GoString() string
- func (m *PortMapping) Marshal() (dAtA []byte, err error)
- func (m *PortMapping) MarshalTo(dAtA []byte) (int, error)
- func (*PortMapping) ProtoMessage()
- func (m *PortMapping) Reset()
- func (m *PortMapping) Size() (n int)
- func (this *PortMapping) String() string
- func (m *PortMapping) Unmarshal(dAtA []byte) error
- type PortRange
- func (*PortRange) Descriptor() ([]byte, []int)
- func (this *PortRange) Equal(that interface{}) bool
- func (m *PortRange) GetEnd() uint32
- func (m *PortRange) GetStart() uint32
- func (this *PortRange) GoString() string
- func (m *PortRange) Marshal() (dAtA []byte, err error)
- func (m *PortRange) MarshalTo(dAtA []byte) (int, error)
- func (*PortRange) ProtoMessage()
- func (m *PortRange) Reset()
- func (m *PortRange) Size() (n int)
- func (this *PortRange) String() string
- func (m *PortRange) Unmarshal(dAtA []byte) error
- type ProcessLimits
- func (*ProcessLimits) Descriptor() ([]byte, []int)
- func (this *ProcessLimits) Equal(that interface{}) bool
- func (m *ProcessLimits) GetCPU() CPULimits
- func (m *ProcessLimits) GetMemory() MemoryLimits
- func (this *ProcessLimits) GoString() string
- func (m *ProcessLimits) Marshal() (dAtA []byte, err error)
- func (m *ProcessLimits) MarshalTo(dAtA []byte) (int, error)
- func (*ProcessLimits) ProtoMessage()
- func (m *ProcessLimits) Reset()
- func (m *ProcessLimits) Size() (n int)
- func (this *ProcessLimits) String() string
- func (m *ProcessLimits) Unmarshal(dAtA []byte) error
- type ProcessSpec
- func (*ProcessSpec) Descriptor() ([]byte, []int)
- func (this *ProcessSpec) Equal(that interface{}) bool
- func (m *ProcessSpec) GetArgs() []string
- func (m *ProcessSpec) GetBindMounts() []BindMount
- func (m *ProcessSpec) GetDir() string
- func (m *ProcessSpec) GetEnv() []string
- func (m *ProcessSpec) GetID() string
- func (m *ProcessSpec) GetImage() ImageRef
- func (m *ProcessSpec) GetLimits() ResourceLimits
- func (m *ProcessSpec) GetOverrideContainerLimits() ProcessLimits
- func (m *ProcessSpec) GetPath() string
- func (m *ProcessSpec) GetTTY() TTYSpec
- func (m *ProcessSpec) GetUser() string
- func (this *ProcessSpec) GoString() string
- func (m *ProcessSpec) Marshal() (dAtA []byte, err error)
- func (m *ProcessSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ProcessSpec) ProtoMessage()
- func (m *ProcessSpec) Reset()
- func (m *ProcessSpec) Size() (n int)
- func (this *ProcessSpec) String() string
- func (m *ProcessSpec) Unmarshal(dAtA []byte) error
- type Properties
- func (*Properties) Descriptor() ([]byte, []int)
- func (this *Properties) Equal(that interface{}) bool
- func (m *Properties) GetProperties() map[string]string
- func (this *Properties) GoString() string
- func (m *Properties) Marshal() (dAtA []byte, err error)
- func (m *Properties) MarshalTo(dAtA []byte) (int, error)
- func (*Properties) ProtoMessage()
- func (m *Properties) Reset()
- func (m *Properties) Size() (n int)
- func (this *Properties) String() string
- func (m *Properties) Unmarshal(dAtA []byte) error
- type ResourceLimits
- func (*ResourceLimits) Descriptor() ([]byte, []int)
- func (this *ResourceLimits) Equal(that interface{}) bool
- func (m *ResourceLimits) GetAs() *google_protobuf1.UInt64Value
- func (this *ResourceLimits) GoString() string
- func (m *ResourceLimits) Marshal() (dAtA []byte, err error)
- func (m *ResourceLimits) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceLimits) ProtoMessage()
- func (m *ResourceLimits) Reset()
- func (m *ResourceLimits) Size() (n int)
- func (this *ResourceLimits) String() string
- func (m *ResourceLimits) Unmarshal(dAtA []byte) error
- type RunResponse
- func (*RunResponse) Descriptor() ([]byte, []int)
- func (this *RunResponse) Equal(that interface{}) bool
- func (m *RunResponse) GetID() string
- func (m *RunResponse) GetProcessId() string
- func (this *RunResponse) GoString() string
- func (m *RunResponse) Marshal() (dAtA []byte, err error)
- func (m *RunResponse) MarshalTo(dAtA []byte) (int, error)
- func (*RunResponse) ProtoMessage()
- func (m *RunResponse) Reset()
- func (m *RunResponse) Size() (n int)
- func (this *RunResponse) String() string
- func (m *RunResponse) Unmarshal(dAtA []byte) error
- type Signal
- type SignalRequest
- func (*SignalRequest) Descriptor() ([]byte, []int)
- func (this *SignalRequest) Equal(that interface{}) bool
- func (m *SignalRequest) GetSignal() Signal
- func (this *SignalRequest) GoString() string
- func (m *SignalRequest) Marshal() (dAtA []byte, err error)
- func (m *SignalRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SignalRequest) ProtoMessage()
- func (m *SignalRequest) Reset()
- func (m *SignalRequest) Size() (n int)
- func (this *SignalRequest) String() string
- func (m *SignalRequest) Unmarshal(dAtA []byte) error
- type StopMessage
- func (*StopMessage) Descriptor() ([]byte, []int)
- func (this *StopMessage) Equal(that interface{}) bool
- func (m *StopMessage) GetKill() bool
- func (this *StopMessage) GoString() string
- func (m *StopMessage) Marshal() (dAtA []byte, err error)
- func (m *StopMessage) MarshalTo(dAtA []byte) (int, error)
- func (*StopMessage) ProtoMessage()
- func (m *StopMessage) Reset()
- func (m *StopMessage) Size() (n int)
- func (this *StopMessage) String() string
- func (m *StopMessage) Unmarshal(dAtA []byte) error
- type StopRequest
- func (*StopRequest) Descriptor() ([]byte, []int)
- func (this *StopRequest) Equal(that interface{}) bool
- func (m *StopRequest) GetKill() bool
- func (this *StopRequest) GoString() string
- func (m *StopRequest) Marshal() (dAtA []byte, err error)
- func (m *StopRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StopRequest) ProtoMessage()
- func (m *StopRequest) Reset()
- func (m *StopRequest) Size() (n int)
- func (this *StopRequest) String() string
- func (m *StopRequest) Unmarshal(dAtA []byte) error
- type StopResponse
- func (*StopResponse) Descriptor() ([]byte, []int)
- func (this *StopResponse) Equal(that interface{}) bool
- func (this *StopResponse) GoString() string
- func (m *StopResponse) Marshal() (dAtA []byte, err error)
- func (m *StopResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StopResponse) ProtoMessage()
- func (m *StopResponse) Reset()
- func (m *StopResponse) Size() (n int)
- func (this *StopResponse) String() string
- func (m *StopResponse) Unmarshal(dAtA []byte) error
- type StreamInResponse
- func (*StreamInResponse) Descriptor() ([]byte, []int)
- func (this *StreamInResponse) Equal(that interface{}) bool
- func (m *StreamInResponse) GetMessage() string
- func (this *StreamInResponse) GoString() string
- func (m *StreamInResponse) Marshal() (dAtA []byte, err error)
- func (m *StreamInResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StreamInResponse) ProtoMessage()
- func (m *StreamInResponse) Reset()
- func (m *StreamInResponse) Size() (n int)
- func (this *StreamInResponse) String() string
- func (m *StreamInResponse) Unmarshal(dAtA []byte) error
- type StreamInSpec
- func (*StreamInSpec) Descriptor() ([]byte, []int)
- func (this *StreamInSpec) Equal(that interface{}) bool
- func (m *StreamInSpec) GetContent() []byte
- func (m *StreamInSpec) GetPart() isStreamInSpec_Part
- func (m *StreamInSpec) GetPath() string
- func (m *StreamInSpec) GetUser() string
- func (this *StreamInSpec) GoString() string
- func (m *StreamInSpec) Marshal() (dAtA []byte, err error)
- func (m *StreamInSpec) MarshalTo(dAtA []byte) (int, error)
- func (*StreamInSpec) ProtoMessage()
- func (m *StreamInSpec) Reset()
- func (m *StreamInSpec) Size() (n int)
- func (this *StreamInSpec) String() string
- func (m *StreamInSpec) Unmarshal(dAtA []byte) error
- func (*StreamInSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type StreamInSpec_Content
- type StreamInSpec_Path
- type StreamInSpec_User
- type StreamOutResponse
- func (*StreamOutResponse) Descriptor() ([]byte, []int)
- func (this *StreamOutResponse) Equal(that interface{}) bool
- func (m *StreamOutResponse) GetContent() []byte
- func (this *StreamOutResponse) GoString() string
- func (m *StreamOutResponse) Marshal() (dAtA []byte, err error)
- func (m *StreamOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StreamOutResponse) ProtoMessage()
- func (m *StreamOutResponse) Reset()
- func (m *StreamOutResponse) Size() (n int)
- func (this *StreamOutResponse) String() string
- func (m *StreamOutResponse) Unmarshal(dAtA []byte) error
- type StreamOutSpec
- func (*StreamOutSpec) Descriptor() ([]byte, []int)
- func (this *StreamOutSpec) Equal(that interface{}) bool
- func (m *StreamOutSpec) GetPath() string
- func (m *StreamOutSpec) GetUser() string
- func (this *StreamOutSpec) GoString() string
- func (m *StreamOutSpec) Marshal() (dAtA []byte, err error)
- func (m *StreamOutSpec) MarshalTo(dAtA []byte) (int, error)
- func (*StreamOutSpec) ProtoMessage()
- func (m *StreamOutSpec) Reset()
- func (m *StreamOutSpec) Size() (n int)
- func (this *StreamOutSpec) String() string
- func (m *StreamOutSpec) Unmarshal(dAtA []byte) error
- type TTYSpec
- func (*TTYSpec) Descriptor() ([]byte, []int)
- func (this *TTYSpec) Equal(that interface{}) bool
- func (m *TTYSpec) GetWindowSize() WindowSize
- func (this *TTYSpec) GoString() string
- func (m *TTYSpec) Marshal() (dAtA []byte, err error)
- func (m *TTYSpec) MarshalTo(dAtA []byte) (int, error)
- func (*TTYSpec) ProtoMessage()
- func (m *TTYSpec) Reset()
- func (m *TTYSpec) Size() (n int)
- func (this *TTYSpec) String() string
- func (m *TTYSpec) Unmarshal(dAtA []byte) error
- type VContainerClient
- type VContainerClientConfig
- func (*VContainerClientConfig) Descriptor() ([]byte, []int)
- func (this *VContainerClientConfig) Equal(that interface{}) bool
- func (m *VContainerClientConfig) GetUseVContainer() bool
- func (m *VContainerClientConfig) GetVContainerAddress() string
- func (m *VContainerClientConfig) GetVContainerCACertFile() string
- func (m *VContainerClientConfig) GetVContainerClientCertFile() string
- func (m *VContainerClientConfig) GetVContainerClientKeyFile() string
- func (this *VContainerClientConfig) GoString() string
- func (m *VContainerClientConfig) Marshal() (dAtA []byte, err error)
- func (m *VContainerClientConfig) MarshalTo(dAtA []byte) (int, error)
- func (*VContainerClientConfig) ProtoMessage()
- func (m *VContainerClientConfig) Reset()
- func (m *VContainerClientConfig) Size() (n int)
- func (this *VContainerClientConfig) String() string
- func (m *VContainerClientConfig) Unmarshal(dAtA []byte) error
- type VContainerServer
- type VContainer_StreamInClient
- type VContainer_StreamInServer
- type VContainer_StreamOutClient
- type VContainer_StreamOutServer
- type VGardenClient
- type VGardenServer
- type VProcessClient
- type VProcessServer
- type VProcess_WaitClient
- type VProcess_WaitServer
- type WaitResponse
- func (*WaitResponse) Descriptor() ([]byte, []int)
- func (this *WaitResponse) Equal(that interface{}) bool
- func (m *WaitResponse) GetExitCode() int32
- func (m *WaitResponse) GetExited() bool
- func (this *WaitResponse) GoString() string
- func (m *WaitResponse) Marshal() (dAtA []byte, err error)
- func (m *WaitResponse) MarshalTo(dAtA []byte) (int, error)
- func (*WaitResponse) ProtoMessage()
- func (m *WaitResponse) Reset()
- func (m *WaitResponse) Size() (n int)
- func (this *WaitResponse) String() string
- func (m *WaitResponse) Unmarshal(dAtA []byte) error
- type WindowSize
- func (*WindowSize) Descriptor() ([]byte, []int)
- func (this *WindowSize) Equal(that interface{}) bool
- func (m *WindowSize) GetColumns() int32
- func (m *WindowSize) GetRows() int32
- func (this *WindowSize) GoString() string
- func (m *WindowSize) Marshal() (dAtA []byte, err error)
- func (m *WindowSize) MarshalTo(dAtA []byte) (int, error)
- func (*WindowSize) ProtoMessage()
- func (m *WindowSize) Reset()
- func (m *WindowSize) Size() (n int)
- func (this *WindowSize) String() string
- func (m *WindowSize) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthContainer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowContainer = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthGarden = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGarden = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthProcess = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProcess = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowService = fmt.Errorf("proto: integer overflow") )
View Source
var BindMountMode_name = map[int32]string{
0: "BindMountModeRO",
1: "BindMountModeRW",
}
View Source
var BindMountMode_value = map[string]int32{
"BindMountModeRO": 0,
"BindMountModeRW": 1,
}
View Source
var BindMountOrigin_name = map[int32]string{
0: "BindMountOriginHost",
1: "BindMountOriginContainer",
}
View Source
var BindMountOrigin_value = map[string]int32{
"BindMountOriginHost": 0,
"BindMountOriginContainer": 1,
}
View Source
var DiskLimitScope_name = map[int32]string{
0: "DiskLimitScopeTotal",
1: "DiskLimitScopeExclusive",
}
View Source
var DiskLimitScope_value = map[string]int32{
"DiskLimitScopeTotal": 0,
"DiskLimitScopeExclusive": 1,
}
View Source
var Signal_name = map[int32]string{
0: "SignalTerminate",
1: "SignalKill",
}
View Source
var Signal_value = map[string]int32{
"SignalTerminate": 0,
"SignalKill": 1,
}
Functions ¶
func RegisterVContainerServer ¶
func RegisterVContainerServer(s *grpc.Server, srv VContainerServer)
func RegisterVGardenServer ¶
func RegisterVGardenServer(s *grpc.Server, srv VGardenServer)
func RegisterVProcessServer ¶
func RegisterVProcessServer(s *grpc.Server, srv VProcessServer)
Types ¶
type BandwidthLimits ¶
type BandwidthLimits struct {
RateInBytesPerSecond uint64 `protobuf:"varint,1,opt,name=RateInBytesPerSecond,proto3" json:"RateInBytesPerSecond,omitempty"`
BurstRateInBytesPerSecond uint64 `protobuf:"varint,2,opt,name=BurstRateInBytesPerSecond,proto3" json:"BurstRateInBytesPerSecond,omitempty"`
}
func (*BandwidthLimits) Descriptor ¶
func (*BandwidthLimits) Descriptor() ([]byte, []int)
func (*BandwidthLimits) Equal ¶
func (this *BandwidthLimits) Equal(that interface{}) bool
func (*BandwidthLimits) GetBurstRateInBytesPerSecond ¶
func (m *BandwidthLimits) GetBurstRateInBytesPerSecond() uint64
func (*BandwidthLimits) GetRateInBytesPerSecond ¶
func (m *BandwidthLimits) GetRateInBytesPerSecond() uint64
func (*BandwidthLimits) GoString ¶
func (this *BandwidthLimits) GoString() string
func (*BandwidthLimits) Marshal ¶
func (m *BandwidthLimits) Marshal() (dAtA []byte, err error)
func (*BandwidthLimits) ProtoMessage ¶
func (*BandwidthLimits) ProtoMessage()
func (*BandwidthLimits) Reset ¶
func (m *BandwidthLimits) Reset()
func (*BandwidthLimits) Size ¶
func (m *BandwidthLimits) Size() (n int)
func (*BandwidthLimits) String ¶
func (this *BandwidthLimits) String() string
func (*BandwidthLimits) Unmarshal ¶
func (m *BandwidthLimits) Unmarshal(dAtA []byte) error
type BindMount ¶
type BindMount struct {
// SrcPath contains the path of the directory to be mounted.
SrcPath string `protobuf:"bytes,1,opt,name=SrcPath,proto3" json:"SrcPath,omitempty"`
// DstPath contains the path of the mount point in the container. If the
// directory does not exist, it is created.
DstPath string `protobuf:"bytes,2,opt,name=DstPath,proto3" json:"DstPath,omitempty"`
// Mode must be either "RO" or "RW". Alternatively, mode may be omitted and defaults to RO.
// If mode is "RO", a read-only mount point is created.
// If mode is "RW", a read-write mount point is created.
Mode BindMountMode `protobuf:"varint,3,opt,name=Mode,proto3,enum=vcontainermodels.BindMountMode" json:"Mode,omitempty"`
// BindMountOrigin must be either "Host" or "Container". Alternatively, origin may be omitted and
// defaults to "Host".
// If origin is "Host", src_path denotes a path in the host.
// If origin is "Container", src_path denotes a path in the container.
Origin BindMountOrigin `protobuf:"varint,4,opt,name=Origin,proto3,enum=vcontainermodels.BindMountOrigin" json:"Origin,omitempty"`
}
func (*BindMount) Descriptor ¶
func (*BindMount) GetDstPath ¶
func (*BindMount) GetMode ¶
func (m *BindMount) GetMode() BindMountMode
func (*BindMount) GetOrigin ¶
func (m *BindMount) GetOrigin() BindMountOrigin
func (*BindMount) GetSrcPath ¶
func (*BindMount) ProtoMessage ¶
func (*BindMount) ProtoMessage()
type BindMountMode ¶
type BindMountMode int32
const ( BindMountModeRO BindMountMode = 0 BindMountModeRW BindMountMode = 1 )
func (BindMountMode) EnumDescriptor ¶
func (BindMountMode) EnumDescriptor() ([]byte, []int)
func (BindMountMode) String ¶
func (x BindMountMode) String() string
type BindMountOrigin ¶
type BindMountOrigin int32
const ( BindMountOriginHost BindMountOrigin = 0 BindMountOriginContainer BindMountOrigin = 1 )
func (BindMountOrigin) EnumDescriptor ¶
func (BindMountOrigin) EnumDescriptor() ([]byte, []int)
func (BindMountOrigin) String ¶
func (x BindMountOrigin) String() string
type BulkInfoRequest ¶
type BulkInfoRequest struct {
Handles []string `protobuf:"bytes,1,rep,name=Handles" json:"Handles,omitempty"`
}
the client service messages
func (*BulkInfoRequest) Descriptor ¶
func (*BulkInfoRequest) Descriptor() ([]byte, []int)
func (*BulkInfoRequest) Equal ¶
func (this *BulkInfoRequest) Equal(that interface{}) bool
func (*BulkInfoRequest) GetHandles ¶
func (m *BulkInfoRequest) GetHandles() []string
func (*BulkInfoRequest) GoString ¶
func (this *BulkInfoRequest) GoString() string
func (*BulkInfoRequest) Marshal ¶
func (m *BulkInfoRequest) Marshal() (dAtA []byte, err error)
func (*BulkInfoRequest) ProtoMessage ¶
func (*BulkInfoRequest) ProtoMessage()
func (*BulkInfoRequest) Reset ¶
func (m *BulkInfoRequest) Reset()
func (*BulkInfoRequest) Size ¶
func (m *BulkInfoRequest) Size() (n int)
func (*BulkInfoRequest) String ¶
func (this *BulkInfoRequest) String() string
func (*BulkInfoRequest) Unmarshal ¶
func (m *BulkInfoRequest) Unmarshal(dAtA []byte) error
type BulkInfoResponse ¶
type BulkInfoResponse struct {
ContainerInfoEntry map[string]*ContainerInfoEntry `` /* 163-byte string literal not displayed */
}
func (*BulkInfoResponse) Descriptor ¶
func (*BulkInfoResponse) Descriptor() ([]byte, []int)
func (*BulkInfoResponse) Equal ¶
func (this *BulkInfoResponse) Equal(that interface{}) bool
func (*BulkInfoResponse) GetContainerInfoEntry ¶
func (m *BulkInfoResponse) GetContainerInfoEntry() map[string]*ContainerInfoEntry
func (*BulkInfoResponse) GoString ¶
func (this *BulkInfoResponse) GoString() string
func (*BulkInfoResponse) Marshal ¶
func (m *BulkInfoResponse) Marshal() (dAtA []byte, err error)
func (*BulkInfoResponse) ProtoMessage ¶
func (*BulkInfoResponse) ProtoMessage()
func (*BulkInfoResponse) Reset ¶
func (m *BulkInfoResponse) Reset()
func (*BulkInfoResponse) Size ¶
func (m *BulkInfoResponse) Size() (n int)
func (*BulkInfoResponse) String ¶
func (this *BulkInfoResponse) String() string
func (*BulkInfoResponse) Unmarshal ¶
func (m *BulkInfoResponse) Unmarshal(dAtA []byte) error
type BulkMetricsRequest ¶
type BulkMetricsRequest struct {
Handles []string `protobuf:"bytes,1,rep,name=Handles" json:"Handles,omitempty"`
}
func (*BulkMetricsRequest) Descriptor ¶
func (*BulkMetricsRequest) Descriptor() ([]byte, []int)
func (*BulkMetricsRequest) Equal ¶
func (this *BulkMetricsRequest) Equal(that interface{}) bool
func (*BulkMetricsRequest) GetHandles ¶
func (m *BulkMetricsRequest) GetHandles() []string
func (*BulkMetricsRequest) GoString ¶
func (this *BulkMetricsRequest) GoString() string
func (*BulkMetricsRequest) Marshal ¶
func (m *BulkMetricsRequest) Marshal() (dAtA []byte, err error)
func (*BulkMetricsRequest) MarshalTo ¶
func (m *BulkMetricsRequest) MarshalTo(dAtA []byte) (int, error)
func (*BulkMetricsRequest) ProtoMessage ¶
func (*BulkMetricsRequest) ProtoMessage()
func (*BulkMetricsRequest) Reset ¶
func (m *BulkMetricsRequest) Reset()
func (*BulkMetricsRequest) Size ¶
func (m *BulkMetricsRequest) Size() (n int)
func (*BulkMetricsRequest) String ¶
func (this *BulkMetricsRequest) String() string
func (*BulkMetricsRequest) Unmarshal ¶
func (m *BulkMetricsRequest) Unmarshal(dAtA []byte) error
type BulkMetricsResponse ¶
type BulkMetricsResponse struct {
ContainerMetricsEntry map[string]*ContainerMetricsEntry `` /* 169-byte string literal not displayed */
}
func (*BulkMetricsResponse) Descriptor ¶
func (*BulkMetricsResponse) Descriptor() ([]byte, []int)
func (*BulkMetricsResponse) Equal ¶
func (this *BulkMetricsResponse) Equal(that interface{}) bool
func (*BulkMetricsResponse) GetContainerMetricsEntry ¶
func (m *BulkMetricsResponse) GetContainerMetricsEntry() map[string]*ContainerMetricsEntry
func (*BulkMetricsResponse) GoString ¶
func (this *BulkMetricsResponse) GoString() string
func (*BulkMetricsResponse) Marshal ¶
func (m *BulkMetricsResponse) Marshal() (dAtA []byte, err error)
func (*BulkMetricsResponse) MarshalTo ¶
func (m *BulkMetricsResponse) MarshalTo(dAtA []byte) (int, error)
func (*BulkMetricsResponse) ProtoMessage ¶
func (*BulkMetricsResponse) ProtoMessage()
func (*BulkMetricsResponse) Reset ¶
func (m *BulkMetricsResponse) Reset()
func (*BulkMetricsResponse) Size ¶
func (m *BulkMetricsResponse) Size() (n int)
func (*BulkMetricsResponse) String ¶
func (this *BulkMetricsResponse) String() string
func (*BulkMetricsResponse) Unmarshal ¶
func (m *BulkMetricsResponse) Unmarshal(dAtA []byte) error
type BulkNetOutRuleRequest ¶
type BulkNetOutRuleRequest struct {
NetOutRules []*NetOutRuleRequest `protobuf:"bytes,1,rep,name=NetOutRules" json:"NetOutRules,omitempty"`
}
func (*BulkNetOutRuleRequest) Descriptor ¶
func (*BulkNetOutRuleRequest) Descriptor() ([]byte, []int)
func (*BulkNetOutRuleRequest) Equal ¶
func (this *BulkNetOutRuleRequest) Equal(that interface{}) bool
func (*BulkNetOutRuleRequest) GetNetOutRules ¶
func (m *BulkNetOutRuleRequest) GetNetOutRules() []*NetOutRuleRequest
func (*BulkNetOutRuleRequest) GoString ¶
func (this *BulkNetOutRuleRequest) GoString() string
func (*BulkNetOutRuleRequest) Marshal ¶
func (m *BulkNetOutRuleRequest) Marshal() (dAtA []byte, err error)
func (*BulkNetOutRuleRequest) MarshalTo ¶
func (m *BulkNetOutRuleRequest) MarshalTo(dAtA []byte) (int, error)
func (*BulkNetOutRuleRequest) ProtoMessage ¶
func (*BulkNetOutRuleRequest) ProtoMessage()
func (*BulkNetOutRuleRequest) Reset ¶
func (m *BulkNetOutRuleRequest) Reset()
func (*BulkNetOutRuleRequest) Size ¶
func (m *BulkNetOutRuleRequest) Size() (n int)
func (*BulkNetOutRuleRequest) String ¶
func (this *BulkNetOutRuleRequest) String() string
func (*BulkNetOutRuleRequest) Unmarshal ¶
func (m *BulkNetOutRuleRequest) Unmarshal(dAtA []byte) error
type CPULimits ¶
type CPULimits struct {
}
func (*CPULimits) Descriptor ¶
func (*CPULimits) GetLimitInShares ¶
func (*CPULimits) ProtoMessage ¶
func (*CPULimits) ProtoMessage()
type Capacity ¶
type Capacity struct {
MemoryInBytes uint64 `protobuf:"varint,1,opt,name=MemoryInBytes,proto3" json:"MemoryInBytes,omitempty"`
DiskInBytes uint64 `protobuf:"varint,2,opt,name=DiskInBytes,proto3" json:"DiskInBytes,omitempty"`
MaxContainers uint64 `protobuf:"varint,3,opt,name=MaxContainers,proto3" json:"MaxContainers,omitempty"`
}
func (*Capacity) Descriptor ¶
func (*Capacity) GetDiskInBytes ¶
func (*Capacity) GetMaxContainers ¶
func (*Capacity) GetMemoryInBytes ¶
func (*Capacity) ProtoMessage ¶
func (*Capacity) ProtoMessage()
type ContainerCPUStat ¶
type ContainerCPUStat struct {
Usage uint64 `protobuf:"varint,1,opt,name=Usage,proto3" json:"Usage,omitempty"`
User uint64 `protobuf:"varint,2,opt,name=User,proto3" json:"User,omitempty"`
System uint64 `protobuf:"varint,3,opt,name=System,proto3" json:"System,omitempty"`
}
func (*ContainerCPUStat) Descriptor ¶
func (*ContainerCPUStat) Descriptor() ([]byte, []int)
func (*ContainerCPUStat) Equal ¶
func (this *ContainerCPUStat) Equal(that interface{}) bool
func (*ContainerCPUStat) GetSystem ¶
func (m *ContainerCPUStat) GetSystem() uint64
func (*ContainerCPUStat) GetUsage ¶
func (m *ContainerCPUStat) GetUsage() uint64
func (*ContainerCPUStat) GetUser ¶
func (m *ContainerCPUStat) GetUser() uint64
func (*ContainerCPUStat) GoString ¶
func (this *ContainerCPUStat) GoString() string
func (*ContainerCPUStat) Marshal ¶
func (m *ContainerCPUStat) Marshal() (dAtA []byte, err error)
func (*ContainerCPUStat) ProtoMessage ¶
func (*ContainerCPUStat) ProtoMessage()
func (*ContainerCPUStat) Reset ¶
func (m *ContainerCPUStat) Reset()
func (*ContainerCPUStat) Size ¶
func (m *ContainerCPUStat) Size() (n int)
func (*ContainerCPUStat) String ¶
func (this *ContainerCPUStat) String() string
func (*ContainerCPUStat) Unmarshal ¶
func (m *ContainerCPUStat) Unmarshal(dAtA []byte) error
type ContainerDiskStat ¶
type ContainerDiskStat struct {
TotalBytesUsed uint64 `protobuf:"varint,1,opt,name=TotalBytesUsed,proto3" json:"TotalBytesUsed,omitempty"`
TotalInodesUsed uint64 `protobuf:"varint,2,opt,name=TotalInodesUsed,proto3" json:"TotalInodesUsed,omitempty"`
ExclusiveBytesUsed uint64 `protobuf:"varint,3,opt,name=ExclusiveBytesUsed,proto3" json:"ExclusiveBytesUsed,omitempty"`
ExclusiveInodesUsed uint64 `protobuf:"varint,4,opt,name=ExclusiveInodesUsed,proto3" json:"ExclusiveInodesUsed,omitempty"`
}
func (*ContainerDiskStat) Descriptor ¶
func (*ContainerDiskStat) Descriptor() ([]byte, []int)
func (*ContainerDiskStat) Equal ¶
func (this *ContainerDiskStat) Equal(that interface{}) bool
func (*ContainerDiskStat) GetExclusiveBytesUsed ¶
func (m *ContainerDiskStat) GetExclusiveBytesUsed() uint64
func (*ContainerDiskStat) GetExclusiveInodesUsed ¶
func (m *ContainerDiskStat) GetExclusiveInodesUsed() uint64
func (*ContainerDiskStat) GetTotalBytesUsed ¶
func (m *ContainerDiskStat) GetTotalBytesUsed() uint64
func (*ContainerDiskStat) GetTotalInodesUsed ¶
func (m *ContainerDiskStat) GetTotalInodesUsed() uint64
func (*ContainerDiskStat) GoString ¶
func (this *ContainerDiskStat) GoString() string
func (*ContainerDiskStat) Marshal ¶
func (m *ContainerDiskStat) Marshal() (dAtA []byte, err error)
func (*ContainerDiskStat) MarshalTo ¶
func (m *ContainerDiskStat) MarshalTo(dAtA []byte) (int, error)
func (*ContainerDiskStat) ProtoMessage ¶
func (*ContainerDiskStat) ProtoMessage()
func (*ContainerDiskStat) Reset ¶
func (m *ContainerDiskStat) Reset()
func (*ContainerDiskStat) Size ¶
func (m *ContainerDiskStat) Size() (n int)
func (*ContainerDiskStat) String ¶
func (this *ContainerDiskStat) String() string
func (*ContainerDiskStat) Unmarshal ¶
func (m *ContainerDiskStat) Unmarshal(dAtA []byte) error
type ContainerInfo ¶
type ContainerInfo struct {
State string `protobuf:"bytes,1,opt,name=State,proto3" json:"State,omitempty"`
Events []string `protobuf:"bytes,2,rep,name=Events" json:"Events,omitempty"`
HostIP string `protobuf:"bytes,3,opt,name=HostIP,proto3" json:"HostIP,omitempty"`
ContainerIP string `protobuf:"bytes,4,opt,name=ContainerIP,proto3" json:"ContainerIP,omitempty"`
ExternalIP string `protobuf:"bytes,5,opt,name=ExternalIP,proto3" json:"ExternalIP,omitempty"`
ContainerPath string `protobuf:"bytes,6,opt,name=ContainerPath,proto3" json:"ContainerPath,omitempty"`
ProcessIDs []string `protobuf:"bytes,7,rep,name=ProcessIDs" json:"ProcessIDs,omitempty"`
Properties *Properties `protobuf:"bytes,8,opt,name=Properties" json:"Properties,omitempty"`
MappedPorts []PortMapping `protobuf:"bytes,9,rep,name=MappedPorts" json:"MappedPorts"`
}
func (*ContainerInfo) Descriptor ¶
func (*ContainerInfo) Descriptor() ([]byte, []int)
func (*ContainerInfo) Equal ¶
func (this *ContainerInfo) Equal(that interface{}) bool
func (*ContainerInfo) GetContainerIP ¶
func (m *ContainerInfo) GetContainerIP() string
func (*ContainerInfo) GetContainerPath ¶
func (m *ContainerInfo) GetContainerPath() string
func (*ContainerInfo) GetEvents ¶
func (m *ContainerInfo) GetEvents() []string
func (*ContainerInfo) GetExternalIP ¶
func (m *ContainerInfo) GetExternalIP() string
func (*ContainerInfo) GetHostIP ¶
func (m *ContainerInfo) GetHostIP() string
func (*ContainerInfo) GetMappedPorts ¶
func (m *ContainerInfo) GetMappedPorts() []PortMapping
func (*ContainerInfo) GetProcessIDs ¶
func (m *ContainerInfo) GetProcessIDs() []string
func (*ContainerInfo) GetProperties ¶
func (m *ContainerInfo) GetProperties() *Properties
func (*ContainerInfo) GetState ¶
func (m *ContainerInfo) GetState() string
func (*ContainerInfo) GoString ¶
func (this *ContainerInfo) GoString() string
func (*ContainerInfo) Marshal ¶
func (m *ContainerInfo) Marshal() (dAtA []byte, err error)
func (*ContainerInfo) ProtoMessage ¶
func (*ContainerInfo) ProtoMessage()
func (*ContainerInfo) Reset ¶
func (m *ContainerInfo) Reset()
func (*ContainerInfo) Size ¶
func (m *ContainerInfo) Size() (n int)
func (*ContainerInfo) String ¶
func (this *ContainerInfo) String() string
func (*ContainerInfo) Unmarshal ¶
func (m *ContainerInfo) Unmarshal(dAtA []byte) error
type ContainerInfoEntry ¶
type ContainerInfoEntry struct {
Info ContainerInfo `protobuf:"bytes,1,opt,name=Info" json:"Info"`
Err *Error `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"`
}
func (*ContainerInfoEntry) Descriptor ¶
func (*ContainerInfoEntry) Descriptor() ([]byte, []int)
func (*ContainerInfoEntry) Equal ¶
func (this *ContainerInfoEntry) Equal(that interface{}) bool
func (*ContainerInfoEntry) GetErr ¶
func (m *ContainerInfoEntry) GetErr() *Error
func (*ContainerInfoEntry) GetInfo ¶
func (m *ContainerInfoEntry) GetInfo() ContainerInfo
func (*ContainerInfoEntry) GoString ¶
func (this *ContainerInfoEntry) GoString() string
func (*ContainerInfoEntry) Marshal ¶
func (m *ContainerInfoEntry) Marshal() (dAtA []byte, err error)
func (*ContainerInfoEntry) MarshalTo ¶
func (m *ContainerInfoEntry) MarshalTo(dAtA []byte) (int, error)
func (*ContainerInfoEntry) ProtoMessage ¶
func (*ContainerInfoEntry) ProtoMessage()
func (*ContainerInfoEntry) Reset ¶
func (m *ContainerInfoEntry) Reset()
func (*ContainerInfoEntry) Size ¶
func (m *ContainerInfoEntry) Size() (n int)
func (*ContainerInfoEntry) String ¶
func (this *ContainerInfoEntry) String() string
func (*ContainerInfoEntry) Unmarshal ¶
func (m *ContainerInfoEntry) Unmarshal(dAtA []byte) error
type ContainerMemoryStat ¶
type ContainerMemoryStat struct {
ActiveAnon uint64 `protobuf:"varint,1,opt,name=ActiveAnon,proto3" json:"active_anon"`
ActiveFile uint64 `protobuf:"varint,2,opt,name=ActiveFile,proto3" json:"active_file"`
Cache uint64 `protobuf:"varint,3,opt,name=Cache,proto3" json:"cache"`
HierarchicalMemoryLimit uint64 `protobuf:"varint,4,opt,name=HierarchicalMemoryLimit,proto3" json:"hierarchical_memory_limit"`
InactiveAnon uint64 `protobuf:"varint,5,opt,name=InactiveAnon,proto3" json:"inactive_anon"`
InactiveFile uint64 `protobuf:"varint,6,opt,name=InactiveFile,proto3" json:"inactive_file"`
MappedFile uint64 `protobuf:"varint,7,opt,name=MappedFile,proto3" json:"mapped_file"`
Pgfault uint64 `protobuf:"varint,8,opt,name=Pgfault,proto3" json:"pgfault"`
Pgmajfault uint64 `protobuf:"varint,9,opt,name=Pgmajfault,proto3" json:"pgmajfault"`
Pgpgin uint64 `protobuf:"varint,10,opt,name=Pgpgin,proto3" json:"pgpgin"`
Pgpgout uint64 `protobuf:"varint,11,opt,name=Pgpgout,proto3" json:"pgpgout"`
Rss uint64 `protobuf:"varint,12,opt,name=Rss,proto3" json:"rss"`
TotalActiveAnon uint64 `protobuf:"varint,13,opt,name=TotalActiveAnon,proto3" json:"total_active_anon"`
TotalActiveFile uint64 `protobuf:"varint,14,opt,name=TotalActiveFile,proto3" json:"total_active_file"`
TotalCache uint64 `protobuf:"varint,15,opt,name=TotalCache,proto3" json:"total_cache"`
TotalInactiveAnon uint64 `protobuf:"varint,16,opt,name=TotalInactiveAnon,proto3" json:"total_inactive_anon"`
TotalInactiveFile uint64 `protobuf:"varint,17,opt,name=TotalInactiveFile,proto3" json:"total_inactive_file"`
TotalMappedFile uint64 `protobuf:"varint,18,opt,name=TotalMappedFile,proto3" json:"total_mapped_file"`
TotalPgfault uint64 `protobuf:"varint,19,opt,name=TotalPgfault,proto3" json:"total_pgfault"`
TotalPgmajfault uint64 `protobuf:"varint,20,opt,name=TotalPgmajfault,proto3" json:"total_pgmajfault"`
TotalPgpgin uint64 `protobuf:"varint,21,opt,name=TotalPgpgin,proto3" json:"total_pgpgin"`
TotalPgpgout uint64 `protobuf:"varint,22,opt,name=TotalPgpgout,proto3" json:"total_pgpgout"`
TotalRss uint64 `protobuf:"varint,23,opt,name=TotalRss,proto3" json:"total_rss"`
TotalUnevictable uint64 `protobuf:"varint,24,opt,name=TotalUnevictable,proto3" json:"total_unevictable"`
Unevictable uint64 `protobuf:"varint,25,opt,name=Unevictable,proto3" json:"unevictable"`
Swap uint64 `protobuf:"varint,26,opt,name=Swap,proto3" json:"swap"`
HierarchicalMemswLimit uint64 `protobuf:"varint,27,opt,name=HierarchicalMemswLimit,proto3" json:"hierarchical_memsw_limit"`
TotalSwap uint64 `protobuf:"varint,28,opt,name=TotalSwap,proto3" json:"total_swap"`
// A memory usage total which reports memory usage in the same way that limits are enforced.
// This value includes memory consumed by nested containers.
TotalUsageTowardLimit uint64 `protobuf:"varint,29,opt,name=TotalUsageTowardLimit,proto3" json:"TotalUsageTowardLimit,omitempty"`
}
func (*ContainerMemoryStat) Descriptor ¶
func (*ContainerMemoryStat) Descriptor() ([]byte, []int)
func (*ContainerMemoryStat) Equal ¶
func (this *ContainerMemoryStat) Equal(that interface{}) bool
func (*ContainerMemoryStat) GetActiveAnon ¶
func (m *ContainerMemoryStat) GetActiveAnon() uint64
func (*ContainerMemoryStat) GetActiveFile ¶
func (m *ContainerMemoryStat) GetActiveFile() uint64
func (*ContainerMemoryStat) GetCache ¶
func (m *ContainerMemoryStat) GetCache() uint64
func (*ContainerMemoryStat) GetHierarchicalMemoryLimit ¶
func (m *ContainerMemoryStat) GetHierarchicalMemoryLimit() uint64
func (*ContainerMemoryStat) GetHierarchicalMemswLimit ¶
func (m *ContainerMemoryStat) GetHierarchicalMemswLimit() uint64
func (*ContainerMemoryStat) GetInactiveAnon ¶
func (m *ContainerMemoryStat) GetInactiveAnon() uint64
func (*ContainerMemoryStat) GetInactiveFile ¶
func (m *ContainerMemoryStat) GetInactiveFile() uint64
func (*ContainerMemoryStat) GetMappedFile ¶
func (m *ContainerMemoryStat) GetMappedFile() uint64
func (*ContainerMemoryStat) GetPgfault ¶
func (m *ContainerMemoryStat) GetPgfault() uint64
func (*ContainerMemoryStat) GetPgmajfault ¶
func (m *ContainerMemoryStat) GetPgmajfault() uint64
func (*ContainerMemoryStat) GetPgpgin ¶
func (m *ContainerMemoryStat) GetPgpgin() uint64
func (*ContainerMemoryStat) GetPgpgout ¶
func (m *ContainerMemoryStat) GetPgpgout() uint64
func (*ContainerMemoryStat) GetRss ¶
func (m *ContainerMemoryStat) GetRss() uint64
func (*ContainerMemoryStat) GetSwap ¶
func (m *ContainerMemoryStat) GetSwap() uint64
func (*ContainerMemoryStat) GetTotalActiveAnon ¶
func (m *ContainerMemoryStat) GetTotalActiveAnon() uint64
func (*ContainerMemoryStat) GetTotalActiveFile ¶
func (m *ContainerMemoryStat) GetTotalActiveFile() uint64
func (*ContainerMemoryStat) GetTotalCache ¶
func (m *ContainerMemoryStat) GetTotalCache() uint64
func (*ContainerMemoryStat) GetTotalInactiveAnon ¶
func (m *ContainerMemoryStat) GetTotalInactiveAnon() uint64
func (*ContainerMemoryStat) GetTotalInactiveFile ¶
func (m *ContainerMemoryStat) GetTotalInactiveFile() uint64
func (*ContainerMemoryStat) GetTotalMappedFile ¶
func (m *ContainerMemoryStat) GetTotalMappedFile() uint64
func (*ContainerMemoryStat) GetTotalPgfault ¶
func (m *ContainerMemoryStat) GetTotalPgfault() uint64
func (*ContainerMemoryStat) GetTotalPgmajfault ¶
func (m *ContainerMemoryStat) GetTotalPgmajfault() uint64
func (*ContainerMemoryStat) GetTotalPgpgin ¶
func (m *ContainerMemoryStat) GetTotalPgpgin() uint64
func (*ContainerMemoryStat) GetTotalPgpgout ¶
func (m *ContainerMemoryStat) GetTotalPgpgout() uint64
func (*ContainerMemoryStat) GetTotalRss ¶
func (m *ContainerMemoryStat) GetTotalRss() uint64
func (*ContainerMemoryStat) GetTotalSwap ¶
func (m *ContainerMemoryStat) GetTotalSwap() uint64
func (*ContainerMemoryStat) GetTotalUnevictable ¶
func (m *ContainerMemoryStat) GetTotalUnevictable() uint64
func (*ContainerMemoryStat) GetTotalUsageTowardLimit ¶
func (m *ContainerMemoryStat) GetTotalUsageTowardLimit() uint64
func (*ContainerMemoryStat) GetUnevictable ¶
func (m *ContainerMemoryStat) GetUnevictable() uint64
func (*ContainerMemoryStat) GoString ¶
func (this *ContainerMemoryStat) GoString() string
func (*ContainerMemoryStat) Marshal ¶
func (m *ContainerMemoryStat) Marshal() (dAtA []byte, err error)
func (*ContainerMemoryStat) MarshalTo ¶
func (m *ContainerMemoryStat) MarshalTo(dAtA []byte) (int, error)
func (*ContainerMemoryStat) ProtoMessage ¶
func (*ContainerMemoryStat) ProtoMessage()
func (*ContainerMemoryStat) Reset ¶
func (m *ContainerMemoryStat) Reset()
func (*ContainerMemoryStat) Size ¶
func (m *ContainerMemoryStat) Size() (n int)
func (*ContainerMemoryStat) String ¶
func (this *ContainerMemoryStat) String() string
func (*ContainerMemoryStat) Unmarshal ¶
func (m *ContainerMemoryStat) Unmarshal(dAtA []byte) error
type ContainerMetricsEntry ¶
type ContainerMetricsEntry struct {
Metrics Metrics `protobuf:"bytes,1,opt,name=Metrics" json:"Metrics"`
Err *Error `protobuf:"bytes,2,opt,name=err" json:"err,omitempty"`
}
func (*ContainerMetricsEntry) Descriptor ¶
func (*ContainerMetricsEntry) Descriptor() ([]byte, []int)
func (*ContainerMetricsEntry) Equal ¶
func (this *ContainerMetricsEntry) Equal(that interface{}) bool
func (*ContainerMetricsEntry) GetErr ¶
func (m *ContainerMetricsEntry) GetErr() *Error
func (*ContainerMetricsEntry) GetMetrics ¶
func (m *ContainerMetricsEntry) GetMetrics() Metrics
func (*ContainerMetricsEntry) GoString ¶
func (this *ContainerMetricsEntry) GoString() string
func (*ContainerMetricsEntry) Marshal ¶
func (m *ContainerMetricsEntry) Marshal() (dAtA []byte, err error)
func (*ContainerMetricsEntry) MarshalTo ¶
func (m *ContainerMetricsEntry) MarshalTo(dAtA []byte) (int, error)
func (*ContainerMetricsEntry) ProtoMessage ¶
func (*ContainerMetricsEntry) ProtoMessage()
func (*ContainerMetricsEntry) Reset ¶
func (m *ContainerMetricsEntry) Reset()
func (*ContainerMetricsEntry) Size ¶
func (m *ContainerMetricsEntry) Size() (n int)
func (*ContainerMetricsEntry) String ¶
func (this *ContainerMetricsEntry) String() string
func (*ContainerMetricsEntry) Unmarshal ¶
func (m *ContainerMetricsEntry) Unmarshal(dAtA []byte) error
type ContainerNetworkStat ¶
type ContainerNetworkStat struct {
RxBytes uint64 `protobuf:"varint,1,opt,name=RxBytes,proto3" json:"RxBytes,omitempty"`
TxBytes uint64 `protobuf:"varint,2,opt,name=TxBytes,proto3" json:"TxBytes,omitempty"`
}
func (*ContainerNetworkStat) Descriptor ¶
func (*ContainerNetworkStat) Descriptor() ([]byte, []int)
func (*ContainerNetworkStat) Equal ¶
func (this *ContainerNetworkStat) Equal(that interface{}) bool
func (*ContainerNetworkStat) GetRxBytes ¶
func (m *ContainerNetworkStat) GetRxBytes() uint64
func (*ContainerNetworkStat) GetTxBytes ¶
func (m *ContainerNetworkStat) GetTxBytes() uint64
func (*ContainerNetworkStat) GoString ¶
func (this *ContainerNetworkStat) GoString() string
func (*ContainerNetworkStat) Marshal ¶
func (m *ContainerNetworkStat) Marshal() (dAtA []byte, err error)
func (*ContainerNetworkStat) MarshalTo ¶
func (m *ContainerNetworkStat) MarshalTo(dAtA []byte) (int, error)
func (*ContainerNetworkStat) ProtoMessage ¶
func (*ContainerNetworkStat) ProtoMessage()
func (*ContainerNetworkStat) Reset ¶
func (m *ContainerNetworkStat) Reset()
func (*ContainerNetworkStat) Size ¶
func (m *ContainerNetworkStat) Size() (n int)
func (*ContainerNetworkStat) String ¶
func (this *ContainerNetworkStat) String() string
func (*ContainerNetworkStat) Unmarshal ¶
func (m *ContainerNetworkStat) Unmarshal(dAtA []byte) error
type ContainerSpec ¶
type ContainerSpec struct {
Handle string `protobuf:"bytes,1,opt,name=Handle,proto3" json:"Handle,omitempty"`
GraceTime *google_protobuf2.Duration `protobuf:"bytes,2,opt,name=GraceTime" json:"GraceTime,omitempty"`
// Deprecated in favour of Image property
RootFSPath string `protobuf:"bytes,3,opt,name=RootFSPath,proto3" json:"RootFSPath,omitempty"`
Image ImageRef `protobuf:"bytes,4,opt,name=Image" json:"Image"`
BindMounts []BindMount `protobuf:"bytes,5,rep,name=BindMounts" json:"BindMounts"`
Network string `protobuf:"bytes,6,opt,name=Network,proto3" json:"Network,omitempty"`
// Properties is a sequence of string key/value pairs providing arbitrary
// data about the container. The keys are assumed to be unique but this is not
// enforced via the protocol.
Properties *Properties `protobuf:"bytes,7,opt,name=Properties" json:"Properties,omitempty"`
// TODO
Env []string `protobuf:"bytes,8,rep,name=Env" json:"Env,omitempty"`
// If Privileged is true the container does not have a user namespace and the root user in the container
// is the same as the root user in the host. Otherwise, the container has a user namespace and the root
// user in the container is mapped to a non-root user in the host. Defaults to false.
Privileged bool `protobuf:"varint,9,opt,name=Privileged,proto3" json:"Privileged,omitempty"`
// Limits to be applied to the newly created container.
Limits Limits `protobuf:"bytes,10,opt,name=Limits" json:"Limits"`
NetIn []NetInRequest `protobuf:"bytes,11,rep,name=NetIn" json:"NetIn"`
NetOut []NetOutRuleRequest `protobuf:"bytes,12,rep,name=NetOut" json:"NetOut"`
}
func (*ContainerSpec) Descriptor ¶
func (*ContainerSpec) Descriptor() ([]byte, []int)
func (*ContainerSpec) Equal ¶
func (this *ContainerSpec) Equal(that interface{}) bool
func (*ContainerSpec) GetBindMounts ¶
func (m *ContainerSpec) GetBindMounts() []BindMount
func (*ContainerSpec) GetEnv ¶
func (m *ContainerSpec) GetEnv() []string
func (*ContainerSpec) GetGraceTime ¶
func (m *ContainerSpec) GetGraceTime() *google_protobuf2.Duration
func (*ContainerSpec) GetHandle ¶
func (m *ContainerSpec) GetHandle() string
func (*ContainerSpec) GetImage ¶
func (m *ContainerSpec) GetImage() ImageRef
func (*ContainerSpec) GetLimits ¶
func (m *ContainerSpec) GetLimits() Limits
func (*ContainerSpec) GetNetIn ¶
func (m *ContainerSpec) GetNetIn() []NetInRequest
func (*ContainerSpec) GetNetOut ¶
func (m *ContainerSpec) GetNetOut() []NetOutRuleRequest
func (*ContainerSpec) GetNetwork ¶
func (m *ContainerSpec) GetNetwork() string
func (*ContainerSpec) GetPrivileged ¶
func (m *ContainerSpec) GetPrivileged() bool
func (*ContainerSpec) GetProperties ¶
func (m *ContainerSpec) GetProperties() *Properties
func (*ContainerSpec) GetRootFSPath ¶
func (m *ContainerSpec) GetRootFSPath() string
func (*ContainerSpec) GoString ¶
func (this *ContainerSpec) GoString() string
func (*ContainerSpec) Marshal ¶
func (m *ContainerSpec) Marshal() (dAtA []byte, err error)
func (*ContainerSpec) ProtoMessage ¶
func (*ContainerSpec) ProtoMessage()
func (*ContainerSpec) Reset ¶
func (m *ContainerSpec) Reset()
func (*ContainerSpec) Size ¶
func (m *ContainerSpec) Size() (n int)
func (*ContainerSpec) String ¶
func (this *ContainerSpec) String() string
func (*ContainerSpec) Unmarshal ¶
func (m *ContainerSpec) Unmarshal(dAtA []byte) error
type ContainersResponse ¶
type ContainersResponse struct {
// TODO only a place holder.
Handle []string `protobuf:"bytes,1,rep,name=Handle" json:"Handle,omitempty"`
}
func (*ContainersResponse) Descriptor ¶
func (*ContainersResponse) Descriptor() ([]byte, []int)
func (*ContainersResponse) Equal ¶
func (this *ContainersResponse) Equal(that interface{}) bool
func (*ContainersResponse) GetHandle ¶
func (m *ContainersResponse) GetHandle() []string
func (*ContainersResponse) GoString ¶
func (this *ContainersResponse) GoString() string
func (*ContainersResponse) Marshal ¶
func (m *ContainersResponse) Marshal() (dAtA []byte, err error)
func (*ContainersResponse) MarshalTo ¶
func (m *ContainersResponse) MarshalTo(dAtA []byte) (int, error)
func (*ContainersResponse) ProtoMessage ¶
func (*ContainersResponse) ProtoMessage()
func (*ContainersResponse) Reset ¶
func (m *ContainersResponse) Reset()
func (*ContainersResponse) Size ¶
func (m *ContainersResponse) Size() (n int)
func (*ContainersResponse) String ¶
func (this *ContainersResponse) String() string
func (*ContainersResponse) Unmarshal ¶
func (m *ContainersResponse) Unmarshal(dAtA []byte) error
type DiskLimitScope ¶
type DiskLimitScope int32
const ( DiskLimitScopeTotal DiskLimitScope = 0 DiskLimitScopeExclusive DiskLimitScope = 1 )
func (DiskLimitScope) EnumDescriptor ¶
func (DiskLimitScope) EnumDescriptor() ([]byte, []int)
func (DiskLimitScope) String ¶
func (x DiskLimitScope) String() string
type DiskLimits ¶
type DiskLimits struct {
InodeSoft uint64 `protobuf:"varint,1,opt,name=InodeSoft,proto3" json:"InodeSoft,omitempty"`
InodeHard uint64 `protobuf:"varint,2,opt,name=InodeHard,proto3" json:"InodeHard,omitempty"`
ByteSoft uint64 `protobuf:"varint,3,opt,name=ByteSoft,proto3" json:"ByteSoft,omitempty"`
ByteHard uint64 `protobuf:"varint,4,opt,name=ByteHard,proto3" json:"ByteHard,omitempty"`
Scope DiskLimitScope `protobuf:"varint,5,opt,name=Scope,proto3,enum=vcontainermodels.DiskLimitScope" json:"Scope,omitempty"`
}
func (*DiskLimits) Descriptor ¶
func (*DiskLimits) Descriptor() ([]byte, []int)
func (*DiskLimits) Equal ¶
func (this *DiskLimits) Equal(that interface{}) bool
func (*DiskLimits) GetByteHard ¶
func (m *DiskLimits) GetByteHard() uint64
func (*DiskLimits) GetByteSoft ¶
func (m *DiskLimits) GetByteSoft() uint64
func (*DiskLimits) GetInodeHard ¶
func (m *DiskLimits) GetInodeHard() uint64
func (*DiskLimits) GetInodeSoft ¶
func (m *DiskLimits) GetInodeSoft() uint64
func (*DiskLimits) GetScope ¶
func (m *DiskLimits) GetScope() DiskLimitScope
func (*DiskLimits) GoString ¶
func (this *DiskLimits) GoString() string
func (*DiskLimits) Marshal ¶
func (m *DiskLimits) Marshal() (dAtA []byte, err error)
func (*DiskLimits) ProtoMessage ¶
func (*DiskLimits) ProtoMessage()
func (*DiskLimits) Reset ¶
func (m *DiskLimits) Reset()
func (*DiskLimits) Size ¶
func (m *DiskLimits) Size() (n int)
func (*DiskLimits) String ¶
func (this *DiskLimits) String() string
func (*DiskLimits) Unmarshal ¶
func (m *DiskLimits) Unmarshal(dAtA []byte) error
type Error ¶
type Error struct {
Err string `protobuf:"bytes,1,opt,name=Err,proto3" json:"Err,omitempty"`
}
func (*Error) Descriptor ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type ICMPControl ¶
type ICMPControl struct {
Type uint32 `protobuf:"varint,1,opt,name=Type,proto3" json:"type"`
Code uint32 `protobuf:"varint,2,opt,name=Code,proto3" json:"type"`
}
func (*ICMPControl) Descriptor ¶
func (*ICMPControl) Descriptor() ([]byte, []int)
func (*ICMPControl) Equal ¶
func (this *ICMPControl) Equal(that interface{}) bool
func (*ICMPControl) GetCode ¶
func (m *ICMPControl) GetCode() uint32
func (*ICMPControl) GetType ¶
func (m *ICMPControl) GetType() uint32
func (*ICMPControl) GoString ¶
func (this *ICMPControl) GoString() string
func (*ICMPControl) Marshal ¶
func (m *ICMPControl) Marshal() (dAtA []byte, err error)
func (*ICMPControl) ProtoMessage ¶
func (*ICMPControl) ProtoMessage()
func (*ICMPControl) Reset ¶
func (m *ICMPControl) Reset()
func (*ICMPControl) Size ¶
func (m *ICMPControl) Size() (n int)
func (*ICMPControl) String ¶
func (this *ICMPControl) String() string
func (*ICMPControl) Unmarshal ¶
func (m *ICMPControl) Unmarshal(dAtA []byte) error
type IPRange ¶
type IPRange struct {
Start []byte `protobuf:"bytes,1,opt,name=Start,proto3" json:"start"`
End []byte `protobuf:"bytes,2,opt,name=End,proto3" json:"end"`
}
func (*IPRange) Descriptor ¶
func (*IPRange) ProtoMessage ¶
func (*IPRange) ProtoMessage()
type ImageRef ¶
type ImageRef struct {
URI string `protobuf:"bytes,1,opt,name=URI,proto3" json:"URI,omitempty"`
Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"`
Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"`
}
func (*ImageRef) Descriptor ¶
func (*ImageRef) GetPassword ¶
func (*ImageRef) GetUsername ¶
func (*ImageRef) ProtoMessage ¶
func (*ImageRef) ProtoMessage()
type KeyValueMessage ¶
type KeyValueMessage struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
}
func (*KeyValueMessage) Descriptor ¶
func (*KeyValueMessage) Descriptor() ([]byte, []int)
func (*KeyValueMessage) Equal ¶
func (this *KeyValueMessage) Equal(that interface{}) bool
func (*KeyValueMessage) GetKey ¶
func (m *KeyValueMessage) GetKey() string
func (*KeyValueMessage) GetValue ¶
func (m *KeyValueMessage) GetValue() string
func (*KeyValueMessage) GoString ¶
func (this *KeyValueMessage) GoString() string
func (*KeyValueMessage) Marshal ¶
func (m *KeyValueMessage) Marshal() (dAtA []byte, err error)
func (*KeyValueMessage) ProtoMessage ¶
func (*KeyValueMessage) ProtoMessage()
func (*KeyValueMessage) Reset ¶
func (m *KeyValueMessage) Reset()
func (*KeyValueMessage) Size ¶
func (m *KeyValueMessage) Size() (n int)
func (*KeyValueMessage) String ¶
func (this *KeyValueMessage) String() string
func (*KeyValueMessage) Unmarshal ¶
func (m *KeyValueMessage) Unmarshal(dAtA []byte) error
type Limits ¶
type Limits struct {
Bandwidth BandwidthLimits `protobuf:"bytes,1,opt,name=Bandwidth" json:"Bandwidth"`
CPU CPULimits `protobuf:"bytes,2,opt,name=CPU" json:"CPU"`
Disk DiskLimits `protobuf:"bytes,3,opt,name=Disk" json:"Disk"`
Memory MemoryLimits `protobuf:"bytes,4,opt,name=Memory" json:"Memory"`
Pid PidLimits `protobuf:"bytes,5,opt,name=Pid" json:"Pid"`
}
func (*Limits) Descriptor ¶
func (*Limits) GetBandwidth ¶
func (m *Limits) GetBandwidth() BandwidthLimits
func (*Limits) GetDisk ¶
func (m *Limits) GetDisk() DiskLimits
func (*Limits) GetMemory ¶
func (m *Limits) GetMemory() MemoryLimits
func (*Limits) ProtoMessage ¶
func (*Limits) ProtoMessage()
type MemoryLimits ¶
type MemoryLimits struct {
LimitInBytes uint64 `protobuf:"varint,1,opt,name=LimitInBytes,proto3" json:"LimitInBytes,omitempty"`
}
func (*MemoryLimits) Descriptor ¶
func (*MemoryLimits) Descriptor() ([]byte, []int)
func (*MemoryLimits) Equal ¶
func (this *MemoryLimits) Equal(that interface{}) bool
func (*MemoryLimits) GetLimitInBytes ¶
func (m *MemoryLimits) GetLimitInBytes() uint64
func (*MemoryLimits) GoString ¶
func (this *MemoryLimits) GoString() string
func (*MemoryLimits) Marshal ¶
func (m *MemoryLimits) Marshal() (dAtA []byte, err error)
func (*MemoryLimits) ProtoMessage ¶
func (*MemoryLimits) ProtoMessage()
func (*MemoryLimits) Reset ¶
func (m *MemoryLimits) Reset()
func (*MemoryLimits) Size ¶
func (m *MemoryLimits) Size() (n int)
func (*MemoryLimits) String ¶
func (this *MemoryLimits) String() string
func (*MemoryLimits) Unmarshal ¶
func (m *MemoryLimits) Unmarshal(dAtA []byte) error
type Metrics ¶
type Metrics struct {
MemoryStat *ContainerMemoryStat `protobuf:"bytes,1,opt,name=MemoryStat" json:"MemoryStat,omitempty"`
CPUStat *ContainerCPUStat `protobuf:"bytes,2,opt,name=CPUStat" json:"CPUStat,omitempty"`
DiskStat *ContainerDiskStat `protobuf:"bytes,3,opt,name=DiskStat" json:"DiskStat,omitempty"`
NetworkStat *ContainerNetworkStat `protobuf:"bytes,4,opt,name=NetworkStat" json:"NetworkStat,omitempty"`
}
func (*Metrics) Descriptor ¶
func (*Metrics) GetCPUStat ¶
func (m *Metrics) GetCPUStat() *ContainerCPUStat
func (*Metrics) GetDiskStat ¶
func (m *Metrics) GetDiskStat() *ContainerDiskStat
func (*Metrics) GetMemoryStat ¶
func (m *Metrics) GetMemoryStat() *ContainerMemoryStat
func (*Metrics) GetNetworkStat ¶
func (m *Metrics) GetNetworkStat() *ContainerNetworkStat
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
type NetInRequest ¶
type NetInRequest struct {
HostPort uint32 `protobuf:"varint,1,opt,name=HostPort,proto3" json:"HostPort,omitempty"`
ContainerPort uint32 `protobuf:"varint,2,opt,name=ContainerPort,proto3" json:"ContainerPort,omitempty"`
}
func (*NetInRequest) Descriptor ¶
func (*NetInRequest) Descriptor() ([]byte, []int)
func (*NetInRequest) Equal ¶
func (this *NetInRequest) Equal(that interface{}) bool
func (*NetInRequest) GetContainerPort ¶
func (m *NetInRequest) GetContainerPort() uint32
func (*NetInRequest) GetHostPort ¶
func (m *NetInRequest) GetHostPort() uint32
func (*NetInRequest) GoString ¶
func (this *NetInRequest) GoString() string
func (*NetInRequest) Marshal ¶
func (m *NetInRequest) Marshal() (dAtA []byte, err error)
func (*NetInRequest) ProtoMessage ¶
func (*NetInRequest) ProtoMessage()
func (*NetInRequest) Reset ¶
func (m *NetInRequest) Reset()
func (*NetInRequest) Size ¶
func (m *NetInRequest) Size() (n int)
func (*NetInRequest) String ¶
func (this *NetInRequest) String() string
func (*NetInRequest) Unmarshal ¶
func (m *NetInRequest) Unmarshal(dAtA []byte) error
type NetInResponse ¶
type NetInResponse struct {
HostPort uint32 `protobuf:"varint,1,opt,name=HostPort,proto3" json:"HostPort,omitempty"`
ContainerPort uint32 `protobuf:"varint,2,opt,name=ContainerPort,proto3" json:"ContainerPort,omitempty"`
}
func (*NetInResponse) Descriptor ¶
func (*NetInResponse) Descriptor() ([]byte, []int)
func (*NetInResponse) Equal ¶
func (this *NetInResponse) Equal(that interface{}) bool
func (*NetInResponse) GetContainerPort ¶
func (m *NetInResponse) GetContainerPort() uint32
func (*NetInResponse) GetHostPort ¶
func (m *NetInResponse) GetHostPort() uint32
func (*NetInResponse) GoString ¶
func (this *NetInResponse) GoString() string
func (*NetInResponse) Marshal ¶
func (m *NetInResponse) Marshal() (dAtA []byte, err error)
func (*NetInResponse) ProtoMessage ¶
func (*NetInResponse) ProtoMessage()
func (*NetInResponse) Reset ¶
func (m *NetInResponse) Reset()
func (*NetInResponse) Size ¶
func (m *NetInResponse) Size() (n int)
func (*NetInResponse) String ¶
func (this *NetInResponse) String() string
func (*NetInResponse) Unmarshal ¶
func (m *NetInResponse) Unmarshal(dAtA []byte) error
type NetOutRuleRequest ¶
type NetOutRuleRequest struct {
// Protocol Protocol `json:"protocol,omitempty"`
Networks []IPRange `protobuf:"bytes,2,rep,name=Networks" json:"networks"`
// // a list of ranges of IP addresses to whitelist; Start to End inclusive; default all
// Networks []IPRange `json:"networks,omitempty"`
Ports []PortRange `protobuf:"bytes,3,rep,name=Ports" json:"ports"`
// // a list of ranges of ports to whitelist; Start to End inclusive; ignored if Protocol is ICMP; default all
// Ports []PortRange `json:"ports,omitempty"`
// // specifying which ICMP codes to whitelist; ignored if Protocol is not ICMP; default all
// ICMPs *ICMPControl `json:"icmps,omitempty"`
ICMPs *ICMPControl `protobuf:"bytes,4,opt,name=ICMPs" json:"icmps"`
// if true, logging is enabled; ignored if Protocol is not TCP or All; default false
Log bool `protobuf:"varint,5,opt,name=Log,proto3" json:"log"`
}
func (*NetOutRuleRequest) Descriptor ¶
func (*NetOutRuleRequest) Descriptor() ([]byte, []int)
func (*NetOutRuleRequest) Equal ¶
func (this *NetOutRuleRequest) Equal(that interface{}) bool
func (*NetOutRuleRequest) GetICMPs ¶
func (m *NetOutRuleRequest) GetICMPs() *ICMPControl
func (*NetOutRuleRequest) GetLog ¶
func (m *NetOutRuleRequest) GetLog() bool
func (*NetOutRuleRequest) GetNetworks ¶
func (m *NetOutRuleRequest) GetNetworks() []IPRange
func (*NetOutRuleRequest) GetPorts ¶
func (m *NetOutRuleRequest) GetPorts() []PortRange
func (*NetOutRuleRequest) GoString ¶
func (this *NetOutRuleRequest) GoString() string
func (*NetOutRuleRequest) Marshal ¶
func (m *NetOutRuleRequest) Marshal() (dAtA []byte, err error)
func (*NetOutRuleRequest) MarshalTo ¶
func (m *NetOutRuleRequest) MarshalTo(dAtA []byte) (int, error)
func (*NetOutRuleRequest) ProtoMessage ¶
func (*NetOutRuleRequest) ProtoMessage()
func (*NetOutRuleRequest) Reset ¶
func (m *NetOutRuleRequest) Reset()
func (*NetOutRuleRequest) Size ¶
func (m *NetOutRuleRequest) Size() (n int)
func (*NetOutRuleRequest) String ¶
func (this *NetOutRuleRequest) String() string
func (*NetOutRuleRequest) Unmarshal ¶
func (m *NetOutRuleRequest) Unmarshal(dAtA []byte) error
type PidLimits ¶
type PidLimits struct {
// Limits the number of pids a container may create before new forks or clones are disallowed to processes in the container.
// Note: this may only be enforced when a process attempts to fork, so it does not guarantee that a new container.Run(ProcessSpec)
// will not succeed even if the limit has been exceeded, but the process will not be able to spawn further processes or threads.
Max uint64 `protobuf:"varint,1,opt,name=Max,proto3" json:"Max,omitempty"`
}
func (*PidLimits) Descriptor ¶
func (*PidLimits) ProtoMessage ¶
func (*PidLimits) ProtoMessage()
type PortMapping ¶
type PortMapping struct {
HostPort uint32 `protobuf:"varint,1,opt,name=HostPort,proto3" json:"HostPort,omitempty"`
ContainerPort uint32 `protobuf:"varint,2,opt,name=ContainerPort,proto3" json:"ContainerPort,omitempty"`
}
func (*PortMapping) Descriptor ¶
func (*PortMapping) Descriptor() ([]byte, []int)
func (*PortMapping) Equal ¶
func (this *PortMapping) Equal(that interface{}) bool
func (*PortMapping) GetContainerPort ¶
func (m *PortMapping) GetContainerPort() uint32
func (*PortMapping) GetHostPort ¶
func (m *PortMapping) GetHostPort() uint32
func (*PortMapping) GoString ¶
func (this *PortMapping) GoString() string
func (*PortMapping) Marshal ¶
func (m *PortMapping) Marshal() (dAtA []byte, err error)
func (*PortMapping) ProtoMessage ¶
func (*PortMapping) ProtoMessage()
func (*PortMapping) Reset ¶
func (m *PortMapping) Reset()
func (*PortMapping) Size ¶
func (m *PortMapping) Size() (n int)
func (*PortMapping) String ¶
func (this *PortMapping) String() string
func (*PortMapping) Unmarshal ¶
func (m *PortMapping) Unmarshal(dAtA []byte) error
type PortRange ¶
type PortRange struct {
Start uint32 `protobuf:"varint,1,opt,name=Start,proto3" json:"start"`
End uint32 `protobuf:"varint,2,opt,name=End,proto3" json:"end"`
}
func (*PortRange) Descriptor ¶
func (*PortRange) ProtoMessage ¶
func (*PortRange) ProtoMessage()
type ProcessLimits ¶
type ProcessLimits struct {
CPU CPULimits `protobuf:"bytes,1,opt,name=CPU" json:"CPU"`
Memory MemoryLimits `protobuf:"bytes,2,opt,name=Memory" json:"Memory"`
}
func (*ProcessLimits) Descriptor ¶
func (*ProcessLimits) Descriptor() ([]byte, []int)
func (*ProcessLimits) Equal ¶
func (this *ProcessLimits) Equal(that interface{}) bool
func (*ProcessLimits) GetCPU ¶
func (m *ProcessLimits) GetCPU() CPULimits
func (*ProcessLimits) GetMemory ¶
func (m *ProcessLimits) GetMemory() MemoryLimits
func (*ProcessLimits) GoString ¶
func (this *ProcessLimits) GoString() string
func (*ProcessLimits) Marshal ¶
func (m *ProcessLimits) Marshal() (dAtA []byte, err error)
func (*ProcessLimits) ProtoMessage ¶
func (*ProcessLimits) ProtoMessage()
func (*ProcessLimits) Reset ¶
func (m *ProcessLimits) Reset()
func (*ProcessLimits) Size ¶
func (m *ProcessLimits) Size() (n int)
func (*ProcessLimits) String ¶
func (this *ProcessLimits) String() string
func (*ProcessLimits) Unmarshal ¶
func (m *ProcessLimits) Unmarshal(dAtA []byte) error
type ProcessSpec ¶
type ProcessSpec struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// Path to command to execute.
Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"`
// Arguments to pass to command.
Args []string `protobuf:"bytes,3,rep,name=Args" json:"Args,omitempty"`
// Environment variables.
Env []string `protobuf:"bytes,4,rep,name=Env" json:"Env,omitempty"`
// Working directory (default: home directory).
Dir string `protobuf:"bytes,5,opt,name=Dir,proto3" json:"Dir,omitempty"`
// The name of a user in the container to run the process as.
// This must either be a username, or uid:gid.
User string `protobuf:"bytes,6,opt,name=User,proto3" json:"User,omitempty"`
// Resource limits
Limits ResourceLimits `protobuf:"bytes,7,opt,name=Limits" json:"Limits"`
OverrideContainerLimits ProcessLimits `protobuf:"bytes,8,opt,name=OverrideContainerLimits" json:"OverrideContainerLimits"`
// Execute with a TTY for stdio.
TTY TTYSpec `protobuf:"bytes,9,opt,name=TTY" json:"TTY"`
// Execute process in own root filesystem, different from the other processes
// in the container.
Image ImageRef `protobuf:"bytes,10,opt,name=Image" json:"Image"`
BindMounts []BindMount `protobuf:"bytes,11,rep,name=BindMounts" json:"BindMounts"`
}
func (*ProcessSpec) Descriptor ¶
func (*ProcessSpec) Descriptor() ([]byte, []int)
func (*ProcessSpec) Equal ¶
func (this *ProcessSpec) Equal(that interface{}) bool
func (*ProcessSpec) GetArgs ¶
func (m *ProcessSpec) GetArgs() []string
func (*ProcessSpec) GetBindMounts ¶
func (m *ProcessSpec) GetBindMounts() []BindMount
func (*ProcessSpec) GetDir ¶
func (m *ProcessSpec) GetDir() string
func (*ProcessSpec) GetEnv ¶
func (m *ProcessSpec) GetEnv() []string
func (*ProcessSpec) GetID ¶
func (m *ProcessSpec) GetID() string
func (*ProcessSpec) GetImage ¶
func (m *ProcessSpec) GetImage() ImageRef
func (*ProcessSpec) GetLimits ¶
func (m *ProcessSpec) GetLimits() ResourceLimits
func (*ProcessSpec) GetOverrideContainerLimits ¶
func (m *ProcessSpec) GetOverrideContainerLimits() ProcessLimits
func (*ProcessSpec) GetPath ¶
func (m *ProcessSpec) GetPath() string
func (*ProcessSpec) GetTTY ¶
func (m *ProcessSpec) GetTTY() TTYSpec
func (*ProcessSpec) GetUser ¶
func (m *ProcessSpec) GetUser() string
func (*ProcessSpec) GoString ¶
func (this *ProcessSpec) GoString() string
func (*ProcessSpec) Marshal ¶
func (m *ProcessSpec) Marshal() (dAtA []byte, err error)
func (*ProcessSpec) ProtoMessage ¶
func (*ProcessSpec) ProtoMessage()
func (*ProcessSpec) Reset ¶
func (m *ProcessSpec) Reset()
func (*ProcessSpec) Size ¶
func (m *ProcessSpec) Size() (n int)
func (*ProcessSpec) String ¶
func (this *ProcessSpec) String() string
func (*ProcessSpec) Unmarshal ¶
func (m *ProcessSpec) Unmarshal(dAtA []byte) error
type Properties ¶
type Properties struct {
Properties map[string]string `` /* 154-byte string literal not displayed */
}
func (*Properties) Descriptor ¶
func (*Properties) Descriptor() ([]byte, []int)
func (*Properties) Equal ¶
func (this *Properties) Equal(that interface{}) bool
func (*Properties) GetProperties ¶
func (m *Properties) GetProperties() map[string]string
func (*Properties) GoString ¶
func (this *Properties) GoString() string
func (*Properties) Marshal ¶
func (m *Properties) Marshal() (dAtA []byte, err error)
func (*Properties) ProtoMessage ¶
func (*Properties) ProtoMessage()
func (*Properties) Reset ¶
func (m *Properties) Reset()
func (*Properties) Size ¶
func (m *Properties) Size() (n int)
func (*Properties) String ¶
func (this *Properties) String() string
func (*Properties) Unmarshal ¶
func (m *Properties) Unmarshal(dAtA []byte) error
type ResourceLimits ¶
type ResourceLimits struct {
As *google_protobuf1.UInt64Value `protobuf:"bytes,1,opt,name=As" json:"As,omitempty"`
}
func (*ResourceLimits) Descriptor ¶
func (*ResourceLimits) Descriptor() ([]byte, []int)
func (*ResourceLimits) Equal ¶
func (this *ResourceLimits) Equal(that interface{}) bool
func (*ResourceLimits) GetAs ¶
func (m *ResourceLimits) GetAs() *google_protobuf1.UInt64Value
func (*ResourceLimits) GoString ¶
func (this *ResourceLimits) GoString() string
func (*ResourceLimits) Marshal ¶
func (m *ResourceLimits) Marshal() (dAtA []byte, err error)
func (*ResourceLimits) ProtoMessage ¶
func (*ResourceLimits) ProtoMessage()
func (*ResourceLimits) Reset ¶
func (m *ResourceLimits) Reset()
func (*ResourceLimits) Size ¶
func (m *ResourceLimits) Size() (n int)
func (*ResourceLimits) String ¶
func (this *ResourceLimits) String() string
func (*ResourceLimits) Unmarshal ¶
func (m *ResourceLimits) Unmarshal(dAtA []byte) error
type RunResponse ¶
type RunResponse struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
ProcessId string `protobuf:"bytes,2,opt,name=ProcessId,proto3" json:"ProcessId,omitempty"`
}
func (*RunResponse) Descriptor ¶
func (*RunResponse) Descriptor() ([]byte, []int)
func (*RunResponse) Equal ¶
func (this *RunResponse) Equal(that interface{}) bool
func (*RunResponse) GetID ¶
func (m *RunResponse) GetID() string
func (*RunResponse) GetProcessId ¶
func (m *RunResponse) GetProcessId() string
func (*RunResponse) GoString ¶
func (this *RunResponse) GoString() string
func (*RunResponse) Marshal ¶
func (m *RunResponse) Marshal() (dAtA []byte, err error)
func (*RunResponse) ProtoMessage ¶
func (*RunResponse) ProtoMessage()
func (*RunResponse) Reset ¶
func (m *RunResponse) Reset()
func (*RunResponse) Size ¶
func (m *RunResponse) Size() (n int)
func (*RunResponse) String ¶
func (this *RunResponse) String() string
func (*RunResponse) Unmarshal ¶
func (m *RunResponse) Unmarshal(dAtA []byte) error
type SignalRequest ¶
type SignalRequest struct {
Signal Signal `protobuf:"varint,1,opt,name=Signal,proto3,enum=vcontainermodels.Signal" json:"Signal,omitempty"`
}
func (*SignalRequest) Descriptor ¶
func (*SignalRequest) Descriptor() ([]byte, []int)
func (*SignalRequest) Equal ¶
func (this *SignalRequest) Equal(that interface{}) bool
func (*SignalRequest) GetSignal ¶
func (m *SignalRequest) GetSignal() Signal
func (*SignalRequest) GoString ¶
func (this *SignalRequest) GoString() string
func (*SignalRequest) Marshal ¶
func (m *SignalRequest) Marshal() (dAtA []byte, err error)
func (*SignalRequest) ProtoMessage ¶
func (*SignalRequest) ProtoMessage()
func (*SignalRequest) Reset ¶
func (m *SignalRequest) Reset()
func (*SignalRequest) Size ¶
func (m *SignalRequest) Size() (n int)
func (*SignalRequest) String ¶
func (this *SignalRequest) String() string
func (*SignalRequest) Unmarshal ¶
func (m *SignalRequest) Unmarshal(dAtA []byte) error
type StopMessage ¶
type StopMessage struct {
Kill bool `protobuf:"varint,1,opt,name=Kill,proto3" json:"Kill,omitempty"`
}
func (*StopMessage) Descriptor ¶
func (*StopMessage) Descriptor() ([]byte, []int)
func (*StopMessage) Equal ¶
func (this *StopMessage) Equal(that interface{}) bool
func (*StopMessage) GetKill ¶
func (m *StopMessage) GetKill() bool
func (*StopMessage) GoString ¶
func (this *StopMessage) GoString() string
func (*StopMessage) Marshal ¶
func (m *StopMessage) Marshal() (dAtA []byte, err error)
func (*StopMessage) ProtoMessage ¶
func (*StopMessage) ProtoMessage()
func (*StopMessage) Reset ¶
func (m *StopMessage) Reset()
func (*StopMessage) Size ¶
func (m *StopMessage) Size() (n int)
func (*StopMessage) String ¶
func (this *StopMessage) String() string
func (*StopMessage) Unmarshal ¶
func (m *StopMessage) Unmarshal(dAtA []byte) error
type StopRequest ¶
type StopRequest struct {
Kill bool `protobuf:"varint,1,opt,name=Kill,proto3" json:"Kill,omitempty"`
}
the container service messages
func (*StopRequest) Descriptor ¶
func (*StopRequest) Descriptor() ([]byte, []int)
func (*StopRequest) Equal ¶
func (this *StopRequest) Equal(that interface{}) bool
func (*StopRequest) GetKill ¶
func (m *StopRequest) GetKill() bool
func (*StopRequest) GoString ¶
func (this *StopRequest) GoString() string
func (*StopRequest) Marshal ¶
func (m *StopRequest) Marshal() (dAtA []byte, err error)
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) Reset ¶
func (m *StopRequest) Reset()
func (*StopRequest) Size ¶
func (m *StopRequest) Size() (n int)
func (*StopRequest) String ¶
func (this *StopRequest) String() string
func (*StopRequest) Unmarshal ¶
func (m *StopRequest) Unmarshal(dAtA []byte) error
type StopResponse ¶
type StopResponse struct {
}
func (*StopResponse) Descriptor ¶
func (*StopResponse) Descriptor() ([]byte, []int)
func (*StopResponse) Equal ¶
func (this *StopResponse) Equal(that interface{}) bool
func (*StopResponse) GoString ¶
func (this *StopResponse) GoString() string
func (*StopResponse) Marshal ¶
func (m *StopResponse) Marshal() (dAtA []byte, err error)
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) Reset ¶
func (m *StopResponse) Reset()
func (*StopResponse) Size ¶
func (m *StopResponse) Size() (n int)
func (*StopResponse) String ¶
func (this *StopResponse) String() string
func (*StopResponse) Unmarshal ¶
func (m *StopResponse) Unmarshal(dAtA []byte) error
type StreamInResponse ¶
type StreamInResponse struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
}
func (*StreamInResponse) Descriptor ¶
func (*StreamInResponse) Descriptor() ([]byte, []int)
func (*StreamInResponse) Equal ¶
func (this *StreamInResponse) Equal(that interface{}) bool
func (*StreamInResponse) GetMessage ¶
func (m *StreamInResponse) GetMessage() string
func (*StreamInResponse) GoString ¶
func (this *StreamInResponse) GoString() string
func (*StreamInResponse) Marshal ¶
func (m *StreamInResponse) Marshal() (dAtA []byte, err error)
func (*StreamInResponse) ProtoMessage ¶
func (*StreamInResponse) ProtoMessage()
func (*StreamInResponse) Reset ¶
func (m *StreamInResponse) Reset()
func (*StreamInResponse) Size ¶
func (m *StreamInResponse) Size() (n int)
func (*StreamInResponse) String ¶
func (this *StreamInResponse) String() string
func (*StreamInResponse) Unmarshal ¶
func (m *StreamInResponse) Unmarshal(dAtA []byte) error
type StreamInSpec ¶
type StreamInSpec struct {
// Types that are valid to be assigned to Part:
// *StreamInSpec_Path
// *StreamInSpec_User
// *StreamInSpec_Content
Part isStreamInSpec_Part `protobuf_oneof:"Part"`
}
func (*StreamInSpec) Descriptor ¶
func (*StreamInSpec) Descriptor() ([]byte, []int)
func (*StreamInSpec) Equal ¶
func (this *StreamInSpec) Equal(that interface{}) bool
func (*StreamInSpec) GetContent ¶
func (m *StreamInSpec) GetContent() []byte
func (*StreamInSpec) GetPart ¶
func (m *StreamInSpec) GetPart() isStreamInSpec_Part
func (*StreamInSpec) GetPath ¶
func (m *StreamInSpec) GetPath() string
func (*StreamInSpec) GetUser ¶
func (m *StreamInSpec) GetUser() string
func (*StreamInSpec) GoString ¶
func (this *StreamInSpec) GoString() string
func (*StreamInSpec) Marshal ¶
func (m *StreamInSpec) Marshal() (dAtA []byte, err error)
func (*StreamInSpec) ProtoMessage ¶
func (*StreamInSpec) ProtoMessage()
func (*StreamInSpec) Reset ¶
func (m *StreamInSpec) Reset()
func (*StreamInSpec) Size ¶
func (m *StreamInSpec) Size() (n int)
func (*StreamInSpec) String ¶
func (this *StreamInSpec) String() string
func (*StreamInSpec) Unmarshal ¶
func (m *StreamInSpec) Unmarshal(dAtA []byte) error
func (*StreamInSpec) XXX_OneofFuncs ¶
func (*StreamInSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type StreamInSpec_Content ¶
type StreamInSpec_Content struct {
Content []byte `protobuf:"bytes,3,opt,name=Content,proto3,oneof"`
}
func (*StreamInSpec_Content) Equal ¶
func (this *StreamInSpec_Content) Equal(that interface{}) bool
func (*StreamInSpec_Content) GoString ¶
func (this *StreamInSpec_Content) GoString() string
func (*StreamInSpec_Content) MarshalTo ¶
func (m *StreamInSpec_Content) MarshalTo(dAtA []byte) (int, error)
func (*StreamInSpec_Content) Size ¶
func (m *StreamInSpec_Content) Size() (n int)
func (*StreamInSpec_Content) String ¶
func (this *StreamInSpec_Content) String() string
type StreamInSpec_Path ¶
type StreamInSpec_Path struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3,oneof"`
}
func (*StreamInSpec_Path) Equal ¶
func (this *StreamInSpec_Path) Equal(that interface{}) bool
func (*StreamInSpec_Path) GoString ¶
func (this *StreamInSpec_Path) GoString() string
func (*StreamInSpec_Path) MarshalTo ¶
func (m *StreamInSpec_Path) MarshalTo(dAtA []byte) (int, error)
func (*StreamInSpec_Path) Size ¶
func (m *StreamInSpec_Path) Size() (n int)
func (*StreamInSpec_Path) String ¶
func (this *StreamInSpec_Path) String() string
type StreamInSpec_User ¶
type StreamInSpec_User struct {
User string `protobuf:"bytes,2,opt,name=User,proto3,oneof"`
}
func (*StreamInSpec_User) Equal ¶
func (this *StreamInSpec_User) Equal(that interface{}) bool
func (*StreamInSpec_User) GoString ¶
func (this *StreamInSpec_User) GoString() string
func (*StreamInSpec_User) MarshalTo ¶
func (m *StreamInSpec_User) MarshalTo(dAtA []byte) (int, error)
func (*StreamInSpec_User) Size ¶
func (m *StreamInSpec_User) Size() (n int)
func (*StreamInSpec_User) String ¶
func (this *StreamInSpec_User) String() string
type StreamOutResponse ¶
type StreamOutResponse struct {
Content []byte `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
}
func (*StreamOutResponse) Descriptor ¶
func (*StreamOutResponse) Descriptor() ([]byte, []int)
func (*StreamOutResponse) Equal ¶
func (this *StreamOutResponse) Equal(that interface{}) bool
func (*StreamOutResponse) GetContent ¶
func (m *StreamOutResponse) GetContent() []byte
func (*StreamOutResponse) GoString ¶
func (this *StreamOutResponse) GoString() string
func (*StreamOutResponse) Marshal ¶
func (m *StreamOutResponse) Marshal() (dAtA []byte, err error)
func (*StreamOutResponse) MarshalTo ¶
func (m *StreamOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*StreamOutResponse) ProtoMessage ¶
func (*StreamOutResponse) ProtoMessage()
func (*StreamOutResponse) Reset ¶
func (m *StreamOutResponse) Reset()
func (*StreamOutResponse) Size ¶
func (m *StreamOutResponse) Size() (n int)
func (*StreamOutResponse) String ¶
func (this *StreamOutResponse) String() string
func (*StreamOutResponse) Unmarshal ¶
func (m *StreamOutResponse) Unmarshal(dAtA []byte) error
type StreamOutSpec ¶
type StreamOutSpec struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
User string `protobuf:"bytes,2,opt,name=User,proto3" json:"User,omitempty"`
}
func (*StreamOutSpec) Descriptor ¶
func (*StreamOutSpec) Descriptor() ([]byte, []int)
func (*StreamOutSpec) Equal ¶
func (this *StreamOutSpec) Equal(that interface{}) bool
func (*StreamOutSpec) GetPath ¶
func (m *StreamOutSpec) GetPath() string
func (*StreamOutSpec) GetUser ¶
func (m *StreamOutSpec) GetUser() string
func (*StreamOutSpec) GoString ¶
func (this *StreamOutSpec) GoString() string
func (*StreamOutSpec) Marshal ¶
func (m *StreamOutSpec) Marshal() (dAtA []byte, err error)
func (*StreamOutSpec) ProtoMessage ¶
func (*StreamOutSpec) ProtoMessage()
func (*StreamOutSpec) Reset ¶
func (m *StreamOutSpec) Reset()
func (*StreamOutSpec) Size ¶
func (m *StreamOutSpec) Size() (n int)
func (*StreamOutSpec) String ¶
func (this *StreamOutSpec) String() string
func (*StreamOutSpec) Unmarshal ¶
func (m *StreamOutSpec) Unmarshal(dAtA []byte) error
type TTYSpec ¶
type TTYSpec struct {
WindowSize WindowSize `protobuf:"bytes,1,opt,name=WindowSize" json:"WindowSize"`
}
func (*TTYSpec) Descriptor ¶
func (*TTYSpec) GetWindowSize ¶
func (m *TTYSpec) GetWindowSize() WindowSize
func (*TTYSpec) ProtoMessage ¶
func (*TTYSpec) ProtoMessage()
type VContainerClient ¶
type VContainerClient interface {
// rpc Handle(google.protobuf.Empty) returns(string) {}
Run(ctx context.Context, in *ProcessSpec, opts ...grpc.CallOption) (*RunResponse, error)
Stop(ctx context.Context, in *StopMessage, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
Metrics(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (*Metrics, error)
// Sets the grace time.
SetGraceTime(ctx context.Context, in *google_protobuf2.Duration, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
// Properties returns the current set of properties
Properties(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (*Properties, error)
Info(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (*ContainerInfo, error)
NetIn(ctx context.Context, in *NetInRequest, opts ...grpc.CallOption) (*NetInResponse, error)
NetOut(ctx context.Context, in *NetOutRuleRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
BulkNetOut(ctx context.Context, in *BulkNetOutRuleRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
// Property returns the value of the property with the specified name.
//
// Errors:
// * When the property does not exist on the container.
Property(ctx context.Context, in *google_protobuf1.StringValue, opts ...grpc.CallOption) (*google_protobuf1.StringValue, error)
// Set a named property on a container to a specified value.
//
// Errors:
// * None.
SetProperty(ctx context.Context, in *KeyValueMessage, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
StreamIn(ctx context.Context, opts ...grpc.CallOption) (VContainer_StreamInClient, error)
StreamOut(ctx context.Context, in *StreamOutSpec, opts ...grpc.CallOption) (VContainer_StreamOutClient, error)
// Remove a property with the specified name from a container.
//
// Errors:
// * None.
RemoveProperty(ctx context.Context, in *google_protobuf1.StringValue, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
CurrentMemoryLimit(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (*MemoryLimits, error)
CurrentCPULimit(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (*CPULimits, error)
}
func NewVContainerClient ¶
func NewVContainerClient(cc *grpc.ClientConn) VContainerClient
type VContainerClientConfig ¶
type VContainerClientConfig struct {
UseVContainer bool `protobuf:"varint,1,opt,name=UseVContainer,proto3" json:"use_vcontainer,omitempty" yaml:"use_vcontainer,omitempty"`
VContainerAddress string `protobuf:"bytes,2,opt,name=VContainerAddress,proto3" json:"vcontainer_address,omitempty" yaml:"vcontainer_address,omitempty"`
VContainerCACertFile string `` /* 137-byte string literal not displayed */
VContainerClientCertFile string `` /* 149-byte string literal not displayed */
VContainerClientKeyFile string `` /* 146-byte string literal not displayed */
}
func (*VContainerClientConfig) Descriptor ¶
func (*VContainerClientConfig) Descriptor() ([]byte, []int)
func (*VContainerClientConfig) Equal ¶
func (this *VContainerClientConfig) Equal(that interface{}) bool
func (*VContainerClientConfig) GetUseVContainer ¶
func (m *VContainerClientConfig) GetUseVContainer() bool
func (*VContainerClientConfig) GetVContainerAddress ¶
func (m *VContainerClientConfig) GetVContainerAddress() string
func (*VContainerClientConfig) GetVContainerCACertFile ¶
func (m *VContainerClientConfig) GetVContainerCACertFile() string
func (*VContainerClientConfig) GetVContainerClientCertFile ¶
func (m *VContainerClientConfig) GetVContainerClientCertFile() string
func (*VContainerClientConfig) GetVContainerClientKeyFile ¶
func (m *VContainerClientConfig) GetVContainerClientKeyFile() string
func (*VContainerClientConfig) GoString ¶
func (this *VContainerClientConfig) GoString() string
func (*VContainerClientConfig) Marshal ¶
func (m *VContainerClientConfig) Marshal() (dAtA []byte, err error)
func (*VContainerClientConfig) MarshalTo ¶
func (m *VContainerClientConfig) MarshalTo(dAtA []byte) (int, error)
func (*VContainerClientConfig) ProtoMessage ¶
func (*VContainerClientConfig) ProtoMessage()
func (*VContainerClientConfig) Reset ¶
func (m *VContainerClientConfig) Reset()
func (*VContainerClientConfig) Size ¶
func (m *VContainerClientConfig) Size() (n int)
func (*VContainerClientConfig) String ¶
func (this *VContainerClientConfig) String() string
func (*VContainerClientConfig) Unmarshal ¶
func (m *VContainerClientConfig) Unmarshal(dAtA []byte) error
type VContainerServer ¶
type VContainerServer interface {
// rpc Handle(google.protobuf.Empty) returns(string) {}
Run(context.Context, *ProcessSpec) (*RunResponse, error)
Stop(context.Context, *StopMessage) (*google_protobuf3.Empty, error)
Metrics(context.Context, *google_protobuf3.Empty) (*Metrics, error)
// Sets the grace time.
SetGraceTime(context.Context, *google_protobuf2.Duration) (*google_protobuf3.Empty, error)
// Properties returns the current set of properties
Properties(context.Context, *google_protobuf3.Empty) (*Properties, error)
Info(context.Context, *google_protobuf3.Empty) (*ContainerInfo, error)
NetIn(context.Context, *NetInRequest) (*NetInResponse, error)
NetOut(context.Context, *NetOutRuleRequest) (*google_protobuf3.Empty, error)
BulkNetOut(context.Context, *BulkNetOutRuleRequest) (*google_protobuf3.Empty, error)
// Property returns the value of the property with the specified name.
//
// Errors:
// * When the property does not exist on the container.
Property(context.Context, *google_protobuf1.StringValue) (*google_protobuf1.StringValue, error)
// Set a named property on a container to a specified value.
//
// Errors:
// * None.
SetProperty(context.Context, *KeyValueMessage) (*google_protobuf3.Empty, error)
StreamIn(VContainer_StreamInServer) error
StreamOut(*StreamOutSpec, VContainer_StreamOutServer) error
// Remove a property with the specified name from a container.
//
// Errors:
// * None.
RemoveProperty(context.Context, *google_protobuf1.StringValue) (*google_protobuf3.Empty, error)
CurrentMemoryLimit(context.Context, *google_protobuf3.Empty) (*MemoryLimits, error)
CurrentCPULimit(context.Context, *google_protobuf3.Empty) (*CPULimits, error)
}
type VContainer_StreamInClient ¶
type VContainer_StreamInClient interface {
Send(*StreamInSpec) error
CloseAndRecv() (*StreamInResponse, error)
grpc.ClientStream
}
type VContainer_StreamInServer ¶
type VContainer_StreamInServer interface {
SendAndClose(*StreamInResponse) error
Recv() (*StreamInSpec, error)
grpc.ServerStream
}
type VContainer_StreamOutClient ¶
type VContainer_StreamOutClient interface {
Recv() (*StreamOutResponse, error)
grpc.ClientStream
}
type VContainer_StreamOutServer ¶
type VContainer_StreamOutServer interface {
Send(*StreamOutResponse) error
grpc.ServerStream
}
type VGardenClient ¶
type VGardenClient interface {
Ping(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
Capacity(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (*Capacity, error)
Create(ctx context.Context, in *ContainerSpec, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
Destroy(ctx context.Context, in *google_protobuf1.StringValue, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
Containers(ctx context.Context, in *Properties, opts ...grpc.CallOption) (*ContainersResponse, error)
BulkInfo(ctx context.Context, in *BulkInfoRequest, opts ...grpc.CallOption) (*BulkInfoResponse, error)
BulkMetrics(ctx context.Context, in *BulkMetricsRequest, opts ...grpc.CallOption) (*BulkMetricsResponse, error)
// client always sends a big file to the server.
// rpc SendFile(stream BigFileChunk) returns (BigFileAck) {}
Lookup(ctx context.Context, in *google_protobuf1.StringValue, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
}
func NewVGardenClient ¶
func NewVGardenClient(cc *grpc.ClientConn) VGardenClient
type VGardenServer ¶
type VGardenServer interface {
Ping(context.Context, *google_protobuf3.Empty) (*google_protobuf3.Empty, error)
Capacity(context.Context, *google_protobuf3.Empty) (*Capacity, error)
Create(context.Context, *ContainerSpec) (*google_protobuf3.Empty, error)
Destroy(context.Context, *google_protobuf1.StringValue) (*google_protobuf3.Empty, error)
Containers(context.Context, *Properties) (*ContainersResponse, error)
BulkInfo(context.Context, *BulkInfoRequest) (*BulkInfoResponse, error)
BulkMetrics(context.Context, *BulkMetricsRequest) (*BulkMetricsResponse, error)
// client always sends a big file to the server.
// rpc SendFile(stream BigFileChunk) returns (BigFileAck) {}
Lookup(context.Context, *google_protobuf1.StringValue) (*google_protobuf3.Empty, error)
}
type VProcessClient ¶
type VProcessClient interface {
Signal(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
Wait(ctx context.Context, in *google_protobuf3.Empty, opts ...grpc.CallOption) (VProcess_WaitClient, error)
SetTTY(ctx context.Context, in *TTYSpec, opts ...grpc.CallOption) (*google_protobuf3.Empty, error)
}
func NewVProcessClient ¶
func NewVProcessClient(cc *grpc.ClientConn) VProcessClient
type VProcessServer ¶
type VProcessServer interface {
Signal(context.Context, *SignalRequest) (*google_protobuf3.Empty, error)
Wait(*google_protobuf3.Empty, VProcess_WaitServer) error
SetTTY(context.Context, *TTYSpec) (*google_protobuf3.Empty, error)
}
type VProcess_WaitClient ¶
type VProcess_WaitClient interface {
Recv() (*WaitResponse, error)
grpc.ClientStream
}
type VProcess_WaitServer ¶
type VProcess_WaitServer interface {
Send(*WaitResponse) error
grpc.ServerStream
}
type WaitResponse ¶
type WaitResponse struct {
Exited bool `protobuf:"varint,1,opt,name=Exited,proto3" json:"Exited,omitempty"`
ExitCode int32 `protobuf:"varint,2,opt,name=ExitCode,proto3" json:"ExitCode,omitempty"`
}
func (*WaitResponse) Descriptor ¶
func (*WaitResponse) Descriptor() ([]byte, []int)
func (*WaitResponse) Equal ¶
func (this *WaitResponse) Equal(that interface{}) bool
func (*WaitResponse) GetExitCode ¶
func (m *WaitResponse) GetExitCode() int32
func (*WaitResponse) GetExited ¶
func (m *WaitResponse) GetExited() bool
func (*WaitResponse) GoString ¶
func (this *WaitResponse) GoString() string
func (*WaitResponse) Marshal ¶
func (m *WaitResponse) Marshal() (dAtA []byte, err error)
func (*WaitResponse) ProtoMessage ¶
func (*WaitResponse) ProtoMessage()
func (*WaitResponse) Reset ¶
func (m *WaitResponse) Reset()
func (*WaitResponse) Size ¶
func (m *WaitResponse) Size() (n int)
func (*WaitResponse) String ¶
func (this *WaitResponse) String() string
func (*WaitResponse) Unmarshal ¶
func (m *WaitResponse) Unmarshal(dAtA []byte) error
type WindowSize ¶
type WindowSize struct {
Columns int32 `protobuf:"varint,1,opt,name=Columns,proto3" json:"Columns,omitempty"`
Rows int32 `protobuf:"varint,2,opt,name=Rows,proto3" json:"Rows,omitempty"`
}
func (*WindowSize) Descriptor ¶
func (*WindowSize) Descriptor() ([]byte, []int)
func (*WindowSize) Equal ¶
func (this *WindowSize) Equal(that interface{}) bool
func (*WindowSize) GetColumns ¶
func (m *WindowSize) GetColumns() int32
func (*WindowSize) GetRows ¶
func (m *WindowSize) GetRows() int32
func (*WindowSize) GoString ¶
func (this *WindowSize) GoString() string
func (*WindowSize) Marshal ¶
func (m *WindowSize) Marshal() (dAtA []byte, err error)
func (*WindowSize) ProtoMessage ¶
func (*WindowSize) ProtoMessage()
func (*WindowSize) Reset ¶
func (m *WindowSize) Reset()
func (*WindowSize) Size ¶
func (m *WindowSize) Size() (n int)
func (*WindowSize) String ¶
func (this *WindowSize) String() string
func (*WindowSize) Unmarshal ¶
func (m *WindowSize) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.