4274 lines
		
	
	
		
			108 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			4274 lines
		
	
	
		
			108 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
// Code generated by protoc-gen-gogo.
 | 
						|
// source: github.com/containerd/containerd/linux/shim/v1/shim.proto
 | 
						|
// DO NOT EDIT!
 | 
						|
 | 
						|
/*
 | 
						|
	Package shim is a generated protocol buffer package.
 | 
						|
 | 
						|
	It is generated from these files:
 | 
						|
		github.com/containerd/containerd/linux/shim/v1/shim.proto
 | 
						|
 | 
						|
	It has these top-level messages:
 | 
						|
		CreateTaskRequest
 | 
						|
		CreateTaskResponse
 | 
						|
		DeleteResponse
 | 
						|
		DeleteProcessRequest
 | 
						|
		ExecProcessRequest
 | 
						|
		ExecProcessResponse
 | 
						|
		ResizePtyRequest
 | 
						|
		StateRequest
 | 
						|
		StateResponse
 | 
						|
		KillRequest
 | 
						|
		CloseIORequest
 | 
						|
		ListPidsRequest
 | 
						|
		ListPidsResponse
 | 
						|
		CheckpointTaskRequest
 | 
						|
		ShimInfoResponse
 | 
						|
		StreamEventsRequest
 | 
						|
		UpdateTaskRequest
 | 
						|
*/
 | 
						|
package shim
 | 
						|
 | 
						|
import proto "github.com/gogo/protobuf/proto"
 | 
						|
import fmt "fmt"
 | 
						|
import math "math"
 | 
						|
import google_protobuf "github.com/gogo/protobuf/types"
 | 
						|
import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
 | 
						|
import _ "github.com/gogo/protobuf/gogoproto"
 | 
						|
import _ "github.com/gogo/protobuf/types"
 | 
						|
import containerd_types "github.com/containerd/containerd/api/types"
 | 
						|
import containerd_v1_types "github.com/containerd/containerd/api/types/task"
 | 
						|
import containerd_services_events_v1 "github.com/containerd/containerd/api/services/events/v1"
 | 
						|
 | 
						|
import time "time"
 | 
						|
 | 
						|
import (
 | 
						|
	context "golang.org/x/net/context"
 | 
						|
	grpc "google.golang.org/grpc"
 | 
						|
)
 | 
						|
 | 
						|
import github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
 | 
						|
 | 
						|
import strings "strings"
 | 
						|
import reflect "reflect"
 | 
						|
 | 
						|
import io "io"
 | 
						|
 | 
						|
// Reference imports to suppress errors if they are not otherwise used.
 | 
						|
var _ = proto.Marshal
 | 
						|
var _ = fmt.Errorf
 | 
						|
var _ = math.Inf
 | 
						|
var _ = time.Kitchen
 | 
						|
 | 
						|
// This is a compile-time assertion to ensure that this generated file
 | 
						|
// is compatible with the proto package it is being compiled against.
 | 
						|
// 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
 | 
						|
 | 
						|
type CreateTaskRequest struct {
 | 
						|
	ID               string                    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
	Bundle           string                    `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
 | 
						|
	Runtime          string                    `protobuf:"bytes,3,opt,name=runtime,proto3" json:"runtime,omitempty"`
 | 
						|
	Rootfs           []*containerd_types.Mount `protobuf:"bytes,4,rep,name=rootfs" json:"rootfs,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"`
 | 
						|
	Checkpoint       string                    `protobuf:"bytes,9,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
 | 
						|
	ParentCheckpoint string                    `protobuf:"bytes,10,opt,name=parent_checkpoint,json=parentCheckpoint,proto3" json:"parent_checkpoint,omitempty"`
 | 
						|
	Options          *google_protobuf.Any      `protobuf:"bytes,11,opt,name=options" json:"options,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *CreateTaskRequest) Reset()                    { *m = CreateTaskRequest{} }
 | 
						|
func (*CreateTaskRequest) ProtoMessage()               {}
 | 
						|
func (*CreateTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{0} }
 | 
						|
 | 
						|
type CreateTaskResponse struct {
 | 
						|
	Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *CreateTaskResponse) Reset()                    { *m = CreateTaskResponse{} }
 | 
						|
func (*CreateTaskResponse) ProtoMessage()               {}
 | 
						|
func (*CreateTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{1} }
 | 
						|
 | 
						|
type DeleteResponse struct {
 | 
						|
	Pid        uint32    `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
 | 
						|
	ExitStatus uint32    `protobuf:"varint,2,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
 | 
						|
	ExitedAt   time.Time `protobuf:"bytes,3,opt,name=exited_at,json=exitedAt,stdtime" json:"exited_at"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteResponse) Reset()                    { *m = DeleteResponse{} }
 | 
						|
func (*DeleteResponse) ProtoMessage()               {}
 | 
						|
func (*DeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{2} }
 | 
						|
 | 
						|
type DeleteProcessRequest struct {
 | 
						|
	ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteProcessRequest) Reset()                    { *m = DeleteProcessRequest{} }
 | 
						|
func (*DeleteProcessRequest) ProtoMessage()               {}
 | 
						|
func (*DeleteProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{3} }
 | 
						|
 | 
						|
type ExecProcessRequest struct {
 | 
						|
	ID       string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
	Terminal bool                 `protobuf:"varint,2,opt,name=terminal,proto3" json:"terminal,omitempty"`
 | 
						|
	Stdin    string               `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
 | 
						|
	Stdout   string               `protobuf:"bytes,4,opt,name=stdout,proto3" json:"stdout,omitempty"`
 | 
						|
	Stderr   string               `protobuf:"bytes,5,opt,name=stderr,proto3" json:"stderr,omitempty"`
 | 
						|
	Spec     *google_protobuf.Any `protobuf:"bytes,6,opt,name=spec" json:"spec,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessRequest) Reset()                    { *m = ExecProcessRequest{} }
 | 
						|
func (*ExecProcessRequest) ProtoMessage()               {}
 | 
						|
func (*ExecProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{4} }
 | 
						|
 | 
						|
type ExecProcessResponse struct {
 | 
						|
	Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessResponse) Reset()                    { *m = ExecProcessResponse{} }
 | 
						|
func (*ExecProcessResponse) ProtoMessage()               {}
 | 
						|
func (*ExecProcessResponse) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{5} }
 | 
						|
 | 
						|
type ResizePtyRequest struct {
 | 
						|
	ID     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
	Width  uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
 | 
						|
	Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *ResizePtyRequest) Reset()                    { *m = ResizePtyRequest{} }
 | 
						|
func (*ResizePtyRequest) ProtoMessage()               {}
 | 
						|
func (*ResizePtyRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{6} }
 | 
						|
 | 
						|
type StateRequest struct {
 | 
						|
	ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateRequest) Reset()                    { *m = StateRequest{} }
 | 
						|
func (*StateRequest) ProtoMessage()               {}
 | 
						|
func (*StateRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{7} }
 | 
						|
 | 
						|
type StateResponse struct {
 | 
						|
	ID       string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
	Bundle   string                     `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
 | 
						|
	Pid      uint32                     `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
 | 
						|
	Status   containerd_v1_types.Status `protobuf:"varint,4,opt,name=status,proto3,enum=containerd.v1.types.Status" json:"status,omitempty"`
 | 
						|
	Stdin    string                     `protobuf:"bytes,5,opt,name=stdin,proto3" json:"stdin,omitempty"`
 | 
						|
	Stdout   string                     `protobuf:"bytes,6,opt,name=stdout,proto3" json:"stdout,omitempty"`
 | 
						|
	Stderr   string                     `protobuf:"bytes,7,opt,name=stderr,proto3" json:"stderr,omitempty"`
 | 
						|
	Terminal bool                       `protobuf:"varint,8,opt,name=terminal,proto3" json:"terminal,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateResponse) Reset()                    { *m = StateResponse{} }
 | 
						|
func (*StateResponse) ProtoMessage()               {}
 | 
						|
func (*StateResponse) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{8} }
 | 
						|
 | 
						|
type KillRequest struct {
 | 
						|
	ID     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
	Signal uint32 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
 | 
						|
	All    bool   `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *KillRequest) Reset()                    { *m = KillRequest{} }
 | 
						|
func (*KillRequest) ProtoMessage()               {}
 | 
						|
func (*KillRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{9} }
 | 
						|
 | 
						|
type CloseIORequest struct {
 | 
						|
	ID    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
	Stdin bool   `protobuf:"varint,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *CloseIORequest) Reset()                    { *m = CloseIORequest{} }
 | 
						|
func (*CloseIORequest) ProtoMessage()               {}
 | 
						|
func (*CloseIORequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{10} }
 | 
						|
 | 
						|
type ListPidsRequest struct {
 | 
						|
	ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsRequest) Reset()                    { *m = ListPidsRequest{} }
 | 
						|
func (*ListPidsRequest) ProtoMessage()               {}
 | 
						|
func (*ListPidsRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{11} }
 | 
						|
 | 
						|
type ListPidsResponse struct {
 | 
						|
	Pids []uint32 `protobuf:"varint,1,rep,packed,name=pids" json:"pids,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsResponse) Reset()                    { *m = ListPidsResponse{} }
 | 
						|
func (*ListPidsResponse) ProtoMessage()               {}
 | 
						|
func (*ListPidsResponse) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{12} }
 | 
						|
 | 
						|
