4815 lines
123 KiB
Go
4815 lines
123 KiB
Go
// Code generated by protoc-gen-gogo.
|
|
// source: github.com/containerd/containerd/api/services/execution/execution.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package execution is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
github.com/containerd/containerd/api/services/execution/execution.proto
|
|
|
|
It has these top-level messages:
|
|
CreateTaskRequest
|
|
CreateTaskResponse
|
|
StartTaskRequest
|
|
DeleteTaskRequest
|
|
DeleteResponse
|
|
DeleteProcessRequest
|
|
GetTaskRequest
|
|
GetTaskResponse
|
|
ListTasksRequest
|
|
ListTasksResponse
|
|
KillRequest
|
|
ExecProcessRequest
|
|
ExecProcessResponse
|
|
ResizePtyRequest
|
|
CloseIORequest
|
|
PauseTaskRequest
|
|
ResumeTaskRequest
|
|
ListProcessesRequest
|
|
ListProcessesResponse
|
|
CheckpointTaskRequest
|
|
CheckpointTaskResponse
|
|
*/
|
|
package execution
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import google_protobuf "github.com/golang/protobuf/ptypes/empty"
|
|
import google_protobuf1 "github.com/gogo/protobuf/types"
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
import containerd_v1_types "github.com/containerd/containerd/api/types/mount"
|
|
import containerd_v1_types1 "github.com/containerd/containerd/api/types/descriptor"
|
|
import containerd_v1_types2 "github.com/containerd/containerd/api/types/task"
|
|
import _ "github.com/gogo/protobuf/types"
|
|
|
|
import time "time"
|
|
import github_com_opencontainers_go_digest "github.com/opencontainers/go-digest"
|
|
|
|
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 github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
|
|
|
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 {
|
|
// ContainerID specifies the container to use for creating this task.
|
|
//
|
|
// The spec from the provided container id will be used to create the
|
|
// task associated with this container. Only one task can be run at a time
|
|
// per container.
|
|
ContainerID string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
// RootFS provides the pre-chroot mounts to perform in the shim before
|
|
// executing the container task.
|
|
//
|
|
// These are for mounts that cannot be performed in the user namespace.
|
|
// Typically, these mounts should be resolved from snapshots specified on
|
|
// the container object.
|
|
Rootfs []*containerd_v1_types.Mount `protobuf:"bytes,3,rep,name=rootfs" json:"rootfs,omitempty"`
|
|
Stdin string `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
|
Stdout string `protobuf:"bytes,5,opt,name=stdout,proto3" json:"stdout,omitempty"`
|
|
Stderr string `protobuf:"bytes,6,opt,name=stderr,proto3" json:"stderr,omitempty"`
|
|
Terminal bool `protobuf:"varint,7,opt,name=terminal,proto3" json:"terminal,omitempty"`
|
|
Checkpoint *containerd_v1_types1.Descriptor `protobuf:"bytes,8,opt,name=checkpoint" json:"checkpoint,omitempty"`
|
|
}
|
|
|
|
func (m *CreateTaskRequest) Reset() { *m = CreateTaskRequest{} }
|
|
func (*CreateTaskRequest) ProtoMessage() {}
|
|
func (*CreateTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{0} }
|
|
|
|
type CreateTaskResponse struct {
|
|
ContainerID string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
Pid uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
}
|
|
|
|
func (m *CreateTaskResponse) Reset() { *m = CreateTaskResponse{} }
|
|
func (*CreateTaskResponse) ProtoMessage() {}
|
|
func (*CreateTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{1} }
|
|
|
|
type StartTaskRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
}
|
|
|
|
func (m *StartTaskRequest) Reset() { *m = StartTaskRequest{} }
|
|
func (*StartTaskRequest) ProtoMessage() {}
|
|
func (*StartTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{2} }
|
|
|
|
type DeleteTaskRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
}
|
|
|
|
func (m *DeleteTaskRequest) Reset() { *m = DeleteTaskRequest{} }
|
|
func (*DeleteTaskRequest) ProtoMessage() {}
|
|
func (*DeleteTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{3} }
|
|
|
|
type DeleteResponse struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,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 fileDescriptorExecution, []int{4} }
|
|
|
|
type DeleteProcessRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
}
|
|
|
|
func (m *DeleteProcessRequest) Reset() { *m = DeleteProcessRequest{} }
|
|
func (*DeleteProcessRequest) ProtoMessage() {}
|
|
func (*DeleteProcessRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{5} }
|
|
|
|
type GetTaskRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
}
|
|
|
|
func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} }
|
|
func (*GetTaskRequest) ProtoMessage() {}
|
|
func (*GetTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{6} }
|
|
|
|
type GetTaskResponse struct {
|
|
Task *containerd_v1_types2.Task `protobuf:"bytes,1,opt,name=task" json:"task,omitempty"`
|
|
}
|
|
|
|
func (m *GetTaskResponse) Reset() { *m = GetTaskResponse{} }
|
|
func (*GetTaskResponse) ProtoMessage() {}
|
|
func (*GetTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{7} }
|
|
|
|
type ListTasksRequest struct {
|
|
Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
}
|
|
|
|
func (m *ListTasksRequest) Reset() { *m = ListTasksRequest{} }
|
|
func (*ListTasksRequest) ProtoMessage() {}
|
|
func (*ListTasksRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{8} }
|
|
|
|
type ListTasksResponse struct {
|
|
Tasks []*containerd_v1_types2.Task `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"`
|
|
}
|
|
|
|
func (m *ListTasksResponse) Reset() { *m = ListTasksResponse{} }
|
|
func (*ListTasksResponse) ProtoMessage() {}
|
|
func (*ListTasksResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{9} }
|
|
|
|
type KillRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
Signal uint32 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
|
|
// Types that are valid to be assigned to PidOrAll:
|
|
// *KillRequest_All
|
|
// *KillRequest_Pid
|
|
PidOrAll isKillRequest_PidOrAll `protobuf_oneof:"pid_or_all"`
|
|
}
|
|
|
|
func (m *KillRequest) Reset() { *m = KillRequest{} }
|
|
func (*KillRequest) ProtoMessage() {}
|
|
func (*KillRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{10} }
|
|
|
|
type isKillRequest_PidOrAll interface {
|
|
isKillRequest_PidOrAll()
|
|
MarshalTo([]byte) (int, error)
|
|
Size() int
|
|
}
|
|
|
|
type KillRequest_All struct {
|
|
All bool `protobuf:"varint,3,opt,name=all,proto3,oneof"`
|
|
}
|
|
type KillRequest_Pid struct {
|
|
Pid uint32 `protobuf:"varint,4,opt,name=pid,proto3,oneof"`
|
|
}
|
|
|
|
func (*KillRequest_All) isKillRequest_PidOrAll() {}
|
|
func (*KillRequest_Pid) isKillRequest_PidOrAll() {}
|
|
|
|
func (m *KillRequest) GetPidOrAll() isKillRequest_PidOrAll {
|
|
if m != nil {
|
|
return m.PidOrAll
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *KillRequest) GetAll() bool {
|
|
if x, ok := m.GetPidOrAll().(*KillRequest_All); ok {
|
|
return x.All
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *KillRequest) GetPid() uint32 {
|
|
if x, ok := m.GetPidOrAll().(*KillRequest_Pid); ok {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
|
func (*KillRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
|
return _KillRequest_OneofMarshaler, _KillRequest_OneofUnmarshaler, _KillRequest_OneofSizer, []interface{}{
|
|
(*KillRequest_All)(nil),
|
|
(*KillRequest_Pid)(nil),
|
|
}
|
|
}
|
|
|
|
func _KillRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
m := msg.(*KillRequest)
|
|
// pid_or_all
|
|
switch x := m.PidOrAll.(type) {
|
|
case *KillRequest_All:
|
|
t := uint64(0)
|
|
if x.All {
|
|
t = 1
|
|
}
|
|
_ = b.EncodeVarint(3<<3 | proto.WireVarint)
|
|
_ = b.EncodeVarint(t)
|
|
case *KillRequest_Pid:
|
|
_ = b.EncodeVarint(4<<3 | proto.WireVarint)
|
|
_ = b.EncodeVarint(uint64(x.Pid))
|
|
case nil:
|
|
default:
|
|
return fmt.Errorf("KillRequest.PidOrAll has unexpected type %T", x)
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func _KillRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
m := msg.(*KillRequest)
|
|
switch tag {
|
|
case 3: // pid_or_all.all
|
|
if wire != proto.WireVarint {
|
|
return true, proto.ErrInternalBadWireType
|
|
}
|
|
x, err := b.DecodeVarint()
|
|
m.PidOrAll = &KillRequest_All{x != 0}
|
|
return true, err
|
|
case 4: // pid_or_all.pid
|
|
if wire != proto.WireVarint {
|
|
return true, proto.ErrInternalBadWireType
|
|
}
|
|
x, err := b.DecodeVarint()
|
|
m.PidOrAll = &KillRequest_Pid{uint32(x)}
|
|
return true, err
|
|
default:
|
|
return false, nil
|
|
}
|
|
}
|
|
|
|
func _KillRequest_OneofSizer(msg proto.Message) (n int) {
|
|
m := msg.(*KillRequest)
|
|
// pid_or_all
|
|
switch x := m.PidOrAll.(type) {
|
|
case *KillRequest_All:
|
|
n += proto.SizeVarint(3<<3 | proto.WireVarint)
|
|
n += 1
|
|
case *KillRequest_Pid:
|
|
n += proto.SizeVarint(4<<3 | proto.WireVarint)
|
|
n += proto.SizeVarint(uint64(x.Pid))
|
|
case nil:
|
|
default:
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
}
|
|
return n
|
|
}
|
|
|
|
type ExecProcessRequest struct {
|
|
// ContainerID specifies the container in which to exec the process.
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
Stdin string `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
|
Stdout string `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"`
|
|
Stderr string `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"`
|
|
Terminal bool `protobuf:"varint,5,opt,name=terminal,proto3" json:"terminal,omitempty"`
|
|
// Spec for starting a process in the target container.
|
|
//
|
|
// For runc, this is a process spec, for example.
|
|
Spec *google_protobuf1.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 fileDescriptorExecution, []int{11} }
|
|
|
|
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 fileDescriptorExecution, []int{12} }
|
|
|
|
type ResizePtyRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
|
|
Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
|
|
}
|
|
|
|
func (m *ResizePtyRequest) Reset() { *m = ResizePtyRequest{} }
|
|
func (*ResizePtyRequest) ProtoMessage() {}
|
|
func (*ResizePtyRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{13} }
|
|
|
|
type CloseIORequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
Stdin bool `protobuf:"varint,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
|
}
|
|
|
|
func (m *CloseIORequest) Reset() { *m = CloseIORequest{} }
|
|
func (*CloseIORequest) ProtoMessage() {}
|
|
func (*CloseIORequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{14} }
|
|
|
|
type PauseTaskRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
}
|
|
|
|
func (m *PauseTaskRequest) Reset() { *m = PauseTaskRequest{} }
|
|
func (*PauseTaskRequest) ProtoMessage() {}
|
|
func (*PauseTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{15} }
|
|
|
|
type ResumeTaskRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
}
|
|
|
|
func (m *ResumeTaskRequest) Reset() { *m = ResumeTaskRequest{} }
|
|
func (*ResumeTaskRequest) ProtoMessage() {}
|
|
func (*ResumeTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{16} }
|
|
|
|
type ListProcessesRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
}
|
|
|
|
func (m *ListProcessesRequest) Reset() { *m = ListProcessesRequest{} }
|
|
func (*ListProcessesRequest) ProtoMessage() {}
|
|
func (*ListProcessesRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{17} }
|
|
|
|
type ListProcessesResponse struct {
|
|
Processes []*containerd_v1_types2.Process `protobuf:"bytes,1,rep,name=processes" json:"processes,omitempty"`
|
|
}
|
|
|
|
func (m *ListProcessesResponse) Reset() { *m = ListProcessesResponse{} }
|
|
func (*ListProcessesResponse) ProtoMessage() {}
|
|
func (*ListProcessesResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{18} }
|
|
|
|
type CheckpointTaskRequest struct {
|
|
ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
|
|
ParentCheckpoint github_com_opencontainers_go_digest.Digest `protobuf:"bytes,2,opt,name=parent_checkpoint,json=parentCheckpoint,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"parent_checkpoint"`
|
|
Options map[string]string `protobuf:"bytes,3,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (m *CheckpointTaskRequest) Reset() { *m = CheckpointTaskRequest{} }
|
|
func (*CheckpointTaskRequest) ProtoMessage() {}
|
|
func (*CheckpointTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{19} }
|
|
|
|
type CheckpointTaskResponse struct {
|
|
Descriptors []*containerd_v1_types1.Descriptor `protobuf:"bytes,1,rep,name=descriptors" json:"descriptors,omitempty"`
|
|
}
|
|
|
|
func (m *CheckpointTaskResponse) Reset() { *m = CheckpointTaskResponse{} }
|
|
func (*CheckpointTaskResponse) ProtoMessage() {}
|
|
func (*CheckpointTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{20} }
|
|
|
|
func init() {
|
|
proto.RegisterType((*CreateTaskRequest)(nil), "containerd.services.tasks.v1.CreateTaskRequest")
|
|
proto.RegisterType((*CreateTaskResponse)(nil), "containerd.services.tasks.v1.CreateTaskResponse")
|
|
proto.RegisterType((*StartTaskRequest)(nil), "containerd.services.tasks.v1.StartTaskRequest")
|
|
proto.RegisterType((*DeleteTaskRequest)(nil), "containerd.services.tasks.v1.DeleteTaskRequest")
|
|
proto.RegisterType((*DeleteResponse)(nil), "containerd.services.tasks.v1.DeleteResponse")
|
|
proto.RegisterType((*DeleteProcessRequest)(nil), "containerd.services.tasks.v1.DeleteProcessRequest")
|
|
proto.RegisterType((*GetTaskRequest)(nil), "containerd.services.tasks.v1.GetTaskRequest")
|
|
proto.RegisterType((*GetTaskResponse)(nil), "containerd.services.tasks.v1.GetTaskResponse")
|
|
proto.RegisterType((*ListTasksRequest)(nil), "containerd.services.tasks.v1.ListTasksRequest")
|
|
proto.RegisterType((*ListTasksResponse)(nil), "containerd.services.tasks.v1.ListTasksResponse")
|
|
proto.RegisterType((*KillRequest)(nil), "containerd.services.tasks.v1.KillRequest")
|
|
proto.RegisterType((*ExecProcessRequest)(nil), "containerd.services.tasks.v1.ExecProcessRequest")
|
|
proto.RegisterType((*ExecProcessResponse)(nil), "containerd.services.tasks.v1.ExecProcessResponse")
|
|
proto.RegisterType((*ResizePtyRequest)(nil), "containerd.services.tasks.v1.ResizePtyRequest")
|
|
proto.RegisterType((*CloseIORequest)(nil), "containerd.services.tasks.v1.CloseIORequest")
|
|
proto.RegisterType((*PauseTaskRequest)(nil), "containerd.services.tasks.v1.PauseTaskRequest")
|
|
proto.RegisterType((*ResumeTaskRequest)(nil), "containerd.services.tasks.v1.ResumeTaskRequest")
|
|
proto.RegisterType((*ListProcessesRequest)(nil), "containerd.services.tasks.v1.ListProcessesRequest")
|
|
proto.RegisterType((*ListProcessesResponse)(nil), "containerd.services.tasks.v1.ListProcessesResponse")
|
|
proto.RegisterType((*CheckpointTaskRequest)(nil), "containerd.services.tasks.v1.CheckpointTaskRequest")
|
|
proto.RegisterType((*CheckpointTaskResponse)(nil), "containerd.services.tasks.v1.CheckpointTaskResponse")
|
|
}
|
|
|
|
// 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 Tasks service
|
|
|
|
type TasksClient interface {
|
|
// Create a task.
|
|
Create(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error)
|
|
// Start a task.
|
|
Start(ctx context.Context, in *StartTaskRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
|
|
// Delete a task and on disk state.
|
|
Delete(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
|
|
DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
|
|
Get(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error)
|
|
List(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
|
|
// Kill a task or process.
|
|
Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
|
|
Exec(ctx context.Context, in *ExecProcessRequest, opts ...grpc.CallOption) (*ExecProcessResponse, error)
|
|
ResizePty(ctx context.Context, in *ResizePtyRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
|
|
CloseIO(ctx context.Context, in *CloseIORequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
|
|
Pause(ctx context.Context, in *PauseTaskRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
|
|
Resume(ctx context.Context, in *ResumeTaskRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
|
|
ListProcesses(ctx context.Context, in *ListProcessesRequest, opts ...grpc.CallOption) (*ListProcessesResponse, error)
|
|
Checkpoint(ctx context.Context, in *CheckpointTaskRequest, opts ...grpc.CallOption) (*CheckpointTaskResponse, error)
|
|
}
|
|
|
|
type tasksClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewTasksClient(cc *grpc.ClientConn) TasksClient {
|
|
return &tasksClient{cc}
|
|
}
|
|
|
|
func (c *tasksClient) Create(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error) {
|
|
out := new(CreateTaskResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Create", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Start(ctx context.Context, in *StartTaskRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
|
|
out := new(google_protobuf.Empty)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Start", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Delete(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
|
|
out := new(DeleteResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Delete", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
|
|
out := new(DeleteResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/DeleteProcess", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Get(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error) {
|
|
out := new(GetTaskResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Get", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) List(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) {
|
|
out := new(ListTasksResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/List", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
|
|
out := new(google_protobuf.Empty)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Kill", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Exec(ctx context.Context, in *ExecProcessRequest, opts ...grpc.CallOption) (*ExecProcessResponse, error) {
|
|
out := new(ExecProcessResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Exec", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) ResizePty(ctx context.Context, in *ResizePtyRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
|
|
out := new(google_protobuf.Empty)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/ResizePty", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) CloseIO(ctx context.Context, in *CloseIORequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
|
|
out := new(google_protobuf.Empty)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/CloseIO", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Pause(ctx context.Context, in *PauseTaskRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
|
|
out := new(google_protobuf.Empty)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Pause", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Resume(ctx context.Context, in *ResumeTaskRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
|
|
out := new(google_protobuf.Empty)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Resume", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) ListProcesses(ctx context.Context, in *ListProcessesRequest, opts ...grpc.CallOption) (*ListProcessesResponse, error) {
|
|
out := new(ListProcessesResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/ListProcesses", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *tasksClient) Checkpoint(ctx context.Context, in *CheckpointTaskRequest, opts ...grpc.CallOption) (*CheckpointTaskResponse, error) {
|
|
out := new(CheckpointTaskResponse)
|
|
err := grpc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Checkpoint", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// Server API for Tasks service
|
|
|
|
type TasksServer interface {
|
|
// Create a task.
|
|
Create(context.Context, *CreateTaskRequest) (*CreateTaskResponse, error)
|
|
// Start a task.
|
|
Start(context.Context, *StartTaskRequest) (*google_protobuf.Empty, error)
|
|
// Delete a task and on disk state.
|
|
Delete(context.Context, *DeleteTaskRequest) (*DeleteResponse, error)
|
|
DeleteProcess(context.Context, *DeleteProcessRequest) (*DeleteResponse, error)
|
|
Get(context.Context, *GetTaskRequest) (*GetTaskResponse, error)
|
|
List(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
|
|
// Kill a task or process.
|
|
Kill(context.Context, *KillRequest) (*google_protobuf.Empty, error)
|
|
Exec(context.Context, *ExecProcessRequest) (*ExecProcessResponse, error)
|
|
ResizePty(context.Context, *ResizePtyRequest) (*google_protobuf.Empty, error)
|
|
CloseIO(context.Context, *CloseIORequest) (*google_protobuf.Empty, error)
|
|
Pause(context.Context, *PauseTaskRequest) (*google_protobuf.Empty, error)
|
|
Resume(context.Context, *ResumeTaskRequest) (*google_protobuf.Empty, error)
|
|
ListProcesses(context.Context, *ListProcessesRequest) (*ListProcessesResponse, error)
|
|
Checkpoint(context.Context, *CheckpointTaskRequest) (*CheckpointTaskResponse, error)
|
|
}
|
|
|
|
func RegisterTasksServer(s *grpc.Server, srv TasksServer) {
|
|
s.RegisterService(&_Tasks_serviceDesc, srv)
|
|
}
|
|
|
|
func _Tasks_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.(TasksServer).Create(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Create",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Create(ctx, req.(*CreateTaskRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StartTaskRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(TasksServer).Start(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Start",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Start(ctx, req.(*StartTaskRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteTaskRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(TasksServer).Delete(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Delete",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Delete(ctx, req.(*DeleteTaskRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_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.(TasksServer).DeleteProcess(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/DeleteProcess",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).DeleteProcess(ctx, req.(*DeleteProcessRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTaskRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(TasksServer).Get(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Get",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Get(ctx, req.(*GetTaskRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListTasksRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(TasksServer).List(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/List",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).List(ctx, req.(*ListTasksRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_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.(TasksServer).Kill(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Kill",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Kill(ctx, req.(*KillRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_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.(TasksServer).Exec(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Exec",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Exec(ctx, req.(*ExecProcessRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_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.(TasksServer).ResizePty(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/ResizePty",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).ResizePty(ctx, req.(*ResizePtyRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_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.(TasksServer).CloseIO(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/CloseIO",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).CloseIO(ctx, req.(*CloseIORequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_Pause_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(PauseTaskRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(TasksServer).Pause(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Pause",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Pause(ctx, req.(*PauseTaskRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_Resume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResumeTaskRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(TasksServer).Resume(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Resume",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Resume(ctx, req.(*ResumeTaskRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_ListProcesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListProcessesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(TasksServer).ListProcesses(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/ListProcesses",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).ListProcesses(ctx, req.(*ListProcessesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Tasks_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.(TasksServer).Checkpoint(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/containerd.services.tasks.v1.Tasks/Checkpoint",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(TasksServer).Checkpoint(ctx, req.(*CheckpointTaskRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _Tasks_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "containerd.services.tasks.v1.Tasks",
|
|
HandlerType: (*TasksServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "Create",
|
|
Handler: _Tasks_Create_Handler,
|
|
},
|
|
{
|
|
MethodName: "Start",
|
|
Handler: _Tasks_Start_Handler,
|
|
},
|
|
{
|
|
MethodName: "Delete",
|
|
Handler: _Tasks_Delete_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteProcess",
|
|
Handler: _Tasks_DeleteProcess_Handler,
|
|
},
|
|
{
|
|
MethodName: "Get",
|
|
Handler: _Tasks_Get_Handler,
|
|
},
|
|
{
|
|
MethodName: "List",
|
|
Handler: _Tasks_List_Handler,
|
|
},
|
|
{
|
|
MethodName: "Kill",
|
|
Handler: _Tasks_Kill_Handler,
|
|
},
|
|
{
|
|
MethodName: "Exec",
|
|
Handler: _Tasks_Exec_Handler,
|
|
},
|
|
{
|
|
MethodName: "ResizePty",
|
|
Handler: _Tasks_ResizePty_Handler,
|
|
},
|
|
{
|
|
MethodName: "CloseIO",
|
|
Handler: _Tasks_CloseIO_Handler,
|
|
},
|
|
{
|
|
MethodName: "Pause",
|
|
Handler: _Tasks_Pause_Handler,
|
|
},
|
|
{
|
|
MethodName: "Resume",
|
|
Handler: _Tasks_Resume_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListProcesses",
|
|
Handler: _Tasks_ListProcesses_Handler,
|
|
},
|
|
{
|
|
MethodName: "Checkpoint",
|
|
Handler: _Tasks_Checkpoint_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "github.com/containerd/containerd/api/services/execution/execution.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.ContainerID) > 0 {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if len(m.Rootfs) > 0 {
|
|
for _, msg := range m.Rootfs {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
if len(m.Stdin) > 0 {
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdin)))
|
|
i += copy(dAtA[i:], m.Stdin)
|
|
}
|
|
if len(m.Stdout) > 0 {
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdout)))
|
|
i += copy(dAtA[i:], m.Stdout)
|
|
}
|
|
if len(m.Stderr) > 0 {
|
|
dAtA[i] = 0x32
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stderr)))
|
|
i += copy(dAtA[i:], m.Stderr)
|
|
}
|
|
if m.Terminal {
|
|
dAtA[i] = 0x38
|
|
i++
|
|
if m.Terminal {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
if m.Checkpoint != nil {
|
|
dAtA[i] = 0x42
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Checkpoint.Size()))
|
|
n1, err := m.Checkpoint.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 len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if m.Pid != 0 {
|
|
dAtA[i] = 0x18
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *StartTaskRequest) 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 *StartTaskRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *DeleteTaskRequest) 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 *DeleteTaskRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
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 len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if m.ExitStatus != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.ExitStatus))
|
|
}
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintExecution(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.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if m.Pid != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *GetTaskRequest) 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 *GetTaskRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *GetTaskResponse) 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 *GetTaskResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Task != nil {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Task.Size()))
|
|
n3, err := m.Task.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n3
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ListTasksRequest) 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 *ListTasksRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Filter) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Filter)))
|
|
i += copy(dAtA[i:], m.Filter)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ListTasksResponse) 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 *ListTasksResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Tasks) > 0 {
|
|
for _, msg := range m.Tasks {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
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.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if m.Signal != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Signal))
|
|
}
|
|
if m.PidOrAll != nil {
|
|
nn4, err := m.PidOrAll.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += nn4
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *KillRequest_All) MarshalTo(dAtA []byte) (int, error) {
|
|
i := 0
|
|
dAtA[i] = 0x18
|
|
i++
|
|
if m.All {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
return i, nil
|
|
}
|
|
func (m *KillRequest_Pid) MarshalTo(dAtA []byte) (int, error) {
|
|
i := 0
|
|
dAtA[i] = 0x20
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
|
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.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if len(m.Stdin) > 0 {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdin)))
|
|
i += copy(dAtA[i:], m.Stdin)
|
|
}
|
|
if len(m.Stdout) > 0 {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdout)))
|
|
i += copy(dAtA[i:], m.Stdout)
|
|
}
|
|
if len(m.Stderr) > 0 {
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stderr)))
|
|
i += copy(dAtA[i:], m.Stderr)
|
|
}
|
|
if m.Terminal {
|
|
dAtA[i] = 0x28
|
|
i++
|
|
if m.Terminal {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
if m.Spec != nil {
|
|
dAtA[i] = 0x32
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Spec.Size()))
|
|
n5, err := m.Spec.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n5
|
|
}
|
|
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 = encodeVarintExecution(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.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if m.Pid != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
|
}
|
|
if m.Width != 0 {
|
|
dAtA[i] = 0x18
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Width))
|
|
}
|
|
if m.Height != 0 {
|
|
dAtA[i] = 0x20
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Height))
|
|
}
|
|
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.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if m.Pid != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
|
}
|
|
if m.Stdin {
|
|
dAtA[i] = 0x18
|
|
i++
|
|
if m.Stdin {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *PauseTaskRequest) 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 *PauseTaskRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ResumeTaskRequest) 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 *ResumeTaskRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ListProcessesRequest) 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 *ListProcessesRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ListProcessesResponse) 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 *ListProcessesResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Processes) > 0 {
|
|
for _, msg := range m.Processes {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
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.ContainerID) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ContainerID)))
|
|
i += copy(dAtA[i:], m.ContainerID)
|
|
}
|
|
if len(m.ParentCheckpoint) > 0 {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ParentCheckpoint)))
|
|
i += copy(dAtA[i:], m.ParentCheckpoint)
|
|
}
|
|
if len(m.Options) > 0 {
|
|
for k, _ := range m.Options {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
v := m.Options[k]
|
|
mapSize := 1 + len(k) + sovExecution(uint64(len(k))) + 1 + len(v) + sovExecution(uint64(len(v)))
|
|
i = encodeVarintExecution(dAtA, i, uint64(mapSize))
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(k)))
|
|
i += copy(dAtA[i:], k)
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(v)))
|
|
i += copy(dAtA[i:], v)
|
|
}
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *CheckpointTaskResponse) 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 *CheckpointTaskResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Descriptors) > 0 {
|
|
for _, msg := range m.Descriptors {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintExecution(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func encodeFixed64Execution(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 encodeFixed32Execution(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 encodeVarintExecution(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.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if len(m.Rootfs) > 0 {
|
|
for _, e := range m.Rootfs {
|
|
l = e.Size()
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Stdin)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
l = len(m.Stdout)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
l = len(m.Stderr)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.Terminal {
|
|
n += 2
|
|
}
|
|
if m.Checkpoint != nil {
|
|
l = m.Checkpoint.Size()
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CreateTaskResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.Pid != 0 {
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *StartTaskRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DeleteTaskRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DeleteResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.ExitStatus != 0 {
|
|
n += 1 + sovExecution(uint64(m.ExitStatus))
|
|
}
|
|
l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
return n
|
|
}
|
|
|
|
func (m *DeleteProcessRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.Pid != 0 {
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetTaskRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetTaskResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Task != nil {
|
|
l = m.Task.Size()
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListTasksRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.Filter)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListTasksResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if len(m.Tasks) > 0 {
|
|
for _, e := range m.Tasks {
|
|
l = e.Size()
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *KillRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.Signal != 0 {
|
|
n += 1 + sovExecution(uint64(m.Signal))
|
|
}
|
|
if m.PidOrAll != nil {
|
|
n += m.PidOrAll.Size()
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *KillRequest_All) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 2
|
|
return n
|
|
}
|
|
func (m *KillRequest_Pid) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
|
return n
|
|
}
|
|
func (m *ExecProcessRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
l = len(m.Stdin)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
l = len(m.Stdout)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
l = len(m.Stderr)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.Terminal {
|
|
n += 2
|
|
}
|
|
if m.Spec != nil {
|
|
l = m.Spec.Size()
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ExecProcessResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if m.Pid != 0 {
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResizePtyRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.Pid != 0 {
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
|
}
|
|
if m.Width != 0 {
|
|
n += 1 + sovExecution(uint64(m.Width))
|
|
}
|
|
if m.Height != 0 {
|
|
n += 1 + sovExecution(uint64(m.Height))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CloseIORequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if m.Pid != 0 {
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
|
}
|
|
if m.Stdin {
|
|
n += 2
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PauseTaskRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ResumeTaskRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListProcessesRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ListProcessesResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if len(m.Processes) > 0 {
|
|
for _, e := range m.Processes {
|
|
l = e.Size()
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CheckpointTaskRequest) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
l = len(m.ContainerID)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
l = len(m.ParentCheckpoint)
|
|
if l > 0 {
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
if len(m.Options) > 0 {
|
|
for k, v := range m.Options {
|
|
_ = k
|
|
_ = v
|
|
mapEntrySize := 1 + len(k) + sovExecution(uint64(len(k))) + 1 + len(v) + sovExecution(uint64(len(v)))
|
|
n += mapEntrySize + 1 + sovExecution(uint64(mapEntrySize))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CheckpointTaskResponse) Size() (n int) {
|
|
var l int
|
|
_ = l
|
|
if len(m.Descriptors) > 0 {
|
|
for _, e := range m.Descriptors {
|
|
l = e.Size()
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovExecution(x uint64) (n int) {
|
|
for {
|
|
n++
|
|
x >>= 7
|
|
if x == 0 {
|
|
break
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
func sozExecution(x uint64) (n int) {
|
|
return sovExecution(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (this *CreateTaskRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CreateTaskRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`Rootfs:` + strings.Replace(fmt.Sprintf("%v", this.Rootfs), "Mount", "containerd_v1_types.Mount", 1) + `,`,
|
|
`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
|
|
`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
|
|
`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
|
|
`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
|
|
`Checkpoint:` + strings.Replace(fmt.Sprintf("%v", this.Checkpoint), "Descriptor", "containerd_v1_types1.Descriptor", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CreateTaskResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CreateTaskResponse{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *StartTaskRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&StartTaskRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DeleteTaskRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DeleteTaskRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *DeleteResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&DeleteResponse{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`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{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetTaskRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GetTaskRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *GetTaskResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&GetTaskResponse{`,
|
|
`Task:` + strings.Replace(fmt.Sprintf("%v", this.Task), "Task", "containerd_v1_types2.Task", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListTasksRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListTasksRequest{`,
|
|
`Filter:` + fmt.Sprintf("%v", this.Filter) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListTasksResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListTasksResponse{`,
|
|
`Tasks:` + strings.Replace(fmt.Sprintf("%v", this.Tasks), "Task", "containerd_v1_types2.Task", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KillRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KillRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
|
|
`PidOrAll:` + fmt.Sprintf("%v", this.PidOrAll) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KillRequest_All) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KillRequest_All{`,
|
|
`All:` + fmt.Sprintf("%v", this.All) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *KillRequest_Pid) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&KillRequest_Pid{`,
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ExecProcessRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ExecProcessRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
|
|
`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
|
|
`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
|
|
`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
|
|
`Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "Any", "google_protobuf1.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{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
`Width:` + fmt.Sprintf("%v", this.Width) + `,`,
|
|
`Height:` + fmt.Sprintf("%v", this.Height) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CloseIORequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CloseIORequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *PauseTaskRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&PauseTaskRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ResumeTaskRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ResumeTaskRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListProcessesRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListProcessesRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *ListProcessesResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&ListProcessesResponse{`,
|
|
`Processes:` + strings.Replace(fmt.Sprintf("%v", this.Processes), "Process", "containerd_v1_types2.Process", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CheckpointTaskRequest) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
keysForOptions := make([]string, 0, len(this.Options))
|
|
for k, _ := range this.Options {
|
|
keysForOptions = append(keysForOptions, k)
|
|
}
|
|
github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
|
|
mapStringForOptions := "map[string]string{"
|
|
for _, k := range keysForOptions {
|
|
mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
|
|
}
|
|
mapStringForOptions += "}"
|
|
s := strings.Join([]string{`&CheckpointTaskRequest{`,
|
|
`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
|
|
`ParentCheckpoint:` + fmt.Sprintf("%v", this.ParentCheckpoint) + `,`,
|
|
`Options:` + mapStringForOptions + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func (this *CheckpointTaskResponse) String() string {
|
|
if this == nil {
|
|
return "nil"
|
|
}
|
|
s := strings.Join([]string{`&CheckpointTaskResponse{`,
|
|
`Descriptors:` + strings.Replace(fmt.Sprintf("%v", this.Descriptors), "Descriptor", "containerd_v1_types1.Descriptor", 1) + `,`,
|
|
`}`,
|
|
}, "")
|
|
return s
|
|
}
|
|
func valueToStringExecution(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 ErrIntOverflowExecution
|
|
}
|
|
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 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Rootfs = append(m.Rootfs, &containerd_v1_types.Mount{})
|
|
if err := m.Rootfs[len(m.Rootfs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Stdin = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 5:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Stdout = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 6:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Stderr = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 7:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 8:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Checkpoint", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Checkpoint == nil {
|
|
m.Checkpoint = &containerd_v1_types1.Descriptor{}
|
|
}
|
|
if err := m.Checkpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = 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 ErrIntOverflowExecution
|
|
}
|
|
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 := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *StartTaskRequest) 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 ErrIntOverflowExecution
|
|
}
|
|
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: StartTaskRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: StartTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DeleteTaskRequest) 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 ErrIntOverflowExecution
|
|
}
|
|
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: DeleteTaskRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DeleteTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetTaskRequest) 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 ErrIntOverflowExecution
|
|
}
|
|
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: GetTaskRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetTaskResponse) 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 ErrIntOverflowExecution
|
|
}
|
|
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: GetTaskResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetTaskResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Task", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Task == nil {
|
|
m.Task = &containerd_v1_types2.Task{}
|
|
}
|
|
if err := m.Task.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListTasksRequest) 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 ErrIntOverflowExecution
|
|
}
|
|
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: ListTasksRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListTasksRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Filter = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListTasksResponse) 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 ErrIntOverflowExecution
|
|
}
|
|
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: ListTasksResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListTasksResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Tasks = append(m.Tasks, &containerd_v1_types2.Task{})
|
|
if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = 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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
b := bool(v != 0)
|
|
m.PidOrAll = &KillRequest_All{b}
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
|
|
}
|
|
var v uint32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.PidOrAll = &KillRequest_Pid{v}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Stdin = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Stdout = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Stderr = string(dAtA[iNdEx:postIndex])
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 Spec", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Spec == nil {
|
|
m.Spec = &google_protobuf1.Any{}
|
|
}
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Pid |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Width |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Pid |= (uint32(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PauseTaskRequest) 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 ErrIntOverflowExecution
|
|
}
|
|
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: PauseTaskRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PauseTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ResumeTaskRequest) 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 ErrIntOverflowExecution
|
|
}
|
|
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: ResumeTaskRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ResumeTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListProcessesRequest) 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 ErrIntOverflowExecution
|
|
}
|
|
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: ListProcessesRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListProcessesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ListProcessesResponse) 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 ErrIntOverflowExecution
|
|
}
|
|
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: ListProcessesResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ListProcessesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Processes", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Processes = append(m.Processes, &containerd_v1_types2.Process{})
|
|
if err := m.Processes[len(m.Processes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ContainerID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ContainerID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
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 ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ParentCheckpoint = github_com_opencontainers_go_digest.Digest(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
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 ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
var keykey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
keykey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
var stringLenmapkey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
if intStringLenmapkey < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
if postStringIndexmapkey > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
|
|
iNdEx = postStringIndexmapkey
|
|
if m.Options == nil {
|
|
m.Options = make(map[string]string)
|
|
}
|
|
if iNdEx < postIndex {
|
|
var valuekey uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
valuekey |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
var stringLenmapvalue uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
if intStringLenmapvalue < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
if postStringIndexmapvalue > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
iNdEx = postStringIndexmapvalue
|
|
m.Options[mapkey] = mapvalue
|
|
} else {
|
|
var mapvalue string
|
|
m.Options[mapkey] = mapvalue
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CheckpointTaskResponse) 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 ErrIntOverflowExecution
|
|
}
|
|
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: CheckpointTaskResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CheckpointTaskResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Descriptors", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowExecution
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Descriptors = append(m.Descriptors, &containerd_v1_types1.Descriptor{})
|
|
if err := m.Descriptors[len(m.Descriptors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthExecution
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipExecution(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, ErrIntOverflowExecution
|
|
}
|
|
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, ErrIntOverflowExecution
|
|
}
|
|
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, ErrIntOverflowExecution
|
|
}
|
|
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, ErrInvalidLengthExecution
|
|
}
|
|
return iNdEx, nil
|
|
case 3:
|
|
for {
|
|
var innerWire uint64
|
|
var start int = iNdEx
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowExecution
|
|
}
|
|
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 := skipExecution(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 (
|
|
ErrInvalidLengthExecution = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowExecution = fmt.Errorf("proto: integer overflow")
|
|
)
|
|
|
|
func init() {
|
|
proto.RegisterFile("github.com/containerd/containerd/api/services/execution/execution.proto", fileDescriptorExecution)
|
|
}
|
|
|
|
var fileDescriptorExecution = []byte{
|
|
// 1185 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x53, 0xdb, 0x46,
|
|
0x14, 0x47, 0xfe, 0x17, 0xf3, 0x1c, 0x08, 0x6c, 0x09, 0xe3, 0xa8, 0x19, 0x9b, 0xd1, 0xa5, 0x6e,
|
|
0xa6, 0xc8, 0xc5, 0xf4, 0xd0, 0x61, 0x3a, 0xd3, 0x00, 0x26, 0x94, 0xfe, 0x19, 0xa8, 0xc8, 0x29,
|
|
0xed, 0x8c, 0x47, 0x58, 0x8b, 0xd9, 0xb1, 0x2c, 0x29, 0xda, 0x35, 0xc1, 0x3d, 0xf5, 0xd4, 0x6b,
|
|
0xfb, 0x09, 0x7a, 0xee, 0x07, 0xe9, 0x81, 0x63, 0x0f, 0x3d, 0x74, 0x7a, 0xa0, 0x0d, 0xfd, 0x22,
|
|
0x9d, 0x5d, 0xad, 0x64, 0xd9, 0xd8, 0x96, 0x1d, 0x73, 0xb1, 0x77, 0x57, 0xef, 0xf7, 0xf6, 0xfd,
|
|
0xdb, 0xf7, 0x7b, 0x70, 0xd8, 0x22, 0xec, 0xa2, 0x7b, 0xa6, 0x37, 0xdd, 0x4e, 0xb5, 0xe9, 0x3a,
|
|
0xcc, 0x24, 0x0e, 0xf6, 0xad, 0xf8, 0xd2, 0xf4, 0x48, 0x95, 0x62, 0xff, 0x92, 0x34, 0x31, 0xad,
|
|
0xe2, 0x2b, 0xdc, 0xec, 0x32, 0xe2, 0x3a, 0xfd, 0x95, 0xee, 0xf9, 0x2e, 0x73, 0xd1, 0xd3, 0x3e,
|
|
0x44, 0x0f, 0xc5, 0x75, 0x66, 0xd2, 0x36, 0xd5, 0x2f, 0xb7, 0xd4, 0xf7, 0x5b, 0xae, 0xdb, 0xb2,
|
|
0x71, 0x55, 0xc8, 0x9e, 0x75, 0xcf, 0xab, 0xb8, 0xe3, 0xb1, 0x5e, 0x00, 0x55, 0x9f, 0x0c, 0x7f,
|
|
0x34, 0x9d, 0xf0, 0xd3, 0x5a, 0xcb, 0x6d, 0xb9, 0x62, 0x59, 0xe5, 0x2b, 0x79, 0xfa, 0xd9, 0x54,
|
|
0x46, 0xb3, 0x9e, 0x87, 0x69, 0xb5, 0xe3, 0x76, 0x1d, 0x16, 0xfc, 0x4a, 0xf4, 0x8b, 0x19, 0xd0,
|
|
0x16, 0xa6, 0x4d, 0x9f, 0x78, 0xcc, 0xf5, 0x63, 0x4b, 0xa9, 0x67, 0x67, 0x06, 0x3d, 0x3c, 0x10,
|
|
0xe2, 0x47, 0x62, 0xcb, 0xc3, 0x2e, 0x33, 0xd2, 0xc1, 0x94, 0x99, 0x1d, 0x2f, 0x10, 0xd0, 0x7e,
|
|
0x4d, 0xc1, 0xea, 0xbe, 0x8f, 0x4d, 0x86, 0x5f, 0x9a, 0xb4, 0x6d, 0xe0, 0xd7, 0x5d, 0x4c, 0x19,
|
|
0xaa, 0xc1, 0xc3, 0x48, 0x7d, 0x83, 0x58, 0xc5, 0xd4, 0x86, 0x52, 0x59, 0xdc, 0x7b, 0x74, 0x7b,
|
|
0x53, 0x2e, 0xec, 0x87, 0xe7, 0x47, 0x75, 0xa3, 0x10, 0x09, 0x1d, 0x59, 0xa8, 0x06, 0x39, 0xdf,
|
|
0x75, 0xd9, 0x39, 0x2d, 0xa6, 0x37, 0xd2, 0x95, 0x42, 0x4d, 0xd5, 0x63, 0x99, 0xba, 0xdc, 0xd2,
|
|
0x85, 0x81, 0xfa, 0x37, 0x3c, 0x40, 0x86, 0x94, 0x44, 0x6b, 0x90, 0xa5, 0xcc, 0x22, 0x4e, 0x31,
|
|
0xc3, 0x2f, 0x30, 0x82, 0x0d, 0x5a, 0x87, 0x1c, 0x65, 0x96, 0xdb, 0x65, 0xc5, 0xac, 0x38, 0x96,
|
|
0x3b, 0x79, 0x8e, 0x7d, 0xbf, 0x98, 0x8b, 0xce, 0xb1, 0xef, 0x23, 0x15, 0xf2, 0x0c, 0xfb, 0x1d,
|
|
0xe2, 0x98, 0x76, 0xf1, 0xc1, 0x86, 0x52, 0xc9, 0x1b, 0xd1, 0x1e, 0x7d, 0x0e, 0xd0, 0xbc, 0xc0,
|
|
0xcd, 0xb6, 0xe7, 0x12, 0x87, 0x15, 0xf3, 0x1b, 0x4a, 0xa5, 0x50, 0x2b, 0x8f, 0xb4, 0xac, 0x1e,
|
|
0xc5, 0xdd, 0x88, 0x41, 0xb4, 0x57, 0x80, 0xe2, 0xf1, 0xa1, 0x9e, 0xeb, 0x50, 0xfc, 0x4e, 0x01,
|
|
0x5a, 0x81, 0xb4, 0x47, 0xac, 0x62, 0x7a, 0x43, 0xa9, 0x2c, 0x19, 0x7c, 0xa9, 0xbd, 0x80, 0x95,
|
|
0x53, 0x66, 0xfa, 0x6c, 0x52, 0xe8, 0x95, 0x64, 0xcd, 0xda, 0x21, 0xac, 0xd6, 0xb1, 0x8d, 0x27,
|
|
0xe7, 0x70, 0x1a, 0x45, 0xbf, 0x29, 0xb0, 0x1c, 0x68, 0x1a, 0xeb, 0xe9, 0x14, 0x6a, 0x50, 0x19,
|
|
0x0a, 0xf8, 0x8a, 0xb0, 0x06, 0x65, 0x26, 0xeb, 0x52, 0x11, 0x9c, 0x25, 0x03, 0xf8, 0xd1, 0xa9,
|
|
0x38, 0x41, 0xbb, 0xb0, 0xc8, 0x77, 0xd8, 0x6a, 0x98, 0x4c, 0x04, 0x84, 0x97, 0x4b, 0x50, 0xaa,
|
|
0x7a, 0x58, 0xaa, 0xfa, 0xcb, 0xb0, 0x54, 0xf7, 0xf2, 0xd7, 0x37, 0xe5, 0x85, 0x5f, 0xfe, 0x29,
|
|
0x2b, 0x46, 0x3e, 0x80, 0xed, 0x32, 0xed, 0x7b, 0x58, 0x0b, 0x2c, 0x3d, 0xf1, 0xdd, 0x26, 0xa6,
|
|
0x74, 0x0e, 0xb7, 0xc3, 0xcc, 0xa4, 0xfa, 0x99, 0xa9, 0xc3, 0xf2, 0x21, 0x9e, 0x3b, 0x2f, 0xcf,
|
|
0xe1, 0x51, 0xa4, 0x45, 0x86, 0x73, 0x13, 0x32, 0xfc, 0x79, 0x0a, 0x78, 0xa1, 0xf6, 0x64, 0x64,
|
|
0x25, 0x0a, 0x80, 0x10, 0xd3, 0x9e, 0xc1, 0xca, 0xd7, 0x84, 0x0a, 0x15, 0x91, 0x87, 0xeb, 0x90,
|
|
0x3b, 0x27, 0x36, 0xc3, 0x7e, 0x60, 0x83, 0x21, 0x77, 0x5a, 0x1d, 0x56, 0x63, 0xb2, 0xf2, 0xbe,
|
|
0x2a, 0x64, 0x45, 0x73, 0x2c, 0x2a, 0xe2, 0x51, 0x4e, 0xb8, 0x30, 0x90, 0xd3, 0x7e, 0x56, 0xa0,
|
|
0xf0, 0x15, 0xb1, 0xed, 0x79, 0xe2, 0xc9, 0x1f, 0x2a, 0x69, 0xf1, 0xe7, 0x18, 0x84, 0x54, 0xee,
|
|
0x10, 0x82, 0xb4, 0x69, 0xdb, 0x22, 0xe1, 0xf9, 0x2f, 0x16, 0x0c, 0xbe, 0xe1, 0x67, 0x3c, 0xf6,
|
|
0xbc, 0x01, 0x2c, 0xf1, 0x33, 0x8f, 0x58, 0x7b, 0x0f, 0x01, 0x3c, 0x62, 0x35, 0x5c, 0xbf, 0x61,
|
|
0xda, 0xb6, 0xf6, 0xa7, 0x02, 0xe8, 0xe0, 0x0a, 0x37, 0xef, 0x21, 0xd1, 0x51, 0xbf, 0x49, 0x8d,
|
|
0xee, 0x37, 0xe9, 0x31, 0xfd, 0x26, 0x33, 0xb6, 0xdf, 0x64, 0x87, 0xfa, 0x4d, 0x05, 0x32, 0xd4,
|
|
0xc3, 0x4d, 0xd1, 0xa1, 0x0a, 0xb5, 0xb5, 0x3b, 0x45, 0xbd, 0xeb, 0xf4, 0x0c, 0x21, 0xa1, 0x7d,
|
|
0x00, 0xef, 0x0d, 0x78, 0x25, 0x13, 0x26, 0x6b, 0x51, 0xe9, 0xd7, 0xe2, 0x4f, 0x0a, 0xac, 0x18,
|
|
0x98, 0x92, 0x1f, 0xf0, 0x09, 0xeb, 0xdd, 0x6b, 0x99, 0xf3, 0x78, 0xbc, 0x21, 0x16, 0xbb, 0x90,
|
|
0x4d, 0x29, 0xd8, 0x70, 0xbf, 0x2f, 0x30, 0x69, 0x5d, 0xb0, 0x20, 0x2b, 0x86, 0xdc, 0x69, 0x36,
|
|
0x2c, 0xef, 0xdb, 0x2e, 0xc5, 0x47, 0xc7, 0xf7, 0x6e, 0x45, 0x90, 0x15, 0x51, 0x18, 0x32, 0x2b,
|
|
0xbc, 0x39, 0x9e, 0x98, 0x5d, 0x8a, 0xef, 0xa1, 0x39, 0x1a, 0x98, 0x76, 0x3b, 0x73, 0x2b, 0xfa,
|
|
0x12, 0xd6, 0xf8, 0xfb, 0x92, 0x09, 0xc3, 0xf3, 0x14, 0xa2, 0x76, 0x0a, 0x8f, 0x87, 0x74, 0xc9,
|
|
0xf4, 0xef, 0xc0, 0xa2, 0x17, 0x1e, 0xca, 0x37, 0xfb, 0x74, 0xe4, 0x9b, 0x0d, 0xeb, 0xa6, 0x2f,
|
|
0xae, 0xfd, 0x9e, 0x82, 0xc7, 0xfb, 0x11, 0x73, 0xcd, 0xe9, 0x2e, 0x6a, 0xc0, 0xaa, 0x67, 0xfa,
|
|
0xd8, 0x61, 0x8d, 0x18, 0x81, 0x06, 0x3c, 0x57, 0xe3, 0xfd, 0xf8, 0xef, 0x9b, 0xf2, 0xb3, 0xd8,
|
|
0x64, 0xe2, 0x7a, 0xd8, 0x89, 0xe0, 0xb4, 0xda, 0x72, 0x37, 0x2d, 0xd2, 0xc2, 0x94, 0xe9, 0x75,
|
|
0xf1, 0x67, 0xac, 0x04, 0xca, 0xfa, 0xf6, 0xa1, 0x57, 0xf0, 0xc0, 0xf5, 0xf8, 0x64, 0x17, 0x4e,
|
|
0x0c, 0xcf, 0xf5, 0x49, 0xb3, 0x9d, 0x3e, 0xd2, 0x35, 0xfd, 0x38, 0x50, 0x71, 0xe0, 0x30, 0xbf,
|
|
0x67, 0x84, 0x0a, 0xd5, 0x1d, 0x78, 0x18, 0xff, 0xc0, 0x8b, 0xae, 0x8d, 0x7b, 0xb2, 0x61, 0xf2,
|
|
0x25, 0x2f, 0xba, 0x4b, 0xd3, 0xee, 0xe2, 0xb0, 0x15, 0x88, 0xcd, 0x4e, 0xea, 0x53, 0x45, 0xfb,
|
|
0x0e, 0xd6, 0x87, 0xaf, 0x92, 0xc9, 0xd9, 0x85, 0x42, 0x7f, 0x3a, 0x0b, 0xd3, 0x93, 0x38, 0x4d,
|
|
0xc4, 0x31, 0xb5, 0xff, 0x00, 0xb2, 0xa2, 0x43, 0xa3, 0x36, 0xe4, 0x82, 0xc1, 0x02, 0x55, 0x13,
|
|
0xfc, 0x1e, 0x1e, 0xcf, 0xd4, 0x8f, 0xa7, 0x07, 0x48, 0xcb, 0x8f, 0x21, 0x2b, 0x26, 0x0d, 0xa4,
|
|
0x4f, 0x86, 0x0e, 0x8f, 0x23, 0xea, 0xfa, 0x9d, 0x0e, 0x76, 0xc0, 0x27, 0x6a, 0xd4, 0x82, 0x5c,
|
|
0x40, 0xbf, 0x49, 0xd6, 0xdf, 0x19, 0x4c, 0xd4, 0x8f, 0xa6, 0x01, 0x44, 0x96, 0xbf, 0x86, 0xa5,
|
|
0x01, 0x9e, 0x47, 0xb5, 0x69, 0xe0, 0x83, 0x5c, 0x31, 0xe3, 0x95, 0x67, 0x90, 0x3e, 0xc4, 0x0c,
|
|
0x25, 0x80, 0x06, 0xe7, 0x03, 0x75, 0x73, 0x4a, 0x69, 0x79, 0x47, 0x0b, 0x32, 0xbc, 0x01, 0x24,
|
|
0xe5, 0x63, 0x98, 0xfc, 0xd5, 0xea, 0xd4, 0xf2, 0xf2, 0xa2, 0x23, 0xc8, 0x70, 0x3a, 0x47, 0x1f,
|
|
0x4e, 0x06, 0xc6, 0x28, 0x7f, 0x6c, 0xce, 0xdb, 0x90, 0xe1, 0x8c, 0x85, 0x12, 0xca, 0xef, 0x2e,
|
|
0x57, 0xab, 0x5b, 0x33, 0x20, 0xa4, 0xdd, 0xa7, 0xb0, 0x18, 0x91, 0x5e, 0x52, 0x94, 0x86, 0xd9,
|
|
0x71, 0xac, 0x07, 0xc7, 0xf0, 0x40, 0x32, 0x58, 0x52, 0x76, 0x07, 0x89, 0x6e, 0x82, 0xc2, 0xac,
|
|
0x20, 0xa9, 0x24, 0x0b, 0x87, 0x99, 0x6c, 0xac, 0xc2, 0x6f, 0x21, 0x17, 0xb0, 0x55, 0xd2, 0xbb,
|
|
0xba, 0xc3, 0x69, 0x63, 0x55, 0x5e, 0xc1, 0xd2, 0x00, 0xd7, 0x24, 0xbd, 0xa0, 0x51, 0x24, 0xa7,
|
|
0x6e, 0xcf, 0x84, 0x91, 0x39, 0x7c, 0x03, 0x10, 0xeb, 0xf7, 0xdb, 0xef, 0xd0, 0xde, 0xd5, 0x4f,
|
|
0x66, 0x03, 0x05, 0x17, 0xef, 0x15, 0xaf, 0xdf, 0x96, 0x16, 0xfe, 0x7a, 0x5b, 0x5a, 0xf8, 0xf1,
|
|
0xb6, 0xa4, 0x5c, 0xdf, 0x96, 0x94, 0x3f, 0x6e, 0x4b, 0xca, 0xbf, 0xb7, 0x25, 0xe5, 0x2c, 0x27,
|
|
0x82, 0xb3, 0xfd, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x3d, 0xe6, 0xfc, 0x90, 0x10, 0x00,
|
|
0x00,
|
|
}
|