2016-12-01 20:36:19 +00:00
|
|
|
// Code generated by protoc-gen-gogo.
|
2017-04-03 20:14:15 +00:00
|
|
|
// source: github.com/containerd/containerd/api/services/execution/execution.proto
|
2016-12-01 20:36:19 +00:00
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
2016-12-01 22:25:03 +00:00
|
|
|
Package execution is a generated protocol buffer package.
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
It is generated from these files:
|
2017-04-03 20:14:15 +00:00
|
|
|
github.com/containerd/containerd/api/services/execution/execution.proto
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
It has these top-level messages:
|
2017-02-13 18:23:28 +00:00
|
|
|
CreateRequest
|
|
|
|
CreateResponse
|
|
|
|
StartRequest
|
|
|
|
DeleteRequest
|
|
|
|
DeleteResponse
|
2017-02-24 17:39:59 +00:00
|
|
|
InfoRequest
|
2017-02-13 18:23:28 +00:00
|
|
|
ListRequest
|
|
|
|
ListResponse
|
|
|
|
EventsRequest
|
2016-12-01 20:36:19 +00:00
|
|
|
*/
|
2016-12-01 22:25:03 +00:00
|
|
|
package execution
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
2016-12-03 00:04:13 +00:00
|
|
|
import google_protobuf "github.com/golang/protobuf/ptypes/empty"
|
2017-02-13 18:23:28 +00:00
|
|
|
import google_protobuf1 "github.com/gogo/protobuf/types"
|
2016-12-01 20:36:19 +00:00
|
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
2017-04-03 20:14:15 +00:00
|
|
|
import containerd_v1_types "github.com/containerd/containerd/api/types/mount"
|
|
|
|
import containerd_v1_types1 "github.com/containerd/containerd/api/types/container"
|
2016-12-01 20:36:19 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
context "golang.org/x/net/context"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
)
|
|
|
|
|
2017-02-15 21:37:48 +00:00
|
|
|
import strings "strings"
|
|
|
|
import reflect "reflect"
|
|
|
|
|
2016-12-01 20:36:19 +00:00
|
|
|
import io "io"
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
2016-12-01 21:31:57 +00:00
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
2016-12-01 20:36:19 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type CreateRequest struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Spec *google_protobuf1.Any `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
|
|
|
|
Rootfs []*containerd_v1_types.Mount `protobuf:"bytes,3,rep,name=rootfs" json:"rootfs,omitempty"`
|
|
|
|
Runtime string `protobuf:"bytes,4,opt,name=runtime,proto3" json:"runtime,omitempty"`
|
|
|
|
Stdin string `protobuf:"bytes,5,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
|
|
|
Stdout string `protobuf:"bytes,6,opt,name=stdout,proto3" json:"stdout,omitempty"`
|
|
|
|
Stderr string `protobuf:"bytes,7,opt,name=stderr,proto3" json:"stderr,omitempty"`
|
|
|
|
Terminal bool `protobuf:"varint,8,opt,name=terminal,proto3" json:"terminal,omitempty"`
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateRequest) Reset() { *m = CreateRequest{} }
|
|
|
|
func (*CreateRequest) ProtoMessage() {}
|
|
|
|
func (*CreateRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{0} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type CreateResponse struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateResponse) Reset() { *m = CreateResponse{} }
|
|
|
|
func (*CreateResponse) ProtoMessage() {}
|
|
|
|
func (*CreateResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{1} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type StartRequest struct {
|
2016-12-07 22:00:20 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *StartRequest) Reset() { *m = StartRequest{} }
|
|
|
|
func (*StartRequest) ProtoMessage() {}
|
|
|
|
func (*StartRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{2} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type DeleteRequest struct {
|
2016-12-07 22:00:20 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
|
|
|
func (*DeleteRequest) ProtoMessage() {}
|
|
|
|
func (*DeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{3} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type DeleteResponse struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
ExitStatus uint32 `protobuf:"varint,2,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
|
|
|
func (*DeleteResponse) ProtoMessage() {}
|
|
|
|
func (*DeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{4} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-24 17:39:59 +00:00
|
|
|
type InfoRequest struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *InfoRequest) Reset() { *m = InfoRequest{} }
|
|
|
|
func (*InfoRequest) ProtoMessage() {}
|
|
|
|
func (*InfoRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{5} }
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type ListRequest struct {
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListRequest) Reset() { *m = ListRequest{} }
|
|
|
|
func (*ListRequest) ProtoMessage() {}
|
2017-02-24 17:39:59 +00:00
|
|
|
func (*ListRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{6} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type ListResponse struct {
|
|
|
|
Containers []*containerd_v1_types1.Container `protobuf:"bytes,1,rep,name=containers" json:"containers,omitempty"`
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListResponse) Reset() { *m = ListResponse{} }
|
|
|
|
func (*ListResponse) ProtoMessage() {}
|
2017-02-24 17:39:59 +00:00
|
|
|
func (*ListResponse) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{7} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type EventsRequest struct {
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *EventsRequest) Reset() { *m = EventsRequest{} }
|
|
|
|
func (*EventsRequest) ProtoMessage() {}
|
2017-02-24 17:39:59 +00:00
|
|
|
func (*EventsRequest) Descriptor() ([]byte, []int) { return fileDescriptorExecution, []int{8} }
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2016-12-01 20:36:19 +00:00
|
|
|
func init() {
|
2017-02-13 18:23:28 +00:00
|
|
|
proto.RegisterType((*CreateRequest)(nil), "containerd.v1.services.CreateRequest")
|
|
|
|
proto.RegisterType((*CreateResponse)(nil), "containerd.v1.services.CreateResponse")
|
|
|
|
proto.RegisterType((*StartRequest)(nil), "containerd.v1.services.StartRequest")
|
|
|
|
proto.RegisterType((*DeleteRequest)(nil), "containerd.v1.services.DeleteRequest")
|
|
|
|
proto.RegisterType((*DeleteResponse)(nil), "containerd.v1.services.DeleteResponse")
|
2017-02-24 17:39:59 +00:00
|
|
|
proto.RegisterType((*InfoRequest)(nil), "containerd.v1.services.InfoRequest")
|
2017-02-13 18:23:28 +00:00
|
|
|
proto.RegisterType((*ListRequest)(nil), "containerd.v1.services.ListRequest")
|
|
|
|
proto.RegisterType((*ListResponse)(nil), "containerd.v1.services.ListResponse")
|
|
|
|
proto.RegisterType((*EventsRequest)(nil), "containerd.v1.services.EventsRequest")
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
// Client API for ContainerService service
|
2016-12-02 18:27:51 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type ContainerServiceClient interface {
|
|
|
|
Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
|
|
|
|
Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
|
2017-03-01 14:58:05 +00:00
|
|
|
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
|
2017-02-24 17:39:59 +00:00
|
|
|
Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*containerd_v1_types1.Container, error)
|
2017-02-13 18:23:28 +00:00
|
|
|
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
|
|
|
|
Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (ContainerService_EventsClient, error)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type containerServiceClient struct {
|
|
|
|
cc *grpc.ClientConn
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func NewContainerServiceClient(cc *grpc.ClientConn) ContainerServiceClient {
|
|
|
|
return &containerServiceClient{cc}
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (c *containerServiceClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) {
|
|
|
|
out := new(CreateResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.services.ContainerService/Create", in, out, c.cc, opts...)
|
2016-12-07 22:00:20 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (c *containerServiceClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
|
2016-12-07 22:00:20 +00:00
|
|
|
out := new(google_protobuf.Empty)
|
2017-02-13 18:23:28 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.services.ContainerService/Start", in, out, c.cc, opts...)
|
2016-12-07 22:00:20 +00:00
|
|
|
if err != nil {
|
2016-12-02 18:27:51 +00:00
|
|
|
return nil, err
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-03-01 14:58:05 +00:00
|
|
|
func (c *containerServiceClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
|
|
|
|
out := new(DeleteResponse)
|
2017-02-13 18:23:28 +00:00
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.services.ContainerService/Delete", in, out, c.cc, opts...)
|
2016-12-07 22:00:20 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-02-24 17:39:59 +00:00
|
|
|
func (c *containerServiceClient) Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*containerd_v1_types1.Container, error) {
|
|
|
|
out := new(containerd_v1_types1.Container)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.services.ContainerService/Info", in, out, c.cc, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (c *containerServiceClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
|
|
|
|
out := new(ListResponse)
|
|
|
|
err := grpc.Invoke(ctx, "/containerd.v1.services.ContainerService/List", in, out, c.cc, opts...)
|
2016-12-07 22:00:20 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (c *containerServiceClient) Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (ContainerService_EventsClient, error) {
|
|
|
|
stream, err := grpc.NewClientStream(ctx, &_ContainerService_serviceDesc.Streams[0], c.cc, "/containerd.v1.services.ContainerService/Events", opts...)
|
2016-12-07 22:00:20 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
x := &containerServiceEventsClient{stream}
|
|
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
2016-12-07 22:00:20 +00:00
|
|
|
return nil, err
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
2016-12-07 22:00:20 +00:00
|
|
|
return nil, err
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return x, nil
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type ContainerService_EventsClient interface {
|
|
|
|
Recv() (*containerd_v1_types1.Event, error)
|
|
|
|
grpc.ClientStream
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type containerServiceEventsClient struct {
|
|
|
|
grpc.ClientStream
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (x *containerServiceEventsClient) Recv() (*containerd_v1_types1.Event, error) {
|
|
|
|
m := new(containerd_v1_types1.Event)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
2016-12-07 22:00:20 +00:00
|
|
|
return nil, err
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return m, nil
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
// Server API for ContainerService service
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type ContainerServiceServer interface {
|
|
|
|
Create(context.Context, *CreateRequest) (*CreateResponse, error)
|
|
|
|
Start(context.Context, *StartRequest) (*google_protobuf.Empty, error)
|
2017-03-01 14:58:05 +00:00
|
|
|
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
|
2017-02-24 17:39:59 +00:00
|
|
|
Info(context.Context, *InfoRequest) (*containerd_v1_types1.Container, error)
|
2017-02-13 18:23:28 +00:00
|
|
|
List(context.Context, *ListRequest) (*ListResponse, error)
|
|
|
|
Events(*EventsRequest, ContainerService_EventsServer) error
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func RegisterContainerServiceServer(s *grpc.Server, srv ContainerServiceServer) {
|
|
|
|
s.RegisterService(&_ContainerService_serviceDesc, srv)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func _ContainerService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(CreateRequest)
|
2016-12-02 18:27:51 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
if interceptor == nil {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).Create(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-02-13 18:23:28 +00:00
|
|
|
FullMethod: "/containerd.v1.services.ContainerService/Create",
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).Create(ctx, req.(*CreateRequest))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func _ContainerService_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(StartRequest)
|
2016-12-07 22:00:20 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).Start(ctx, in)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-02-13 18:23:28 +00:00
|
|
|
FullMethod: "/containerd.v1.services.ContainerService/Start",
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).Start(ctx, req.(*StartRequest))
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func _ContainerService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(DeleteRequest)
|
2016-12-02 18:27:51 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
if interceptor == nil {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).Delete(ctx, in)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-02-13 18:23:28 +00:00
|
|
|
FullMethod: "/containerd.v1.services.ContainerService/Delete",
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).Delete(ctx, req.(*DeleteRequest))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return interceptor(ctx, in, info, handler)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-24 17:39:59 +00:00
|
|
|
func _ContainerService_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(InfoRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ContainerServiceServer).Info(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/containerd.v1.services.ContainerService/Info",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ContainerServiceServer).Info(ctx, req.(*InfoRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func _ContainerService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListRequest)
|
2016-12-07 22:00:20 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).List(ctx, in)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-02-13 18:23:28 +00:00
|
|
|
FullMethod: "/containerd.v1.services.ContainerService/List",
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).List(ctx, req.(*ListRequest))
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func _ContainerService_Events_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
m := new(EventsRequest)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return srv.(ContainerServiceServer).Events(m, &containerServiceEventsServer{stream})
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type ContainerService_EventsServer interface {
|
|
|
|
Send(*containerd_v1_types1.Event) error
|
|
|
|
grpc.ServerStream
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
type containerServiceEventsServer struct {
|
|
|
|
grpc.ServerStream
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (x *containerServiceEventsServer) Send(m *containerd_v1_types1.Event) error {
|
|
|
|
return x.ServerStream.SendMsg(m)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
var _ContainerService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "containerd.v1.services.ContainerService",
|
|
|
|
HandlerType: (*ContainerServiceServer)(nil),
|
2016-12-02 18:27:51 +00:00
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
2017-02-13 18:23:28 +00:00
|
|
|
MethodName: "Create",
|
|
|
|
Handler: _ContainerService_Create_Handler,
|
2016-12-07 22:00:20 +00:00
|
|
|
},
|
|
|
|
{
|
2017-02-13 18:23:28 +00:00
|
|
|
MethodName: "Start",
|
|
|
|
Handler: _ContainerService_Start_Handler,
|
2016-12-07 22:00:20 +00:00
|
|
|
},
|
|
|
|
{
|
2017-02-13 18:23:28 +00:00
|
|
|
MethodName: "Delete",
|
|
|
|
Handler: _ContainerService_Delete_Handler,
|
2016-12-07 22:00:20 +00:00
|
|
|
},
|
2017-02-24 17:39:59 +00:00
|
|
|
{
|
|
|
|
MethodName: "Info",
|
|
|
|
Handler: _ContainerService_Info_Handler,
|
|
|
|
},
|
2016-12-07 22:00:20 +00:00
|
|
|
{
|
2017-02-13 18:23:28 +00:00
|
|
|
MethodName: "List",
|
|
|
|
Handler: _ContainerService_List_Handler,
|
2016-12-07 22:00:20 +00:00
|
|
|
},
|
2017-02-13 18:23:28 +00:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{
|
2016-12-07 22:00:20 +00:00
|
|
|
{
|
2017-02-13 18:23:28 +00:00
|
|
|
StreamName: "Events",
|
|
|
|
Handler: _ContainerService_Events_Handler,
|
|
|
|
ServerStreams: true,
|
2016-12-07 22:00:20 +00:00
|
|
|
},
|
2016-12-02 18:27:51 +00:00
|
|
|
},
|
2017-04-03 20:14:15 +00:00
|
|
|
Metadata: "github.com/containerd/containerd/api/services/execution/execution.proto",
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-07 22:00:20 +00:00
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-07 22:00:20 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
|
|
|
i += copy(dAtA[i:], m.ID)
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.Spec != nil {
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Spec.Size()))
|
|
|
|
n1, err := m.Spec.MarshalTo(dAtA[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n1
|
|
|
|
}
|
|
|
|
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.Runtime) > 0 {
|
|
|
|
dAtA[i] = 0x22
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Runtime)))
|
|
|
|
i += copy(dAtA[i:], m.Runtime)
|
|
|
|
}
|
|
|
|
if len(m.Stdin) > 0 {
|
|
|
|
dAtA[i] = 0x2a
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdin)))
|
|
|
|
i += copy(dAtA[i:], m.Stdin)
|
|
|
|
}
|
|
|
|
if len(m.Stdout) > 0 {
|
|
|
|
dAtA[i] = 0x32
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stdout)))
|
|
|
|
i += copy(dAtA[i:], m.Stdout)
|
|
|
|
}
|
|
|
|
if len(m.Stderr) > 0 {
|
|
|
|
dAtA[i] = 0x3a
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.Stderr)))
|
|
|
|
i += copy(dAtA[i:], m.Stderr)
|
|
|
|
}
|
|
|
|
if m.Terminal {
|
|
|
|
dAtA[i] = 0x40
|
|
|
|
i++
|
|
|
|
if m.Terminal {
|
|
|
|
dAtA[i] = 1
|
|
|
|
} else {
|
|
|
|
dAtA[i] = 0
|
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.Pid != 0 {
|
|
|
|
dAtA[i] = 0x10
|
2016-12-02 18:27:51 +00:00
|
|
|
i++
|
2017-02-13 18:23:28 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.Pid))
|
2016-12-02 18:27:51 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StartRequest) Marshal() (dAtA []byte, err error) {
|
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
2016-12-02 18:27:51 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return dAtA[:n], nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StartRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
|
|
|
dAtA[i] = 0xa
|
2016-12-02 18:27:51 +00:00
|
|
|
i++
|
2017-02-13 18:23:28 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-02 18:27:51 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-02-13 18:23:28 +00:00
|
|
|
if len(m.ID) > 0 {
|
2016-12-02 18:27:51 +00:00
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
2017-02-13 18:23:28 +00:00
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-11 19:07:32 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return i, nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
|
|
|
i += copy(dAtA[i:], m.ID)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.ExitStatus != 0 {
|
|
|
|
dAtA[i] = 0x10
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(m.ExitStatus))
|
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return i, nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-24 17:39:59 +00:00
|
|
|
func (m *InfoRequest) 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 *InfoRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintExecution(dAtA, i, uint64(len(m.ID)))
|
|
|
|
i += copy(dAtA[i:], m.ID)
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
return i, nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListResponse) Marshal() (dAtA []byte, err error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListResponse) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-02 18:27:51 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Containers) > 0 {
|
|
|
|
for _, msg := range m.Containers {
|
|
|
|
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
|
|
|
|
}
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
return i, nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *EventsRequest) Marshal() (dAtA []byte, err error) {
|
2016-12-07 22:00:20 +00:00
|
|
|
size := m.Size()
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
return dAtA[:n], nil
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *EventsRequest) MarshalTo(dAtA []byte) (int, error) {
|
2016-12-07 22:00:20 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
2016-12-02 18:27:51 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
2017-02-13 18:23:28 +00:00
|
|
|
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++
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
dAtA[offset] = uint8(v)
|
|
|
|
return offset + 1
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.Spec != nil {
|
|
|
|
l = m.Spec.Size()
|
|
|
|
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))
|
2016-12-09 17:17:34 +00:00
|
|
|
}
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
l = len(m.Runtime)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
l = len(m.Stdin)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
l = len(m.Stdout)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
l = len(m.Stderr)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.Terminal {
|
|
|
|
n += 2
|
|
|
|
}
|
|
|
|
return n
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateResponse) Size() (n int) {
|
2016-12-02 18:27:51 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
2017-02-13 18:23:28 +00:00
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.Pid != 0 {
|
|
|
|
n += 1 + sovExecution(uint64(m.Pid))
|
2016-12-01 21:31:57 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
2016-12-02 18:27:51 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *StartRequest) Size() (n int) {
|
2016-12-07 22:00:20 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
2017-02-13 18:23:28 +00:00
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteResponse) Size() (n int) {
|
2016-12-07 22:00:20 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
2017-02-13 18:23:28 +00:00
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.ExitStatus != 0 {
|
|
|
|
n += 1 + sovExecution(uint64(m.ExitStatus))
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
2016-12-02 18:27:51 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
|
2017-02-24 17:39:59 +00:00
|
|
|
func (m *InfoRequest) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListRequest) Size() (n int) {
|
2016-12-07 22:00:20 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListResponse) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Containers) > 0 {
|
|
|
|
for _, e := range m.Containers {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovExecution(uint64(l))
|
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *EventsRequest) Size() (n int) {
|
2016-12-07 22:00:20 +00:00
|
|
|
var l int
|
|
|
|
_ = l
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 18:23:28 +00:00
|
|
|
func sovExecution(x uint64) (n int) {
|
|
|
|
for {
|
|
|
|
n++
|
|
|
|
x >>= 7
|
|
|
|
if x == 0 {
|
|
|
|
break
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
func sozExecution(x uint64) (n int) {
|
|
|
|
return sovExecution(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
|
|
}
|
|
|
|
func (this *CreateRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
s := strings.Join([]string{`&CreateRequest{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "Any", "google_protobuf1.Any", 1) + `,`,
|
|
|
|
`Rootfs:` + strings.Replace(fmt.Sprintf("%v", this.Rootfs), "Mount", "containerd_v1_types.Mount", 1) + `,`,
|
|
|
|
`Runtime:` + fmt.Sprintf("%v", this.Runtime) + `,`,
|
|
|
|
`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
|
|
|
|
`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
|
|
|
|
`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
|
|
|
|
`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *CreateResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&CreateResponse{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *StartRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&StartRequest{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeleteRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DeleteRequest{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *DeleteResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&DeleteResponse{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`ExitStatus:` + fmt.Sprintf("%v", this.ExitStatus) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2017-02-24 17:39:59 +00:00
|
|
|
func (this *InfoRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&InfoRequest{`,
|
|
|
|
`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (this *ListRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ListRequest{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *ListResponse) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&ListResponse{`,
|
|
|
|
`Containers:` + strings.Replace(fmt.Sprintf("%v", this.Containers), "Container", "containerd_v1_types1.Container", 1) + `,`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
func (this *EventsRequest) String() string {
|
|
|
|
if this == nil {
|
|
|
|
return "nil"
|
|
|
|
}
|
|
|
|
s := strings.Join([]string{`&EventsRequest{`,
|
|
|
|
`}`,
|
|
|
|
}, "")
|
|
|
|
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)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateRequest) Unmarshal(dAtA []byte) error {
|
2016-12-07 22:00:20 +00:00
|
|
|
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 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: CreateRequest: wiretype end group for non-group")
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: CreateRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
var stringLen uint64
|
2016-12-07 22:00:20 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowExecution
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2017-02-13 18:23:28 +00:00
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
2016-12-07 22:00:20 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-07 22:00:20 +00:00
|
|
|
return ErrInvalidLengthExecution
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
postIndex := iNdEx + intStringLen
|
2016-12-07 22:00:20 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-07 22:00:20 +00:00
|
|
|
iNdEx = postIndex
|
2017-02-13 18:23:28 +00:00
|
|
|
case 2:
|
2016-12-07 22:00:20 +00:00
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
var msglen int
|
2016-12-07 22:00:20 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowExecution
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2017-02-13 18:23:28 +00:00
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
2016-12-07 22:00:20 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if msglen < 0 {
|
2016-12-07 22:00:20 +00:00
|
|
|
return ErrInvalidLengthExecution
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
postIndex := iNdEx + msglen
|
2016-12-07 22:00:20 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if m.Spec == nil {
|
|
|
|
m.Spec = &google_protobuf1.Any{}
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
2016-12-07 22:00:20 +00:00
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Rootfs", wireType)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.Rootfs = append(m.Rootfs, &containerd_v1_types.Mount{})
|
|
|
|
if err := m.Rootfs[len(m.Rootfs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2016-12-07 22:00:20 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2017-02-13 18:23:28 +00:00
|
|
|
case 4:
|
2016-12-07 22:00:20 +00:00
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Runtime", wireType)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
var stringLen uint64
|
2016-12-07 22:00:20 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowExecution
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2016-12-09 19:32:45 +00:00
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
2016-12-07 22:00:20 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-07 22:00:20 +00:00
|
|
|
return ErrInvalidLengthExecution
|
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
postIndex := iNdEx + intStringLen
|
2016-12-07 22:00:20 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.Runtime = string(dAtA[iNdEx:postIndex])
|
2016-12-07 22:00:20 +00:00
|
|
|
iNdEx = postIndex
|
2017-02-13 18:23:28 +00:00
|
|
|
case 5:
|
2016-12-07 22:00:20 +00:00
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.Stdin = string(dAtA[iNdEx:postIndex])
|
2016-12-07 22:00:20 +00:00
|
|
|
iNdEx = postIndex
|
2017-02-13 18:23:28 +00:00
|
|
|
case 6:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
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
|
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
2016-12-01 20:36:19 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.Stdout = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 7:
|
2016-12-01 20:36:19 +00:00
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.Stderr = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
2017-02-13 18:23:28 +00:00
|
|
|
case 8:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Terminal", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 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)
|
2016-12-07 22:00:20 +00:00
|
|
|
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
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *CreateResponse) Unmarshal(dAtA []byte) error {
|
2016-12-07 22:00:20 +00:00
|
|
|
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 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: CreateResponse: wiretype end group for non-group")
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: CreateResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
2016-12-01 20:36:19 +00:00
|
|
|
if wireType != 2 {
|
2016-12-07 22:00:20 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
2017-02-13 18:23:28 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
if (iNdEx + skippy) > l {
|
2016-12-01 20:36:19 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-07 22:00:20 +00:00
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *StartRequest) Unmarshal(dAtA []byte) error {
|
2016-12-07 22:00:20 +00:00
|
|
|
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 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: StartRequest: wiretype end group for non-group")
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: StartRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
2016-12-01 20:36:19 +00:00
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
var stringLen uint64
|
2016-12-01 20:36:19 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
2016-12-09 19:32:45 +00:00
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
2016-12-01 20:36:19 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
postIndex := iNdEx + intStringLen
|
2016-12-01 20:36:19 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: DeleteRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: DeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
2016-12-02 18:27:51 +00:00
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
2016-12-02 18:27:51 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
var stringLen uint64
|
2016-12-02 18:27:51 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowExecution
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2017-02-13 18:23:28 +00:00
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
2016-12-02 18:27:51 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-02 18:27:51 +00:00
|
|
|
return ErrInvalidLengthExecution
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
postIndex := iNdEx + intStringLen
|
2016-12-02 18:27:51 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-02 18:27:51 +00:00
|
|
|
iNdEx = postIndex
|
2016-12-01 20:36:19 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *DeleteResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: DeleteResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: DeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
var stringLen uint64
|
2016-12-01 20:36:19 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
2016-12-09 19:32:45 +00:00
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
2016-12-01 20:36:19 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
2016-12-09 19:32:45 +00:00
|
|
|
postIndex := iNdEx + intStringLen
|
2016-12-01 20:36:19 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
2016-12-07 22:00:20 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
2017-02-02 23:36:10 +00:00
|
|
|
if wireType != 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType)
|
2016-12-07 22:00:20 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.ExitStatus = 0
|
2016-12-07 22:00:20 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowExecution
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2017-02-13 18:23:28 +00:00
|
|
|
m.ExitStatus |= (uint32(b) & 0x7F) << shift
|
2016-12-07 22:00:20 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2016-12-01 20:36:19 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-02-24 17:39:59 +00:00
|
|
|
func (m *InfoRequest) 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: InfoRequest: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: InfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 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.ID = 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
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: ListRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: ListRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *ListResponse) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: ListResponse: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: ListResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
2016-12-02 18:27:51 +00:00
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
|
2016-12-02 18:27:51 +00:00
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
var msglen int
|
2016-12-02 18:27:51 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowExecution
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2017-02-13 18:23:28 +00:00
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
2016-12-02 18:27:51 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
if msglen < 0 {
|
2016-12-02 18:27:51 +00:00
|
|
|
return ErrInvalidLengthExecution
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
postIndex := iNdEx + msglen
|
2016-12-02 18:27:51 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
m.Containers = append(m.Containers, &containerd_v1_types1.Container{})
|
|
|
|
if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2016-12-02 18:27:51 +00:00
|
|
|
iNdEx = postIndex
|
2016-12-01 20:36:19 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-02-13 18:23:28 +00:00
|
|
|
func (m *EventsRequest) Unmarshal(dAtA []byte) error {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: EventsRequest: wiretype end group for non-group")
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-02-13 18:23:28 +00:00
|
|
|
return fmt.Errorf("proto: EventsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2016-12-01 21:38:29 +00:00
|
|
|
skippy, err := skipExecution(dAtA[iNdEx:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
func skipExecution(dAtA []byte) (n int, err error) {
|
2016-12-01 21:31:57 +00:00
|
|
|
l := len(dAtA)
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
switch wireType {
|
|
|
|
case 0:
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx++
|
2016-12-01 21:31:57 +00:00
|
|
|
if dAtA[iNdEx-1] < 0x80 {
|
2016-12-01 20:36:19 +00:00
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 1:
|
|
|
|
iNdEx += 8
|
|
|
|
return iNdEx, nil
|
|
|
|
case 2:
|
|
|
|
var length int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
length |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
iNdEx += length
|
|
|
|
if length < 0 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrInvalidLengthExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 3:
|
|
|
|
for {
|
|
|
|
var innerWire uint64
|
|
|
|
var start int = iNdEx
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
2016-12-01 21:38:29 +00:00
|
|
|
return 0, ErrIntOverflowExecution
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2016-12-01 21:31:57 +00:00
|
|
|
b := dAtA[iNdEx]
|
2016-12-01 20:36:19 +00:00
|
|
|
iNdEx++
|
|
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
innerWireType := int(innerWire & 0x7)
|
|
|
|
if innerWireType == 4 {
|
|
|
|
break
|
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
next, err := skipExecution(dAtA[start:])
|
2016-12-01 20:36:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
iNdEx = start + next
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 4:
|
|
|
|
return iNdEx, nil
|
|
|
|
case 5:
|
|
|
|
iNdEx += 4
|
|
|
|
return iNdEx, nil
|
|
|
|
default:
|
|
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
panic("unreachable")
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2016-12-01 21:38:29 +00:00
|
|
|
ErrInvalidLengthExecution = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
|
|
ErrIntOverflowExecution = fmt.Errorf("proto: integer overflow")
|
2016-12-01 20:36:19 +00:00
|
|
|
)
|
|
|
|
|
2017-02-15 00:48:36 +00:00
|
|
|
func init() {
|
2017-04-03 20:14:15 +00:00
|
|
|
proto.RegisterFile("github.com/containerd/containerd/api/services/execution/execution.proto", fileDescriptorExecution)
|
2017-02-15 00:48:36 +00:00
|
|
|
}
|
2016-12-01 21:38:29 +00:00
|
|
|
|
|
|
|
var fileDescriptorExecution = []byte{
|
2017-04-03 20:14:15 +00:00
|
|
|
// 586 bytes of a gzipped FileDescriptorProto
|
2017-04-05 00:26:35 +00:00
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x53, 0x4d, 0x6f, 0xd3, 0x40,
|
2017-04-03 20:14:15 +00:00
|
|
|
0x10, 0xad, 0x93, 0xd4, 0x0d, 0x93, 0xa6, 0x54, 0xab, 0x28, 0x32, 0x46, 0x72, 0x23, 0xd3, 0x96,
|
|
|
|
0x9c, 0x6c, 0x08, 0x37, 0x84, 0x90, 0x68, 0x13, 0xa1, 0x08, 0x8a, 0x84, 0x73, 0xe0, 0x88, 0x9c,
|
|
|
|
0x78, 0x13, 0x56, 0x4a, 0x76, 0xcd, 0xee, 0x3a, 0x6a, 0x6e, 0xf0, 0xef, 0x7a, 0xe4, 0xc8, 0x09,
|
|
|
|
0xd1, 0xfc, 0x0c, 0x4e, 0xc8, 0x6b, 0x3b, 0x1f, 0x25, 0xc6, 0x70, 0xb1, 0x66, 0x9e, 0xdf, 0x78,
|
|
|
|
0xdf, 0xbc, 0xe7, 0x85, 0xd7, 0x13, 0x22, 0x3f, 0x45, 0x43, 0x67, 0xc4, 0x66, 0xee, 0x88, 0x51,
|
|
|
|
0xe9, 0x13, 0x8a, 0x79, 0xb0, 0x59, 0xfa, 0x21, 0x71, 0x05, 0xe6, 0x73, 0x32, 0xc2, 0xc2, 0xc5,
|
|
|
|
0xd7, 0x78, 0x14, 0x49, 0xc2, 0xe8, 0xba, 0x72, 0x42, 0xce, 0x24, 0x43, 0xcd, 0xf5, 0x88, 0x33,
|
|
|
|
0x7f, 0xea, 0x64, 0x13, 0xe6, 0xc3, 0x09, 0x63, 0x93, 0x29, 0x76, 0x15, 0x6b, 0x18, 0x8d, 0x5d,
|
|
|
|
0x3c, 0x0b, 0xe5, 0x22, 0x19, 0x32, 0x1f, 0xdc, 0x7d, 0xe9, 0xd3, 0xec, 0x55, 0x63, 0xc2, 0x26,
|
|
|
|
0x4c, 0x95, 0x6e, 0x5c, 0xa5, 0xe8, 0x8b, 0x7f, 0x92, 0x2b, 0x17, 0x21, 0x16, 0xee, 0x8c, 0x45,
|
|
|
|
0x54, 0x26, 0xcf, 0x74, 0xba, 0xfb, 0x1f, 0xd3, 0x2b, 0x70, 0x5d, 0x25, 0x5f, 0xb1, 0xbf, 0x96,
|
|
|
|
0xa0, 0x7e, 0xc9, 0xb1, 0x2f, 0xb1, 0x87, 0x3f, 0x47, 0x58, 0x48, 0xd4, 0x84, 0x12, 0x09, 0x0c,
|
|
|
|
0xad, 0xa5, 0xb5, 0xef, 0x5d, 0xe8, 0xcb, 0x1f, 0x27, 0xa5, 0x7e, 0xd7, 0x2b, 0x91, 0x00, 0xb5,
|
|
|
|
0xa1, 0x22, 0x42, 0x3c, 0x32, 0x4a, 0x2d, 0xad, 0x5d, 0xeb, 0x34, 0x9c, 0x64, 0x5b, 0x27, 0xdb,
|
|
|
|
0xd6, 0x79, 0x45, 0x17, 0x9e, 0x62, 0xa0, 0x0e, 0xe8, 0x9c, 0x31, 0x39, 0x16, 0x46, 0xb9, 0x55,
|
|
|
|
0x6e, 0xd7, 0x3a, 0xa6, 0xb3, 0x6d, 0xa7, 0xd2, 0xe4, 0x5c, 0xc5, 0xbb, 0x78, 0x29, 0x13, 0x19,
|
|
|
|
0x70, 0xc0, 0x23, 0x2a, 0xc9, 0x0c, 0x1b, 0x95, 0xf8, 0x68, 0x2f, 0x6b, 0x51, 0x03, 0xf6, 0x85,
|
|
|
|
0x0c, 0x08, 0x35, 0xf6, 0x15, 0x9e, 0x34, 0xa8, 0x09, 0xba, 0x90, 0x01, 0x8b, 0xa4, 0xa1, 0x2b,
|
|
|
|
0x38, 0xed, 0x52, 0x1c, 0x73, 0x6e, 0x1c, 0xac, 0x70, 0xcc, 0x39, 0x32, 0xa1, 0x2a, 0x31, 0x9f,
|
|
|
|
0x11, 0xea, 0x4f, 0x8d, 0x6a, 0x4b, 0x6b, 0x57, 0xbd, 0x55, 0x6f, 0x3f, 0x87, 0xa3, 0xcc, 0x02,
|
|
|
|
0x11, 0x32, 0x2a, 0x70, 0xae, 0x07, 0xc7, 0x50, 0x0e, 0x49, 0xa0, 0x2c, 0xa8, 0x7b, 0x71, 0x69,
|
|
|
|
0x9f, 0xc3, 0xe1, 0x40, 0xfa, 0x5c, 0x16, 0xb8, 0x67, 0x3f, 0x86, 0x7a, 0x17, 0x4f, 0x71, 0xa1,
|
|
|
|
0xcd, 0x76, 0x1f, 0x8e, 0x32, 0x62, 0x81, 0x98, 0x13, 0xa8, 0xe1, 0x6b, 0x22, 0x3f, 0x0a, 0xe9,
|
|
|
|
0xcb, 0x48, 0xa4, 0xa2, 0x20, 0x86, 0x06, 0x0a, 0xb1, 0xcf, 0xa0, 0xd6, 0xa7, 0x63, 0x56, 0x74,
|
|
|
|
0x62, 0x1d, 0x6a, 0x6f, 0x89, 0xc8, 0x36, 0xb0, 0xdf, 0xc1, 0x61, 0xd2, 0xa6, 0xc7, 0xbf, 0x04,
|
|
|
|
0x58, 0xc5, 0x27, 0x0c, 0x4d, 0x25, 0x6a, 0xed, 0x4c, 0xf4, 0x32, 0xc3, 0xbc, 0x8d, 0x09, 0xfb,
|
|
|
|
0x3e, 0xd4, 0x7b, 0x73, 0x4c, 0xa5, 0x48, 0x0f, 0xe8, 0xfc, 0x2a, 0xc3, 0xf1, 0x8a, 0x3a, 0x48,
|
|
|
|
0xae, 0x16, 0xfa, 0x00, 0x7a, 0x92, 0x01, 0x3a, 0x73, 0x76, 0x5f, 0x3e, 0x67, 0xeb, 0x37, 0x35,
|
|
|
|
0xcf, 0x8b, 0x68, 0xa9, 0xfc, 0x1e, 0xec, 0xab, 0x80, 0xd0, 0x69, 0xde, 0xc0, 0x66, 0x7e, 0x66,
|
|
|
|
0xf3, 0x8f, 0xff, 0xba, 0x17, 0x5f, 0xf1, 0x58, 0x5f, 0x12, 0x4b, 0xbe, 0xbe, 0xad, 0x7c, 0xf3,
|
|
|
|
0xf5, 0xdd, 0x49, 0xf7, 0x0d, 0x54, 0xe2, 0x90, 0xd0, 0xa3, 0x3c, 0xfe, 0x46, 0x84, 0x66, 0x81,
|
|
|
|
0xef, 0xe8, 0x3d, 0x54, 0xe2, 0xec, 0xf2, 0x3f, 0xb6, 0x11, 0xb4, 0x79, 0xfa, 0x77, 0x52, 0xaa,
|
|
|
|
0xef, 0x0a, 0xf4, 0x24, 0xbe, 0xfc, 0xc5, 0xb7, 0xe2, 0x35, 0x77, 0xdf, 0x76, 0xc5, 0x79, 0xa2,
|
|
|
|
0x5d, 0x18, 0x37, 0xb7, 0xd6, 0xde, 0xf7, 0x5b, 0x6b, 0xef, 0xcb, 0xd2, 0xd2, 0x6e, 0x96, 0x96,
|
|
|
|
0xf6, 0x6d, 0x69, 0x69, 0x3f, 0x97, 0x96, 0x36, 0xd4, 0x95, 0xe3, 0xcf, 0x7e, 0x07, 0x00, 0x00,
|
|
|
|
0xff, 0xff, 0x8d, 0x48, 0xca, 0x8b, 0xc5, 0x05, 0x00, 0x00,
|
2016-12-01 20:36:19 +00:00
|
|
|
}
|