type CheckpointTaskRequest struct {
 | 
						|
	Path    string               `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
 | 
						|
	Options *google_protobuf.Any `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *CheckpointTaskRequest) Reset()                    { *m = CheckpointTaskRequest{} }
 | 
						|
func (*CheckpointTaskRequest) ProtoMessage()               {}
 | 
						|
func (*CheckpointTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{13} }
 | 
						|
 | 
						|
type ShimInfoResponse struct {
 | 
						|
	ShimPid uint32 `protobuf:"varint,1,opt,name=shim_pid,json=shimPid,proto3" json:"shim_pid,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *ShimInfoResponse) Reset()                    { *m = ShimInfoResponse{} }
 | 
						|
func (*ShimInfoResponse) ProtoMessage()               {}
 | 
						|
func (*ShimInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{14} }
 | 
						|
 | 
						|
type StreamEventsRequest struct {
 | 
						|
}
 | 
						|
 | 
						|
func (m *StreamEventsRequest) Reset()                    { *m = StreamEventsRequest{} }
 | 
						|
func (*StreamEventsRequest) ProtoMessage()               {}
 | 
						|
func (*StreamEventsRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{15} }
 | 
						|
 | 
						|
type UpdateTaskRequest struct {
 | 
						|
	Resources *google_protobuf.Any `protobuf:"bytes,1,opt,name=resources" json:"resources,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (m *UpdateTaskRequest) Reset()                    { *m = UpdateTaskRequest{} }
 | 
						|
func (*UpdateTaskRequest) ProtoMessage()               {}
 | 
						|
func (*UpdateTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorShim, []int{16} }
 | 
						|
 | 
						|
func init() {
 | 
						|
	proto.RegisterType((*CreateTaskRequest)(nil), "containerd.runtime.linux.shim.v1.CreateTaskRequest")
 | 
						|
	proto.RegisterType((*CreateTaskResponse)(nil), "containerd.runtime.linux.shim.v1.CreateTaskResponse")
 | 
						|
	proto.RegisterType((*DeleteResponse)(nil), "containerd.runtime.linux.shim.v1.DeleteResponse")
 | 
						|
	proto.RegisterType((*DeleteProcessRequest)(nil), "containerd.runtime.linux.shim.v1.DeleteProcessRequest")
 | 
						|
	proto.RegisterType((*ExecProcessRequest)(nil), "containerd.runtime.linux.shim.v1.ExecProcessRequest")
 | 
						|
	proto.RegisterType((*ExecProcessResponse)(nil), "containerd.runtime.linux.shim.v1.ExecProcessResponse")
 | 
						|
	proto.RegisterType((*ResizePtyRequest)(nil), "containerd.runtime.linux.shim.v1.ResizePtyRequest")
 | 
						|
	proto.RegisterType((*StateRequest)(nil), "containerd.runtime.linux.shim.v1.StateRequest")
 | 
						|
	proto.RegisterType((*StateResponse)(nil), "containerd.runtime.linux.shim.v1.StateResponse")
 | 
						|
	proto.RegisterType((*KillRequest)(nil), "containerd.runtime.linux.shim.v1.KillRequest")
 | 
						|
	proto.RegisterType((*CloseIORequest)(nil), "containerd.runtime.linux.shim.v1.CloseIORequest")
 | 
						|
	proto.RegisterType((*ListPidsRequest)(nil), "containerd.runtime.linux.shim.v1.ListPidsRequest")
 | 
						|
	proto.RegisterType((*ListPidsResponse)(nil), "containerd.runtime.linux.shim.v1.ListPidsResponse")
 | 
						|
	proto.RegisterType((*CheckpointTaskRequest)(nil), "containerd.runtime.linux.shim.v1.CheckpointTaskRequest")
 | 
						|
	proto.RegisterType((*ShimInfoResponse)(nil), "containerd.runtime.linux.shim.v1.ShimInfoResponse")
 | 
						|
	proto.RegisterType((*StreamEventsRequest)(nil), "containerd.runtime.linux.shim.v1.StreamEventsRequest")
 | 
						|
	proto.RegisterType((*UpdateTaskRequest)(nil), "containerd.runtime.linux.shim.v1.UpdateTaskRequest")
 | 
						|
}
 | 
						|
 | 
						|
// Reference imports to suppress errors if they are not otherwise used.
 | 
						|
var _ context.Context
 | 
						|
var _ grpc.ClientConn
 | 
						|
 | 
						|
// 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
 | 
						|
 | 
						|
// Client API for Shim service
 | 
						|
 | 
						|
type ShimClient interface {
 | 
						|
	// State returns shim and task state information.
 | 
						|
	State(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error)
 | 
						|
	Create(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error)
 | 
						|
	Start(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
	Delete(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*DeleteResponse, error)
 | 
						|
	DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
 | 
						|
	ListPids(ctx context.Context, in *ListPidsRequest, opts ...grpc.CallOption) (*ListPidsResponse, error)
 | 
						|
	Pause(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
	Resume(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
	Checkpoint(ctx context.Context, in *CheckpointTaskRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
	Stream(ctx context.Context, in *StreamEventsRequest, opts ...grpc.CallOption) (Shim_StreamClient, error)
 | 
						|
	Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
	Exec(ctx context.Context, in *ExecProcessRequest, opts ...grpc.CallOption) (*ExecProcessResponse, error)
 | 
						|
	ResizePty(ctx context.Context, in *ResizePtyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
	CloseIO(ctx context.Context, in *CloseIORequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
	// ShimInfo returns information about the shim.
 | 
						|
	ShimInfo(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*ShimInfoResponse, error)
 | 
						|
	Update(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
 | 
						|
}
 | 
						|
 | 
						|
type shimClient struct {
 | 
						|
	cc *grpc.ClientConn
 | 
						|
}
 | 
						|
 | 
						|
func NewShimClient(cc *grpc.ClientConn) ShimClient {
 | 
						|
	return &shimClient{cc}
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) State(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error) {
 | 
						|
	out := new(StateResponse)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/State", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Create(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error) {
 | 
						|
	out := new(CreateTaskResponse)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Create", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Start(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Start", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Delete(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*DeleteResponse, error) {
 | 
						|
	out := new(DeleteResponse)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Delete", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
 | 
						|
	out := new(DeleteResponse)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/DeleteProcess", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) ListPids(ctx context.Context, in *ListPidsRequest, opts ...grpc.CallOption) (*ListPidsResponse, error) {
 | 
						|
	out := new(ListPidsResponse)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/ListPids", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Pause(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Pause", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Resume(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Resume", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Checkpoint(ctx context.Context, in *CheckpointTaskRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Checkpoint", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Stream(ctx context.Context, in *StreamEventsRequest, opts ...grpc.CallOption) (Shim_StreamClient, error) {
 | 
						|
	stream, err := grpc.NewClientStream(ctx, &_Shim_serviceDesc.Streams[0], c.cc, "/containerd.runtime.linux.shim.v1.Shim/Stream", opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	x := &shimStreamClient{stream}
 | 
						|
	if err := x.ClientStream.SendMsg(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if err := x.ClientStream.CloseSend(); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return x, nil
 | 
						|
}
 | 
						|
 | 
						|
type Shim_StreamClient interface {
 | 
						|
	Recv() (*containerd_services_events_v1.RuntimeEvent, error)
 | 
						|
	grpc.ClientStream
 | 
						|
}
 | 
						|
 | 
						|
type shimStreamClient struct {
 | 
						|
	grpc.ClientStream
 | 
						|
}
 | 
						|
 | 
						|
func (x *shimStreamClient) Recv() (*containerd_services_events_v1.RuntimeEvent, error) {
 | 
						|
	m := new(containerd_services_events_v1.RuntimeEvent)
 | 
						|
	if err := x.ClientStream.RecvMsg(m); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return m, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Kill", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Exec(ctx context.Context, in *ExecProcessRequest, opts ...grpc.CallOption) (*ExecProcessResponse, error) {
 | 
						|
	out := new(ExecProcessResponse)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Exec", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) ResizePty(ctx context.Context, in *ResizePtyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/ResizePty", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) CloseIO(ctx context.Context, in *CloseIORequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/CloseIO", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) ShimInfo(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*ShimInfoResponse, error) {
 | 
						|
	out := new(ShimInfoResponse)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/ShimInfo", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
func (c *shimClient) Update(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
 | 
						|
	out := new(google_protobuf1.Empty)
 | 
						|
	err := grpc.Invoke(ctx, "/containerd.runtime.linux.shim.v1.Shim/Update", in, out, c.cc, opts...)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return out, nil
 | 
						|
}
 | 
						|
 | 
						|
// Server API for Shim service
 | 
						|
 | 
						|
type ShimServer interface {
 | 
						|
	// State returns shim and task state information.
 | 
						|
	State(context.Context, *StateRequest) (*StateResponse, error)
 | 
						|
	Create(context.Context, *CreateTaskRequest) (*CreateTaskResponse, error)
 | 
						|
	Start(context.Context, *google_protobuf1.Empty) (*google_protobuf1.Empty, error)
 | 
						|
	Delete(context.Context, *google_protobuf1.Empty) (*DeleteResponse, error)
 | 
						|
	DeleteProcess(context.Context, *DeleteProcessRequest) (*DeleteResponse, error)
 | 
						|
	ListPids(context.Context, *ListPidsRequest) (*ListPidsResponse, error)
 | 
						|
	Pause(context.Context, *google_protobuf1.Empty) (*google_protobuf1.Empty, error)
 | 
						|
	Resume(context.Context, *google_protobuf1.Empty) (*google_protobuf1.Empty, error)
 | 
						|
	Checkpoint(context.Context, *CheckpointTaskRequest) (*google_protobuf1.Empty, error)
 | 
						|
	Stream(*StreamEventsRequest, Shim_StreamServer) error
 | 
						|
	Kill(context.Context, *KillRequest) (*google_protobuf1.Empty, error)
 | 
						|
	Exec(context.Context, *ExecProcessRequest) (*ExecProcessResponse, error)
 | 
						|
	ResizePty(context.Context, *ResizePtyRequest) (*google_protobuf1.Empty, error)
 | 
						|
	CloseIO(context.Context, *CloseIORequest) (*google_protobuf1.Empty, error)
 | 
						|
	// ShimInfo returns information about the shim.
 | 
						|
	ShimInfo(context.Context, *google_protobuf1.Empty) (*ShimInfoResponse, error)
 | 
						|
	Update(context.Context, *UpdateTaskRequest) (*google_protobuf1.Empty, error)
 | 
						|
}
 | 
						|
 | 
						|
func RegisterShimServer(s *grpc.Server, srv ShimServer) {
 | 
						|
	s.RegisterService(&_Shim_serviceDesc, srv)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_State_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(StateRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).State(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/State",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).State(ctx, req.(*StateRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(CreateTaskRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Create(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Create",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Create(ctx, req.(*CreateTaskRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(google_protobuf1.Empty)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Start(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Start",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Start(ctx, req.(*google_protobuf1.Empty))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(google_protobuf1.Empty)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Delete(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Delete",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Delete(ctx, req.(*google_protobuf1.Empty))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_DeleteProcess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(DeleteProcessRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).DeleteProcess(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/DeleteProcess",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).DeleteProcess(ctx, req.(*DeleteProcessRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_ListPids_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(ListPidsRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).ListPids(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/ListPids",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).ListPids(ctx, req.(*ListPidsRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Pause_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(google_protobuf1.Empty)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Pause(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Pause",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Pause(ctx, req.(*google_protobuf1.Empty))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Resume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(google_protobuf1.Empty)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Resume(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Resume",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Resume(ctx, req.(*google_protobuf1.Empty))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Checkpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(CheckpointTaskRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Checkpoint(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Checkpoint",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Checkpoint(ctx, req.(*CheckpointTaskRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Stream_Handler(srv interface{}, stream grpc.ServerStream) error {
 | 
						|
	m := new(StreamEventsRequest)
 | 
						|
	if err := stream.RecvMsg(m); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return srv.(ShimServer).Stream(m, &shimStreamServer{stream})
 | 
						|
}
 | 
						|
 | 
						|
type Shim_StreamServer interface {
 | 
						|
	Send(*containerd_services_events_v1.RuntimeEvent) error
 | 
						|
	grpc.ServerStream
 | 
						|
}
 | 
						|
 | 
						|
type shimStreamServer struct {
 | 
						|
	grpc.ServerStream
 | 
						|
}
 | 
						|
 | 
						|
func (x *shimStreamServer) Send(m *containerd_services_events_v1.RuntimeEvent) error {
 | 
						|
	return x.ServerStream.SendMsg(m)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Kill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(KillRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Kill(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Kill",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Kill(ctx, req.(*KillRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(ExecProcessRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Exec(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Exec",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Exec(ctx, req.(*ExecProcessRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_ResizePty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(ResizePtyRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).ResizePty(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/ResizePty",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).ResizePty(ctx, req.(*ResizePtyRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_CloseIO_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(CloseIORequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).CloseIO(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/CloseIO",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).CloseIO(ctx, req.(*CloseIORequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_ShimInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(google_protobuf1.Empty)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).ShimInfo(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/ShimInfo",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).ShimInfo(ctx, req.(*google_protobuf1.Empty))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
func _Shim_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
						|
	in := new(UpdateTaskRequest)
 | 
						|
	if err := dec(in); err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	if interceptor == nil {
 | 
						|
		return srv.(ShimServer).Update(ctx, in)
 | 
						|
	}
 | 
						|
	info := &grpc.UnaryServerInfo{
 | 
						|
		Server:     srv,
 | 
						|
		FullMethod: "/containerd.runtime.linux.shim.v1.Shim/Update",
 | 
						|
	}
 | 
						|
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
						|
		return srv.(ShimServer).Update(ctx, req.(*UpdateTaskRequest))
 | 
						|
	}
 | 
						|
	return interceptor(ctx, in, info, handler)
 | 
						|
}
 | 
						|
 | 
						|
var _Shim_serviceDesc = grpc.ServiceDesc{
 | 
						|
	ServiceName: "containerd.runtime.linux.shim.v1.Shim",
 | 
						|
	HandlerType: (*ShimServer)(nil),
 | 
						|
	Methods: []grpc.MethodDesc{
 | 
						|
		{
 | 
						|
			MethodName: "State",
 | 
						|
			Handler:    _Shim_State_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Create",
 | 
						|
			Handler:    _Shim_Create_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Start",
 | 
						|
			Handler:    _Shim_Start_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Delete",
 | 
						|
			Handler:    _Shim_Delete_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "DeleteProcess",
 | 
						|
			Handler:    _Shim_DeleteProcess_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "ListPids",
 | 
						|
			Handler:    _Shim_ListPids_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Pause",
 | 
						|
			Handler:    _Shim_Pause_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Resume",
 | 
						|
			Handler:    _Shim_Resume_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Checkpoint",
 | 
						|
			Handler:    _Shim_Checkpoint_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Kill",
 | 
						|
			Handler:    _Shim_Kill_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Exec",
 | 
						|
			Handler:    _Shim_Exec_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "ResizePty",
 | 
						|
			Handler:    _Shim_ResizePty_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "CloseIO",
 | 
						|
			Handler:    _Shim_CloseIO_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "ShimInfo",
 | 
						|
			Handler:    _Shim_ShimInfo_Handler,
 | 
						|
		},
 | 
						|
		{
 | 
						|
			MethodName: "Update",
 | 
						|
			Handler:    _Shim_Update_Handler,
 | 
						|
		},
 | 
						|
	},
 | 
						|
	Streams: []grpc.StreamDesc{
 | 
						|
		{
 | 
						|
			StreamName:    "Stream",
 | 
						|
			Handler:       _Shim_Stream_Handler,
 | 
						|
			ServerStreams: true,
 | 
						|
		},
 | 
						|
	},
 | 
						|
	Metadata: "github.com/containerd/containerd/linux/shim/v1/shim.proto",
 | 
						|
}
 | 
						|
 | 
						|
func (m *CreateTaskRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *CreateTaskRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	if len(m.Bundle) > 0 {
 | 
						|
		dAtA[i] = 0x12
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Bundle)))
 | 
						|
		i += copy(dAtA[i:], m.Bundle)
 | 
						|
	}
 | 
						|
	if len(m.Runtime) > 0 {
 | 
						|
		dAtA[i] = 0x1a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Runtime)))
 | 
						|
		i += copy(dAtA[i:], m.Runtime)
 | 
						|
	}
 | 
						|
	if len(m.Rootfs) > 0 {
 | 
						|
		for _, msg := range m.Rootfs {
 | 
						|
			dAtA[i] = 0x22
 | 
						|
			i++
 | 
						|
			i = encodeVarintShim(dAtA, i, uint64(msg.Size()))
 | 
						|
			n, err := msg.MarshalTo(dAtA[i:])
 | 
						|
			if err != nil {
 | 
						|
				return 0, err
 | 
						|
			}
 | 
						|
			i += n
 | 
						|
		}
 | 
						|
	}
 | 
						|
	if m.Terminal {
 | 
						|
		dAtA[i] = 0x28
 | 
						|
		i++
 | 
						|
		if m.Terminal {
 | 
						|
			dAtA[i] = 1
 | 
						|
		} else {
 | 
						|
			dAtA[i] = 0
 | 
						|
		}
 | 
						|
		i++
 | 
						|
	}
 | 
						|
	if len(m.Stdin) > 0 {
 | 
						|
		dAtA[i] = 0x32
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stdin)))
 | 
						|
		i += copy(dAtA[i:], m.Stdin)
 | 
						|
	}
 | 
						|
	if len(m.Stdout) > 0 {
 | 
						|
		dAtA[i] = 0x3a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stdout)))
 | 
						|
		i += copy(dAtA[i:], m.Stdout)
 | 
						|
	}
 | 
						|
	if len(m.Stderr) > 0 {
 | 
						|
		dAtA[i] = 0x42
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stderr)))
 | 
						|
		i += copy(dAtA[i:], m.Stderr)
 | 
						|
	}
 | 
						|
	if len(m.Checkpoint) > 0 {
 | 
						|
		dAtA[i] = 0x4a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Checkpoint)))
 | 
						|
		i += copy(dAtA[i:], m.Checkpoint)
 | 
						|
	}
 | 
						|
	if len(m.ParentCheckpoint) > 0 {
 | 
						|
		dAtA[i] = 0x52
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ParentCheckpoint)))
 | 
						|
		i += copy(dAtA[i:], m.ParentCheckpoint)
 | 
						|
	}
 | 
						|
	if m.Options != nil {
 | 
						|
		dAtA[i] = 0x5a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Options.Size()))
 | 
						|
		n1, err := m.Options.MarshalTo(dAtA[i:])
 | 
						|
		if err != nil {
 | 
						|
			return 0, err
 | 
						|
		}
 | 
						|
		i += n1
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *CreateTaskResponse) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *CreateTaskResponse) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Pid != 0 {
 | 
						|
		dAtA[i] = 0x8
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Pid))
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteResponse) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Pid != 0 {
 | 
						|
		dAtA[i] = 0x8
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Pid))
 | 
						|
	}
 | 
						|
	if m.ExitStatus != 0 {
 | 
						|
		dAtA[i] = 0x10
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.ExitStatus))
 | 
						|
	}
 | 
						|
	dAtA[i] = 0x1a
 | 
						|
	i++
 | 
						|
	i = encodeVarintShim(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)))
 | 
						|
	n2, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i:])
 | 
						|
	if err != nil {
 | 
						|
		return 0, err
 | 
						|
	}
 | 
						|
	i += n2
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteProcessRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteProcessRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	if m.Terminal {
 | 
						|
		dAtA[i] = 0x10
 | 
						|
		i++
 | 
						|
		if m.Terminal {
 | 
						|
			dAtA[i] = 1
 | 
						|
		} else {
 | 
						|
			dAtA[i] = 0
 | 
						|
		}
 | 
						|
		i++
 | 
						|
	}
 | 
						|
	if len(m.Stdin) > 0 {
 | 
						|
		dAtA[i] = 0x1a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stdin)))
 | 
						|
		i += copy(dAtA[i:], m.Stdin)
 | 
						|
	}
 | 
						|
	if len(m.Stdout) > 0 {
 | 
						|
		dAtA[i] = 0x22
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stdout)))
 | 
						|
		i += copy(dAtA[i:], m.Stdout)
 | 
						|
	}
 | 
						|
	if len(m.Stderr) > 0 {
 | 
						|
		dAtA[i] = 0x2a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stderr)))
 | 
						|
		i += copy(dAtA[i:], m.Stderr)
 | 
						|
	}
 | 
						|
	if m.Spec != nil {
 | 
						|
		dAtA[i] = 0x32
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Spec.Size()))
 | 
						|
		n3, err := m.Spec.MarshalTo(dAtA[i:])
 | 
						|
		if err != nil {
 | 
						|
			return 0, err
 | 
						|
		}
 | 
						|
		i += n3
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessResponse) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessResponse) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Pid != 0 {
 | 
						|
		dAtA[i] = 0x8
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Pid))
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ResizePtyRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ResizePtyRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	if m.Width != 0 {
 | 
						|
		dAtA[i] = 0x10
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Width))
 | 
						|
	}
 | 
						|
	if m.Height != 0 {
 | 
						|
		dAtA[i] = 0x18
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Height))
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateResponse) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateResponse) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	if len(m.Bundle) > 0 {
 | 
						|
		dAtA[i] = 0x12
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Bundle)))
 | 
						|
		i += copy(dAtA[i:], m.Bundle)
 | 
						|
	}
 | 
						|
	if m.Pid != 0 {
 | 
						|
		dAtA[i] = 0x18
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Pid))
 | 
						|
	}
 | 
						|
	if m.Status != 0 {
 | 
						|
		dAtA[i] = 0x20
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Status))
 | 
						|
	}
 | 
						|
	if len(m.Stdin) > 0 {
 | 
						|
		dAtA[i] = 0x2a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stdin)))
 | 
						|
		i += copy(dAtA[i:], m.Stdin)
 | 
						|
	}
 | 
						|
	if len(m.Stdout) > 0 {
 | 
						|
		dAtA[i] = 0x32
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stdout)))
 | 
						|
		i += copy(dAtA[i:], m.Stdout)
 | 
						|
	}
 | 
						|
	if len(m.Stderr) > 0 {
 | 
						|
		dAtA[i] = 0x3a
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Stderr)))
 | 
						|
		i += copy(dAtA[i:], m.Stderr)
 | 
						|
	}
 | 
						|
	if m.Terminal {
 | 
						|
		dAtA[i] = 0x40
 | 
						|
		i++
 | 
						|
		if m.Terminal {
 | 
						|
			dAtA[i] = 1
 | 
						|
		} else {
 | 
						|
			dAtA[i] = 0
 | 
						|
		}
 | 
						|
		i++
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *KillRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *KillRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	if m.Signal != 0 {
 | 
						|
		dAtA[i] = 0x10
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Signal))
 | 
						|
	}
 | 
						|
	if m.All {
 | 
						|
		dAtA[i] = 0x18
 | 
						|
		i++
 | 
						|
		if m.All {
 | 
						|
			dAtA[i] = 1
 | 
						|
		} else {
 | 
						|
			dAtA[i] = 0
 | 
						|
		}
 | 
						|
		i++
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *CloseIORequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *CloseIORequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	if m.Stdin {
 | 
						|
		dAtA[i] = 0x10
 | 
						|
		i++
 | 
						|
		if m.Stdin {
 | 
						|
			dAtA[i] = 1
 | 
						|
		} else {
 | 
						|
			dAtA[i] = 0
 | 
						|
		}
 | 
						|
		i++
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.ID) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.ID)))
 | 
						|
		i += copy(dAtA[i:], m.ID)
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsResponse) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsResponse) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.Pids) > 0 {
 | 
						|
		dAtA5 := make([]byte, len(m.Pids)*10)
 | 
						|
		var j4 int
 | 
						|
		for _, num := range m.Pids {
 | 
						|
			for num >= 1<<7 {
 | 
						|
				dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80)
 | 
						|
				num >>= 7
 | 
						|
				j4++
 | 
						|
			}
 | 
						|
			dAtA5[j4] = uint8(num)
 | 
						|
			j4++
 | 
						|
		}
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(j4))
 | 
						|
		i += copy(dAtA[i:], dAtA5[:j4])
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *CheckpointTaskRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *CheckpointTaskRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.Path) > 0 {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(len(m.Path)))
 | 
						|
		i += copy(dAtA[i:], m.Path)
 | 
						|
	}
 | 
						|
	if m.Options != nil {
 | 
						|
		dAtA[i] = 0x12
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Options.Size()))
 | 
						|
		n6, err := m.Options.MarshalTo(dAtA[i:])
 | 
						|
		if err != nil {
 | 
						|
			return 0, err
 | 
						|
		}
 | 
						|
		i += n6
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ShimInfoResponse) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *ShimInfoResponse) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.ShimPid != 0 {
 | 
						|
		dAtA[i] = 0x8
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.ShimPid))
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *StreamEventsRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *StreamEventsRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *UpdateTaskRequest) Marshal() (dAtA []byte, err error) {
 | 
						|
	size := m.Size()
 | 
						|
	dAtA = make([]byte, size)
 | 
						|
	n, err := m.MarshalTo(dAtA)
 | 
						|
	if err != nil {
 | 
						|
		return nil, err
 | 
						|
	}
 | 
						|
	return dAtA[:n], nil
 | 
						|
}
 | 
						|
 | 
						|
