2017-10-02 04:59:34 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
2017-06-06 18:01:18 +00:00
|
|
|
// source: ops.proto
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package pb is a generated protocol buffer package.
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
Package pb provides the protobuf definition of LLB: low-level builder instruction.
|
|
|
|
LLB is DAG-structured; Op represents a vertex, and Definition represents a graph.
|
|
|
|
|
2017-06-06 18:01:18 +00:00
|
|
|
It is generated from these files:
|
|
|
|
ops.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
Op
|
2017-06-09 01:16:19 +00:00
|
|
|
Input
|
2017-06-06 18:01:18 +00:00
|
|
|
ExecOp
|
|
|
|
Meta
|
|
|
|
Mount
|
2018-05-15 19:09:09 +00:00
|
|
|
CacheOpt
|
2017-06-06 18:01:18 +00:00
|
|
|
CopyOp
|
|
|
|
CopySource
|
|
|
|
SourceOp
|
2017-07-21 17:58:24 +00:00
|
|
|
BuildOp
|
|
|
|
BuildInput
|
2017-10-02 04:59:34 +00:00
|
|
|
OpMetadata
|
2018-05-07 21:20:25 +00:00
|
|
|
ExportCache
|
2017-11-21 08:08:36 +00:00
|
|
|
WorkerConstraint
|
2017-10-02 04:59:34 +00:00
|
|
|
Definition
|
2017-06-06 18:01:18 +00:00
|
|
|
*/
|
|
|
|
package pb
|
|
|
|
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
2017-06-21 21:48:21 +00:00
|
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
2017-06-06 18:01:18 +00:00
|
|
|
|
2017-06-21 21:48:21 +00:00
|
|
|
import github_com_opencontainers_go_digest "github.com/opencontainers/go-digest"
|
2017-06-06 18:01:18 +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
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
// 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
|
|
|
|
|
2018-05-15 19:09:09 +00:00
|
|
|
type MountType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
MountType_BIND MountType = 0
|
|
|
|
MountType_SECRET MountType = 1
|
|
|
|
MountType_SSH MountType = 2
|
|
|
|
MountType_CACHE MountType = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
var MountType_name = map[int32]string{
|
|
|
|
0: "BIND",
|
|
|
|
1: "SECRET",
|
|
|
|
2: "SSH",
|
|
|
|
3: "CACHE",
|
|
|
|
}
|
|
|
|
var MountType_value = map[string]int32{
|
|
|
|
"BIND": 0,
|
|
|
|
"SECRET": 1,
|
|
|
|
"SSH": 2,
|
|
|
|
"CACHE": 3,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x MountType) String() string {
|
|
|
|
return proto.EnumName(MountType_name, int32(x))
|
|
|
|
}
|
|
|
|
func (MountType) EnumDescriptor() ([]byte, []int) { return fileDescriptorOps, []int{0} }
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// Op represents a vertex of the LLB DAG.
|
2017-06-06 18:01:18 +00:00
|
|
|
type Op struct {
|
2018-02-27 07:06:01 +00:00
|
|
|
// inputs is a set of input edges.
|
2017-06-09 01:16:19 +00:00
|
|
|
Inputs []*Input `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"`
|
2017-06-06 18:01:18 +00:00
|
|
|
// Types that are valid to be assigned to Op:
|
|
|
|
// *Op_Exec
|
|
|
|
// *Op_Source
|
|
|
|
// *Op_Copy
|
2017-07-21 17:58:24 +00:00
|
|
|
// *Op_Build
|
2017-06-06 18:01:18 +00:00
|
|
|
Op isOp_Op `protobuf_oneof:"op"`
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op) Reset() { *m = Op{} }
|
|
|
|
func (m *Op) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Op) ProtoMessage() {}
|
|
|
|
func (*Op) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{0} }
|
2017-06-06 18:01:18 +00:00
|
|
|
|
|
|
|
type isOp_Op interface {
|
|
|
|
isOp_Op()
|
|
|
|
MarshalTo([]byte) (int, error)
|
|
|
|
Size() int
|
|
|
|
}
|
|
|
|
|
|
|
|
type Op_Exec struct {
|
|
|
|
Exec *ExecOp `protobuf:"bytes,2,opt,name=exec,oneof"`
|
|
|
|
}
|
|
|
|
type Op_Source struct {
|
|
|
|
Source *SourceOp `protobuf:"bytes,3,opt,name=source,oneof"`
|
|
|
|
}
|
|
|
|
type Op_Copy struct {
|
|
|
|
Copy *CopyOp `protobuf:"bytes,4,opt,name=copy,oneof"`
|
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
type Op_Build struct {
|
|
|
|
Build *BuildOp `protobuf:"bytes,5,opt,name=build,oneof"`
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
|
|
|
|
func (*Op_Exec) isOp_Op() {}
|
|
|
|
func (*Op_Source) isOp_Op() {}
|
|
|
|
func (*Op_Copy) isOp_Op() {}
|
2017-07-21 17:58:24 +00:00
|
|
|
func (*Op_Build) isOp_Op() {}
|
2017-06-06 18:01:18 +00:00
|
|
|
|
|
|
|
func (m *Op) GetOp() isOp_Op {
|
|
|
|
if m != nil {
|
|
|
|
return m.Op
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-06-09 01:16:19 +00:00
|
|
|
func (m *Op) GetInputs() []*Input {
|
2017-06-06 18:01:18 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Inputs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Op) GetExec() *ExecOp {
|
|
|
|
if x, ok := m.GetOp().(*Op_Exec); ok {
|
|
|
|
return x.Exec
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Op) GetSource() *SourceOp {
|
|
|
|
if x, ok := m.GetOp().(*Op_Source); ok {
|
|
|
|
return x.Source
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Op) GetCopy() *CopyOp {
|
|
|
|
if x, ok := m.GetOp().(*Op_Copy); ok {
|
|
|
|
return x.Copy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-07-21 17:58:24 +00:00
|
|
|
func (m *Op) GetBuild() *BuildOp {
|
|
|
|
if x, ok := m.GetOp().(*Op_Build); ok {
|
|
|
|
return x.Build
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-06-06 18:01:18 +00:00
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
2017-10-02 04:59:34 +00:00
|
|
|
func (*Op) 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 _Op_OneofMarshaler, _Op_OneofUnmarshaler, _Op_OneofSizer, []interface{}{
|
2017-06-06 18:01:18 +00:00
|
|
|
(*Op_Exec)(nil),
|
|
|
|
(*Op_Source)(nil),
|
|
|
|
(*Op_Copy)(nil),
|
2017-07-21 17:58:24 +00:00
|
|
|
(*Op_Build)(nil),
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Op_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
|
|
m := msg.(*Op)
|
|
|
|
// op
|
|
|
|
switch x := m.Op.(type) {
|
|
|
|
case *Op_Exec:
|
|
|
|
_ = b.EncodeVarint(2<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Exec); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Op_Source:
|
|
|
|
_ = b.EncodeVarint(3<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Source); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Op_Copy:
|
|
|
|
_ = b.EncodeVarint(4<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Copy); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
case *Op_Build:
|
|
|
|
_ = b.EncodeVarint(5<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Build); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
return fmt.Errorf("Op.Op has unexpected type %T", x)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Op_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
|
|
m := msg.(*Op)
|
|
|
|
switch tag {
|
|
|
|
case 2: // op.exec
|
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ExecOp)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Op = &Op_Exec{msg}
|
|
|
|
return true, err
|
|
|
|
case 3: // op.source
|
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(SourceOp)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Op = &Op_Source{msg}
|
|
|
|
return true, err
|
|
|
|
case 4: // op.copy
|
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(CopyOp)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Op = &Op_Copy{msg}
|
|
|
|
return true, err
|
2017-07-21 17:58:24 +00:00
|
|
|
case 5: // op.build
|
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(BuildOp)
|
|
|
|
err := b.DecodeMessage(msg)
|
|
|
|
m.Op = &Op_Build{msg}
|
|
|
|
return true, err
|
2017-06-06 18:01:18 +00:00
|
|
|
default:
|
|
|
|
return false, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func _Op_OneofSizer(msg proto.Message) (n int) {
|
|
|
|
m := msg.(*Op)
|
|
|
|
// op
|
|
|
|
switch x := m.Op.(type) {
|
|
|
|
case *Op_Exec:
|
|
|
|
s := proto.Size(x.Exec)
|
|
|
|
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Op_Source:
|
|
|
|
s := proto.Size(x.Source)
|
|
|
|
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Op_Copy:
|
|
|
|
s := proto.Size(x.Copy)
|
|
|
|
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Op_Build:
|
|
|
|
s := proto.Size(x.Build)
|
|
|
|
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// Input represents an input edge for an Op.
|
2017-06-09 01:16:19 +00:00
|
|
|
type Input struct {
|
2018-02-27 07:06:01 +00:00
|
|
|
// digest of the marshaled input Op
|
2017-06-21 21:48:21 +00:00
|
|
|
Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"digest"`
|
2018-02-27 07:06:01 +00:00
|
|
|
// output index of the input Op
|
|
|
|
Index OutputIndex `protobuf:"varint,2,opt,name=index,proto3,customtype=OutputIndex" json:"index"`
|
2017-06-09 01:16:19 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Input) Reset() { *m = Input{} }
|
|
|
|
func (m *Input) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Input) ProtoMessage() {}
|
|
|
|
func (*Input) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{1} }
|
2017-06-09 01:16:19 +00:00
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// ExecOp executes a command in a container.
|
2017-06-06 18:01:18 +00:00
|
|
|
type ExecOp struct {
|
|
|
|
Meta *Meta `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty"`
|
|
|
|
Mounts []*Mount `protobuf:"bytes,2,rep,name=mounts" json:"mounts,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *ExecOp) Reset() { *m = ExecOp{} }
|
|
|
|
func (m *ExecOp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ExecOp) ProtoMessage() {}
|
|
|
|
func (*ExecOp) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{2} }
|
2017-06-06 18:01:18 +00:00
|
|
|
|
|
|
|
func (m *ExecOp) GetMeta() *Meta {
|
|
|
|
if m != nil {
|
|
|
|
return m.Meta
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExecOp) GetMounts() []*Mount {
|
|
|
|
if m != nil {
|
|
|
|
return m.Mounts
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// Meta is a set of arguments for ExecOp.
|
2017-10-02 04:59:34 +00:00
|
|
|
// Meta is unrelated to LLB metadata.
|
|
|
|
// FIXME: rename (ExecContext? ExecArgs?)
|
2017-06-06 18:01:18 +00:00
|
|
|
type Meta struct {
|
|
|
|
Args []string `protobuf:"bytes,1,rep,name=args" json:"args,omitempty"`
|
|
|
|
Env []string `protobuf:"bytes,2,rep,name=env" json:"env,omitempty"`
|
|
|
|
Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"`
|
2017-12-11 21:17:07 +00:00
|
|
|
User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Meta) Reset() { *m = Meta{} }
|
|
|
|
func (m *Meta) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Meta) ProtoMessage() {}
|
|
|
|
func (*Meta) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{3} }
|
|
|
|
|
|
|
|
func (m *Meta) GetArgs() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Args
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Meta) GetEnv() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Env
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Meta) GetCwd() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Cwd
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
|
2017-12-11 21:17:07 +00:00
|
|
|
func (m *Meta) GetUser() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.User
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// Mount specifies how to mount an input Op as a filesystem.
|
2017-06-06 18:01:18 +00:00
|
|
|
type Mount struct {
|
2018-05-15 19:09:09 +00:00
|
|
|
Input InputIndex `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
|
|
|
|
Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
|
|
|
|
Dest string `protobuf:"bytes,3,opt,name=dest,proto3" json:"dest,omitempty"`
|
|
|
|
Output OutputIndex `protobuf:"varint,4,opt,name=output,proto3,customtype=OutputIndex" json:"output"`
|
|
|
|
Readonly bool `protobuf:"varint,5,opt,name=readonly,proto3" json:"readonly,omitempty"`
|
|
|
|
MountType MountType `protobuf:"varint,6,opt,name=mountType,proto3,enum=pb.MountType" json:"mountType,omitempty"`
|
|
|
|
CacheOpt *CacheOpt `protobuf:"bytes,20,opt,name=cacheOpt" json:"cacheOpt,omitempty"`
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Mount) Reset() { *m = Mount{} }
|
|
|
|
func (m *Mount) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Mount) ProtoMessage() {}
|
|
|
|
func (*Mount) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{4} }
|
|
|
|
|
|
|
|
func (m *Mount) GetSelector() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Selector
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mount) GetDest() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Dest
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mount) GetReadonly() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Readonly
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
|
2018-05-15 19:09:09 +00:00
|
|
|
func (m *Mount) GetMountType() MountType {
|
|
|
|
if m != nil {
|
|
|
|
return m.MountType
|
|
|
|
}
|
|
|
|
return MountType_BIND
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mount) GetCacheOpt() *CacheOpt {
|
|
|
|
if m != nil {
|
|
|
|
return m.CacheOpt
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CacheOpt struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CacheOpt) Reset() { *m = CacheOpt{} }
|
|
|
|
func (m *CacheOpt) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CacheOpt) ProtoMessage() {}
|
|
|
|
func (*CacheOpt) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{5} }
|
|
|
|
|
|
|
|
func (m *CacheOpt) GetID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// CopyOp copies files across Ops.
|
2017-06-06 18:01:18 +00:00
|
|
|
type CopyOp struct {
|
|
|
|
Src []*CopySource `protobuf:"bytes,1,rep,name=src" json:"src,omitempty"`
|
|
|
|
Dest string `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopyOp) Reset() { *m = CopyOp{} }
|
|
|
|
func (m *CopyOp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CopyOp) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*CopyOp) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{6} }
|
2017-06-06 18:01:18 +00:00
|
|
|
|
|
|
|
func (m *CopyOp) GetSrc() []*CopySource {
|
|
|
|
if m != nil {
|
|
|
|
return m.Src
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopyOp) GetDest() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Dest
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// CopySource specifies a source for CopyOp.
|
2017-06-06 18:01:18 +00:00
|
|
|
type CopySource struct {
|
2017-07-21 17:58:24 +00:00
|
|
|
Input InputIndex `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
|
|
|
|
Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopySource) Reset() { *m = CopySource{} }
|
|
|
|
func (m *CopySource) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CopySource) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*CopySource) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{7} }
|
2017-10-02 04:59:34 +00:00
|
|
|
|
|
|
|
func (m *CopySource) GetSelector() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Selector
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// SourceOp specifies a source such as build contexts and images.
|
2017-06-06 18:01:18 +00:00
|
|
|
type SourceOp struct {
|
2018-02-27 07:06:01 +00:00
|
|
|
// TODO: use source type or any type instead of URL protocol.
|
|
|
|
// identifier e.g. local://, docker-image://, git://, https://...
|
|
|
|
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
|
|
|
// attrs are defined in attr.go
|
|
|
|
Attrs map[string]string `protobuf:"bytes,2,rep,name=attrs" json:"attrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *SourceOp) Reset() { *m = SourceOp{} }
|
|
|
|
func (m *SourceOp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SourceOp) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*SourceOp) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{8} }
|
2017-10-02 04:59:34 +00:00
|
|
|
|
|
|
|
func (m *SourceOp) GetIdentifier() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Identifier
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
|
2017-07-08 23:25:07 +00:00
|
|
|
func (m *SourceOp) GetAttrs() map[string]string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Attrs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// BuildOp is used for nested build invocation.
|
2017-07-21 17:58:24 +00:00
|
|
|
type BuildOp struct {
|
|
|
|
Builder InputIndex `protobuf:"varint,1,opt,name=builder,proto3,customtype=InputIndex" json:"builder"`
|
|
|
|
Inputs map[string]*BuildInput `protobuf:"bytes,2,rep,name=inputs" json:"inputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
|
2017-10-02 04:59:34 +00:00
|
|
|
Def *Definition `protobuf:"bytes,3,opt,name=def" json:"def,omitempty"`
|
2017-07-21 17:58:24 +00:00
|
|
|
Attrs map[string]string `protobuf:"bytes,4,rep,name=attrs" json:"attrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildOp) Reset() { *m = BuildOp{} }
|
|
|
|
func (m *BuildOp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BuildOp) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*BuildOp) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{9} }
|
2017-07-21 17:58:24 +00:00
|
|
|
|
|
|
|
func (m *BuildOp) GetInputs() map[string]*BuildInput {
|
|
|
|
if m != nil {
|
|
|
|
return m.Inputs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildOp) GetDef() *Definition {
|
|
|
|
if m != nil {
|
|
|
|
return m.Def
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-07-21 17:58:24 +00:00
|
|
|
func (m *BuildOp) GetAttrs() map[string]string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Attrs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// BuildInput is used for BuildOp.
|
2017-07-21 17:58:24 +00:00
|
|
|
type BuildInput struct {
|
|
|
|
Input InputIndex `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildInput) Reset() { *m = BuildInput{} }
|
|
|
|
func (m *BuildInput) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BuildInput) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*BuildInput) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{10} }
|
2017-10-02 04:59:34 +00:00
|
|
|
|
2018-02-27 07:06:01 +00:00
|
|
|
// OpMetadata is a per-vertex metadata entry, which can be defined for arbitrary Op vertex and overridable on the run time.
|
2017-10-02 04:59:34 +00:00
|
|
|
type OpMetadata struct {
|
2018-02-27 07:06:01 +00:00
|
|
|
// ignore_cache specifies to ignore the cache for this Op.
|
2017-10-02 04:59:34 +00:00
|
|
|
IgnoreCache bool `protobuf:"varint,1,opt,name=ignore_cache,json=ignoreCache,proto3" json:"ignore_cache,omitempty"`
|
2017-12-08 00:13:50 +00:00
|
|
|
// Description can be used for keeping any text fields that builder doesn't parse
|
2017-12-19 09:34:34 +00:00
|
|
|
Description map[string]string `protobuf:"bytes,2,rep,name=description" json:"description,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2017-11-21 08:08:36 +00:00
|
|
|
WorkerConstraint *WorkerConstraint `protobuf:"bytes,3,opt,name=worker_constraint,json=workerConstraint" json:"worker_constraint,omitempty"`
|
2018-05-07 21:20:25 +00:00
|
|
|
ExportCache *ExportCache `protobuf:"bytes,4,opt,name=export_cache,json=exportCache" json:"export_cache,omitempty"`
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpMetadata) Reset() { *m = OpMetadata{} }
|
|
|
|
func (m *OpMetadata) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*OpMetadata) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*OpMetadata) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{11} }
|
2017-10-02 04:59:34 +00:00
|
|
|
|
|
|
|
func (m *OpMetadata) GetIgnoreCache() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IgnoreCache
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2017-12-08 00:13:50 +00:00
|
|
|
func (m *OpMetadata) GetDescription() map[string]string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Description
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-21 08:08:36 +00:00
|
|
|
func (m *OpMetadata) GetWorkerConstraint() *WorkerConstraint {
|
|
|
|
if m != nil {
|
|
|
|
return m.WorkerConstraint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-05-07 21:20:25 +00:00
|
|
|
func (m *OpMetadata) GetExportCache() *ExportCache {
|
|
|
|
if m != nil {
|
|
|
|
return m.ExportCache
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExportCache struct {
|
|
|
|
Value bool `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExportCache) Reset() { *m = ExportCache{} }
|
|
|
|
func (m *ExportCache) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ExportCache) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*ExportCache) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{12} }
|
2018-05-07 21:20:25 +00:00
|
|
|
|
|
|
|
func (m *ExportCache) GetValue() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2017-12-19 09:34:34 +00:00
|
|
|
// WorkerConstraint is experimental and likely to be changed.
|
2017-11-21 08:08:36 +00:00
|
|
|
type WorkerConstraint struct {
|
2017-12-19 09:34:34 +00:00
|
|
|
Filter []string `protobuf:"bytes,1,rep,name=filter" json:"filter,omitempty"`
|
2017-11-21 08:08:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WorkerConstraint) Reset() { *m = WorkerConstraint{} }
|
|
|
|
func (m *WorkerConstraint) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WorkerConstraint) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*WorkerConstraint) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{13} }
|
2017-11-21 08:08:36 +00:00
|
|
|
|
2017-12-19 09:34:34 +00:00
|
|
|
func (m *WorkerConstraint) GetFilter() []string {
|
2017-11-21 08:08:36 +00:00
|
|
|
if m != nil {
|
2017-12-19 09:34:34 +00:00
|
|
|
return m.Filter
|
2017-11-21 08:08:36 +00:00
|
|
|
}
|
2017-12-19 09:34:34 +00:00
|
|
|
return nil
|
2017-11-21 08:08:36 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
// Definition is the LLB definition structure with per-vertex metadata entries
|
|
|
|
type Definition struct {
|
2018-02-27 07:06:01 +00:00
|
|
|
// def is a list of marshaled Op messages
|
2017-10-02 04:59:34 +00:00
|
|
|
Def [][]byte `protobuf:"bytes,1,rep,name=def" json:"def,omitempty"`
|
2018-02-27 07:06:01 +00:00
|
|
|
// metadata contains metadata for the each of the Op messages.
|
|
|
|
// A key must be an LLB op digest string. Currently, empty string is not expected as a key, but it may change in the future.
|
2017-10-02 04:59:34 +00:00
|
|
|
Metadata map[github_com_opencontainers_go_digest.Digest]OpMetadata `protobuf:"bytes,2,rep,name=metadata,castkey=github.com/opencontainers/go-digest.Digest" json:"metadata" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Definition) Reset() { *m = Definition{} }
|
|
|
|
func (m *Definition) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Definition) ProtoMessage() {}
|
2018-05-15 19:09:09 +00:00
|
|
|
func (*Definition) Descriptor() ([]byte, []int) { return fileDescriptorOps, []int{14} }
|
2017-10-02 04:59:34 +00:00
|
|
|
|
|
|
|
func (m *Definition) GetDef() [][]byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Def
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Definition) GetMetadata() map[github_com_opencontainers_go_digest.Digest]OpMetadata {
|
|
|
|
if m != nil {
|
|
|
|
return m.Metadata
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
|
2017-06-06 18:01:18 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Op)(nil), "pb.Op")
|
2017-06-09 01:16:19 +00:00
|
|
|
proto.RegisterType((*Input)(nil), "pb.Input")
|
2017-06-06 18:01:18 +00:00
|
|
|
proto.RegisterType((*ExecOp)(nil), "pb.ExecOp")
|
|
|
|
proto.RegisterType((*Meta)(nil), "pb.Meta")
|
|
|
|
proto.RegisterType((*Mount)(nil), "pb.Mount")
|
2018-05-15 19:09:09 +00:00
|
|
|
proto.RegisterType((*CacheOpt)(nil), "pb.CacheOpt")
|
2017-06-06 18:01:18 +00:00
|
|
|
proto.RegisterType((*CopyOp)(nil), "pb.CopyOp")
|
|
|
|
proto.RegisterType((*CopySource)(nil), "pb.CopySource")
|
|
|
|
proto.RegisterType((*SourceOp)(nil), "pb.SourceOp")
|
2017-07-21 17:58:24 +00:00
|
|
|
proto.RegisterType((*BuildOp)(nil), "pb.BuildOp")
|
|
|
|
proto.RegisterType((*BuildInput)(nil), "pb.BuildInput")
|
2017-10-02 04:59:34 +00:00
|
|
|
proto.RegisterType((*OpMetadata)(nil), "pb.OpMetadata")
|
2018-05-07 21:20:25 +00:00
|
|
|
proto.RegisterType((*ExportCache)(nil), "pb.ExportCache")
|
2017-11-21 08:08:36 +00:00
|
|
|
proto.RegisterType((*WorkerConstraint)(nil), "pb.WorkerConstraint")
|
2017-10-02 04:59:34 +00:00
|
|
|
proto.RegisterType((*Definition)(nil), "pb.Definition")
|
2018-05-15 19:09:09 +00:00
|
|
|
proto.RegisterEnum("pb.MountType", MountType_name, MountType_value)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op) Marshal() (dAtA []byte, err error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Inputs) > 0 {
|
2017-06-09 01:16:19 +00:00
|
|
|
for _, msg := range m.Inputs {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-06-09 01:16:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
2017-06-09 01:16:19 +00:00
|
|
|
i += n
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.Op != nil {
|
2017-10-02 04:59:34 +00:00
|
|
|
nn1, err := m.Op.MarshalTo(dAtA[i:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += nn1
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op_Exec) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
i := 0
|
|
|
|
if m.Exec != nil {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Exec.Size()))
|
|
|
|
n2, err := m.Exec.MarshalTo(dAtA[i:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n2
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op_Source) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
i := 0
|
|
|
|
if m.Source != nil {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x1a
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Source.Size()))
|
|
|
|
n3, err := m.Source.MarshalTo(dAtA[i:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n3
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op_Copy) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
i := 0
|
|
|
|
if m.Copy != nil {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x22
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Copy.Size()))
|
|
|
|
n4, err := m.Copy.MarshalTo(dAtA[i:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n4
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op_Build) MarshalTo(dAtA []byte) (int, error) {
|
2017-07-21 17:58:24 +00:00
|
|
|
i := 0
|
|
|
|
if m.Build != nil {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x2a
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Build.Size()))
|
|
|
|
n5, err := m.Build.MarshalTo(dAtA[i:])
|
2017-07-21 17:58:24 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n5
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Input) Marshal() (dAtA []byte, err error) {
|
2017-06-09 01:16:19 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-09 01:16:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-09 01:16:19 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Input) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-09 01:16:19 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Digest) > 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-06-09 01:16:19 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.Digest)))
|
|
|
|
i += copy(dAtA[i:], m.Digest)
|
2017-06-09 01:16:19 +00:00
|
|
|
}
|
|
|
|
if m.Index != 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x10
|
2017-06-09 01:16:19 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Index))
|
2017-06-09 01:16:19 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *ExecOp) Marshal() (dAtA []byte, err error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *ExecOp) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Meta != nil {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Meta.Size()))
|
|
|
|
n6, err := m.Meta.MarshalTo(dAtA[i:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
i += n6
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
if len(m.Mounts) > 0 {
|
|
|
|
for _, msg := range m.Mounts {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Meta) Marshal() (dAtA []byte, err error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Meta) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Args) > 0 {
|
|
|
|
for _, s := range m.Args {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-06-06 18:01:18 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Env) > 0 {
|
|
|
|
for _, s := range m.Env {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
2017-06-06 18:01:18 +00:00
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = uint8(l)
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i += copy(dAtA[i:], s)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Cwd) > 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x1a
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.Cwd)))
|
|
|
|
i += copy(dAtA[i:], m.Cwd)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
2017-12-11 21:17:07 +00:00
|
|
|
if len(m.User) > 0 {
|
|
|
|
dAtA[i] = 0x22
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.User)))
|
|
|
|
i += copy(dAtA[i:], m.User)
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Mount) Marshal() (dAtA []byte, err error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Mount) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Input != 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x8
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Input))
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
if len(m.Selector) > 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.Selector)))
|
|
|
|
i += copy(dAtA[i:], m.Selector)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
if len(m.Dest) > 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x1a
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.Dest)))
|
|
|
|
i += copy(dAtA[i:], m.Dest)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
if m.Output != 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x20
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Output))
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
2017-07-18 06:08:22 +00:00
|
|
|
if m.Readonly {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x28
|
2017-07-18 06:08:22 +00:00
|
|
|
i++
|
|
|
|
if m.Readonly {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 1
|
2017-07-18 06:08:22 +00:00
|
|
|
} else {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0
|
2017-07-18 06:08:22 +00:00
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
2018-05-15 19:09:09 +00:00
|
|
|
if m.MountType != 0 {
|
|
|
|
dAtA[i] = 0x30
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.MountType))
|
|
|
|
}
|
|
|
|
if m.CacheOpt != nil {
|
|
|
|
dAtA[i] = 0xa2
|
|
|
|
i++
|
|
|
|
dAtA[i] = 0x1
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.CacheOpt.Size()))
|
|
|
|
n7, err := m.CacheOpt.MarshalTo(dAtA[i:])
|
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n7
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CacheOpt) 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 *CacheOpt) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.ID) > 0 {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.ID)))
|
|
|
|
i += copy(dAtA[i:], m.ID)
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopyOp) Marshal() (dAtA []byte, err error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopyOp) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Src) > 0 {
|
|
|
|
for _, msg := range m.Src {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(msg.Size()))
|
|
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
|
|
|
i += n
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Dest) > 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.Dest)))
|
|
|
|
i += copy(dAtA[i:], m.Dest)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopySource) Marshal() (dAtA []byte, err error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopySource) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Input != 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x8
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Input))
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
if len(m.Selector) > 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.Selector)))
|
|
|
|
i += copy(dAtA[i:], m.Selector)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *SourceOp) Marshal() (dAtA []byte, err error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *SourceOp) MarshalTo(dAtA []byte) (int, error) {
|
2017-06-06 18:01:18 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Identifier) > 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0xa
|
2017-06-06 18:01:18 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(m.Identifier)))
|
|
|
|
i += copy(dAtA[i:], m.Identifier)
|
2017-06-06 18:01:18 +00:00
|
|
|
}
|
2017-07-08 23:25:07 +00:00
|
|
|
if len(m.Attrs) > 0 {
|
|
|
|
for k, _ := range m.Attrs {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-07-08 23:25:07 +00:00
|
|
|
i++
|
|
|
|
v := m.Attrs[k]
|
|
|
|
mapSize := 1 + len(k) + sovOps(uint64(len(k))) + 1 + len(v) + sovOps(uint64(len(v)))
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
2017-07-08 23:25:07 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
dAtA[i] = 0x12
|
2017-07-08 23:25:07 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(v)))
|
|
|
|
i += copy(dAtA[i:], v)
|
2017-07-08 23:25:07 +00:00
|
|
|
}
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildOp) Marshal() (dAtA []byte, err error) {
|
2017-07-21 17:58:24 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-07-21 17:58:24 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildOp) MarshalTo(dAtA []byte) (int, error) {
|
2017-07-21 17:58:24 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Builder != 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x8
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Builder))
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
if len(m.Inputs) > 0 {
|
|
|
|
for k, _ := range m.Inputs {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x12
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
|
|
|
v := m.Inputs[k]
|
2017-10-02 04:59:34 +00:00
|
|
|
msgSize := 0
|
|
|
|
if v != nil {
|
|
|
|
msgSize = v.Size()
|
|
|
|
msgSize += 1 + sovOps(uint64(msgSize))
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
mapSize := 1 + len(k) + sovOps(uint64(len(k))) + msgSize
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
if v != nil {
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(v.Size()))
|
2018-05-15 19:09:09 +00:00
|
|
|
n8, err := v.MarshalTo(dAtA[i:])
|
2017-10-02 04:59:34 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2018-05-15 19:09:09 +00:00
|
|
|
i += n8
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if m.Def != nil {
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Def.Size()))
|
2018-05-15 19:09:09 +00:00
|
|
|
n9, err := m.Def.MarshalTo(dAtA[i:])
|
2017-10-02 04:59:34 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
2018-05-15 19:09:09 +00:00
|
|
|
i += n9
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
if len(m.Attrs) > 0 {
|
|
|
|
for k, _ := range m.Attrs {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x22
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
|
|
|
v := m.Attrs[k]
|
|
|
|
mapSize := 1 + len(k) + sovOps(uint64(len(k))) + 1 + len(v) + sovOps(uint64(len(v)))
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
dAtA[i] = 0x12
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(v)))
|
|
|
|
i += copy(dAtA[i:], v)
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildInput) Marshal() (dAtA []byte, err error) {
|
2017-07-21 17:58:24 +00:00
|
|
|
size := m.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA = make([]byte, size)
|
|
|
|
n, err := m.MarshalTo(dAtA)
|
2017-07-21 17:58:24 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return dAtA[:n], nil
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildInput) MarshalTo(dAtA []byte) (int, error) {
|
2017-07-21 17:58:24 +00:00
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Input != 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[i] = 0x8
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.Input))
|
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *OpMetadata) 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 *OpMetadata) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.IgnoreCache {
|
|
|
|
dAtA[i] = 0x8
|
2017-07-21 17:58:24 +00:00
|
|
|
i++
|
2017-10-02 04:59:34 +00:00
|
|
|
if m.IgnoreCache {
|
|
|
|
dAtA[i] = 1
|
|
|
|
} else {
|
|
|
|
dAtA[i] = 0
|
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
2017-12-08 00:13:50 +00:00
|
|
|
if len(m.Description) > 0 {
|
|
|
|
for k, _ := range m.Description {
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
v := m.Description[k]
|
|
|
|
mapSize := 1 + len(k) + sovOps(uint64(len(k))) + 1 + len(v) + sovOps(uint64(len(v)))
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(v)))
|
|
|
|
i += copy(dAtA[i:], v)
|
|
|
|
}
|
|
|
|
}
|
2017-11-21 08:08:36 +00:00
|
|
|
if m.WorkerConstraint != nil {
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.WorkerConstraint.Size()))
|
2018-05-15 19:09:09 +00:00
|
|
|
n10, err := m.WorkerConstraint.MarshalTo(dAtA[i:])
|
2017-11-21 08:08:36 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2018-05-15 19:09:09 +00:00
|
|
|
i += n10
|
2017-11-21 08:08:36 +00:00
|
|
|
}
|
2018-05-07 21:20:25 +00:00
|
|
|
if m.ExportCache != nil {
|
|
|
|
dAtA[i] = 0x22
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(m.ExportCache.Size()))
|
2018-05-15 19:09:09 +00:00
|
|
|
n11, err := m.ExportCache.MarshalTo(dAtA[i:])
|
2018-05-07 21:20:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2018-05-15 19:09:09 +00:00
|
|
|
i += n11
|
2018-05-07 21:20:25 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExportCache) 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 *ExportCache) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Value {
|
|
|
|
dAtA[i] = 0x8
|
|
|
|
i++
|
|
|
|
if m.Value {
|
|
|
|
dAtA[i] = 1
|
|
|
|
} else {
|
|
|
|
dAtA[i] = 0
|
|
|
|
}
|
|
|
|
i++
|
|
|
|
}
|
2017-11-21 08:08:36 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WorkerConstraint) 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 *WorkerConstraint) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-12-19 09:34:34 +00:00
|
|
|
if len(m.Filter) > 0 {
|
|
|
|
for _, s := range m.Filter {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
l = len(s)
|
|
|
|
for l >= 1<<7 {
|
|
|
|
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
|
|
|
l >>= 7
|
|
|
|
i++
|
|
|
|
}
|
|
|
|
dAtA[i] = uint8(l)
|
|
|
|
i++
|
|
|
|
i += copy(dAtA[i:], s)
|
|
|
|
}
|
2017-11-21 08:08:36 +00:00
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Definition) 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 *Definition) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
var i int
|
|
|
|
_ = i
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Def) > 0 {
|
|
|
|
for _, b := range m.Def {
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(b)))
|
|
|
|
i += copy(dAtA[i:], b)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Metadata) > 0 {
|
|
|
|
for k, _ := range m.Metadata {
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
v := m.Metadata[k]
|
|
|
|
msgSize := 0
|
|
|
|
if (&v) != nil {
|
|
|
|
msgSize = (&v).Size()
|
|
|
|
msgSize += 1 + sovOps(uint64(msgSize))
|
|
|
|
}
|
|
|
|
mapSize := 1 + len(k) + sovOps(uint64(len(k))) + msgSize
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(mapSize))
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64(len(k)))
|
|
|
|
i += copy(dAtA[i:], k)
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
i++
|
|
|
|
i = encodeVarintOps(dAtA, i, uint64((&v).Size()))
|
2018-05-15 19:09:09 +00:00
|
|
|
n12, err := (&v).MarshalTo(dAtA[i:])
|
2017-10-02 04:59:34 +00:00
|
|
|
if err != nil {
|
|
|
|
return 0, err
|
|
|
|
}
|
2018-05-15 19:09:09 +00:00
|
|
|
i += n12
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
return i, nil
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func encodeVarintOps(dAtA []byte, offset int, v uint64) int {
|
2017-06-06 18:01:18 +00:00
|
|
|
for v >= 1<<7 {
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
2017-06-06 18:01:18 +00:00
|
|
|
v >>= 7
|
|
|
|
offset++
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
dAtA[offset] = uint8(v)
|
2017-06-06 18:01:18 +00:00
|
|
|
return offset + 1
|
|
|
|
}
|
|
|
|
func (m *Op) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Inputs) > 0 {
|
2017-06-09 01:16:19 +00:00
|
|
|
for _, e := range m.Inputs {
|
|
|
|
l = e.Size()
|
2017-06-06 18:01:18 +00:00
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if m.Op != nil {
|
|
|
|
n += m.Op.Size()
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Op_Exec) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Exec != nil {
|
|
|
|
l = m.Exec.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
func (m *Op_Source) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Source != nil {
|
|
|
|
l = m.Source.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
func (m *Op_Copy) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Copy != nil {
|
|
|
|
l = m.Copy.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
func (m *Op_Build) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Build != nil {
|
|
|
|
l = m.Build.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
2017-06-09 01:16:19 +00:00
|
|
|
func (m *Input) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Digest)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
if m.Index != 0 {
|
|
|
|
n += 1 + sovOps(uint64(m.Index))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-06-06 18:01:18 +00:00
|
|
|
func (m *ExecOp) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Meta != nil {
|
|
|
|
l = m.Meta.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
if len(m.Mounts) > 0 {
|
|
|
|
for _, e := range m.Mounts {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Meta) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Args) > 0 {
|
|
|
|
for _, s := range m.Args {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Env) > 0 {
|
|
|
|
for _, s := range m.Env {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
l = len(m.Cwd)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
2017-12-11 21:17:07 +00:00
|
|
|
l = len(m.User)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Mount) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Input != 0 {
|
|
|
|
n += 1 + sovOps(uint64(m.Input))
|
|
|
|
}
|
|
|
|
l = len(m.Selector)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
l = len(m.Dest)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
if m.Output != 0 {
|
|
|
|
n += 1 + sovOps(uint64(m.Output))
|
|
|
|
}
|
2017-07-18 06:08:22 +00:00
|
|
|
if m.Readonly {
|
|
|
|
n += 2
|
|
|
|
}
|
2018-05-15 19:09:09 +00:00
|
|
|
if m.MountType != 0 {
|
|
|
|
n += 1 + sovOps(uint64(m.MountType))
|
|
|
|
}
|
|
|
|
if m.CacheOpt != nil {
|
|
|
|
l = m.CacheOpt.Size()
|
|
|
|
n += 2 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CacheOpt) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.ID)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CopyOp) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Src) > 0 {
|
|
|
|
for _, e := range m.Src {
|
|
|
|
l = e.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
l = len(m.Dest)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CopySource) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Input != 0 {
|
|
|
|
n += 1 + sovOps(uint64(m.Input))
|
|
|
|
}
|
|
|
|
l = len(m.Selector)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SourceOp) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
l = len(m.Identifier)
|
|
|
|
if l > 0 {
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
2017-07-08 23:25:07 +00:00
|
|
|
if len(m.Attrs) > 0 {
|
|
|
|
for k, v := range m.Attrs {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
mapEntrySize := 1 + len(k) + sovOps(uint64(len(k))) + 1 + len(v) + sovOps(uint64(len(v)))
|
|
|
|
n += mapEntrySize + 1 + sovOps(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-07-21 17:58:24 +00:00
|
|
|
func (m *BuildOp) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Builder != 0 {
|
|
|
|
n += 1 + sovOps(uint64(m.Builder))
|
|
|
|
}
|
|
|
|
if len(m.Inputs) > 0 {
|
|
|
|
for k, v := range m.Inputs {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
l = 0
|
|
|
|
if v != nil {
|
|
|
|
l = v.Size()
|
2017-10-02 04:59:34 +00:00
|
|
|
l += 1 + sovOps(uint64(l))
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
mapEntrySize := 1 + len(k) + sovOps(uint64(len(k))) + l
|
2017-07-21 17:58:24 +00:00
|
|
|
n += mapEntrySize + 1 + sovOps(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if m.Def != nil {
|
|
|
|
l = m.Def.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
if len(m.Attrs) > 0 {
|
|
|
|
for k, v := range m.Attrs {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
mapEntrySize := 1 + len(k) + sovOps(uint64(len(k))) + 1 + len(v) + sovOps(uint64(len(v)))
|
|
|
|
n += mapEntrySize + 1 + sovOps(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BuildInput) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Input != 0 {
|
|
|
|
n += 1 + sovOps(uint64(m.Input))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *OpMetadata) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.IgnoreCache {
|
|
|
|
n += 2
|
|
|
|
}
|
2017-12-08 00:13:50 +00:00
|
|
|
if len(m.Description) > 0 {
|
|
|
|
for k, v := range m.Description {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
mapEntrySize := 1 + len(k) + sovOps(uint64(len(k))) + 1 + len(v) + sovOps(uint64(len(v)))
|
|
|
|
n += mapEntrySize + 1 + sovOps(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
2017-11-21 08:08:36 +00:00
|
|
|
if m.WorkerConstraint != nil {
|
|
|
|
l = m.WorkerConstraint.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
2018-05-07 21:20:25 +00:00
|
|
|
if m.ExportCache != nil {
|
|
|
|
l = m.ExportCache.Size()
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExportCache) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if m.Value {
|
|
|
|
n += 2
|
|
|
|
}
|
2017-11-21 08:08:36 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WorkerConstraint) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
2017-12-19 09:34:34 +00:00
|
|
|
if len(m.Filter) > 0 {
|
|
|
|
for _, s := range m.Filter {
|
|
|
|
l = len(s)
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
2017-11-21 08:08:36 +00:00
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Definition) Size() (n int) {
|
|
|
|
var l int
|
|
|
|
_ = l
|
|
|
|
if len(m.Def) > 0 {
|
|
|
|
for _, b := range m.Def {
|
|
|
|
l = len(b)
|
|
|
|
n += 1 + l + sovOps(uint64(l))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if len(m.Metadata) > 0 {
|
|
|
|
for k, v := range m.Metadata {
|
|
|
|
_ = k
|
|
|
|
_ = v
|
|
|
|
l = v.Size()
|
|
|
|
mapEntrySize := 1 + len(k) + sovOps(uint64(len(k))) + 1 + l + sovOps(uint64(l))
|
|
|
|
n += mapEntrySize + 1 + sovOps(uint64(mapEntrySize))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
2017-06-06 18:01:18 +00:00
|
|
|
func sovOps(x uint64) (n int) {
|
|
|
|
for {
|
|
|
|
n++
|
|
|
|
x >>= 7
|
|
|
|
if x == 0 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
func sozOps(x uint64) (n int) {
|
|
|
|
return sovOps(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Op) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Op: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Op: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Inputs", wireType)
|
|
|
|
}
|
2017-06-09 01:16:19 +00:00
|
|
|
var msglen int
|
2017-06-06 18:01:18 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
2017-06-09 01:16:19 +00:00
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
2017-06-06 18:01:18 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-06-09 01:16:19 +00:00
|
|
|
if msglen < 0 {
|
2017-06-06 18:01:18 +00:00
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
2017-06-09 01:16:19 +00:00
|
|
|
postIndex := iNdEx + msglen
|
2017-06-06 18:01:18 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-06-09 01:16:19 +00:00
|
|
|
m.Inputs = append(m.Inputs, &Input{})
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := m.Inputs[len(m.Inputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-06-09 01:16:19 +00:00
|
|
|
return err
|
|
|
|
}
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Exec", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
v := &ExecOp{}
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-06-06 18:01:18 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
m.Op = &Op_Exec{v}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
v := &SourceOp{}
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-06-06 18:01:18 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
m.Op = &Op_Source{v}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Copy", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
v := &CopyOp{}
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-06-06 18:01:18 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
m.Op = &Op_Copy{v}
|
|
|
|
iNdEx = postIndex
|
2017-07-21 17:58:24 +00:00
|
|
|
case 5:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
v := &BuildOp{}
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-07-21 17:58:24 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
m.Op = &Op_Build{v}
|
|
|
|
iNdEx = postIndex
|
2017-06-06 18:01:18 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Input) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-09 01:16:19 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-09 01:16:19 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Input: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Digest", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-09 01:16:19 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Digest = github_com_opencontainers_go_digest.Digest(dAtA[iNdEx:postIndex])
|
2017-06-09 01:16:19 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
|
|
|
|
}
|
|
|
|
m.Index = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-09 01:16:19 +00:00
|
|
|
iNdEx++
|
2017-07-21 17:58:24 +00:00
|
|
|
m.Index |= (OutputIndex(b) & 0x7F) << shift
|
2017-06-09 01:16:19 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-09 01:16:19 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *ExecOp) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: ExecOp: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ExecOp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Meta", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Meta == nil {
|
|
|
|
m.Meta = &Meta{}
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := m.Meta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-06-06 18:01:18 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Mounts", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Mounts = append(m.Mounts, &Mount{})
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := m.Mounts[len(m.Mounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-06-06 18:01:18 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Meta) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Meta: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Meta: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Env = append(m.Env, string(dAtA[iNdEx:postIndex]))
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Cwd", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Cwd = string(dAtA[iNdEx:postIndex])
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
2017-12-11 21:17:07 +00:00
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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 ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.User = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
2017-06-06 18:01:18 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Mount) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: Mount: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: Mount: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
|
|
}
|
|
|
|
m.Input = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
2017-07-21 17:58:24 +00:00
|
|
|
m.Input |= (InputIndex(b) & 0x7F) << shift
|
2017-06-06 18:01:18 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Selector = string(dAtA[iNdEx:postIndex])
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Dest", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Dest = string(dAtA[iNdEx:postIndex])
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType)
|
|
|
|
}
|
|
|
|
m.Output = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
2017-07-21 17:58:24 +00:00
|
|
|
m.Output |= (OutputIndex(b) & 0x7F) << shift
|
2017-06-06 18:01:18 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-07-18 06:08:22 +00:00
|
|
|
case 5:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Readonly", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-18 06:08:22 +00:00
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Readonly = bool(v != 0)
|
2018-05-15 19:09:09 +00:00
|
|
|
case 6:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MountType", wireType)
|
|
|
|
}
|
|
|
|
m.MountType = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
m.MountType |= (MountType(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 20:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field CacheOpt", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.CacheOpt == nil {
|
|
|
|
m.CacheOpt = &CacheOpt{}
|
|
|
|
}
|
|
|
|
if err := m.CacheOpt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *CacheOpt) 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 ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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: CacheOpt: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: CacheOpt: 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 ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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 ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.ID = string(dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
2017-06-06 18:01:18 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopyOp) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: CopyOp: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: CopyOp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Src", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Src = append(m.Src, &CopySource{})
|
2017-10-02 04:59:34 +00:00
|
|
|
if err := m.Src[len(m.Src)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
2017-06-06 18:01:18 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Dest", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Dest = string(dAtA[iNdEx:postIndex])
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *CopySource) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: CopySource: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: CopySource: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
|
|
}
|
|
|
|
m.Input = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
2017-07-21 17:58:24 +00:00
|
|
|
m.Input |= (InputIndex(b) & 0x7F) << shift
|
2017-06-06 18:01:18 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Selector = string(dAtA[iNdEx:postIndex])
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *SourceOp) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: SourceOp: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: SourceOp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Identifier", wireType)
|
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
stringLen |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
if intStringLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Identifier = string(dAtA[iNdEx:postIndex])
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx = postIndex
|
2017-07-08 23:25:07 +00:00
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-08 23:25:07 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if m.Attrs == nil {
|
|
|
|
m.Attrs = make(map[string]string)
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
var mapkey string
|
|
|
|
var mapvalue string
|
|
|
|
for iNdEx < postIndex {
|
|
|
|
entryPreIndex := iNdEx
|
|
|
|
var wire uint64
|
2017-10-02 04:59:34 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2018-04-03 10:36:10 +00:00
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
2017-10-02 04:59:34 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-07-08 23:25:07 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
if fieldNum == 1 {
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
2017-10-02 04:59:34 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
|
|
iNdEx = postStringIndexmapkey
|
|
|
|
} else if fieldNum == 2 {
|
|
|
|
var stringLenmapvalue uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
|
|
if intStringLenmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
|
|
if postStringIndexmapvalue > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
|
|
iNdEx = postStringIndexmapvalue
|
|
|
|
} else {
|
|
|
|
iNdEx = entryPreIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > postIndex {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
2017-07-08 23:25:07 +00:00
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
m.Attrs[mapkey] = mapvalue
|
2017-07-08 23:25:07 +00:00
|
|
|
iNdEx = postIndex
|
2017-06-06 18:01:18 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-06-06 18:01:18 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-21 17:58:24 +00:00
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *BuildOp) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
|
|
|
return fmt.Errorf("proto: BuildOp: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: BuildOp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Builder", wireType)
|
|
|
|
}
|
|
|
|
m.Builder = 0
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
|
|
|
m.Builder |= (InputIndex(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Inputs", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if m.Inputs == nil {
|
|
|
|
m.Inputs = make(map[string]*BuildInput)
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
var mapkey string
|
|
|
|
var mapvalue *BuildInput
|
|
|
|
for iNdEx < postIndex {
|
|
|
|
entryPreIndex := iNdEx
|
|
|
|
var wire uint64
|
2017-10-02 04:59:34 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2018-04-03 10:36:10 +00:00
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
2017-10-02 04:59:34 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
if fieldNum == 1 {
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
2017-10-02 04:59:34 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
|
|
iNdEx = postStringIndexmapkey
|
|
|
|
} else if fieldNum == 2 {
|
|
|
|
var mapmsglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
mapmsglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
if mapmsglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
|
|
if mapmsglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if postmsgIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
mapvalue = &BuildInput{}
|
|
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postmsgIndex
|
|
|
|
} else {
|
|
|
|
iNdEx = entryPreIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > postIndex {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
m.Inputs[mapkey] = mapvalue
|
2017-10-02 04:59:34 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Def", wireType)
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
var msglen int
|
2017-07-21 17:58:24 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
2017-10-02 04:59:34 +00:00
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
2017-07-21 17:58:24 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if msglen < 0 {
|
2017-07-21 17:58:24 +00:00
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
postIndex := iNdEx + msglen
|
2017-07-21 17:58:24 +00:00
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if m.Def == nil {
|
|
|
|
m.Def = &Definition{}
|
|
|
|
}
|
|
|
|
if err := m.Def.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
if m.Attrs == nil {
|
|
|
|
m.Attrs = make(map[string]string)
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
var mapkey string
|
|
|
|
var mapvalue string
|
|
|
|
for iNdEx < postIndex {
|
|
|
|
entryPreIndex := iNdEx
|
|
|
|
var wire uint64
|
2017-10-02 04:59:34 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2018-04-03 10:36:10 +00:00
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
2017-10-02 04:59:34 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
if fieldNum == 1 {
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
2017-10-02 04:59:34 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
|
|
iNdEx = postStringIndexmapkey
|
|
|
|
} else if fieldNum == 2 {
|
|
|
|
var stringLenmapvalue uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
|
|
if intStringLenmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
|
|
if postStringIndexmapvalue > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
|
|
iNdEx = postStringIndexmapvalue
|
|
|
|
} else {
|
|
|
|
iNdEx = entryPreIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > postIndex {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
m.Attrs[mapkey] = mapvalue
|
2017-10-02 04:59:34 +00:00
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *BuildInput) 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 ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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: BuildInput: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: BuildInput: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
|
|
|
|
}
|
|
|
|
m.Input = 0
|
2017-07-21 17:58:24 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
2017-10-02 04:59:34 +00:00
|
|
|
m.Input |= (InputIndex(b) & 0x7F) << shift
|
2017-07-21 17:58:24 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *OpMetadata) 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 ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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: OpMetadata: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: OpMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreCache", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
2017-07-21 17:58:24 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
2017-10-02 04:59:34 +00:00
|
|
|
v |= (int(b) & 0x7F) << shift
|
2017-07-21 17:58:24 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
m.IgnoreCache = bool(v != 0)
|
2017-12-08 00:13:50 +00:00
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Description == nil {
|
|
|
|
m.Description = make(map[string]string)
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
var mapkey string
|
|
|
|
var mapvalue string
|
|
|
|
for iNdEx < postIndex {
|
|
|
|
entryPreIndex := iNdEx
|
|
|
|
var wire uint64
|
2017-12-08 00:13:50 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2018-04-03 10:36:10 +00:00
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
2017-12-08 00:13:50 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
if fieldNum == 1 {
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-12-08 00:13:50 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
2017-12-08 00:13:50 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
|
|
|
iNdEx = postStringIndexmapkey
|
|
|
|
} else if fieldNum == 2 {
|
|
|
|
var stringLenmapvalue uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-12-08 00:13:50 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapvalue := int(stringLenmapvalue)
|
|
|
|
if intStringLenmapvalue < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
|
|
|
if postStringIndexmapvalue > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
|
|
|
iNdEx = postStringIndexmapvalue
|
|
|
|
} else {
|
|
|
|
iNdEx = entryPreIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > postIndex {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
2017-12-08 00:13:50 +00:00
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
m.Description[mapkey] = mapvalue
|
2017-12-08 00:13:50 +00:00
|
|
|
iNdEx = postIndex
|
2017-11-21 08:08:36 +00:00
|
|
|
case 3:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field WorkerConstraint", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.WorkerConstraint == nil {
|
|
|
|
m.WorkerConstraint = &WorkerConstraint{}
|
|
|
|
}
|
|
|
|
if err := m.WorkerConstraint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
2018-05-07 21:20:25 +00:00
|
|
|
case 4:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExportCache", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.ExportCache == nil {
|
|
|
|
m.ExportCache = &ExportCache{}
|
|
|
|
}
|
|
|
|
if err := m.ExportCache.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postIndex
|
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ExportCache) 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 ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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: ExportCache: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: ExportCache: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 0 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
|
|
|
|
}
|
|
|
|
var v int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
v |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m.Value = bool(v != 0)
|
2017-11-21 08:08:36 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *WorkerConstraint) 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 ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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: WorkerConstraint: wiretype end group for non-group")
|
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
return fmt.Errorf("proto: WorkerConstraint: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
|
|
|
if wireType != 2 {
|
2017-12-19 09:34:34 +00:00
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
|
2017-11-21 08:08:36 +00:00
|
|
|
}
|
|
|
|
var stringLen uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
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 ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-12-19 09:34:34 +00:00
|
|
|
m.Filter = append(m.Filter, string(dAtA[iNdEx:postIndex]))
|
2017-11-21 08:08:36 +00:00
|
|
|
iNdEx = postIndex
|
2017-07-21 17:58:24 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-07-21 17:58:24 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func (m *Definition) Unmarshal(dAtA []byte) error {
|
|
|
|
l := len(dAtA)
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
preIndex := iNdEx
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
if wireType == 4 {
|
2017-10-02 04:59:34 +00:00
|
|
|
return fmt.Errorf("proto: Definition: wiretype end group for non-group")
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
if fieldNum <= 0 {
|
2017-10-02 04:59:34 +00:00
|
|
|
return fmt.Errorf("proto: Definition: illegal tag %d (wire type %d)", fieldNum, wire)
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
|
|
|
switch fieldNum {
|
|
|
|
case 1:
|
2017-10-02 04:59:34 +00:00
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Def", wireType)
|
2017-07-21 17:58:24 +00:00
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
var byteLen int
|
2017-07-21 17:58:24 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-07-21 17:58:24 +00:00
|
|
|
iNdEx++
|
2017-10-02 04:59:34 +00:00
|
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if byteLen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + byteLen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
m.Def = append(m.Def, make([]byte, postIndex-iNdEx))
|
|
|
|
copy(m.Def[len(m.Def)-1], dAtA[iNdEx:postIndex])
|
|
|
|
iNdEx = postIndex
|
|
|
|
case 2:
|
|
|
|
if wireType != 2 {
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType)
|
|
|
|
}
|
|
|
|
var msglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if msglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
if postIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
if m.Metadata == nil {
|
|
|
|
m.Metadata = make(map[github_com_opencontainers_go_digest.Digest]OpMetadata)
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
var mapkey github_com_opencontainers_go_digest.Digest
|
|
|
|
mapvalue := &OpMetadata{}
|
|
|
|
for iNdEx < postIndex {
|
|
|
|
entryPreIndex := iNdEx
|
|
|
|
var wire uint64
|
2017-10-02 04:59:34 +00:00
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
2018-04-03 10:36:10 +00:00
|
|
|
wire |= (uint64(b) & 0x7F) << shift
|
2017-10-02 04:59:34 +00:00
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
if fieldNum == 1 {
|
|
|
|
var stringLenmapkey uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
intStringLenmapkey := int(stringLenmapkey)
|
|
|
|
if intStringLenmapkey < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
|
|
|
if postStringIndexmapkey > l {
|
2017-10-02 04:59:34 +00:00
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
mapkey = github_com_opencontainers_go_digest.Digest(dAtA[iNdEx:postStringIndexmapkey])
|
|
|
|
iNdEx = postStringIndexmapkey
|
|
|
|
} else if fieldNum == 2 {
|
|
|
|
var mapmsglen int
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
iNdEx++
|
|
|
|
mapmsglen |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
if mapmsglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
postmsgIndex := iNdEx + mapmsglen
|
|
|
|
if mapmsglen < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if postmsgIndex > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
mapvalue = &OpMetadata{}
|
|
|
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
iNdEx = postmsgIndex
|
|
|
|
} else {
|
|
|
|
iNdEx = entryPreIndex
|
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > postIndex {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|
|
|
|
}
|
2018-04-03 10:36:10 +00:00
|
|
|
m.Metadata[github_com_opencontainers_go_digest.Digest(mapkey)] = *mapvalue
|
2017-10-02 04:59:34 +00:00
|
|
|
iNdEx = postIndex
|
2017-07-21 17:58:24 +00:00
|
|
|
default:
|
|
|
|
iNdEx = preIndex
|
2017-10-02 04:59:34 +00:00
|
|
|
skippy, err := skipOps(dAtA[iNdEx:])
|
2017-07-21 17:58:24 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if skippy < 0 {
|
|
|
|
return ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx += skippy
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-06 18:01:18 +00:00
|
|
|
if iNdEx > l {
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
func skipOps(dAtA []byte) (n int, err error) {
|
|
|
|
l := len(dAtA)
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx := 0
|
|
|
|
for iNdEx < l {
|
|
|
|
var wire uint64
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +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 {
|
|
|
|
return 0, ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
|
|
|
iNdEx++
|
2017-10-02 04:59:34 +00:00
|
|
|
if dAtA[iNdEx-1] < 0x80 {
|
2017-06-06 18:01:18 +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 {
|
|
|
|
return 0, ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
length |= (int(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
iNdEx += length
|
|
|
|
if length < 0 {
|
|
|
|
return 0, ErrInvalidLengthOps
|
|
|
|
}
|
|
|
|
return iNdEx, nil
|
|
|
|
case 3:
|
|
|
|
for {
|
|
|
|
var innerWire uint64
|
|
|
|
var start int = iNdEx
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
if shift >= 64 {
|
|
|
|
return 0, ErrIntOverflowOps
|
|
|
|
}
|
|
|
|
if iNdEx >= l {
|
|
|
|
return 0, io.ErrUnexpectedEOF
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
b := dAtA[iNdEx]
|
2017-06-06 18:01:18 +00:00
|
|
|
iNdEx++
|
|
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
|
|
if b < 0x80 {
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
innerWireType := int(innerWire & 0x7)
|
|
|
|
if innerWireType == 4 {
|
|
|
|
break
|
|
|
|
}
|
2017-10-02 04:59:34 +00:00
|
|
|
next, err := skipOps(dAtA[start:])
|
2017-06-06 18:01:18 +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 (
|
|
|
|
ErrInvalidLengthOps = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
|
|
ErrIntOverflowOps = fmt.Errorf("proto: integer overflow")
|
|
|
|
)
|
2017-10-02 04:59:34 +00:00
|
|
|
|
|
|
|
func init() { proto.RegisterFile("ops.proto", fileDescriptorOps) }
|
|
|
|
|
|
|
|
var fileDescriptorOps = []byte{
|
2018-05-15 19:09:09 +00:00
|
|
|
// 972 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5f, 0x8f, 0xdb, 0x44,
|
|
|
|
0x10, 0x3f, 0x3b, 0x89, 0x2f, 0x1e, 0x5f, 0x8f, 0xb0, 0x9c, 0x4a, 0x14, 0x55, 0xb9, 0xe0, 0x22,
|
|
|
|
0x14, 0xae, 0xbd, 0x9c, 0x14, 0x04, 0xaa, 0x78, 0xa8, 0x74, 0xf9, 0x23, 0x5d, 0x40, 0x25, 0xd2,
|
|
|
|
0x5e, 0x05, 0x8f, 0x95, 0x63, 0x6f, 0x52, 0xab, 0x39, 0xef, 0xca, 0x5e, 0xf7, 0x2e, 0x2f, 0x48,
|
|
|
|
0xf0, 0x09, 0x90, 0xf8, 0x14, 0x7c, 0x08, 0x78, 0xee, 0x23, 0xaf, 0xf0, 0x50, 0xd0, 0xf1, 0x45,
|
|
|
|
0xd0, 0xce, 0x6e, 0x6c, 0xf7, 0x28, 0x52, 0x2b, 0x78, 0xca, 0xee, 0xcc, 0xec, 0x6f, 0x66, 0x7e,
|
|
|
|
0xfb, 0xdb, 0x71, 0xc0, 0xe5, 0x22, 0x1b, 0x88, 0x94, 0x4b, 0x4e, 0x6c, 0xb1, 0xe8, 0x1c, 0xaf,
|
|
|
|
0x62, 0xf9, 0x34, 0x5f, 0x0c, 0x42, 0x7e, 0x71, 0xb2, 0xe2, 0x2b, 0x7e, 0x82, 0xae, 0x45, 0xbe,
|
|
|
|
0xc4, 0x1d, 0x6e, 0x70, 0xa5, 0x8f, 0xf8, 0xbf, 0x58, 0x60, 0xcf, 0x05, 0xf9, 0x00, 0x9c, 0x38,
|
|
|
|
0x11, 0xb9, 0xcc, 0xda, 0x56, 0xaf, 0xd6, 0xf7, 0x86, 0xee, 0x40, 0x2c, 0x06, 0x33, 0x65, 0xa1,
|
|
|
|
0xc6, 0x41, 0x7a, 0x50, 0x67, 0x57, 0x2c, 0x6c, 0xdb, 0x3d, 0xab, 0xef, 0x0d, 0x41, 0x05, 0x4c,
|
|
|
|
0xaf, 0x58, 0x38, 0x17, 0x67, 0x3b, 0x14, 0x3d, 0xe4, 0x23, 0x70, 0x32, 0x9e, 0xa7, 0x21, 0x6b,
|
|
|
|
0xd7, 0x30, 0x66, 0x4f, 0xc5, 0x9c, 0xa3, 0x05, 0xa3, 0x8c, 0x57, 0x21, 0x85, 0x5c, 0x6c, 0xda,
|
|
|
|
0xf5, 0x12, 0x69, 0xcc, 0xc5, 0x46, 0x23, 0x29, 0x0f, 0xb9, 0x0b, 0x8d, 0x45, 0x1e, 0xaf, 0xa3,
|
|
|
|
0x76, 0x03, 0x43, 0x3c, 0x15, 0x32, 0x52, 0x06, 0x8c, 0xd1, 0xbe, 0x51, 0x1d, 0x6c, 0x2e, 0xfc,
|
|
|
|
0x6f, 0xa1, 0x81, 0x75, 0x92, 0x2f, 0xc0, 0x89, 0xe2, 0x15, 0xcb, 0x64, 0xdb, 0xea, 0x59, 0x7d,
|
|
|
|
0x77, 0x34, 0x7c, 0xf1, 0xf2, 0x70, 0xe7, 0xf7, 0x97, 0x87, 0x47, 0x15, 0x42, 0xb8, 0x60, 0x49,
|
|
|
|
0xc8, 0x13, 0x19, 0xc4, 0x09, 0x4b, 0xb3, 0x93, 0x15, 0x3f, 0xd6, 0x47, 0x06, 0x13, 0xfc, 0xa1,
|
|
|
|
0x06, 0x81, 0x7c, 0x0c, 0x8d, 0x38, 0x89, 0xd8, 0x15, 0x36, 0x5b, 0x1b, 0xbd, 0x67, 0xa0, 0xbc,
|
|
|
|
0x79, 0x2e, 0x45, 0x2e, 0x67, 0xca, 0x45, 0x75, 0x84, 0x3f, 0x03, 0x47, 0xd3, 0x40, 0xee, 0x40,
|
|
|
|
0xfd, 0x82, 0xc9, 0x00, 0xd3, 0x7b, 0xc3, 0xa6, 0xaa, 0xf9, 0x11, 0x93, 0x01, 0x45, 0xab, 0x62,
|
|
|
|
0xf8, 0x82, 0xe7, 0x89, 0xcc, 0xda, 0x76, 0xc9, 0xf0, 0x23, 0x65, 0xa1, 0xc6, 0xe1, 0x53, 0xa8,
|
|
|
|
0xab, 0x03, 0x84, 0x40, 0x3d, 0x48, 0x57, 0xfa, 0x2a, 0x5c, 0x8a, 0x6b, 0xd2, 0x82, 0x1a, 0x4b,
|
|
|
|
0x9e, 0xe3, 0x59, 0x97, 0xaa, 0xa5, 0xb2, 0x84, 0x97, 0x11, 0x52, 0xed, 0x52, 0xb5, 0x54, 0xe7,
|
|
|
|
0xf2, 0x8c, 0xa5, 0xc8, 0xab, 0x4b, 0x71, 0xed, 0x7f, 0x67, 0x43, 0x03, 0xb3, 0x90, 0xbe, 0xea,
|
|
|
|
0x49, 0xe4, 0x9a, 0x9e, 0xda, 0x88, 0x98, 0x9e, 0x00, 0xd9, 0x2b, 0x5a, 0x52, 0x4c, 0x76, 0xa0,
|
|
|
|
0x99, 0xb1, 0x35, 0x0b, 0x25, 0x4f, 0x91, 0x00, 0x97, 0x16, 0x7b, 0x95, 0x23, 0x52, 0x1c, 0xeb,
|
|
|
|
0xb4, 0xb8, 0x26, 0xf7, 0xc0, 0xe1, 0x48, 0x0c, 0x66, 0xfe, 0x17, 0xba, 0x4c, 0x88, 0x02, 0x4f,
|
|
|
|
0x59, 0x10, 0xf1, 0x64, 0xbd, 0xc1, 0xdb, 0x6d, 0xd2, 0x62, 0x4f, 0xee, 0x81, 0x8b, 0x54, 0x3c,
|
|
|
|
0xde, 0x08, 0xd6, 0x76, 0x7a, 0x56, 0x7f, 0x7f, 0x78, 0xab, 0xa0, 0x49, 0x19, 0x69, 0xe9, 0x27,
|
|
|
|
0x7d, 0x68, 0x86, 0x41, 0xf8, 0x94, 0xcd, 0x85, 0x6c, 0x1f, 0x94, 0x7a, 0x1b, 0x1b, 0x1b, 0x2d,
|
|
|
|
0xbc, 0x7e, 0x07, 0x9a, 0x5b, 0x2b, 0xd9, 0x07, 0x7b, 0x36, 0xd1, 0x0a, 0xa1, 0xf6, 0x6c, 0xe2,
|
|
|
|
0x3f, 0x04, 0x47, 0x6b, 0x8f, 0xf4, 0xa0, 0x96, 0xa5, 0xa1, 0xd1, 0xff, 0xfe, 0x56, 0x94, 0x5a,
|
|
|
|
0xbe, 0x54, 0xb9, 0x8a, 0xde, 0xed, 0xb2, 0x77, 0x9f, 0x02, 0x94, 0x61, 0xff, 0x0f, 0xc7, 0xfe,
|
|
|
|
0x8f, 0x16, 0x34, 0xb7, 0xcf, 0x86, 0x74, 0x01, 0xe2, 0x88, 0x25, 0x32, 0x5e, 0xc6, 0x2c, 0x35,
|
|
|
|
0x85, 0x57, 0x2c, 0xe4, 0x18, 0x1a, 0x81, 0x94, 0xe9, 0x56, 0x56, 0xef, 0x57, 0xdf, 0xdc, 0xe0,
|
|
|
|
0x54, 0x79, 0xa6, 0x89, 0x4c, 0x37, 0x54, 0x47, 0x75, 0x1e, 0x00, 0x94, 0x46, 0xa5, 0xa1, 0x67,
|
|
|
|
0x6c, 0x63, 0x50, 0xd5, 0x92, 0x1c, 0x40, 0xe3, 0x79, 0xb0, 0xce, 0x99, 0x29, 0x4a, 0x6f, 0x3e,
|
|
|
|
0xb7, 0x1f, 0x58, 0xfe, 0xcf, 0x36, 0xec, 0x9a, 0x37, 0x48, 0xee, 0xc3, 0x2e, 0xbe, 0x41, 0x53,
|
|
|
|
0xd1, 0xeb, 0x3b, 0xdd, 0x86, 0x90, 0x93, 0x62, 0xb8, 0x54, 0x6a, 0x34, 0x50, 0x7a, 0xc8, 0x98,
|
|
|
|
0x1a, 0xcb, 0x51, 0x53, 0x8b, 0xd8, 0xd2, 0x4c, 0x11, 0xbc, 0x8a, 0x09, 0x5b, 0xc6, 0x49, 0x2c,
|
|
|
|
0x63, 0x9e, 0x50, 0xe5, 0x22, 0xf7, 0xb7, 0x5d, 0xd7, 0x11, 0xf1, 0x76, 0x15, 0xf1, 0x9f, 0x4d,
|
|
|
|
0xcf, 0xc0, 0xab, 0xa4, 0x79, 0x4d, 0xd7, 0x1f, 0x56, 0xbb, 0x36, 0x29, 0x11, 0x4e, 0x8f, 0xc0,
|
|
|
|
0x92, 0x85, 0xff, 0xc0, 0xdf, 0x67, 0x00, 0x25, 0xe4, 0x9b, 0x2b, 0xc5, 0xff, 0xc9, 0x06, 0x98,
|
|
|
|
0x0b, 0x35, 0x18, 0xa2, 0x00, 0xe7, 0xc8, 0x5e, 0xbc, 0x4a, 0x78, 0xca, 0x9e, 0xa0, 0xbe, 0xf1,
|
|
|
|
0x7c, 0x93, 0x7a, 0xda, 0x86, 0x32, 0x27, 0xa7, 0xe0, 0x45, 0x2c, 0x0b, 0xd3, 0x58, 0x28, 0xc2,
|
|
|
|
0x0c, 0xe9, 0x87, 0xaa, 0xa7, 0x12, 0x67, 0x30, 0x29, 0x23, 0x34, 0x57, 0xd5, 0x33, 0xe4, 0x14,
|
|
|
|
0xde, 0xbd, 0xe4, 0xe9, 0x33, 0x96, 0x3e, 0x09, 0x79, 0x92, 0xc9, 0x34, 0x88, 0x13, 0x69, 0xee,
|
|
|
|
0xe3, 0x40, 0x01, 0x7d, 0x83, 0xce, 0x71, 0xe1, 0xa3, 0xad, 0xcb, 0x1b, 0x16, 0x32, 0x84, 0x3d,
|
|
|
|
0x76, 0x25, 0x78, 0x2a, 0x4d, 0xa1, 0x7a, 0xda, 0xbf, 0xa3, 0xbf, 0x1b, 0xca, 0x8e, 0xc5, 0x52,
|
|
|
|
0x8f, 0x95, 0x9b, 0xce, 0x43, 0x68, 0xdd, 0xac, 0xeb, 0xad, 0x38, 0xbe, 0x0b, 0x5e, 0x05, 0x5b,
|
|
|
|
0x05, 0x7e, 0x8d, 0x81, 0x9a, 0x24, 0xbd, 0xf1, 0x8f, 0xa0, 0x75, 0xb3, 0x7c, 0x72, 0x1b, 0x9c,
|
|
|
|
0x65, 0xbc, 0x96, 0xa8, 0x67, 0x35, 0x61, 0xcd, 0xce, 0xff, 0xcd, 0x02, 0x28, 0xb5, 0xa7, 0x6a,
|
|
|
|
0x51, 0xc2, 0x54, 0x31, 0x7b, 0x5a, 0x88, 0x6b, 0x68, 0x5e, 0x18, 0x4a, 0x0d, 0xd1, 0x77, 0x5e,
|
|
|
|
0xd5, 0xeb, 0x60, 0xcb, 0x38, 0x76, 0xa3, 0xbf, 0x4a, 0xdf, 0xff, 0xf1, 0x56, 0x5f, 0xa5, 0x22,
|
|
|
|
0x43, 0xe7, 0x4b, 0xb8, 0xf5, 0x0a, 0xdc, 0x1b, 0x4a, 0xb9, 0xbc, 0xf6, 0x0a, 0x59, 0x47, 0x9f,
|
|
|
|
0x82, 0x5b, 0x0c, 0x56, 0xd2, 0x84, 0xfa, 0x68, 0xf6, 0xd5, 0xa4, 0xb5, 0x43, 0x00, 0x9c, 0xf3,
|
|
|
|
0xe9, 0x98, 0x4e, 0x1f, 0xb7, 0x2c, 0xb2, 0x0b, 0xb5, 0xf3, 0xf3, 0xb3, 0x96, 0x4d, 0x5c, 0x68,
|
|
|
|
0x8c, 0x4f, 0xc7, 0x67, 0xd3, 0x56, 0x6d, 0xd4, 0x7a, 0x71, 0xdd, 0xb5, 0x7e, 0xbd, 0xee, 0x5a,
|
|
|
|
0x7f, 0x5e, 0x77, 0xad, 0x1f, 0xfe, 0xea, 0xee, 0x2c, 0x1c, 0xfc, 0x2b, 0xf1, 0xc9, 0xdf, 0x01,
|
|
|
|
0x00, 0x00, 0xff, 0xff, 0xd8, 0x84, 0x48, 0xaf, 0x8a, 0x08, 0x00, 0x00,
|
2017-10-02 04:59:34 +00:00
|
|
|
}
|