github.com/tenywen/fabric@v1.0.0-beta.0.20170620030522-a5b1ed380643/protos/peer/signed_cc_dep_spec.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: peer/signed_cc_dep_spec.proto 3 4 package peer 5 6 import proto "github.com/golang/protobuf/proto" 7 import fmt "fmt" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto.Marshal 12 var _ = fmt.Errorf 13 var _ = math.Inf 14 15 // SignedChaincodeDeploymentSpec carries the CDS along with endorsements 16 type SignedChaincodeDeploymentSpec struct { 17 // This is the bytes of the ChaincodeDeploymentSpec 18 ChaincodeDeploymentSpec []byte `protobuf:"bytes,1,opt,name=chaincode_deployment_spec,json=chaincodeDeploymentSpec,proto3" json:"chaincode_deployment_spec,omitempty"` 19 // This is the instantiation policy which is identical in structure 20 // to endorsement policy. This policy is checked by the VSCC at commit 21 // time on the instantiation (all peers will get the same policy as it 22 // will be part of the LSCC instantation record and will be part of the 23 // hash as well) 24 InstantiationPolicy []byte `protobuf:"bytes,2,opt,name=instantiation_policy,json=instantiationPolicy,proto3" json:"instantiation_policy,omitempty"` 25 // The endorsements of the above deployment spec, the owner's signature over 26 // chaincode_deployment_spec and Endorsement.endorser. 27 OwnerEndorsements []*Endorsement `protobuf:"bytes,3,rep,name=owner_endorsements,json=ownerEndorsements" json:"owner_endorsements,omitempty"` 28 } 29 30 func (m *SignedChaincodeDeploymentSpec) Reset() { *m = SignedChaincodeDeploymentSpec{} } 31 func (m *SignedChaincodeDeploymentSpec) String() string { return proto.CompactTextString(m) } 32 func (*SignedChaincodeDeploymentSpec) ProtoMessage() {} 33 func (*SignedChaincodeDeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} } 34 35 func (m *SignedChaincodeDeploymentSpec) GetChaincodeDeploymentSpec() []byte { 36 if m != nil { 37 return m.ChaincodeDeploymentSpec 38 } 39 return nil 40 } 41 42 func (m *SignedChaincodeDeploymentSpec) GetInstantiationPolicy() []byte { 43 if m != nil { 44 return m.InstantiationPolicy 45 } 46 return nil 47 } 48 49 func (m *SignedChaincodeDeploymentSpec) GetOwnerEndorsements() []*Endorsement { 50 if m != nil { 51 return m.OwnerEndorsements 52 } 53 return nil 54 } 55 56 func init() { 57 proto.RegisterType((*SignedChaincodeDeploymentSpec)(nil), "protos.SignedChaincodeDeploymentSpec") 58 } 59 60 func init() { proto.RegisterFile("peer/signed_cc_dep_spec.proto", fileDescriptor10) } 61 62 var fileDescriptor10 = []byte{ 63 // 255 bytes of a gzipped FileDescriptorProto 64 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0xc1, 0x4a, 0xc3, 0x40, 65 0x10, 0x86, 0xa9, 0x05, 0x0f, 0xab, 0x17, 0x53, 0xc1, 0x28, 0x16, 0x4a, 0x4f, 0xf5, 0x92, 0xa0, 66 0xde, 0x3c, 0x56, 0x3d, 0x2b, 0xed, 0xcd, 0xcb, 0x92, 0x4c, 0xc6, 0x64, 0x21, 0xdd, 0x19, 0x66, 67 0x56, 0x24, 0xaf, 0xe9, 0x13, 0x49, 0x76, 0x2d, 0xd6, 0x83, 0xa7, 0x85, 0xfd, 0xbe, 0x7f, 0x66, 68 0xf8, 0xcd, 0x9c, 0x11, 0xa5, 0x54, 0xd7, 0x7a, 0x6c, 0x2c, 0x80, 0x6d, 0x90, 0xad, 0x32, 0x42, 69 0xc1, 0x42, 0x81, 0xb2, 0xe3, 0xf8, 0xe8, 0xd5, 0x75, 0xd4, 0x58, 0x88, 0x49, 0xab, 0xde, 0x0a, 70 0x2a, 0x93, 0x57, 0x4c, 0xd6, 0xf2, 0x6b, 0x62, 0xe6, 0xdb, 0x38, 0xe2, 0xb1, 0xab, 0x9c, 0x07, 71 0x6a, 0xf0, 0x09, 0xb9, 0xa7, 0x61, 0x87, 0x3e, 0x6c, 0x19, 0x21, 0x7b, 0x30, 0x97, 0xb0, 0x47, 72 0xe3, 0x8e, 0x1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