2016-12-01 20:36:19 +00:00
|
|
|
// Code generated by protoc-gen-gogo.
|
2016-12-01 22:25:03 +00:00
|
|
|
// source: execution.proto
|
2016-12-01 20:36:19 +00:00
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
2016-12-01 22:25:03 +00:00
|
|
|
Package execution is a generated protocol buffer package.
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
It is generated from these files:
|
2016-12-01 22:25:03 +00:00
|
|
|
execution.proto
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
Container
|
|
|
|
Process
|
|
|
|
ProcessSpec
|
|
|
|
User
|
2016-12-01 23:27:52 +00:00
|
|
|
CreateContainerRequest
|
|
|
|
CreateContainerResponse
|
|
|
|
StartContainerRequest
|
2016-12-01 20:36:19 +00:00
|
|
|
State
|
2016-12-01 23:27:52 +00:00
|
|
|
StartContainerResponse
|
|
|
|
DeleteContainerRequest
|
|
|
|
DeleteContainerResponse
|
2016-12-01 20:36:19 +00:00
|
|
|
ContainerListRequest
|
|
|
|
ContainerListResponse
|
2016-12-01 23:27:52 +00:00
|
|
|
StateContainerRequest
|
|
|
|
StateContainerResponse
|
|
|
|
UpdateContainerRequest
|
|
|
|
UpdateContainerResponse
|
|
|
|
PauseContainerRequest
|
|
|
|
PauseContainerResponse
|
|
|
|
ResumeContainerRequest
|
|
|
|
ResumeContainerResponse
|
2016-12-01 20:36:19 +00:00
|
|
|
CreateProcessRequest
|
|
|
|
CreateProcessResponse
|
|
|
|
StartProcessRequest
|
|
|
|
StartProcessResponse
|
|
|
|
ProcessStateRequest
|
|
|
|
ProcessStateResponse
|
|
|
|
SignalProcessRequest
|
|
|
|
SignalProcessResponse
|
|
|
|
DeleteProcessRequest
|
|
|
|
DeleteProcessResponse
|
|
|
|
ProcessListRequest
|
|
|
|
ProcessListResponse
|
|
|
|
EventsRequest
|
|
|
|
EventsResponse
|
|
|
|
*/
|
2016-12-01 22:25:03 +00:00
|
|
|
package execution
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
2016-12-01 23:27:52 +00:00
|
|
|
import containerd_v1 "github.com/docker/containerd/api/mount"
|
2016-12-01 20:36:19 +00:00
|
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
|
|
|
|
import strings "strings"
|
|
|
|
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
|
|
|
|
import sort "sort"
|
|
|
|
import strconv "strconv"
|
|
|
|
import reflect "reflect"
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "golang.org/x/net/context"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
)
|
|
|
|
|
|
|
|
import io "io"
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
2016-12-01 21:31:57 +00:00
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type Container struct {
|
2016-12-01 23:27:52 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Mounts []*containerd_v1.Mount `protobuf:"bytes,2,rep,name=mounts" json:"mounts,omitempty"`
|
|
|
|
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
|
|
Process *Process `protobuf:"bytes,4,opt,name=process" json:"process,omitempty"`
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Container) Reset() { *m = Container{} }
|
|
|
|
func (*Container) ProtoMessage() {}
|
2016-12-01 21:38:29 +00:00
|
|
|
func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{0} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type Process struct {
|
|
|
|
Pid uint64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
|
|
Args []string `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
|
|
|
|
Env []string `protobuf:"bytes,3,rep,name=env" json:"env,omitempty"`
|
|
|
|
User *User `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
|
|
|
|
Cwd string `protobuf:"bytes,5,opt,name=cwd,proto3" json:"cwd,omitempty"`
|
|
|
|
Terminal bool `protobuf:"varint,6,opt,name=terminal,proto3" json:"terminal,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Process) Reset() { *m = Process{} }
|
|
|
|
func (*Process) ProtoMessage() {}
|
2016-12-01 21:38:29 +00:00
|
|
|
func (*Process) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{1} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type ProcessSpec struct {
|
|
|
|
Args []string `protobuf:"bytes,1,rep,name=args" json:"args,omitempty"`
|
|
|
|
Env []string `protobuf:"bytes,2,rep,name=env" json:"env,omitempty"`
|
|
|
|
User *User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
|
|
|
|
Cwd string `protobuf:"bytes,4,opt,name=cwd,proto3" json:"cwd,omitempty"`
|
|
|
|
Terminal bool `protobuf:"varint,5,opt,name=terminal,proto3" json:"terminal,omitempty"`
|
|
|
|
Stdin string `protobuf:"bytes,6,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
|
|
|
Stdout string `protobuf:"bytes,7,opt,name=stdout,proto3" json:"stdout,omitempty"`
|
|
|
|
Stderr string `protobuf:"bytes,8,opt,name=stderr,proto3" json:"stderr,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessSpec) Reset() { *m = ProcessSpec{} }
|
|
|
|
func (*ProcessSpec) ProtoMessage() {}
|
2016-12-01 21:38:29 +00:00
|
|
|
func (*ProcessSpec) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{2} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type User struct {
|
|
|
|
Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
|
|
Gid uint32 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
|
2016-12-01 21:31:57 +00:00
|
|
|
AdditionalGids []uint32 `protobuf:"varint,3,rep,packed,name=additionalGids" json:"additionalGids,omitempty"`
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) Reset() { *m = User{} }
|
|
|
|
func (*User) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*User) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{3} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type CreateContainerRequest struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Process *ProcessSpec `protobuf:"bytes,2,opt,name=process" json:"process,omitempty"`
|
|
|
|
Mounts []*containerd_v1.Mount `protobuf:"bytes,3,rep,name=mounts" json:"mounts,omitempty"`
|
|
|
|
Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
|
|
ConfigPath string `protobuf:"bytes,5,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerRequest) Reset() { *m = CreateContainerRequest{} }
|
|
|
|
func (*CreateContainerRequest) ProtoMessage() {}
|
|
|
|
func (*CreateContainerRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{4} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type CreateContainerResponse struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
Container *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerResponse) Reset() { *m = CreateContainerResponse{} }
|
|
|
|
func (*CreateContainerResponse) ProtoMessage() {}
|
|
|
|
func (*CreateContainerResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{5} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type StartContainerRequest struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerRequest) Reset() { *m = StartContainerRequest{} }
|
|
|
|
func (*StartContainerRequest) ProtoMessage() {}
|
|
|
|
func (*StartContainerRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{6} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type State struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *State) Reset() { *m = State{} }
|
|
|
|
func (*State) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*State) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{7} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type StartContainerResponse struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
State *State `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerResponse) Reset() { *m = StartContainerResponse{} }
|
|
|
|
func (*StartContainerResponse) ProtoMessage() {}
|
|
|
|
func (*StartContainerResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{8} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type DeleteContainerRequest struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerRequest) Reset() { *m = DeleteContainerRequest{} }
|
|
|
|
func (*DeleteContainerRequest) ProtoMessage() {}
|
|
|
|
func (*DeleteContainerRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{9} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type DeleteContainerResponse struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerResponse) Reset() { *m = DeleteContainerResponse{} }
|
|
|
|
func (*DeleteContainerResponse) ProtoMessage() {}
|
|
|
|
func (*DeleteContainerResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptorExecution, []int{10}
|
|
|
|
}
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type ContainerListRequest struct {
|
|
|
|
Owner []string `protobuf:"bytes,1,rep,name=owner" json:"owner,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ContainerListRequest) Reset() { *m = ContainerListRequest{} }
|
|
|
|
func (*ContainerListRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*ContainerListRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{11} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type ContainerListResponse struct {
|
|
|
|
Containers []*Container `protobuf:"bytes,1,rep,name=containers" json:"containers,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ContainerListResponse) Reset() { *m = ContainerListResponse{} }
|
|
|
|
func (*ContainerListResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*ContainerListResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{12} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type StateContainerRequest struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerRequest) Reset() { *m = StateContainerRequest{} }
|
|
|
|
func (*StateContainerRequest) ProtoMessage() {}
|
|
|
|
func (*StateContainerRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{13} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type StateContainerResponse struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
Container *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerResponse) Reset() { *m = StateContainerResponse{} }
|
|
|
|
func (*StateContainerResponse) ProtoMessage() {}
|
|
|
|
func (*StateContainerResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{14} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type UpdateContainerRequest struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerRequest) Reset() { *m = UpdateContainerRequest{} }
|
|
|
|
func (*UpdateContainerRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateContainerRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{15} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type UpdateContainerResponse struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerResponse) Reset() { *m = UpdateContainerResponse{} }
|
|
|
|
func (*UpdateContainerResponse) ProtoMessage() {}
|
|
|
|
func (*UpdateContainerResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptorExecution, []int{16}
|
|
|
|
}
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type PauseContainerRequest struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerRequest) Reset() { *m = PauseContainerRequest{} }
|
|
|
|
func (*PauseContainerRequest) ProtoMessage() {}
|
|
|
|
func (*PauseContainerRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{17} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type PauseContainerResponse struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerResponse) Reset() { *m = PauseContainerResponse{} }
|
|
|
|
func (*PauseContainerResponse) ProtoMessage() {}
|
|
|
|
func (*PauseContainerResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{18} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type ResumeContainerRequest struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerRequest) Reset() { *m = ResumeContainerRequest{} }
|
|
|
|
func (*ResumeContainerRequest) ProtoMessage() {}
|
|
|
|
func (*ResumeContainerRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{19} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type ResumeContainerResponse struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerResponse) Reset() { *m = ResumeContainerResponse{} }
|
|
|
|
func (*ResumeContainerResponse) ProtoMessage() {}
|
|
|
|
func (*ResumeContainerResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptorExecution, []int{20}
|
|
|
|
}
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type CreateProcessRequest struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Spec *ProcessSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateProcessRequest) Reset() { *m = CreateProcessRequest{} }
|
|
|
|
func (*CreateProcessRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*CreateProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{21} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type CreateProcessResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateProcessResponse) Reset() { *m = CreateProcessResponse{} }
|
|
|
|
func (*CreateProcessResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*CreateProcessResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{22} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type StartProcessRequest struct {
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
|
|
|
|
Pid string `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StartProcessRequest) Reset() { *m = StartProcessRequest{} }
|
|
|
|
func (*StartProcessRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*StartProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{23} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type StartProcessResponse struct {
|
|
|
|
Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StartProcessResponse) Reset() { *m = StartProcessResponse{} }
|
|
|
|
func (*StartProcessResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*StartProcessResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{24} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type ProcessStateRequest struct {
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
|
|
|
|
Pid string `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessStateRequest) Reset() { *m = ProcessStateRequest{} }
|
|
|
|
func (*ProcessStateRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*ProcessStateRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{25} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type ProcessStateResponse struct {
|
|
|
|
State *State `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessStateResponse) Reset() { *m = ProcessStateResponse{} }
|
|
|
|
func (*ProcessStateResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*ProcessStateResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{26} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type SignalProcessRequest struct {
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
|
|
|
|
Pid string `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
|
|
Signal uint32 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SignalProcessRequest) Reset() { *m = SignalProcessRequest{} }
|
|
|
|
func (*SignalProcessRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*SignalProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{27} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type SignalProcessResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SignalProcessResponse) Reset() { *m = SignalProcessResponse{} }
|
|
|
|
func (*SignalProcessResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*SignalProcessResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{28} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type DeleteProcessRequest struct {
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
|
|
|
|
Pid string `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteProcessRequest) Reset() { *m = DeleteProcessRequest{} }
|
|
|
|
func (*DeleteProcessRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*DeleteProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{29} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type DeleteProcessResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteProcessResponse) Reset() { *m = DeleteProcessResponse{} }
|
|
|
|
func (*DeleteProcessResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*DeleteProcessResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{30} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type ProcessListRequest struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessListRequest) Reset() { *m = ProcessListRequest{} }
|
|
|
|
func (*ProcessListRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*ProcessListRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{31} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type ProcessListResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessListResponse) Reset() { *m = ProcessListResponse{} }
|
|
|
|
func (*ProcessListResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*ProcessListResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{32} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type EventsRequest struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *EventsRequest) Reset() { *m = EventsRequest{} }
|
|
|
|
func (*EventsRequest) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*EventsRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{33} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
type EventsResponse struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *EventsResponse) Reset() { *m = EventsResponse{} }
|
|
|
|
func (*EventsResponse) ProtoMessage() {}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (*EventsResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{34} }
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Container)(nil), "containerd.v1.Container")
|
|
|
|
proto.RegisterType((*Process)(nil), "containerd.v1.Process")
|
|
|
|
proto.RegisterType((*ProcessSpec)(nil), "containerd.v1.ProcessSpec")
|
|
|
|
proto.RegisterType((*User)(nil), "containerd.v1.User")
|
2016-12-01 23:27:52 +00:00
|
|
|
proto.RegisterType((*CreateContainerRequest)(nil), "containerd.v1.CreateContainerRequest")
|
|
|
|
proto.RegisterType((*CreateContainerResponse)(nil), "containerd.v1.CreateContainerResponse")
|
|
|
|
proto.RegisterType((*StartContainerRequest)(nil), "containerd.v1.StartContainerRequest")
|
2016-12-01 20:36:19 +00:00
|
|
|
proto.RegisterType((*State)(nil), "containerd.v1.State")
|
2016-12-01 23:27:52 +00:00
|
|
|
proto.RegisterType((*StartContainerResponse)(nil), "containerd.v1.StartContainerResponse")
|
|
|
|
proto.RegisterType((*DeleteContainerRequest)(nil), "containerd.v1.DeleteContainerRequest")
|
|
|
|
proto.RegisterType((*DeleteContainerResponse)(nil), "containerd.v1.DeleteContainerResponse")
|
2016-12-01 20:36:19 +00:00
|
|
|
proto.RegisterType((*ContainerListRequest)(nil), "containerd.v1.ContainerListRequest")
|
|
|
|
proto.RegisterType((*ContainerListResponse)(nil), "containerd.v1.ContainerListResponse")
|
2016-12-01 23:27:52 +00:00
|
|
|
proto.RegisterType((*StateContainerRequest)(nil), "containerd.v1.StateContainerRequest")
|
|
|
|
proto.RegisterType((*StateContainerResponse)(nil), "containerd.v1.StateContainerResponse")
|
|
|
|
proto.RegisterType((*UpdateContainerRequest)(nil), "containerd.v1.UpdateContainerRequest")
|
|
|
|
proto.RegisterType((*UpdateContainerResponse)(nil), "containerd.v1.UpdateContainerResponse")
|
|
|
|
proto.RegisterType((*PauseContainerRequest)(nil), "containerd.v1.PauseContainerRequest")
|
|
|
|
proto.RegisterType((*PauseContainerResponse)(nil), "containerd.v1.PauseContainerResponse")
|
|
|
|
proto.RegisterType((*ResumeContainerRequest)(nil), "containerd.v1.ResumeContainerRequest")
|
|
|
|
proto.RegisterType((*ResumeContainerResponse)(nil), "containerd.v1.ResumeContainerResponse")
|
2016-12-01 20:36:19 +00:00
|
|
|
proto.RegisterType((*CreateProcessRequest)(nil), "containerd.v1.CreateProcessRequest")
|
|
|
|
proto.RegisterType((*CreateProcessResponse)(nil), "containerd.v1.CreateProcessResponse")
|
|
|
|
proto.RegisterType((*StartProcessRequest)(nil), "containerd.v1.StartProcessRequest")
|
|
|
|
proto.RegisterType((*StartProcessResponse)(nil), "containerd.v1.StartProcessResponse")
|
|
|
|
proto.RegisterType((*ProcessStateRequest)(nil), "containerd.v1.ProcessStateRequest")
|
|
|
|
proto.RegisterType((*ProcessStateResponse)(nil), "containerd.v1.ProcessStateResponse")
|
|
|
|
proto.RegisterType((*SignalProcessRequest)(nil), "containerd.v1.SignalProcessRequest")
|
|
|
|
proto.RegisterType((*SignalProcessResponse)(nil), "containerd.v1.SignalProcessResponse")
|
|
|
|
proto.RegisterType((*DeleteProcessRequest)(nil), "containerd.v1.DeleteProcessRequest")
|
|
|
|
proto.RegisterType((*DeleteProcessResponse)(nil), "containerd.v1.DeleteProcessResponse")
|
|
|
|
proto.RegisterType((*ProcessListRequest)(nil), "containerd.v1.ProcessListRequest")
|
|
|
|
proto.RegisterType((*ProcessListResponse)(nil), "containerd.v1.ProcessListResponse")
|
|
|
|
proto.RegisterType((*EventsRequest)(nil), "containerd.v1.EventsRequest")
|
|
|
|
proto.RegisterType((*EventsResponse)(nil), "containerd.v1.EventsResponse")
|
|
|
|
}
|
|
|
|
func (this *Container) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 8)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.Container{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
if this.Mounts != nil {
|
|
|
|
s = append(s, "Mounts: "+fmt.Sprintf("%#v", this.Mounts)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "Owner: "+fmt.Sprintf("%#v", this.Owner)+",\n")
|
|
|
|
if this.Process != nil {
|
|
|
|
s = append(s, "Process: "+fmt.Sprintf("%#v", this.Process)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *Process) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 10)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.Process{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Pid: "+fmt.Sprintf("%#v", this.Pid)+",\n")
|
|
|
|
s = append(s, "Args: "+fmt.Sprintf("%#v", this.Args)+",\n")
|
|
|
|
s = append(s, "Env: "+fmt.Sprintf("%#v", this.Env)+",\n")
|
|
|
|
if this.User != nil {
|
|
|
|
s = append(s, "User: "+fmt.Sprintf("%#v", this.User)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "Cwd: "+fmt.Sprintf("%#v", this.Cwd)+",\n")
|
|
|
|
s = append(s, "Terminal: "+fmt.Sprintf("%#v", this.Terminal)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *ProcessSpec) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 12)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.ProcessSpec{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Args: "+fmt.Sprintf("%#v", this.Args)+",\n")
|
|
|
|
s = append(s, "Env: "+fmt.Sprintf("%#v", this.Env)+",\n")
|
|
|
|
if this.User != nil {
|
|
|
|
s = append(s, "User: "+fmt.Sprintf("%#v", this.User)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "Cwd: "+fmt.Sprintf("%#v", this.Cwd)+",\n")
|
|
|
|
s = append(s, "Terminal: "+fmt.Sprintf("%#v", this.Terminal)+",\n")
|
|
|
|
s = append(s, "Stdin: "+fmt.Sprintf("%#v", this.Stdin)+",\n")
|
|
|
|
s = append(s, "Stdout: "+fmt.Sprintf("%#v", this.Stdout)+",\n")
|
|
|
|
s = append(s, "Stderr: "+fmt.Sprintf("%#v", this.Stderr)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *User) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 7)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.User{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Uid: "+fmt.Sprintf("%#v", this.Uid)+",\n")
|
|
|
|
s = append(s, "Gid: "+fmt.Sprintf("%#v", this.Gid)+",\n")
|
|
|
|
s = append(s, "AdditionalGids: "+fmt.Sprintf("%#v", this.AdditionalGids)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *CreateContainerRequest) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 9)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.CreateContainerRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
if this.Process != nil {
|
|
|
|
s = append(s, "Process: "+fmt.Sprintf("%#v", this.Process)+",\n")
|
|
|
|
}
|
|
|
|
if this.Mounts != nil {
|
|
|
|
s = append(s, "Mounts: "+fmt.Sprintf("%#v", this.Mounts)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "Owner: "+fmt.Sprintf("%#v", this.Owner)+",\n")
|
|
|
|
s = append(s, "ConfigPath: "+fmt.Sprintf("%#v", this.ConfigPath)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *CreateContainerResponse) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.CreateContainerResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
if this.Container != nil {
|
|
|
|
s = append(s, "Container: "+fmt.Sprintf("%#v", this.Container)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StartContainerRequest) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.StartContainerRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *State) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.State{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StartContainerResponse) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.StartContainerResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
if this.State != nil {
|
|
|
|
s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *DeleteContainerRequest) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.DeleteContainerRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *DeleteContainerResponse) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.DeleteContainerResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *ContainerListRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.ContainerListRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Owner: "+fmt.Sprintf("%#v", this.Owner)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *ContainerListResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.ContainerListResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
if this.Containers != nil {
|
|
|
|
s = append(s, "Containers: "+fmt.Sprintf("%#v", this.Containers)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StateContainerRequest) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.StateContainerRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StateContainerResponse) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.StateContainerResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
if this.Container != nil {
|
|
|
|
s = append(s, "Container: "+fmt.Sprintf("%#v", this.Container)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *UpdateContainerRequest) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.UpdateContainerRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *UpdateContainerResponse) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.UpdateContainerResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *PauseContainerRequest) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.PauseContainerRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *PauseContainerResponse) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.PauseContainerResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *ResumeContainerRequest) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.ResumeContainerRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *ResumeContainerResponse) GoString() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 23:27:52 +00:00
|
|
|
s = append(s, "&execution.ResumeContainerResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *CreateProcessRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 6)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.CreateProcessRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
if this.Spec != nil {
|
|
|
|
s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *CreateProcessResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.CreateProcessResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *StartProcessRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 6)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.StartProcessRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Cid: "+fmt.Sprintf("%#v", this.Cid)+",\n")
|
|
|
|
s = append(s, "Pid: "+fmt.Sprintf("%#v", this.Pid)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *StartProcessResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.StartProcessResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Pid: "+fmt.Sprintf("%#v", this.Pid)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *ProcessStateRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 6)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.ProcessStateRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Cid: "+fmt.Sprintf("%#v", this.Cid)+",\n")
|
|
|
|
s = append(s, "Pid: "+fmt.Sprintf("%#v", this.Pid)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *ProcessStateResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.ProcessStateResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
if this.State != nil {
|
|
|
|
s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n")
|
|
|
|
}
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *SignalProcessRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 7)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.SignalProcessRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Cid: "+fmt.Sprintf("%#v", this.Cid)+",\n")
|
|
|
|
s = append(s, "Pid: "+fmt.Sprintf("%#v", this.Pid)+",\n")
|
|
|
|
s = append(s, "Signal: "+fmt.Sprintf("%#v", this.Signal)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *SignalProcessResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.SignalProcessResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *DeleteProcessRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 6)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.DeleteProcessRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "Cid: "+fmt.Sprintf("%#v", this.Cid)+",\n")
|
|
|
|
s = append(s, "Pid: "+fmt.Sprintf("%#v", this.Pid)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *DeleteProcessResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.DeleteProcessResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *ProcessListRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 5)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.ProcessListRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
|
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *ProcessListResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.ProcessListResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *EventsRequest) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.EventsRequest{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
|
|
|
func (this *EventsResponse) GoString() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := make([]string, 0, 4)
|
2016-12-01 22:25:03 +00:00
|
|
|
s = append(s, "&execution.EventsResponse{")
|
2016-12-01 20:36:19 +00:00
|
|
|
s = append(s, "}")
|
|
|
|
return strings.Join(s, "")
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func valueToGoStringExecution(v interface{}, typ string) string {
|
2016-12-01 20:36:19 +00:00
|
|
|
rv := reflect.ValueOf(v)
|
|
|
|
if rv.IsNil() {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
pv := reflect.Indirect(rv).Interface()
|
|
|
|
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func extensionToGoStringExecution(m github_com_gogo_protobuf_proto.Message) string {
|
2016-12-01 21:31:57 +00:00
|
|
|
e := github_com_gogo_protobuf_proto.GetUnsafeExtensionsMap(m)
|
2016-12-01 20:36:19 +00:00
|
|
|
if e == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
s := "proto.NewUnsafeXXX_InternalExtensions(map[int32]proto.Extension{"
|
2016-12-01 20:36:19 +00:00
|
|
|
keys := make([]int, 0, len(e))
|
|
|
|
for k := range e {
|
|
|
|
keys = append(keys, int(k))
|
|
|
|
}
|
|
|
|
sort.Ints(keys)
|
|
|
|
ss := []string{}
|
|
|
|
for _, k := range keys {
|
|
|
|
ss = append(ss, strconv.Itoa(k)+": "+e[int32(k)].GoString())
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
s += strings.Join(ss, ",") + "})"
|
2016-12-01 20:36:19 +00:00
|
|
|
return s
|
|
|
|
}
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
|
|
|
var _ grpc.ClientConn
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
// Client API for Execution service
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type ExecutionClient interface {
|
|
|
|
CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error)
|
|
|
|
StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*StartContainerResponse, error)
|
|
|
|
DeleteContainer(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*DeleteContainerResponse, error)
|
|
|
|
StateContainer(ctx context.Context, in *StateContainerRequest, opts ...grpc.CallOption) (*StateContainerResponse, error)
|
|
|
|
UpdateContainer(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (*UpdateContainerResponse, error)
|
|
|
|
PauseContainer(ctx context.Context, in *PauseContainerRequest, opts ...grpc.CallOption) (*PauseContainerResponse, error)
|
|
|
|
ResumeContainer(ctx context.Context, in *ResumeContainerRequest, opts ...grpc.CallOption) (*ResumeContainerResponse, error)
|
2016-12-01 20:36:19 +00:00
|
|
|
ContainerList(ctx context.Context, in *ContainerListRequest, opts ...grpc.CallOption) (*ContainerListResponse, error)
|
|
|
|
CreateProcess(ctx context.Context, in *CreateProcessRequest, opts ...grpc.CallOption) (*CreateProcessResponse, error)
|
|
|
|
StartProcess(ctx context.Context, in *StartProcessRequest, opts ...grpc.CallOption) (*StartProcessResponse, error)
|
|
|
|
ProcessState(ctx context.Context, in *ProcessStateRequest, opts ...grpc.CallOption) (*ProcessStateResponse, error)
|
|
|
|
SignalProcess(ctx context.Context, in *SignalProcessRequest, opts ...grpc.CallOption) (*SignalProcessResponse, error)
|
|
|
|
DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteProcessResponse, error)
|
|
|
|
ProcessList(ctx context.Context, in *ProcessListRequest, opts ...grpc.CallOption) (*ProcessListResponse, error)
|
2016-12-01 23:27:52 +00:00
|
|
|
Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (Execution_EventsClient, error)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type executionClient struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func NewExecutionClient(cc *grpc.ClientConn) ExecutionClient {
|
|
|
|
return &executionClient{cc}
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) {
|
|
|
|
out := new(CreateContainerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/CreateContainer", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*StartContainerResponse, error) {
|
|
|
|
out := new(StartContainerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/StartContainer", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) DeleteContainer(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*DeleteContainerResponse, error) {
|
|
|
|
out := new(DeleteContainerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/DeleteContainer", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) StateContainer(ctx context.Context, in *StateContainerRequest, opts ...grpc.CallOption) (*StateContainerResponse, error) {
|
|
|
|
out := new(StateContainerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/StateContainer", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) UpdateContainer(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (*UpdateContainerResponse, error) {
|
|
|
|
out := new(UpdateContainerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/UpdateContainer", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) PauseContainer(ctx context.Context, in *PauseContainerRequest, opts ...grpc.CallOption) (*PauseContainerResponse, error) {
|
|
|
|
out := new(PauseContainerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/PauseContainer", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) ResumeContainer(ctx context.Context, in *ResumeContainerRequest, opts ...grpc.CallOption) (*ResumeContainerResponse, error) {
|
|
|
|
out := new(ResumeContainerResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/ResumeContainer", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) ContainerList(ctx context.Context, in *ContainerListRequest, opts ...grpc.CallOption) (*ContainerListResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
out := new(ContainerListResponse)
|
2016-12-01 23:27:52 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/ContainerList", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) CreateProcess(ctx context.Context, in *CreateProcessRequest, opts ...grpc.CallOption) (*CreateProcessResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
out := new(CreateProcessResponse)
|
2016-12-01 23:27:52 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/CreateProcess", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) StartProcess(ctx context.Context, in *StartProcessRequest, opts ...grpc.CallOption) (*StartProcessResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
out := new(StartProcessResponse)
|
2016-12-01 23:27:52 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/StartProcess", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) ProcessState(ctx context.Context, in *ProcessStateRequest, opts ...grpc.CallOption) (*ProcessStateResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
out := new(ProcessStateResponse)
|
2016-12-01 23:27:52 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/ProcessState", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) SignalProcess(ctx context.Context, in *SignalProcessRequest, opts ...grpc.CallOption) (*SignalProcessResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
out := new(SignalProcessResponse)
|
2016-12-01 23:27:52 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/SignalProcess", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteProcessResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
out := new(DeleteProcessResponse)
|
2016-12-01 23:27:52 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/DeleteProcess", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) ProcessList(ctx context.Context, in *ProcessListRequest, opts ...grpc.CallOption) (*ProcessListResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
out := new(ProcessListResponse)
|
2016-12-01 23:27:52 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.Execution/ProcessList", in, out, c.cc, opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (c *executionClient) Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (Execution_EventsClient, error) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_Execution_serviceDesc.Streams[0], c.cc, "/containerd.v1.Execution/Events", opts...)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
x := &executionEventsClient{stream}
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type Execution_EventsClient interface {
|
2016-12-01 20:36:19 +00:00
|
|
|
Recv() (*EventsResponse, error)
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type executionEventsClient struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (x *executionEventsClient) Recv() (*EventsResponse, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
m := new(EventsResponse)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
// Server API for Execution service
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type ExecutionServer interface {
|
|
|
|
CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
|
|
|
|
StartContainer(context.Context, *StartContainerRequest) (*StartContainerResponse, error)
|
|
|
|
DeleteContainer(context.Context, *DeleteContainerRequest) (*DeleteContainerResponse, error)
|
|
|
|
StateContainer(context.Context, *StateContainerRequest) (*StateContainerResponse, error)
|
|
|
|
UpdateContainer(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error)
|
|
|
|
PauseContainer(context.Context, *PauseContainerRequest) (*PauseContainerResponse, error)
|
|
|
|
ResumeContainer(context.Context, *ResumeContainerRequest) (*ResumeContainerResponse, error)
|
2016-12-01 20:36:19 +00:00
|
|
|
ContainerList(context.Context, *ContainerListRequest) (*ContainerListResponse, error)
|
|
|
|
CreateProcess(context.Context, *CreateProcessRequest) (*CreateProcessResponse, error)
|
|
|
|
StartProcess(context.Context, *StartProcessRequest) (*StartProcessResponse, error)
|
|
|
|
ProcessState(context.Context, *ProcessStateRequest) (*ProcessStateResponse, error)
|
|
|
|
SignalProcess(context.Context, *SignalProcessRequest) (*SignalProcessResponse, error)
|
|
|
|
DeleteProcess(context.Context, *DeleteProcessRequest) (*DeleteProcessResponse, error)
|
|
|
|
ProcessList(context.Context, *ProcessListRequest) (*ProcessListResponse, error)
|
2016-12-01 23:27:52 +00:00
|
|
|
Events(*EventsRequest, Execution_EventsServer) error
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func RegisterExecutionServer(s *grpc.Server, srv ExecutionServer) {
|
|
|
|
s.RegisterService(&_Execution_serviceDesc, srv)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_CreateContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(CreateContainerRequest)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).CreateContainer(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/CreateContainer",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).CreateContainer(ctx, req.(*CreateContainerRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_StartContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(StartContainerRequest)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).StartContainer(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/StartContainer",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).StartContainer(ctx, req.(*StartContainerRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_DeleteContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(DeleteContainerRequest)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).DeleteContainer(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/DeleteContainer",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).DeleteContainer(ctx, req.(*DeleteContainerRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_StateContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(StateContainerRequest)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).StateContainer(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/StateContainer",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).StateContainer(ctx, req.(*StateContainerRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_UpdateContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UpdateContainerRequest)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).UpdateContainer(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/UpdateContainer",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).UpdateContainer(ctx, req.(*UpdateContainerRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_PauseContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(PauseContainerRequest)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).PauseContainer(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/PauseContainer",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).PauseContainer(ctx, req.(*PauseContainerRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_ResumeContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ResumeContainerRequest)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ResumeContainer(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/ResumeContainer",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ResumeContainer(ctx, req.(*ResumeContainerRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_ContainerList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
in := new(ContainerListRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ContainerList(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/ContainerList",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ContainerList(ctx, req.(*ContainerListRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_CreateProcess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
in := new(CreateProcessRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).CreateProcess(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/CreateProcess",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).CreateProcess(ctx, req.(*CreateProcessRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_StartProcess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
in := new(StartProcessRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).StartProcess(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/StartProcess",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).StartProcess(ctx, req.(*StartProcessRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_ProcessState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
in := new(ProcessStateRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ProcessState(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/ProcessState",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ProcessState(ctx, req.(*ProcessStateRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_SignalProcess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
in := new(SignalProcessRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).SignalProcess(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/SignalProcess",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).SignalProcess(ctx, req.(*SignalProcessRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_DeleteProcess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
in := new(DeleteProcessRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).DeleteProcess(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/DeleteProcess",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).DeleteProcess(ctx, req.(*DeleteProcessRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_ProcessList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
in := new(ProcessListRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if interceptor == nil {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ProcessList(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2016-12-01 23:27:52 +00:00
|
|
|
FullMethod: "/containerd.v1.Execution/ProcessList",
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).ProcessList(ctx, req.(*ProcessListRequest))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func _Execution_Events_Handler(srv interface{}, stream grpc.ServerStream) error {
|
2016-12-01 20:36:19 +00:00
|
|
|
m := new(EventsRequest)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
return srv.(ExecutionServer).Events(m, &executionEventsServer{stream})
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type Execution_EventsServer interface {
|
2016-12-01 20:36:19 +00:00
|
|
|
Send(*EventsResponse) error
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
type executionEventsServer struct {
|
2016-12-01 20:36:19 +00:00
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (x *executionEventsServer) Send(m *EventsResponse) error {
|
2016-12-01 20:36:19 +00:00
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
var _Execution_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "containerd.v1.Execution",
|
|
|
|
HandlerType: (*ExecutionServer)(nil),
|
2016-12-01 20:36:19 +00:00
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
2016-12-01 23:27:52 +00:00
|
|
|
MethodName: "CreateContainer",
|
|
|
|
Handler: _Execution_CreateContainer_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
2016-12-01 23:27:52 +00:00
|
|
|
MethodName: "StartContainer",
|
|
|
|
Handler: _Execution_StartContainer_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
2016-12-01 23:27:52 +00:00
|
|
|
MethodName: "DeleteContainer",
|
|
|
|
Handler: _Execution_DeleteContainer_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
2016-12-01 23:27:52 +00:00
|
|
|
MethodName: "StateContainer",
|
|
|
|
Handler: _Execution_StateContainer_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
2016-12-01 23:27:52 +00:00
|
|
|
MethodName: "UpdateContainer",
|
|
|
|
Handler: _Execution_UpdateContainer_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
2016-12-01 23:27:52 +00:00
|
|
|
MethodName: "PauseContainer",
|
|
|
|
Handler: _Execution_PauseContainer_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
2016-12-01 23:27:52 +00:00
|
|
|
MethodName: "ResumeContainer",
|
|
|
|
Handler: _Execution_ResumeContainer_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ContainerList",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_ContainerList_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "CreateProcess",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_CreateProcess_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "StartProcess",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_StartProcess_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ProcessState",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_ProcessState_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SignalProcess",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_SignalProcess_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "DeleteProcess",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_DeleteProcess_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ProcessList",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_ProcessList_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{
|
|
|
|
{
|
|
|
|
StreamName: "Events",
|
2016-12-01 23:27:52 +00:00
|
|
|
Handler: _Execution_Events_Handler,
|
2016-12-01 20:36:19 +00:00
|
|
|
ServerStreams: true,
|
|
|
|
},
|
|
|
|
},
|
2016-12-01 22:25:03 +00:00
|
|
|
Metadata: "execution.proto",
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *Container) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *Container) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Mounts) > 0 {
|
|
|
|
for _, msg := range m.Mounts {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(msg.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Owner) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x1a
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Owner)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Owner)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Process != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x22
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Process.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n1, err := m.Process.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n1
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *Process) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *Process) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Pid != 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x8
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Args) > 0 {
|
|
|
|
for _, s := range m.Args {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2016-12-01 20:36:19 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Env) > 0 {
|
|
|
|
for _, s := range m.Env {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x1a
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2016-12-01 20:36:19 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.User != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x22
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.User.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n2, err := m.User.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n2
|
|
|
|
}
|
|
|
|
if len(m.Cwd) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x2a
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Cwd)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Cwd)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Terminal {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x30
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
|
|
|
if m.Terminal {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 1
|
2016-12-01 20:36:19 +00:00
|
|
|
} else {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessSpec) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessSpec) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Args) > 0 {
|
|
|
|
for _, s := range m.Args {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2016-12-01 20:36:19 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Env) > 0 {
|
|
|
|
for _, s := range m.Env {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2016-12-01 20:36:19 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.User != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x1a
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.User.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n3, err := m.User.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n3
|
|
|
|
}
|
|
|
|
if len(m.Cwd) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x22
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Cwd)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Cwd)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Terminal {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x28
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
|
|
|
if m.Terminal {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 1
|
2016-12-01 20:36:19 +00:00
|
|
|
} else {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
|
|
|
if len(m.Stdin) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x32
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdin)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Stdin)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Stdout) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x3a
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdout)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Stdout)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Stderr) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x42
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stderr)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Stderr)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *User) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *User) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Uid != 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x8
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Uid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Gid != 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x10
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Gid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.AdditionalGids) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA5 := make([]byte, len(m.AdditionalGids)*10)
|
|
|
|
var j4 int
|
2016-12-01 20:36:19 +00:00
|
|
|
for _, num := range m.AdditionalGids {
|
2016-12-01 21:31:57 +00:00
|
|
|
for num >= 1<<7 {
|
|
|
|
dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80)
|
|
|
|
num >>= 7
|
|
|
|
j4++
|
|
|
|
}
|
|
|
|
dAtA5[j4] = uint8(num)
|
|
|
|
j4++
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(j4))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], dAtA5[:j4])
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Process != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Process.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n6, err := m.Process.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
i += n6
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Mounts) > 0 {
|
|
|
|
for _, msg := range m.Mounts {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x1a
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(msg.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Owner) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x22
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Owner)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Owner)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.ConfigPath) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x2a
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ConfigPath)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ConfigPath)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Container != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Container.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n7, err := m.Container.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
i += n7
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *State) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *State) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.State != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.State.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n8, err := m.State.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
i += n8
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ContainerListRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ContainerListRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Owner) > 0 {
|
|
|
|
for _, s := range m.Owner {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2016-12-01 20:36:19 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ContainerListResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ContainerListResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Containers) > 0 {
|
|
|
|
for _, msg := range m.Containers {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(msg.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Container != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Container.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n9, err := m.Container.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
i += n9
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *CreateProcessRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *CreateProcessRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Spec != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Spec.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n10, err := m.Spec.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
i += n10
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *CreateProcessResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *CreateProcessResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *StartProcessRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *StartProcessRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Cid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Cid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Cid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Pid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Pid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Pid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *StartProcessResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *StartProcessResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Pid != 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x8
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessStateRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessStateRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Cid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Cid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Cid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Pid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Pid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Pid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessStateResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessStateResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.State != nil {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.State.Size()))
|
2016-12-01 21:31:57 +00:00
|
|
|
n11, err := m.State.MarshalTo(dAtA[i:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
i += n11
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *SignalProcessRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *SignalProcessRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Cid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Cid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Cid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Pid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Pid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Pid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Signal != 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x18
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Signal))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *SignalProcessResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *SignalProcessResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *DeleteProcessRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *DeleteProcessRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Cid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Cid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Cid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Pid) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0x12
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Pid)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.Pid)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *DeleteProcessResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *DeleteProcessResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessListRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessListRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[i] = 0xa
|
2016-12-01 20:36:19 +00:00
|
|
|
i++
|
2016-12-01 21:38:29 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
2016-12-01 21:31:57 +00:00
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessListResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessListResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *EventsRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *EventsRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *EventsResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
size := m.Size()
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *EventsResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:38:29 +00:00
|
|
|
func encodeFixed64Execution(dAtA []byte, offset int, v uint64) int {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[offset] = uint8(v)
|
|
|
|
dAtA[offset+1] = uint8(v >> 8)
|
|
|
|
dAtA[offset+2] = uint8(v >> 16)
|
|
|
|
dAtA[offset+3] = uint8(v >> 24)
|
|
|
|
dAtA[offset+4] = uint8(v >> 32)
|
|
|
|
dAtA[offset+5] = uint8(v >> 40)
|
|
|
|
dAtA[offset+6] = uint8(v >> 48)
|
|
|
|
dAtA[offset+7] = uint8(v >> 56)
|
2016-12-01 20:36:19 +00:00
|
|
|
return offset + 8
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func encodeFixed32Execution(dAtA []byte, offset int, v uint32) int {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[offset] = uint8(v)
|
|
|
|
dAtA[offset+1] = uint8(v >> 8)
|
|
|
|
dAtA[offset+2] = uint8(v >> 16)
|
|
|
|
dAtA[offset+3] = uint8(v >> 24)
|
2016-12-01 20:36:19 +00:00
|
|
|
return offset + 4
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func encodeVarintExecution(dAtA []byte, offset int, v uint64) int {
|
2016-12-01 20:36:19 +00:00
|
|
|
for v >= 1<<7 {
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
2016-12-01 20:36:19 +00:00
|
|
|
v >>= 7
|
|
|
|
offset++
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
dAtA[offset] = uint8(v)
|
2016-12-01 20:36:19 +00:00
|
|
|
return offset + 1
|
|
|
|
}
|
|
|
|
func (m *Container) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Mounts) > 0 {
|
|
|
|
for _, e := range m.Mounts {
|
|
|
|
l = e.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
l = len(m.Owner)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Process != nil {
|
|
|
|
l = m.Process.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Process) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Pid != 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Args) > 0 {
|
|
|
|
for _, s := range m.Args {
|
|
|
|
l = len(s)
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Env) > 0 {
|
|
|
|
for _, s := range m.Env {
|
|
|
|
l = len(s)
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.User != nil {
|
|
|
|
l = m.User.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Cwd)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Terminal {
|
|
|
|
n += 2
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessSpec) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Args) > 0 {
|
|
|
|
for _, s := range m.Args {
|
|
|
|
l = len(s)
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Env) > 0 {
|
|
|
|
for _, s := range m.Env {
|
|
|
|
l = len(s)
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.User != nil {
|
|
|
|
l = m.User.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Cwd)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Terminal {
|
|
|
|
n += 2
|
|
|
|
}
|
|
|
|
l = len(m.Stdin)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Stdout)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Stderr)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Uid != 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + sovExecution(uint64(m.Uid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Gid != 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + sovExecution(uint64(m.Gid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.AdditionalGids) > 0 {
|
2016-12-01 21:31:57 +00:00
|
|
|
l = 0
|
2016-12-01 20:36:19 +00:00
|
|
|
for _, e := range m.AdditionalGids {
|
2016-12-01 21:38:29 +00:00
|
|
|
l += sovExecution(uint64(e))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + sovExecution(uint64(l)) + l
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerRequest) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Process != nil {
|
|
|
|
l = m.Process.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if len(m.Mounts) > 0 {
|
|
|
|
for _, e := range m.Mounts {
|
|
|
|
l = e.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
l = len(m.Owner)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.ConfigPath)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerResponse) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Container != nil {
|
|
|
|
l = m.Container.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerRequest) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *State) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerResponse) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.State != nil {
|
|
|
|
l = m.State.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerRequest) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerResponse) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ContainerListRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Owner) > 0 {
|
|
|
|
for _, s := range m.Owner {
|
|
|
|
l = len(s)
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ContainerListResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Containers) > 0 {
|
|
|
|
for _, e := range m.Containers {
|
|
|
|
l = e.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerRequest) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerResponse) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Container != nil {
|
|
|
|
l = m.Container.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerRequest) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerResponse) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerRequest) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerResponse) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerRequest) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerResponse) Size() (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateProcessRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Spec != nil {
|
|
|
|
l = m.Spec.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateProcessResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StartProcessRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Cid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Pid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StartProcessResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Pid != 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessStateRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Cid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Pid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessStateResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.State != nil {
|
|
|
|
l = m.State.Size()
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SignalProcessRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Cid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Pid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if m.Signal != 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + sovExecution(uint64(m.Signal))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SignalProcessResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteProcessRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Cid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
l = len(m.Pid)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteProcessResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessListRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessListResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *EventsRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *EventsResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:38:29 +00:00
|
|
|
func sovExecution(x uint64) (n int) {
|
2016-12-01 20:36:19 +00:00
|
|
|
for {
|
|
|
|
n++
|
|
|
|
x >>= 7
|
|
|
|
if x == 0 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func sozExecution(x uint64) (n int) {
|
|
|
|
return sovExecution(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
func (this *Container) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Container{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
2016-12-01 23:27:52 +00:00
|
|
|
`Mounts:` + strings.Replace(fmt.Sprintf("%v", this.Mounts), "Mount", "containerd_v1.Mount", 1) + `,`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
|
|
`Process:` + strings.Replace(fmt.Sprintf("%v", this.Process), "Process", "Process", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *Process) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&Process{`,
|
|
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
|
|
`Args:` + fmt.Sprintf("%v", this.Args) + `,`,
|
|
|
|
`Env:` + fmt.Sprintf("%v", this.Env) + `,`,
|
|
|
|
`User:` + strings.Replace(fmt.Sprintf("%v", this.User), "User", "User", 1) + `,`,
|
|
|
|
`Cwd:` + fmt.Sprintf("%v", this.Cwd) + `,`,
|
|
|
|
`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ProcessSpec) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ProcessSpec{`,
|
|
|
|
`Args:` + fmt.Sprintf("%v", this.Args) + `,`,
|
|
|
|
`Env:` + fmt.Sprintf("%v", this.Env) + `,`,
|
|
|
|
`User:` + strings.Replace(fmt.Sprintf("%v", this.User), "User", "User", 1) + `,`,
|
|
|
|
`Cwd:` + fmt.Sprintf("%v", this.Cwd) + `,`,
|
|
|
|
`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
|
|
|
|
`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
|
|
|
|
`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
|
|
|
|
`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *User) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&User{`,
|
|
|
|
`Uid:` + fmt.Sprintf("%v", this.Uid) + `,`,
|
|
|
|
`Gid:` + fmt.Sprintf("%v", this.Gid) + `,`,
|
|
|
|
`AdditionalGids:` + fmt.Sprintf("%v", this.AdditionalGids) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *CreateContainerRequest) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&CreateContainerRequest{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`Process:` + strings.Replace(fmt.Sprintf("%v", this.Process), "ProcessSpec", "ProcessSpec", 1) + `,`,
|
2016-12-01 23:27:52 +00:00
|
|
|
`Mounts:` + strings.Replace(fmt.Sprintf("%v", this.Mounts), "Mount", "containerd_v1.Mount", 1) + `,`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
|
|
`ConfigPath:` + fmt.Sprintf("%v", this.ConfigPath) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *CreateContainerResponse) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&CreateContainerResponse{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`Container:` + strings.Replace(fmt.Sprintf("%v", this.Container), "Container", "Container", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StartContainerRequest) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&StartContainerRequest{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *State) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&State{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StartContainerResponse) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&StartContainerResponse{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`State:` + strings.Replace(fmt.Sprintf("%v", this.State), "State", "State", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *DeleteContainerRequest) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&DeleteContainerRequest{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *DeleteContainerResponse) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&DeleteContainerResponse{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ContainerListRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ContainerListRequest{`,
|
|
|
|
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ContainerListResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ContainerListResponse{`,
|
|
|
|
`Containers:` + strings.Replace(fmt.Sprintf("%v", this.Containers), "Container", "Container", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StateContainerRequest) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&StateContainerRequest{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *StateContainerResponse) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&StateContainerResponse{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`Container:` + strings.Replace(fmt.Sprintf("%v", this.Container), "Container", "Container", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *UpdateContainerRequest) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&UpdateContainerRequest{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *UpdateContainerResponse) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&UpdateContainerResponse{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *PauseContainerRequest) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&PauseContainerRequest{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *PauseContainerResponse) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&PauseContainerResponse{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *ResumeContainerRequest) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&ResumeContainerRequest{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (this *ResumeContainerResponse) String() string {
|
2016-12-01 20:36:19 +00:00
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
s := strings.Join([]string{`&ResumeContainerResponse{`,
|
2016-12-01 20:36:19 +00:00
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *CreateProcessRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&CreateProcessRequest{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ProcessSpec", "ProcessSpec", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *CreateProcessResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&CreateProcessResponse{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StartProcessRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StartProcessRequest{`,
|
|
|
|
`Cid:` + fmt.Sprintf("%v", this.Cid) + `,`,
|
|
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StartProcessResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StartProcessResponse{`,
|
|
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ProcessStateRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ProcessStateRequest{`,
|
|
|
|
`Cid:` + fmt.Sprintf("%v", this.Cid) + `,`,
|
|
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ProcessStateResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ProcessStateResponse{`,
|
|
|
|
`State:` + strings.Replace(fmt.Sprintf("%v", this.State), "State", "State", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *SignalProcessRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&SignalProcessRequest{`,
|
|
|
|
`Cid:` + fmt.Sprintf("%v", this.Cid) + `,`,
|
|
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
|
|
`Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *SignalProcessResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&SignalProcessResponse{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeleteProcessRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DeleteProcessRequest{`,
|
|
|
|
`Cid:` + fmt.Sprintf("%v", this.Cid) + `,`,
|
|
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeleteProcessResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DeleteProcessResponse{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ProcessListRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ProcessListRequest{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ProcessListResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ProcessListResponse{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *EventsRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&EventsRequest{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *EventsResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&EventsResponse{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func valueToStringExecution(v interface{}) string {
|
2016-12-01 20:36:19 +00:00
|
|
|
rv := reflect.ValueOf(v)
|
|
|
|
if rv.IsNil() {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
pv := reflect.Indirect(rv).Interface()
|
|
|
|
return fmt.Sprintf("*%v", pv)
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *Container) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Container: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Container: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Mounts", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
m.Mounts = append(m.Mounts, &containerd_v1.Mount{})
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Mounts[len(m.Mounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Process", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Process == nil {
|
|
|
|
m.Process = &Process{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Process.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *Process) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Process: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Process: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
|
|
|
}
|
|
|
|
m.Pid = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Pid |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Env = append(m.Env, string(dAtA[iNdEx:postIndex]))
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.User == nil {
|
|
|
|
m.User = &User{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cwd", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Cwd = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Terminal", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Terminal = bool(v != 0)
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessSpec) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ProcessSpec: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ProcessSpec: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Env = append(m.Env, string(dAtA[iNdEx:postIndex]))
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.User == nil {
|
|
|
|
m.User = &User{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cwd", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Cwd = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Terminal", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Terminal = bool(v != 0)
|
|
|
|
case 6:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Stdin = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 7:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Stdout = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 8:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Stderr = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *User) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: User: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: User: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
|
|
|
|
}
|
|
|
|
m.Uid = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Uid |= (uint32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Gid", wireType)
|
|
|
|
}
|
|
|
|
m.Gid = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Gid |= (uint32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 3:
|
2016-12-01 21:31:57 +00:00
|
|
|
if wireType == 2 {
|
|
|
|
var packedLen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
packedLen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if packedLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + packedLen
|
|
|
|
if postIndex > l {
|
2016-12-01 20:36:19 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
for iNdEx < postIndex {
|
|
|
|
var v uint32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
v |= (uint32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.AdditionalGids = append(m.AdditionalGids, v)
|
|
|
|
}
|
|
|
|
} else if wireType == 0 {
|
|
|
|
var v uint32
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
v |= (uint32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.AdditionalGids = append(m.AdditionalGids, v)
|
|
|
|
} else {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AdditionalGids", wireType)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: CreateContainerRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: CreateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Process", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Process == nil {
|
|
|
|
m.Process = &ProcessSpec{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Process.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Mounts", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
m.Mounts = append(m.Mounts, &containerd_v1.Mount{})
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Mounts[len(m.Mounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Owner = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ConfigPath", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ConfigPath = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *CreateContainerResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: CreateContainerResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: CreateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Container == nil {
|
|
|
|
m.Container = &Container{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StartContainerRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StartContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *State) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: State: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: State: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StartContainerResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StartContainerResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StartContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.State == nil {
|
|
|
|
m.State = &State{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: DeleteContainerRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: DeleteContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *DeleteContainerResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: DeleteContainerResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: DeleteContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ContainerListRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ContainerListRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ContainerListRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Owner = append(m.Owner, string(dAtA[iNdEx:postIndex]))
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ContainerListResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ContainerListResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ContainerListResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Containers = append(m.Containers, &Container{})
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StateContainerRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *StateContainerResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StateContainerResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: StateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Container == nil {
|
|
|
|
m.Container = &Container{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: UpdateContainerRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: UpdateContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *UpdateContainerResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: UpdateContainerResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: UpdateContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: PauseContainerRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: PauseContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *PauseContainerResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: PauseContainerResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: PauseContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: ResumeContainerRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: ResumeContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 23:27:52 +00:00
|
|
|
func (m *ResumeContainerResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: ResumeContainerResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2016-12-01 23:27:52 +00:00
|
|
|
return fmt.Errorf("proto: ResumeContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *CreateProcessRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: CreateProcessRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: CreateProcessRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Spec == nil {
|
|
|
|
m.Spec = &ProcessSpec{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *CreateProcessResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: CreateProcessResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: CreateProcessResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *StartProcessRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StartProcessRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StartProcessRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Cid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Pid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *StartProcessResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: StartProcessResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: StartProcessResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
|
|
|
}
|
|
|
|
m.Pid = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Pid |= (uint32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessStateRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ProcessStateRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ProcessStateRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Cid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Pid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessStateResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ProcessStateResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ProcessStateResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.State == nil {
|
|
|
|
m.State = &State{}
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-01 20:36:19 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *SignalProcessRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: SignalProcessRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: SignalProcessRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Cid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Pid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Signal", wireType)
|
|
|
|
}
|
|
|
|
m.Signal = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Signal |= (uint32(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *SignalProcessResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: SignalProcessResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: SignalProcessResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *DeleteProcessRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: DeleteProcessRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: DeleteProcessRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Cid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.Pid = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *DeleteProcessResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: DeleteProcessResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: DeleteProcessResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessListRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ProcessListRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ProcessListRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *ProcessListResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ProcessListResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ProcessListResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *EventsRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: EventsRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: EventsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
func (m *EventsResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: EventsResponse: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: EventsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func skipExecution(dAtA []byte) (n int, err error) {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
switch wireType {
|
|
|
|
case 0:
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx++
|
2016-12-01 21:31:57 +00:00
|
|
|
if dAtA[iNdEx-1] < 0x80 {
|
2016-12-01 20:36:19 +00:00
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 1:
|
|
|
|
iNdEx += 8
|
|
|
|
return iNdEx, nil
|
|
|
|
case 2:
|
|
|
|
var length int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
length |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
iNdEx += length
|
|
|
|
if length < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 3:
|
|
|
|
for {
|
|
|
|
var innerWire uint64
|
|
|
|
var start int = iNdEx
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
innerWireType := int(innerWire & 0x7)
|
|
|
|
if innerWireType == 4 {
|
|
|
|
break
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
next, err := skipExecution(dAtA[start:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
iNdEx = start + next
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 4:
|
|
|
|
return iNdEx, nil
|
|
|
|
case 5:
|
|
|
|
iNdEx += 4
|
|
|
|
return iNdEx, nil
|
|
|
|
default:
|
|
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
panic("unreachable")
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2016-12-01 21:38:29 +00:00
|
|
|
ErrInvalidLengthExecution = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
|
|
ErrIntOverflowExecution = fmt.Errorf("proto: integer overflow")
|
2016-12-01 20:36:19 +00:00
|
|
|
)
|
|
|
|
|
2016-12-01 22:25:03 +00:00
|
|
|
func init() { proto.RegisterFile("execution.proto", fileDescriptorExecution) }
|
2016-12-01 21:38:29 +00:00
|
|
|
|
|
|
|
var fileDescriptorExecution = []byte{
|
2016-12-01 23:27:52 +00:00
|
|
|
// 1036 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x57, 0x5f, 0x6f, 0x1b, 0x45,
|
|
|
|
0x10, 0xef, 0xd9, 0x8e, 0x13, 0x8f, 0x71, 0x5c, 0x6d, 0x6c, 0xe7, 0xb0, 0x8a, 0x1b, 0xb6, 0x69,
|
|
|
|
0xb1, 0x50, 0xe5, 0x98, 0x80, 0x10, 0xe5, 0x31, 0x4d, 0x55, 0x21, 0x81, 0x94, 0x6e, 0x88, 0x90,
|
|
|
|
0x2a, 0x01, 0x39, 0x7c, 0x8b, 0x7b, 0x52, 0x72, 0x77, 0xdc, 0xad, 0x53, 0x1e, 0xf9, 0x18, 0xf0,
|
|
|
|
0x8d, 0x2a, 0xf1, 0xd2, 0x47, 0x9e, 0x10, 0xf1, 0x27, 0x80, 0x6f, 0x80, 0xf6, 0xcf, 0x5d, 0xee,
|
|
|
|
0x76, 0xd7, 0x89, 0x1d, 0xf5, 0x25, 0xda, 0x9d, 0x9b, 0xf9, 0xcd, 0xcc, 0x6f, 0x67, 0x7f, 0x1b,
|
|
|
|
0x43, 0x9b, 0xfe, 0x4a, 0x27, 0x33, 0x16, 0x44, 0xe1, 0x28, 0x4e, 0x22, 0x16, 0xa1, 0xd6, 0x24,
|
|
|
|
0x0a, 0x99, 0x17, 0x84, 0x34, 0xf1, 0x47, 0x17, 0x9f, 0xf4, 0xbb, 0x5e, 0x1c, 0xec, 0x9d, 0x47,
|
|
|
|
0xb3, 0x90, 0xc9, 0xbf, 0xd2, 0xab, 0xdf, 0x99, 0x46, 0xd3, 0x48, 0x2c, 0xf7, 0xf8, 0x4a, 0x5a,
|
|
|
|
0xf1, 0x1f, 0x0e, 0x34, 0x9e, 0x66, 0xe1, 0xa8, 0x07, 0x95, 0xc0, 0x77, 0x9d, 0x1d, 0x67, 0xd8,
|
|
|
|
0x38, 0xa8, 0xcf, 0xff, 0xbe, 0x5f, 0xf9, 0xea, 0x90, 0x54, 0x02, 0x1f, 0x3d, 0x86, 0xba, 0x80,
|
|
|
|
0x4a, 0xdd, 0xca, 0x4e, 0x75, 0xd8, 0xdc, 0xef, 0x8c, 0x4a, 0x29, 0x47, 0xdf, 0xf0, 0x8f, 0x44,
|
|
|
|
0xf9, 0xa0, 0x0e, 0xac, 0x45, 0xaf, 0x43, 0x9a, 0xb8, 0x55, 0x0e, 0x44, 0xe4, 0x06, 0x8d, 0x61,
|
|
|
|
0x3d, 0x4e, 0xa2, 0x09, 0x4d, 0x53, 0xb7, 0xb6, 0xe3, 0x0c, 0x9b, 0xfb, 0x3d, 0x0d, 0xe4, 0x48,
|
|
|
|
0x7e, 0x25, 0x99, 0x1b, 0xfe, 0xdd, 0x81, 0x75, 0x65, 0x44, 0x77, 0xa1, 0x1a, 0xab, 0xd2, 0x6a,
|
|
|
|
0x84, 0x2f, 0x11, 0x82, 0x9a, 0x97, 0x4c, 0x65, 0x45, 0x0d, 0x22, 0xd6, 0xdc, 0x8b, 0x86, 0x17,
|
|
|
|
0x6e, 0x55, 0x98, 0xf8, 0x12, 0x7d, 0x04, 0xb5, 0x59, 0x4a, 0x13, 0x95, 0x72, 0x4b, 0x4b, 0x79,
|
|
|
|
0x92, 0xd2, 0x84, 0x08, 0x07, 0x1e, 0x3a, 0x79, 0xed, 0xbb, 0x6b, 0xa2, 0x64, 0xbe, 0x44, 0x7d,
|
|
|
|
0xd8, 0x60, 0x34, 0x39, 0x0f, 0x42, 0xef, 0xcc, 0xad, 0xef, 0x38, 0xc3, 0x0d, 0x92, 0xef, 0xf1,
|
|
|
|
0x5b, 0x07, 0x9a, 0xaa, 0xb4, 0xe3, 0x98, 0x4e, 0xf2, 0x62, 0x1c, 0xb3, 0x98, 0x8a, 0x59, 0x4c,
|
|
|
|
0x75, 0xc9, 0x62, 0x6a, 0xf6, 0x62, 0xd6, 0xca, 0xc5, 0x70, 0xbe, 0x53, 0xe6, 0x07, 0xa1, 0xa8,
|
|
|
|
0xb2, 0x41, 0xe4, 0x06, 0xf5, 0xa0, 0x9e, 0x32, 0x3f, 0x9a, 0x31, 0x77, 0x5d, 0x98, 0xd5, 0x4e,
|
|
|
|
0xd9, 0x69, 0x92, 0xb8, 0x1b, 0xb9, 0x9d, 0x26, 0x09, 0x26, 0x50, 0x3b, 0x51, 0xb9, 0x67, 0x8a,
|
|
|
|
0xe9, 0x16, 0xe1, 0x4b, 0x6e, 0x99, 0x06, 0xbe, 0x5b, 0x91, 0x96, 0x69, 0xe0, 0xa3, 0x47, 0xb0,
|
|
|
|
0xe9, 0xf9, 0x7e, 0xc0, 0x67, 0xd0, 0x3b, 0x7b, 0x1e, 0xf8, 0xa9, 0xa0, 0xbc, 0x45, 0x34, 0x2b,
|
|
|
|
0xfe, 0xd3, 0x81, 0xde, 0xd3, 0x84, 0x7a, 0x8c, 0xe6, 0x33, 0x46, 0xe8, 0x2f, 0x33, 0x9a, 0xb2,
|
|
|
|
0x85, 0xa3, 0xf6, 0xd9, 0xd5, 0x98, 0x54, 0x04, 0x4d, 0x7d, 0xfb, 0x98, 0x70, 0xda, 0xf3, 0x51,
|
|
|
|
0x29, 0x0c, 0x68, 0x75, 0x95, 0x01, 0xad, 0x15, 0x07, 0xf4, 0x3e, 0x34, 0x27, 0x51, 0xf8, 0x73,
|
|
|
|
0x30, 0xfd, 0x31, 0xf6, 0xd8, 0x2b, 0x35, 0x09, 0x20, 0x4d, 0x47, 0x1e, 0x7b, 0x85, 0x5f, 0xc0,
|
|
|
|
0xb6, 0xd1, 0x4c, 0x1a, 0x47, 0x61, 0x4a, 0xd1, 0xe7, 0xd0, 0xc8, 0x13, 0x8a, 0xa6, 0x9a, 0xfb,
|
|
|
|
0xae, 0x56, 0xc2, 0x55, 0xd0, 0x95, 0x2b, 0xde, 0x83, 0xee, 0x31, 0xf3, 0x12, 0xb6, 0x2c, 0x3d,
|
|
|
|
0x78, 0x1d, 0xd6, 0x8e, 0x99, 0xc7, 0x28, 0x3e, 0x84, 0x9e, 0x1e, 0xa9, 0x6a, 0xf9, 0x98, 0x8f,
|
|
|
|
0x83, 0xc7, 0xa8, 0xaa, 0x43, 0xa7, 0x42, 0x84, 0x13, 0xe9, 0x82, 0xc7, 0xd0, 0x3b, 0xa4, 0x67,
|
|
|
|
0x74, 0xf9, 0xf3, 0xc1, 0xef, 0xc3, 0xb6, 0x11, 0x21, 0x13, 0xe3, 0xc7, 0xd0, 0xc9, 0x8d, 0x5f,
|
|
|
|
0x07, 0x29, 0xcb, 0xa0, 0x72, 0xba, 0xe5, 0xed, 0x90, 0x1b, 0xfc, 0x02, 0xba, 0x9a, 0xb7, 0xaa,
|
|
|
|
0xff, 0x0b, 0x80, 0xbc, 0x62, 0x79, 0xa3, 0xae, 0x23, 0xb3, 0xe0, 0xab, 0xd8, 0x5c, 0xa1, 0x99,
|
|
|
|
0x23, 0x41, 0xe2, 0xbb, 0x3c, 0xd0, 0x31, 0xf4, 0x4e, 0x62, 0xdf, 0x5b, 0x8d, 0x50, 0x23, 0x42,
|
|
|
|
0x11, 0xba, 0x07, 0xdd, 0x23, 0x6f, 0x96, 0x2e, 0x8f, 0xe5, 0x42, 0x4f, 0x0f, 0x50, 0x50, 0x63,
|
|
|
|
0xe8, 0x11, 0x9a, 0xce, 0xce, 0x57, 0xaa, 0xcb, 0x88, 0x50, 0x60, 0x3f, 0x40, 0x47, 0x5e, 0x84,
|
|
|
|
0x4c, 0xb2, 0x6f, 0xb8, 0xd3, 0x23, 0xa8, 0xa5, 0x31, 0x9d, 0x2c, 0x71, 0xa1, 0x85, 0x1f, 0xde,
|
|
|
|
0x86, 0xae, 0x86, 0xaf, 0x12, 0x3f, 0x81, 0x2d, 0x31, 0xf4, 0x5a, 0x5e, 0x2e, 0x97, 0x59, 0x62,
|
|
|
|
0xc2, 0x97, 0xd9, 0x73, 0x51, 0x91, 0x96, 0x38, 0xf0, 0xf1, 0x10, 0x3a, 0xe5, 0x50, 0x75, 0xd0,
|
|
|
|
0x85, 0x87, 0xa5, 0x25, 0x3d, 0x9f, 0xc0, 0x56, 0x56, 0x92, 0xb8, 0x2a, 0x2b, 0x24, 0x39, 0x80,
|
|
|
|
0x4e, 0x39, 0xf4, 0x16, 0x57, 0x92, 0x40, 0xe7, 0x38, 0x98, 0x86, 0xde, 0xd9, 0xea, 0x4d, 0x0a,
|
|
|
|
0x6d, 0x17, 0xb1, 0xe2, 0x89, 0x69, 0x11, 0xb5, 0xe3, 0x84, 0x6a, 0x98, 0x8a, 0xd0, 0x2f, 0xa1,
|
|
|
|
0x23, 0x6f, 0xf3, 0x2d, 0x18, 0xdd, 0x86, 0xae, 0x16, 0x9b, 0xeb, 0x00, 0x52, 0xa6, 0xa2, 0x0a,
|
|
|
|
0x2c, 0x9a, 0xb3, 0x6e, 0x4e, 0x77, 0x51, 0x05, 0x70, 0x1b, 0x5a, 0xcf, 0x2e, 0x68, 0xc8, 0xb2,
|
|
|
|
0x92, 0xf0, 0x5d, 0xd8, 0xcc, 0x0c, 0xd2, 0x65, 0xff, 0x3f, 0x80, 0xc6, 0xb3, 0xec, 0x7f, 0x21,
|
|
|
|
0x74, 0x0a, 0x6d, 0x4d, 0x9d, 0xd1, 0x43, 0xfd, 0xc6, 0x5a, 0x9f, 0xa2, 0xfe, 0xa3, 0x9b, 0xdc,
|
|
|
|
0xd4, 0x29, 0x7e, 0x0f, 0x9b, 0x65, 0xc9, 0x45, 0xbb, 0xe6, 0x41, 0x9a, 0x5a, 0xde, 0x7f, 0x78,
|
|
|
|
0x83, 0x97, 0x82, 0x3f, 0x85, 0xb6, 0xa6, 0xac, 0x46, 0x03, 0x76, 0xad, 0x36, 0x1a, 0x58, 0x20,
|
|
|
|
0xd0, 0xaa, 0x81, 0x62, 0x82, 0x5d, 0xdb, 0x24, 0x2e, 0xd3, 0x80, 0x0d, 0xfe, 0x14, 0xda, 0x9a,
|
|
|
|
0x92, 0x19, 0x0d, 0xd8, 0xb5, 0xd1, 0x68, 0x60, 0x81, 0x20, 0xf2, 0x06, 0xca, 0xfa, 0x66, 0x34,
|
|
|
|
0x60, 0xd5, 0x4b, 0xa3, 0x01, 0xbb, 0x48, 0xf2, 0x06, 0x34, 0xc9, 0x33, 0x1a, 0xb0, 0x8b, 0xa8,
|
|
|
|
0xd1, 0xc0, 0x02, 0xe5, 0x44, 0x2f, 0xa1, 0x55, 0x7a, 0xf4, 0xd0, 0x83, 0x45, 0x8f, 0x4a, 0xe1,
|
|
|
|
0xea, 0xf4, 0x77, 0xaf, 0x77, 0x2a, 0x60, 0x17, 0x55, 0xd3, 0xc4, 0xb6, 0x68, 0xb6, 0x89, 0x6d,
|
|
|
|
0x13, 0x5e, 0xf4, 0x1d, 0xbc, 0x57, 0x54, 0x4f, 0x84, 0x6d, 0x23, 0xad, 0x21, 0x3f, 0xb8, 0xd6,
|
|
|
|
0xe7, 0x0a, 0xb8, 0xa8, 0x98, 0x06, 0xb0, 0x45, 0x89, 0x0d, 0x60, 0xab, 0xe4, 0xbe, 0x84, 0x56,
|
|
|
|
0x49, 0xf2, 0x0c, 0x36, 0x6c, 0x22, 0x6b, 0xb0, 0x61, 0x55, 0x4d, 0x8e, 0x5d, 0x52, 0x3e, 0x03,
|
|
|
|
0xdb, 0xa6, 0xa9, 0x06, 0xb6, 0x55, 0x3c, 0xd1, 0xb7, 0xf9, 0x0f, 0x0b, 0x31, 0x1f, 0x1f, 0xda,
|
|
|
|
0x7b, 0x2d, 0x4e, 0x07, 0xbe, 0xce, 0x45, 0xa1, 0x3e, 0x87, 0xba, 0x14, 0x4f, 0x74, 0x4f, 0xf3,
|
|
|
|
0x2e, 0x89, 0x6c, 0xff, 0x83, 0x05, 0x5f, 0x25, 0xcc, 0xd8, 0x39, 0xb8, 0xf7, 0xe6, 0x72, 0x70,
|
|
|
|
0xe7, 0xaf, 0xcb, 0xc1, 0x9d, 0x7f, 0x2f, 0x07, 0xce, 0x6f, 0xf3, 0x81, 0xf3, 0x66, 0x3e, 0x70,
|
|
|
|
0xde, 0xce, 0x07, 0xce, 0x3f, 0xf3, 0x81, 0xf3, 0x53, 0x5d, 0xfc, 0xa8, 0xfc, 0xf4, 0xff, 0x00,
|
|
|
|
0x00, 0x00, 0xff, 0xff, 0xcf, 0x49, 0x76, 0x47, 0xa3, 0x0e, 0x00, 0x00,
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|