func (m *UpdateTaskRequest) MarshalTo(dAtA []byte) (int, error) {
 | 
						|
	var i int
 | 
						|
	_ = i
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Resources != nil {
 | 
						|
		dAtA[i] = 0xa
 | 
						|
		i++
 | 
						|
		i = encodeVarintShim(dAtA, i, uint64(m.Resources.Size()))
 | 
						|
		n7, err := m.Resources.MarshalTo(dAtA[i:])
 | 
						|
		if err != nil {
 | 
						|
			return 0, err
 | 
						|
		}
 | 
						|
		i += n7
 | 
						|
	}
 | 
						|
	return i, nil
 | 
						|
}
 | 
						|
 | 
						|
func encodeFixed64Shim(dAtA []byte, offset int, v uint64) int {
 | 
						|
	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)
 | 
						|
	return offset + 8
 | 
						|
}
 | 
						|
func encodeFixed32Shim(dAtA []byte, offset int, v uint32) int {
 | 
						|
	dAtA[offset] = uint8(v)
 | 
						|
	dAtA[offset+1] = uint8(v >> 8)
 | 
						|
	dAtA[offset+2] = uint8(v >> 16)
 | 
						|
	dAtA[offset+3] = uint8(v >> 24)
 | 
						|
	return offset + 4
 | 
						|
}
 | 
						|
func encodeVarintShim(dAtA []byte, offset int, v uint64) int {
 | 
						|
	for v >= 1<<7 {
 | 
						|
		dAtA[offset] = uint8(v&0x7f | 0x80)
 | 
						|
		v >>= 7
 | 
						|
		offset++
 | 
						|
	}
 | 
						|
	dAtA[offset] = uint8(v)
 | 
						|
	return offset + 1
 | 
						|
}
 | 
						|
func (m *CreateTaskRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Bundle)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Runtime)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if len(m.Rootfs) > 0 {
 | 
						|
		for _, e := range m.Rootfs {
 | 
						|
			l = e.Size()
 | 
						|
			n += 1 + l + sovShim(uint64(l))
 | 
						|
		}
 | 
						|
	}
 | 
						|
	if m.Terminal {
 | 
						|
		n += 2
 | 
						|
	}
 | 
						|
	l = len(m.Stdin)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Stdout)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Stderr)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Checkpoint)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.ParentCheckpoint)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Options != nil {
 | 
						|
		l = m.Options.Size()
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *CreateTaskResponse) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Pid != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Pid))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteResponse) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Pid != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Pid))
 | 
						|
	}
 | 
						|
	if m.ExitStatus != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.ExitStatus))
 | 
						|
	}
 | 
						|
	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
 | 
						|
	n += 1 + l + sovShim(uint64(l))
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *DeleteProcessRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Terminal {
 | 
						|
		n += 2
 | 
						|
	}
 | 
						|
	l = len(m.Stdin)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Stdout)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Stderr)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Spec != nil {
 | 
						|
		l = m.Spec.Size()
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ExecProcessResponse) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Pid != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Pid))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ResizePtyRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Width != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Width))
 | 
						|
	}
 | 
						|
	if m.Height != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Height))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *StateResponse) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Bundle)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Pid != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Pid))
 | 
						|
	}
 | 
						|
	if m.Status != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Status))
 | 
						|
	}
 | 
						|
	l = len(m.Stdin)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Stdout)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	l = len(m.Stderr)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Terminal {
 | 
						|
		n += 2
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *KillRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Signal != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.Signal))
 | 
						|
	}
 | 
						|
	if m.All {
 | 
						|
		n += 2
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *CloseIORequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Stdin {
 | 
						|
		n += 2
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.ID)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ListPidsResponse) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if len(m.Pids) > 0 {
 | 
						|
		l = 0
 | 
						|
		for _, e := range m.Pids {
 | 
						|
			l += sovShim(uint64(e))
 | 
						|
		}
 | 
						|
		n += 1 + sovShim(uint64(l)) + l
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *CheckpointTaskRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	l = len(m.Path)
 | 
						|
	if l > 0 {
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	if m.Options != nil {
 | 
						|
		l = m.Options.Size()
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *ShimInfoResponse) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.ShimPid != 0 {
 | 
						|
		n += 1 + sovShim(uint64(m.ShimPid))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *StreamEventsRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func (m *UpdateTaskRequest) Size() (n int) {
 | 
						|
	var l int
 | 
						|
	_ = l
 | 
						|
	if m.Resources != nil {
 | 
						|
		l = m.Resources.Size()
 | 
						|
		n += 1 + l + sovShim(uint64(l))
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
 | 
						|
func sovShim(x uint64) (n int) {
 | 
						|
	for {
 | 
						|
		n++
 | 
						|
		x >>= 7
 | 
						|
		if x == 0 {
 | 
						|
			break
 | 
						|
		}
 | 
						|
	}
 | 
						|
	return n
 | 
						|
}
 | 
						|
func sozShim(x uint64) (n int) {
 | 
						|
	return sovShim(uint64((x << 1) ^ uint64((int64(x) >> 63))))
 | 
						|
}
 | 
						|
func (this *CreateTaskRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&CreateTaskRequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`Bundle:` + fmt.Sprintf("%v", this.Bundle) + `,`,
 | 
						|
		`Runtime:` + fmt.Sprintf("%v", this.Runtime) + `,`,
 | 
						|
		`Rootfs:` + strings.Replace(fmt.Sprintf("%v", this.Rootfs), "Mount", "containerd_types.Mount", 1) + `,`,
 | 
						|
		`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
 | 
						|
		`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
 | 
						|
		`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
 | 
						|
		`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
 | 
						|
		`Checkpoint:` + fmt.Sprintf("%v", this.Checkpoint) + `,`,
 | 
						|
		`ParentCheckpoint:` + fmt.Sprintf("%v", this.ParentCheckpoint) + `,`,
 | 
						|
		`Options:` + strings.Replace(fmt.Sprintf("%v", this.Options), "Any", "google_protobuf.Any", 1) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *CreateTaskResponse) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&CreateTaskResponse{`,
 | 
						|
		`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *DeleteResponse) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&DeleteResponse{`,
 | 
						|
		`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
 | 
						|
		`ExitStatus:` + fmt.Sprintf("%v", this.ExitStatus) + `,`,
 | 
						|
		`ExitedAt:` + strings.Replace(strings.Replace(this.ExitedAt.String(), "Timestamp", "google_protobuf3.Timestamp", 1), `&`, ``, 1) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *DeleteProcessRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&DeleteProcessRequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *ExecProcessRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&ExecProcessRequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
 | 
						|
		`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
 | 
						|
		`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
 | 
						|
		`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
 | 
						|
		`Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "Any", "google_protobuf.Any", 1) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *ExecProcessResponse) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&ExecProcessResponse{`,
 | 
						|
		`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *ResizePtyRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&ResizePtyRequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`Width:` + fmt.Sprintf("%v", this.Width) + `,`,
 | 
						|
		`Height:` + fmt.Sprintf("%v", this.Height) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *StateRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&StateRequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *StateResponse) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&StateResponse{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`Bundle:` + fmt.Sprintf("%v", this.Bundle) + `,`,
 | 
						|
		`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
 | 
						|
		`Status:` + fmt.Sprintf("%v", this.Status) + `,`,
 | 
						|
		`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
 | 
						|
		`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
 | 
						|
		`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
 | 
						|
		`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *KillRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&KillRequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
 | 
						|
		`All:` + fmt.Sprintf("%v", this.All) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *CloseIORequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&CloseIORequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *ListPidsRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&ListPidsRequest{`,
 | 
						|
		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *ListPidsResponse) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&ListPidsResponse{`,
 | 
						|
		`Pids:` + fmt.Sprintf("%v", this.Pids) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *CheckpointTaskRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&CheckpointTaskRequest{`,
 | 
						|
		`Path:` + fmt.Sprintf("%v", this.Path) + `,`,
 | 
						|
		`Options:` + strings.Replace(fmt.Sprintf("%v", this.Options), "Any", "google_protobuf.Any", 1) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *ShimInfoResponse) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&ShimInfoResponse{`,
 | 
						|
		`ShimPid:` + fmt.Sprintf("%v", this.ShimPid) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *StreamEventsRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&StreamEventsRequest{`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func (this *UpdateTaskRequest) String() string {
 | 
						|
	if this == nil {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	s := strings.Join([]string{`&UpdateTaskRequest{`,
 | 
						|
		`Resources:` + strings.Replace(fmt.Sprintf("%v", this.Resources), "Any", "google_protobuf.Any", 1) + `,`,
 | 
						|
		`}`,
 | 
						|
	}, "")
 | 
						|
	return s
 | 
						|
}
 | 
						|
func valueToStringShim(v interface{}) string {
 | 
						|
	rv := reflect.ValueOf(v)
 | 
						|
	if rv.IsNil() {
 | 
						|
		return "nil"
 | 
						|
	}
 | 
						|
	pv := reflect.Indirect(rv).Interface()
 | 
						|
	return fmt.Sprintf("*%v", pv)
 | 
						|
}
 | 
						|
func (m *CreateTaskRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: CreateTaskRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: CreateTaskRequest: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Bundle", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Bundle = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 3:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Runtime", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Runtime = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 4:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Rootfs", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Rootfs = append(m.Rootfs, &containerd_types.Mount{})
 | 
						|
			if err := m.Rootfs[len(m.Rootfs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stdin = string(dAtA[iNdEx:postIndex])
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stdout = string(dAtA[iNdEx:postIndex])
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stderr = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 9:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Checkpoint", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Checkpoint = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 10:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ParentCheckpoint", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ParentCheckpoint = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 11:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			if m.Options == nil {
 | 
						|
				m.Options = &google_protobuf.Any{}
 | 
						|
			}
 | 
						|
			if err := m.Options.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *CreateTaskResponse) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: CreateTaskResponse: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: CreateTaskResponse: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Pid |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *DeleteResponse) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: DeleteResponse: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: DeleteResponse: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Pid |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 2:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType)
 | 
						|
			}
 | 
						|
			m.ExitStatus = 0
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.ExitStatus |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 3:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ExitedAt", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *DeleteProcessRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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 ID", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: ExecProcessRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ExecProcessRequest: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				v |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			m.Terminal = bool(v != 0)
 | 
						|
		case 3:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stdin = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 4:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stdout = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 5:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stderr = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 6:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			if m.Spec == nil {
 | 
						|
				m.Spec = &google_protobuf.Any{}
 | 
						|
			}
 | 
						|
			if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ExecProcessResponse) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: ExecProcessResponse: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ExecProcessResponse: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Pid |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ResizePtyRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: ResizePtyRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ResizePtyRequest: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType)
 | 
						|
			}
 | 
						|
			m.Width = 0
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Width |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 3:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 | 
						|
			}
 | 
						|
			m.Height = 0
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Height |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *StateRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: StateRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: StateRequest: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *StateResponse) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: StateResponse: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: StateResponse: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Bundle", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Bundle = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 3:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Pid |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 4:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
 | 
						|
			}
 | 
						|
			m.Status = 0
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Status |= (containerd_v1_types.Status(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 5:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stdin = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 6:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stdout = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 7:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Stderr = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 8:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				v |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			m.Terminal = bool(v != 0)
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *KillRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: KillRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: KillRequest: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.Signal |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		case 3:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field All", wireType)
 | 
						|
			}
 | 
						|
			var v int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				v |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			m.All = bool(v != 0)
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *CloseIORequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: CloseIORequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: CloseIORequest: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
 | 
						|
			}
 | 
						|
			var v int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				v |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			m.Stdin = bool(v != 0)
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ListPidsRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: ListPidsRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ListPidsRequest: 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 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.ID = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ListPidsResponse) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: ListPidsResponse: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ListPidsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		case 1:
 | 
						|
			if wireType == 0 {
 | 
						|
				var v uint32
 | 
						|
				for shift := uint(0); ; shift += 7 {
 | 
						|
					if shift >= 64 {
 | 
						|
						return ErrIntOverflowShim
 | 
						|
					}
 | 
						|
					if iNdEx >= l {
 | 
						|
						return io.ErrUnexpectedEOF
 | 
						|
					}
 | 
						|
					b := dAtA[iNdEx]
 | 
						|
					iNdEx++
 | 
						|
					v |= (uint32(b) & 0x7F) << shift
 | 
						|
					if b < 0x80 {
 | 
						|
						break
 | 
						|
					}
 | 
						|
				}
 | 
						|
				m.Pids = append(m.Pids, v)
 | 
						|
			} else if wireType == 2 {
 | 
						|
				var packedLen int
 | 
						|
				for shift := uint(0); ; shift += 7 {
 | 
						|
					if shift >= 64 {
 | 
						|
						return ErrIntOverflowShim
 | 
						|
					}
 | 
						|
					if iNdEx >= l {
 | 
						|
						return io.ErrUnexpectedEOF
 | 
						|
					}
 | 
						|
					b := dAtA[iNdEx]
 | 
						|
					iNdEx++
 | 
						|
					packedLen |= (int(b) & 0x7F) << shift
 | 
						|
					if b < 0x80 {
 | 
						|
						break
 | 
						|
					}
 | 
						|
				}
 | 
						|
				if packedLen < 0 {
 | 
						|
					return ErrInvalidLengthShim
 | 
						|
				}
 | 
						|
				postIndex := iNdEx + packedLen
 | 
						|
				if postIndex > l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				for iNdEx < postIndex {
 | 
						|
					var v uint32
 | 
						|
					for shift := uint(0); ; shift += 7 {
 | 
						|
						if shift >= 64 {
 | 
						|
							return ErrIntOverflowShim
 | 
						|
						}
 | 
						|
						if iNdEx >= l {
 | 
						|
							return io.ErrUnexpectedEOF
 | 
						|
						}
 | 
						|
						b := dAtA[iNdEx]
 | 
						|
						iNdEx++
 | 
						|
						v |= (uint32(b) & 0x7F) << shift
 | 
						|
						if b < 0x80 {
 | 
						|
							break
 | 
						|
						}
 | 
						|
					}
 | 
						|
					m.Pids = append(m.Pids, v)
 | 
						|
				}
 | 
						|
			} else {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Pids", wireType)
 | 
						|
			}
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *CheckpointTaskRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: CheckpointTaskRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: CheckpointTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		case 1:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
 | 
						|
			}
 | 
						|
			var stringLen uint64
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				stringLen |= (uint64(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			intStringLen := int(stringLen)
 | 
						|
			if intStringLen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + intStringLen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			m.Path = string(dAtA[iNdEx:postIndex])
 | 
						|
			iNdEx = postIndex
 | 
						|
		case 2:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			if m.Options == nil {
 | 
						|
				m.Options = &google_protobuf.Any{}
 | 
						|
			}
 | 
						|
			if err := m.Options.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *ShimInfoResponse) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: ShimInfoResponse: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: ShimInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		case 1:
 | 
						|
			if wireType != 0 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field ShimPid", wireType)
 | 
						|
			}
 | 
						|
			m.ShimPid = 0
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				m.ShimPid |= (uint32(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *StreamEventsRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: StreamEventsRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: StreamEventsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		preIndex := iNdEx
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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: UpdateTaskRequest: wiretype end group for non-group")
 | 
						|
		}
 | 
						|
		if fieldNum <= 0 {
 | 
						|
			return fmt.Errorf("proto: UpdateTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
						|
		}
 | 
						|
		switch fieldNum {
 | 
						|
		case 1:
 | 
						|
			if wireType != 2 {
 | 
						|
				return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
 | 
						|
			}
 | 
						|
			var msglen int
 | 
						|
			for shift := uint(0); ; shift += 7 {
 | 
						|
				if shift >= 64 {
 | 
						|
					return ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				msglen |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			if msglen < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			postIndex := iNdEx + msglen
 | 
						|
			if postIndex > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			if m.Resources == nil {
 | 
						|
				m.Resources = &google_protobuf.Any{}
 | 
						|
			}
 | 
						|
			if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			iNdEx = postIndex
 | 
						|
		default:
 | 
						|
			iNdEx = preIndex
 | 
						|
			skippy, err := skipShim(dAtA[iNdEx:])
 | 
						|
			if err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			if skippy < 0 {
 | 
						|
				return ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			if (iNdEx + skippy) > l {
 | 
						|
				return io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			iNdEx += skippy
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	if iNdEx > l {
 | 
						|
		return io.ErrUnexpectedEOF
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
func skipShim(dAtA []byte) (n int, err error) {
 | 
						|
	l := len(dAtA)
 | 
						|
	iNdEx := 0
 | 
						|
	for iNdEx < l {
 | 
						|
		var wire uint64
 | 
						|
		for shift := uint(0); ; shift += 7 {
 | 
						|
			if shift >= 64 {
 | 
						|
				return 0, ErrIntOverflowShim
 | 
						|
			}
 | 
						|
			if iNdEx >= l {
 | 
						|
				return 0, io.ErrUnexpectedEOF
 | 
						|
			}
 | 
						|
			b := dAtA[iNdEx]
 | 
						|
			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 {
 | 
						|
					return 0, ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return 0, io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				iNdEx++
 | 
						|
				if dAtA[iNdEx-1] < 0x80 {
 | 
						|
					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 {
 | 
						|
					return 0, ErrIntOverflowShim
 | 
						|
				}
 | 
						|
				if iNdEx >= l {
 | 
						|
					return 0, io.ErrUnexpectedEOF
 | 
						|
				}
 | 
						|
				b := dAtA[iNdEx]
 | 
						|
				iNdEx++
 | 
						|
				length |= (int(b) & 0x7F) << shift
 | 
						|
				if b < 0x80 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
			}
 | 
						|
			iNdEx += length
 | 
						|
			if length < 0 {
 | 
						|
				return 0, ErrInvalidLengthShim
 | 
						|
			}
 | 
						|
			return iNdEx, nil
 | 
						|
		case 3:
 | 
						|
			for {
 | 
						|
				var innerWire uint64
 | 
						|
				var start int = iNdEx
 | 
						|
				for shift := uint(0); ; shift += 7 {
 | 
						|
					if shift >= 64 {
 | 
						|
						return 0, ErrIntOverflowShim
 | 
						|
					}
 | 
						|
					if iNdEx >= l {
 | 
						|
						return 0, io.ErrUnexpectedEOF
 | 
						|
					}
 | 
						|
					b := dAtA[iNdEx]
 | 
						|
					iNdEx++
 | 
						|
					innerWire |= (uint64(b) & 0x7F) << shift
 | 
						|
					if b < 0x80 {
 | 
						|
						break
 | 
						|
					}
 | 
						|
				}
 | 
						|
				innerWireType := int(innerWire & 0x7)
 | 
						|
				if innerWireType == 4 {
 | 
						|
					break
 | 
						|
				}
 | 
						|
				next, err := skipShim(dAtA[start:])
 | 
						|
				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 (
 | 
						|
	ErrInvalidLengthShim = fmt.Errorf("proto: negative length found during unmarshaling")
 | 
						|
	ErrIntOverflowShim   = fmt.Errorf("proto: integer overflow")
 | 
						|
)
 | 
						|
 | 
						|
func init() {
 | 
						|
	proto.RegisterFile("github.com/containerd/containerd/linux/shim/v1/shim.proto", fileDescriptorShim)
 | 
						|
}
 | 
						|
 | 
						|
var fileDescriptorShim = []byte{
 | 
						|
	// 1117 bytes of a gzipped FileDescriptorProto
 | 
						|
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x4d, 0x6f, 0xdb, 0x46,
 | 
						|
	0x13, 0x36, 0xf5, 0x41, 0xc9, 0xa3, 0x57, 0x7e, 0xed, 0x8d, 0xe3, 0x32, 0x0a, 0x20, 0x0b, 0x3c,
 | 
						|
	0xb8, 0x2a, 0x82, 0x90, 0xb1, 0xdc, 0x24, 0xfd, 0x00, 0x0a, 0xd8, 0x8e, 0x51, 0x18, 0xad, 0x11,
 | 
						|
	0x83, 0x4e, 0xda, 0xa2, 0x45, 0x61, 0xd0, 0xe2, 0x5a, 0x5a, 0x58, 0x22, 0x19, 0xee, 0xd2, 0xb5,
 | 
						|
	0x7b, 0xea, 0xa9, 0xe7, 0xfe, 0x9c, 0xde, 0x7b, 0xf1, 0xb1, 0xc7, 0x9e, 0xd2, 0x46, 0xa7, 0x5e,
 | 
						|
	0xfa, 0x1f, 0x8a, 0xfd, 0x90, 0x45, 0x49, 0x26, 0x48, 0xf5, 0x62, 0xed, 0xec, 0xce, 0x2c, 0x67,
 | 
						|
	0xe6, 0x79, 0x66, 0x66, 0x0d, 0x1f, 0xf7, 0x08, 0xeb, 0xc7, 0x67, 0x56, 0x37, 0x18, 0xda, 0xdd,
 | 
						|
	0xc0, 0x67, 0x2e, 0xf1, 0x71, 0xe4, 0x25, 0x97, 0x03, 0xe2, 0xc7, 0x57, 0x36, 0xed, 0x93, 0xa1,
 | 
						|
	0x7d, 0xb9, 0x2d, 0x7e, 0xad, 0x30, 0x0a, 0x58, 0x80, 0x5a, 0x13, 0x25, 0x2b, 0x8a, 0x7d, 0x46,
 | 
						|
	0x86, 0xd8, 0x12, 0xca, 0x96, 0x50, 0xba, 0xdc, 0x6e, 0x3c, 0xe8, 0x05, 0x41, 0x6f, 0x80, 0x6d,
 | 
						|
	0xa1, 0x7f, 0x16, 0x9f, 0xdb, 0xae, 0x7f, 0x2d, 0x8d, 0x1b, 0x0f, 0x67, 0x8f, 0xf0, 0x30, 0x64,
 | 
						|
	0xe3, 0xc3, 0xf5, 0x5e, 0xd0, 0x0b, 0xc4, 0xd2, 0xe6, 0x2b, 0xb5, 0xbb, 0x39, 0x6b, 0xc2, 0xbf,
 | 
						|
	0x48, 0x99, 0x3b, 0x0c, 0x95, 0xc2, 0xb3, 0xcc, 0x58, 0xdc, 0x90, 0xd8, 0xec, 0x3a, 0xc4, 0xd4,
 | 
						|
	0x1e, 0x06, 0xb1, 0xcf, 0x94, 0xdd, 0x27, 0x0b, 0xd8, 0x31, 0x97, 0x5e, 0x88, 0x3f, 0xca, 0xf6,
 | 
						|
	0x20, 0x97, 0x2d, 0xc5, 0xd1, 0x25, 0xe9, 0x62, 0x6a, 0xe3, 0x4b, 0xec, 0x33, 0xca, 0x13, 0x39,
 | 
						|
	0xce, 0x98, 0xb8, 0xc6, 0xfc, 0xa7, 0x00, 0x6b, 0xfb, 0x11, 0x76, 0x19, 0x7e, 0xe5, 0xd2, 0x0b,
 | 
						|
	0x07, 0xbf, 0x89, 0x31, 0x65, 0x68, 0x03, 0x0a, 0xc4, 0x33, 0xb4, 0x96, 0xd6, 0x5e, 0xde, 0xd3,
 | 
						|
	0x47, 0x6f, 0x37, 0x0b, 0x87, 0x2f, 0x9c, 0x02, 0xf1, 0xd0, 0x06, 0xe8, 0x67, 0xb1, 0xef, 0x0d,
 | 
						|
	0xb0, 0x51, 0xe0, 0x67, 0x8e, 0x92, 0x90, 0x01, 0x15, 0x75, 0xad, 0x51, 0x14, 0x07, 0x63, 0x11,
 | 
						|
	0xd9, 0xa0, 0x47, 0x41, 0xc0, 0xce, 0xa9, 0x51, 0x6a, 0x15, 0xdb, 0xb5, 0xce, 0x7b, 0x56, 0x02,
 | 
						|
	0x3c, 0x11, 0x99, 0x75, 0xc4, 0x33, 0xe2, 0x28, 0x35, 0xd4, 0x80, 0x2a, 0xc3, 0xd1, 0x90, 0xf8,
 | 
						|
	0xee, 0xc0, 0x28, 0xb7, 0xb4, 0x76, 0xd5, 0xb9, 0x95, 0xd1, 0x3a, 0x94, 0x29, 0xf3, 0x88, 0x6f,
 | 
						|
	0xe8, 0xe2, 0x23, 0x52, 0xe0, 0x4e, 0x51, 0xe6, 0x05, 0x31, 0x33, 0x2a, 0xd2, 0x29, 0x29, 0xa9,
 | 
						|
	0x7d, 0x1c, 0x45, 0x46, 0xf5, 0x76, 0x1f, 0x47, 0x11, 0x6a, 0x02, 0x74, 0xfb, 0xb8, 0x7b, 0x11,
 | 
						|
	0x06, 0xc4, 0x67, 0xc6, 0xb2, 0x38, 0x4b, 0xec, 0xa0, 0x47, 0xb0, 0x16, 0xba, 0x11, 0xf6, 0xd9,
 | 
						|
	0x69, 0x42, 0x0d, 0x84, 0xda, 0xaa, 0x3c, 0xd8, 0x9f, 0x28, 0x5b, 0x50, 0x09, 0x42, 0x46, 0x02,
 | 
						|
	0x9f, 0x1a, 0xb5, 0x96, 0xd6, 0xae, 0x75, 0xd6, 0x2d, 0xc9, 0x16, 0x6b, 0xcc, 0x16, 0x6b, 0xd7,
 | 
						|
	0xbf, 0x76, 0xc6, 0x4a, 0xe6, 0x16, 0xa0, 0x64, 0xba, 0x69, 0x18, 0xf8, 0x14, 0xa3, 0x55, 0x28,
 | 
						|
	0x86, 0x2a, 0xe1, 0x75, 0x87, 0x2f, 0xcd, 0x9f, 0x35, 0x58, 0x79, 0x81, 0x07, 0x98, 0xe1, 0x74,
 | 
						|
	0x25, 0xb4, 0x09, 0x35, 0x7c, 0x45, 0xd8, 0x29, 0x65, 0x2e, 0x8b, 0xa9, 0xc0, 0xa4, 0xee, 0x00,
 | 
						|
	0xdf, 0x3a, 0x11, 0x3b, 0x68, 0x17, 0x96, 0xb9, 0x84, 0xbd, 0x53, 0x97, 0x09, 0x64, 0x6a, 0x9d,
 | 
						|
	0xc6, 0x9c, 0x7f, 0xaf, 0xc6, 0x6c, 0xde, 0xab, 0xde, 0xbc, 0xdd, 0x5c, 0xfa, 0xe5, 0xcf, 0x4d,
 | 
						|
	0xcd, 0xa9, 0x4a, 0xb3, 0x5d, 0x66, 0x5a, 0xb0, 0x2e, 0xfd, 0x38, 0x8e, 0x82, 0x2e, 0xa6, 0x34,
 | 
						|
	0x83, 0x22, 0xe6, 0xaf, 0x1a, 0xa0, 0x83, 0x2b, 0xdc, 0xcd, 0xa7, 0x3e, 0x05, 0x77, 0x21, 0x0d,
 | 
						|
	0xee, 0xe2, 0xdd, 0x70, 0x97, 0x52, 0xe0, 0x2e, 0x4f, 0xc1, 0xdd, 0x86, 0x12, 0x0d, 0x71, 0x57,
 | 
						|
	0x70, 0x26, 0x0d, 0x1e, 0xa1, 0x61, 0xbe, 0x0f, 0xf7, 0xa6, 0x3c, 0x4f, 0x05, 0xe7, 0x1b, 0x58,
 | 
						|
	0x75, 0x30, 0x25, 0x3f, 0xe2, 0x63, 0x76, 0x9d, 0x15, 0xe0, 0x3a, 0x94, 0x7f, 0x20, 0x1e, 0xeb,
 | 
						|
	0x2b, 0x74, 0xa4, 0xc0, 0x9d, 0xed, 0x63, 0xd2, 0xeb, 0x4b, 0x54, 0xea, 0x8e, 0x92, 0xcc, 0x2d,
 | 
						|
	0xf8, 0x1f, 0x87, 0x0e, 0x67, 0x65, 0xf9, 0x6f, 0x0d, 0xea, 0x4a, 0x51, 0x79, 0xb9, 0x68, 0xc9,
 | 
						|
	0xaa, 0xa8, 0x8a, 0x13, 0x36, 0xed, 0xf0, 0x04, 0x0a, 0x22, 0xf1, 0xc4, 0xae, 0x74, 0x1e, 0x26,
 | 
						|
	0x4b, 0xf5, 0x72, 0x5b, 0x55, 0xab, 0x64, 0x96, 0xa3, 0x54, 0x27, 0x18, 0x95, 0xef, 0xc6, 0x48,
 | 
						|
	0x4f, 0xc1, 0xa8, 0x32, 0x85, 0x51, 0x92, 0x05, 0xd5, 0x69, 0x16, 0x98, 0x2f, 0xa1, 0xf6, 0x05,
 | 
						|
	0x19, 0x0c, 0x72, 0xb4, 0x26, 0x4a, 0x7a, 0x63, 0x1a, 0xd5, 0x1d, 0x25, 0xf1, 0x38, 0xdd, 0xc1,
 | 
						|
	0x40, 0xc4, 0x59, 0x75, 0xf8, 0xd2, 0xfc, 0x0c, 0x56, 0xf6, 0x07, 0x01, 0xc5, 0x87, 0x2f, 0x73,
 | 
						|
	0x60, 0x27, 0x83, 0x93, 0xcc, 0x94, 0x82, 0xf9, 0x01, 0xfc, 0xff, 0x4b, 0x42, 0xd9, 0x31, 0xf1,
 | 
						|
	0x32, 0x8b, 0x61, 0x0b, 0x56, 0x27, 0xaa, 0x0a, 0x28, 0x04, 0xa5, 0x90, 0x78, 0xd4, 0xd0, 0x5a,
 | 
						|
	0xc5, 0x76, 0xdd, 0x11, 0x6b, 0xf3, 0x3b, 0xb8, 0x3f, 0xe9, 0x29, 0xc9, 0x46, 0xcc, 0x95, 0x5d,
 | 
						|
	0xd6, 0x97, 0x57, 0x3b, 0x62, 0x9d, 0x6c, 0x39, 0x85, 0x3c, 0x2d, 0xe7, 0x31, 0xac, 0x9e, 0xf4,
 | 
						|
	0xc9, 0xf0, 0xd0, 0x3f, 0x0f, 0x6e, 0x9d, 0x78, 0x00, 0x55, 0x3e, 0x2b, 0x4f, 0x27, 0xc4, 0xae,
 | 
						|
	0x70, 0xf9, 0x98, 0x78, 0xe6, 0x7d, 0xb8, 0x77, 0xc2, 0x22, 0xec, 0x0e, 0x0f, 0xc4, 0xc8, 0x50,
 | 
						|
	0x9e, 0x98, 0x9f, 0xc3, 0xda, 0xeb, 0xd0, 0x9b, 0x99, 0x13, 0x1d, 0x58, 0x8e, 0x30, 0x0d, 0xe2,
 | 
						|
	0xa8, 0x8b, 0xa9, 0xb8, 0x27, 0xcd, 0x99, 0x89, 0x5a, 0xe7, 0xb7, 0x1a, 0x94, 0xb8, 0x3f, 0xa8,
 | 
						|
	0x0f, 0x65, 0x41, 0x61, 0x64, 0x59, 0x59, 0x03, 0xdd, 0x4a, 0x16, 0x45, 0xc3, 0xce, 0xad, 0xaf,
 | 
						|
	0xa2, 0xa5, 0xa0, 0xcb, 0xa6, 0x8b, 0x76, 0xb2, 0x4d, 0xe7, 0xa6, 0x61, 0xe3, 0xc3, 0xc5, 0x8c,
 | 
						|
	0xd4, 0x47, 0x9f, 0x8b, 0xf0, 0x22, 0x86, 0x36, 0xe6, 0x32, 0x72, 0xc0, 0x9f, 0x1c, 0x8d, 0x94,
 | 
						|
	0x7d, 0xe4, 0x80, 0x2e, 0x3b, 0x6e, 0xaa, 0xe5, 0x93, 0x6c, 0x87, 0x66, 0x66, 0xc7, 0x35, 0xd4,
 | 
						|
	0xa7, 0xba, 0x38, 0x7a, 0x96, 0xf7, 0x8a, 0xe9, 0x3e, 0xfe, 0x1f, 0x3e, 0xfd, 0x06, 0xaa, 0xe3,
 | 
						|
	0x1a, 0x40, 0xdb, 0xd9, 0xd6, 0x33, 0xa5, 0xd5, 0xe8, 0x2c, 0x62, 0x32, 0x49, 0xfd, 0xb1, 0x1b,
 | 
						|
	0x53, 0xbc, 0x70, 0xea, 0x3f, 0x02, 0xdd, 0xc1, 0x34, 0x1e, 0x2e, 0x6e, 0xf9, 0x3d, 0x40, 0xe2,
 | 
						|
	0x55, 0xf0, 0x3c, 0x07, 0x63, 0xee, 0xaa, 0xf7, 0xd4, 0xeb, 0x7d, 0xd0, 0x65, 0x51, 0xa2, 0xa7,
 | 
						|
	0x79, 0xc8, 0x3f, 0x57, 0xbe, 0x8d, 0x47, 0x49, 0xb3, 0xf1, 0xab, 0xd0, 0x92, 0xaf, 0x42, 0x6e,
 | 
						|
	0xe3, 0xc8, 0x9b, 0x84, 0xd1, 0x13, 0x0d, 0x1d, 0x41, 0x89, 0x37, 0x5d, 0xf4, 0x38, 0xfb, 0x6b,
 | 
						|
	0x89, 0xe6, 0x9c, 0xea, 0x3e, 0x85, 0x12, 0x9f, 0xac, 0x28, 0x47, 0x25, 0xcd, 0xbf, 0x1d, 0x1a,
 | 
						|
	0x4f, 0x17, 0xb4, 0x52, 0x2c, 0xf8, 0x1a, 0x96, 0x6f, 0xa7, 0x34, 0xca, 0x41, 0xa3, 0xd9, 0x91,
 | 
						|
	0x9e, 0x1a, 0xcd, 0x09, 0x54, 0xd4, 0x00, 0x41, 0x39, 0xca, 0x61, 0x7a, 0xd6, 0xa4, 0x5e, 0xfa,
 | 
						|
	0x15, 0x54, 0xc7, 0x5d, 0x3a, 0x95, 0x7c, 0x39, 0x82, 0x98, 0xeb, 0xf4, 0xaf, 0x41, 0x97, 0x7d,
 | 
						|
	0x3b, 0x4f, 0xef, 0x9b, 0xeb, 0xf0, 0x69, 0xee, 0xee, 0x1d, 0xdd, 0xbc, 0x6b, 0x2e, 0xfd, 0xf1,
 | 
						|
	0xae, 0xb9, 0xf4, 0xd3, 0xa8, 0xa9, 0xdd, 0x8c, 0x9a, 0xda, 0xef, 0xa3, 0xa6, 0xf6, 0xd7, 0xa8,
 | 
						|
	0xa9, 0x7d, 0xbb, 0xb3, 0xd8, 0x3f, 0x76, 0x9f, 0xf2, 0xdf, 0x33, 0x5d, 0x5c, 0xbf, 0xf3, 0x6f,
 | 
						|
	0x00, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x23, 0x98, 0xb4, 0x16, 0x0e, 0x00, 0x00,
 | 
						|
}
 |