lifecycle

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveChaincodeDefinitionForMyOrgArgs

type ApproveChaincodeDefinitionForMyOrgArgs struct {
	Sequence             int64                         `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Name                 string                        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version              string                        `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	EndorsementPlugin    string                        `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
	ValidationPlugin     string                        `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
	ValidationParameter  []byte                        `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
	Collections          *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"`
	InitRequired         bool                          `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
	Source               *ChaincodeSource              `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

ApproveChaincodeDefinitionForMyOrgArgs is the message used as arguments to `_lifecycle.ApproveChaincodeDefinitionForMyOrg`.

func (*ApproveChaincodeDefinitionForMyOrgArgs) Descriptor

func (*ApproveChaincodeDefinitionForMyOrgArgs) Descriptor() ([]byte, []int)

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetCollections

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetEndorsementPlugin

func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetEndorsementPlugin() string

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetInitRequired

func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetInitRequired() bool

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetName

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetSequence

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetSource

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetValidationParameter

func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationParameter() []byte

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetValidationPlugin

func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationPlugin() string

func (*ApproveChaincodeDefinitionForMyOrgArgs) GetVersion

func (*ApproveChaincodeDefinitionForMyOrgArgs) ProtoMessage

func (*ApproveChaincodeDefinitionForMyOrgArgs) Reset

func (*ApproveChaincodeDefinitionForMyOrgArgs) String

func (*ApproveChaincodeDefinitionForMyOrgArgs) XXX_DiscardUnknown

func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_DiscardUnknown()

func (*ApproveChaincodeDefinitionForMyOrgArgs) XXX_Marshal

func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApproveChaincodeDefinitionForMyOrgArgs) XXX_Merge

func (*ApproveChaincodeDefinitionForMyOrgArgs) XXX_Size

func (*ApproveChaincodeDefinitionForMyOrgArgs) XXX_Unmarshal

func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_Unmarshal(b []byte) error

type ApproveChaincodeDefinitionForMyOrgResult

type ApproveChaincodeDefinitionForMyOrgResult struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ApproveChaincodeDefinitionForMyOrgResult is the message returned by `_lifecycle.ApproveChaincodeDefinitionForMyOrg`. Currently it returns nothing, but may be extended in the future.

func (*ApproveChaincodeDefinitionForMyOrgResult) Descriptor

func (*ApproveChaincodeDefinitionForMyOrgResult) Descriptor() ([]byte, []int)

func (*ApproveChaincodeDefinitionForMyOrgResult) ProtoMessage

func (*ApproveChaincodeDefinitionForMyOrgResult) Reset

func (*ApproveChaincodeDefinitionForMyOrgResult) String

func (*ApproveChaincodeDefinitionForMyOrgResult) XXX_DiscardUnknown

func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_DiscardUnknown()

func (*ApproveChaincodeDefinitionForMyOrgResult) XXX_Marshal

func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApproveChaincodeDefinitionForMyOrgResult) XXX_Merge

func (*ApproveChaincodeDefinitionForMyOrgResult) XXX_Size

func (*ApproveChaincodeDefinitionForMyOrgResult) XXX_Unmarshal

func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_Unmarshal(b []byte) error

type ChaincodeEndorsementInfo

type ChaincodeEndorsementInfo struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	InitRequired         bool     `protobuf:"varint,2,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
	EndorsementPlugin    string   `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ChaincodeEndorsementInfo is (most) everything the peer needs to know in order to execute a chaincode

func (*ChaincodeEndorsementInfo) Descriptor

func (*ChaincodeEndorsementInfo) Descriptor() ([]byte, []int)

func (*ChaincodeEndorsementInfo) GetEndorsementPlugin

func (m *ChaincodeEndorsementInfo) GetEndorsementPlugin() string

func (*ChaincodeEndorsementInfo) GetInitRequired

func (m *ChaincodeEndorsementInfo) GetInitRequired() bool

func (*ChaincodeEndorsementInfo) GetVersion

func (m *ChaincodeEndorsementInfo) GetVersion() string

func (*ChaincodeEndorsementInfo) ProtoMessage

func (*ChaincodeEndorsementInfo) ProtoMessage()

func (*ChaincodeEndorsementInfo) Reset

func (m *ChaincodeEndorsementInfo) Reset()

func (*ChaincodeEndorsementInfo) String

func (m *ChaincodeEndorsementInfo) String() string

func (*ChaincodeEndorsementInfo) XXX_DiscardUnknown

func (m *ChaincodeEndorsementInfo) XXX_DiscardUnknown()

func (*ChaincodeEndorsementInfo) XXX_Marshal

func (m *ChaincodeEndorsementInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChaincodeEndorsementInfo) XXX_Merge

func (m *ChaincodeEndorsementInfo) XXX_Merge(src proto.Message)

func (*ChaincodeEndorsementInfo) XXX_Size

func (m *ChaincodeEndorsementInfo) XXX_Size() int

func (*ChaincodeEndorsementInfo) XXX_Unmarshal

func (m *ChaincodeEndorsementInfo) XXX_Unmarshal(b []byte) error

type ChaincodeSource

type ChaincodeSource struct {
	// Types that are valid to be assigned to Type:
	//	*ChaincodeSource_Unavailable_
	//	*ChaincodeSource_LocalPackage
	Type                 isChaincodeSource_Type `protobuf_oneof:"Type"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ChaincodeSource) Descriptor

func (*ChaincodeSource) Descriptor() ([]byte, []int)

func (*ChaincodeSource) GetLocalPackage

func (m *ChaincodeSource) GetLocalPackage() *ChaincodeSource_Local

func (*ChaincodeSource) GetType

func (m *ChaincodeSource) GetType() isChaincodeSource_Type

func (*ChaincodeSource) GetUnavailable

func (m *ChaincodeSource) GetUnavailable() *ChaincodeSource_Unavailable

func (*ChaincodeSource) ProtoMessage

func (*ChaincodeSource) ProtoMessage()

func (*ChaincodeSource) Reset

func (m *ChaincodeSource) Reset()

func (*ChaincodeSource) String

func (m *ChaincodeSource) String() string

func (*ChaincodeSource) XXX_DiscardUnknown

func (m *ChaincodeSource) XXX_DiscardUnknown()

func (*ChaincodeSource) XXX_Marshal

func (m *ChaincodeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChaincodeSource) XXX_Merge

func (m *ChaincodeSource) XXX_Merge(src proto.Message)

func (*ChaincodeSource) XXX_OneofWrappers

func (*ChaincodeSource) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ChaincodeSource) XXX_Size

func (m *ChaincodeSource) XXX_Size() int

func (*ChaincodeSource) XXX_Unmarshal

func (m *ChaincodeSource) XXX_Unmarshal(b []byte) error

type ChaincodeSource_Local

type ChaincodeSource_Local struct {
	PackageId            string   `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChaincodeSource_Local) Descriptor

func (*ChaincodeSource_Local) Descriptor() ([]byte, []int)

func (*ChaincodeSource_Local) GetPackageId

func (m *ChaincodeSource_Local) GetPackageId() string

func (*ChaincodeSource_Local) ProtoMessage

func (*ChaincodeSource_Local) ProtoMessage()

func (*ChaincodeSource_Local) Reset

func (m *ChaincodeSource_Local) Reset()

func (*ChaincodeSource_Local) String

func (m *ChaincodeSource_Local) String() string

func (*ChaincodeSource_Local) XXX_DiscardUnknown

func (m *ChaincodeSource_Local) XXX_DiscardUnknown()

func (*ChaincodeSource_Local) XXX_Marshal

func (m *ChaincodeSource_Local) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChaincodeSource_Local) XXX_Merge

func (m *ChaincodeSource_Local) XXX_Merge(src proto.Message)

func (*ChaincodeSource_Local) XXX_Size

func (m *ChaincodeSource_Local) XXX_Size() int

func (*ChaincodeSource_Local) XXX_Unmarshal

func (m *ChaincodeSource_Local) XXX_Unmarshal(b []byte) error

type ChaincodeSource_LocalPackage

type ChaincodeSource_LocalPackage struct {
	LocalPackage *ChaincodeSource_Local `protobuf:"bytes,2,opt,name=local_package,json=localPackage,proto3,oneof"`
}

type ChaincodeSource_Unavailable

type ChaincodeSource_Unavailable struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChaincodeSource_Unavailable) Descriptor

func (*ChaincodeSource_Unavailable) Descriptor() ([]byte, []int)

func (*ChaincodeSource_Unavailable) ProtoMessage

func (*ChaincodeSource_Unavailable) ProtoMessage()

func (*ChaincodeSource_Unavailable) Reset

func (m *ChaincodeSource_Unavailable) Reset()

func (*ChaincodeSource_Unavailable) String

func (m *ChaincodeSource_Unavailable) String() string

func (*ChaincodeSource_Unavailable) XXX_DiscardUnknown

func (m *ChaincodeSource_Unavailable) XXX_DiscardUnknown()

func (*ChaincodeSource_Unavailable) XXX_Marshal

func (m *ChaincodeSource_Unavailable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChaincodeSource_Unavailable) XXX_Merge

func (m *ChaincodeSource_Unavailable) XXX_Merge(src proto.Message)

func (*ChaincodeSource_Unavailable) XXX_Size

func (m *ChaincodeSource_Unavailable) XXX_Size() int

func (*ChaincodeSource_Unavailable) XXX_Unmarshal

func (m *ChaincodeSource_Unavailable) XXX_Unmarshal(b []byte) error

type ChaincodeSource_Unavailable_

type ChaincodeSource_Unavailable_ struct {
	Unavailable *ChaincodeSource_Unavailable `protobuf:"bytes,1,opt,name=unavailable,proto3,oneof"`
}

type ChaincodeValidationInfo

type ChaincodeValidationInfo struct {
	ValidationPlugin     string   `protobuf:"bytes,1,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
	ValidationParameter  []byte   `protobuf:"bytes,2,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ValidationInfo is (most) everything the peer needs to know in order to validate a transaction

func (*ChaincodeValidationInfo) Descriptor

func (*ChaincodeValidationInfo) Descriptor() ([]byte, []int)

func (*ChaincodeValidationInfo) GetValidationParameter

func (m *ChaincodeValidationInfo) GetValidationParameter() []byte

func (*ChaincodeValidationInfo) GetValidationPlugin

func (m *ChaincodeValidationInfo) GetValidationPlugin() string

func (*ChaincodeValidationInfo) ProtoMessage

func (*ChaincodeValidationInfo) ProtoMessage()

func (*ChaincodeValidationInfo) Reset

func (m *ChaincodeValidationInfo) Reset()

func (*ChaincodeValidationInfo) String

func (m *ChaincodeValidationInfo) String() string

func (*ChaincodeValidationInfo) XXX_DiscardUnknown

func (m *ChaincodeValidationInfo) XXX_DiscardUnknown()

func (*ChaincodeValidationInfo) XXX_Marshal

func (m *ChaincodeValidationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChaincodeValidationInfo) XXX_Merge

func (m *ChaincodeValidationInfo) XXX_Merge(src proto.Message)

func (*ChaincodeValidationInfo) XXX_Size

func (m *ChaincodeValidationInfo) XXX_Size() int

func (*ChaincodeValidationInfo) XXX_Unmarshal

func (m *ChaincodeValidationInfo) XXX_Unmarshal(b []byte) error

type CheckCommitReadinessArgs

type CheckCommitReadinessArgs struct {
	Sequence             int64                         `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Name                 string                        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version              string                        `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	EndorsementPlugin    string                        `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
	ValidationPlugin     string                        `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
	ValidationParameter  []byte                        `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
	Collections          *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"`
	InitRequired         bool                          `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

CheckCommitReadinessArgs is the message used as arguments to `_lifecycle.CheckCommitReadiness`.

func (*CheckCommitReadinessArgs) Descriptor

func (*CheckCommitReadinessArgs) Descriptor() ([]byte, []int)

func (*CheckCommitReadinessArgs) GetCollections

func (*CheckCommitReadinessArgs) GetEndorsementPlugin

func (m *CheckCommitReadinessArgs) GetEndorsementPlugin() string

func (*CheckCommitReadinessArgs) GetInitRequired

func (m *CheckCommitReadinessArgs) GetInitRequired() bool

func (*CheckCommitReadinessArgs) GetName

func (m *CheckCommitReadinessArgs) GetName() string

func (*CheckCommitReadinessArgs) GetSequence

func (m *CheckCommitReadinessArgs) GetSequence() int64

func (*CheckCommitReadinessArgs) GetValidationParameter

func (m *CheckCommitReadinessArgs) GetValidationParameter() []byte

func (*CheckCommitReadinessArgs) GetValidationPlugin

func (m *CheckCommitReadinessArgs) GetValidationPlugin() string

func (*CheckCommitReadinessArgs) GetVersion

func (m *CheckCommitReadinessArgs) GetVersion() string

func (*CheckCommitReadinessArgs) ProtoMessage

func (*CheckCommitReadinessArgs) ProtoMessage()

func (*CheckCommitReadinessArgs) Reset

func (m *CheckCommitReadinessArgs) Reset()

func (*CheckCommitReadinessArgs) String

func (m *CheckCommitReadinessArgs) String() string

func (*CheckCommitReadinessArgs) XXX_DiscardUnknown

func (m *CheckCommitReadinessArgs) XXX_DiscardUnknown()

func (*CheckCommitReadinessArgs) XXX_Marshal

func (m *CheckCommitReadinessArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckCommitReadinessArgs) XXX_Merge

func (m *CheckCommitReadinessArgs) XXX_Merge(src proto.Message)

func (*CheckCommitReadinessArgs) XXX_Size

func (m *CheckCommitReadinessArgs) XXX_Size() int

func (*CheckCommitReadinessArgs) XXX_Unmarshal

func (m *CheckCommitReadinessArgs) XXX_Unmarshal(b []byte) error

type CheckCommitReadinessResult

type CheckCommitReadinessResult struct {
	Approvals            map[string]bool `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

CheckCommitReadinessResult is the message returned by `_lifecycle.CheckCommitReadiness`. It returns a map of orgs to their approval (true/false) for the definition supplied as args.

func (*CheckCommitReadinessResult) Descriptor

func (*CheckCommitReadinessResult) Descriptor() ([]byte, []int)

func (*CheckCommitReadinessResult) GetApprovals

func (m *CheckCommitReadinessResult) GetApprovals() map[string]bool

func (*CheckCommitReadinessResult) ProtoMessage

func (*CheckCommitReadinessResult) ProtoMessage()

func (*CheckCommitReadinessResult) Reset

func (m *CheckCommitReadinessResult) Reset()

func (*CheckCommitReadinessResult) String

func (m *CheckCommitReadinessResult) String() string

func (*CheckCommitReadinessResult) XXX_DiscardUnknown

func (m *CheckCommitReadinessResult) XXX_DiscardUnknown()

func (*CheckCommitReadinessResult) XXX_Marshal

func (m *CheckCommitReadinessResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckCommitReadinessResult) XXX_Merge

func (m *CheckCommitReadinessResult) XXX_Merge(src proto.Message)

func (*CheckCommitReadinessResult) XXX_Size

func (m *CheckCommitReadinessResult) XXX_Size() int

func (*CheckCommitReadinessResult) XXX_Unmarshal

func (m *CheckCommitReadinessResult) XXX_Unmarshal(b []byte) error

type CommitChaincodeDefinitionArgs

type CommitChaincodeDefinitionArgs struct {
	Sequence             int64                         `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Name                 string                        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version              string                        `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	EndorsementPlugin    string                        `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
	ValidationPlugin     string                        `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
	ValidationParameter  []byte                        `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
	Collections          *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"`
	InitRequired         bool                          `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

CommitChaincodeDefinitionArgs is the message used as arguments to `_lifecycle.CommitChaincodeDefinition`.

func (*CommitChaincodeDefinitionArgs) Descriptor

func (*CommitChaincodeDefinitionArgs) Descriptor() ([]byte, []int)

func (*CommitChaincodeDefinitionArgs) GetCollections

func (*CommitChaincodeDefinitionArgs) GetEndorsementPlugin

func (m *CommitChaincodeDefinitionArgs) GetEndorsementPlugin() string

func (*CommitChaincodeDefinitionArgs) GetInitRequired

func (m *CommitChaincodeDefinitionArgs) GetInitRequired() bool

func (*CommitChaincodeDefinitionArgs) GetName

func (*CommitChaincodeDefinitionArgs) GetSequence

func (m *CommitChaincodeDefinitionArgs) GetSequence() int64

func (*CommitChaincodeDefinitionArgs) GetValidationParameter

func (m *CommitChaincodeDefinitionArgs) GetValidationParameter() []byte

func (*CommitChaincodeDefinitionArgs) GetValidationPlugin

func (m *CommitChaincodeDefinitionArgs) GetValidationPlugin() string

func (*CommitChaincodeDefinitionArgs) GetVersion

func (m *CommitChaincodeDefinitionArgs) GetVersion() string

func (*CommitChaincodeDefinitionArgs) ProtoMessage

func (*CommitChaincodeDefinitionArgs) ProtoMessage()

func (*CommitChaincodeDefinitionArgs) Reset

func (m *CommitChaincodeDefinitionArgs) Reset()

func (*CommitChaincodeDefinitionArgs) String

func (*CommitChaincodeDefinitionArgs) XXX_DiscardUnknown

func (m *CommitChaincodeDefinitionArgs) XXX_DiscardUnknown()

func (*CommitChaincodeDefinitionArgs) XXX_Marshal

func (m *CommitChaincodeDefinitionArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommitChaincodeDefinitionArgs) XXX_Merge

func (m *CommitChaincodeDefinitionArgs) XXX_Merge(src proto.Message)

func (*CommitChaincodeDefinitionArgs) XXX_Size

func (m *CommitChaincodeDefinitionArgs) XXX_Size() int

func (*CommitChaincodeDefinitionArgs) XXX_Unmarshal

func (m *CommitChaincodeDefinitionArgs) XXX_Unmarshal(b []byte) error

type CommitChaincodeDefinitionResult

type CommitChaincodeDefinitionResult struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CommitChaincodeDefinitionResult is the message returned by `_lifecycle.CommitChaincodeDefinition`. Currently it returns nothing, but may be extended in the future.

func (*CommitChaincodeDefinitionResult) Descriptor

func (*CommitChaincodeDefinitionResult) Descriptor() ([]byte, []int)

func (*CommitChaincodeDefinitionResult) ProtoMessage

func (*CommitChaincodeDefinitionResult) ProtoMessage()

func (*CommitChaincodeDefinitionResult) Reset

func (*CommitChaincodeDefinitionResult) String

func (*CommitChaincodeDefinitionResult) XXX_DiscardUnknown

func (m *CommitChaincodeDefinitionResult) XXX_DiscardUnknown()

func (*CommitChaincodeDefinitionResult) XXX_Marshal

func (m *CommitChaincodeDefinitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommitChaincodeDefinitionResult) XXX_Merge

func (m *CommitChaincodeDefinitionResult) XXX_Merge(src proto.Message)

func (*CommitChaincodeDefinitionResult) XXX_Size

func (m *CommitChaincodeDefinitionResult) XXX_Size() int

func (*CommitChaincodeDefinitionResult) XXX_Unmarshal

func (m *CommitChaincodeDefinitionResult) XXX_Unmarshal(b []byte) error

type GetInstalledChaincodePackageArgs

type GetInstalledChaincodePackageArgs struct {
	PackageId            string   `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetInstalledChaincodePackageArgs is the message used as the argument to '_lifecycle.GetInstalledChaincodePackage'.

func (*GetInstalledChaincodePackageArgs) Descriptor

func (*GetInstalledChaincodePackageArgs) Descriptor() ([]byte, []int)

func (*GetInstalledChaincodePackageArgs) GetPackageId

func (m *GetInstalledChaincodePackageArgs) GetPackageId() string

func (*GetInstalledChaincodePackageArgs) ProtoMessage

func (*GetInstalledChaincodePackageArgs) ProtoMessage()

func (*GetInstalledChaincodePackageArgs) Reset

func (*GetInstalledChaincodePackageArgs) String

func (*GetInstalledChaincodePackageArgs) XXX_DiscardUnknown

func (m *GetInstalledChaincodePackageArgs) XXX_DiscardUnknown()

func (*GetInstalledChaincodePackageArgs) XXX_Marshal

func (m *GetInstalledChaincodePackageArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInstalledChaincodePackageArgs) XXX_Merge

func (*GetInstalledChaincodePackageArgs) XXX_Size

func (m *GetInstalledChaincodePackageArgs) XXX_Size() int

func (*GetInstalledChaincodePackageArgs) XXX_Unmarshal

func (m *GetInstalledChaincodePackageArgs) XXX_Unmarshal(b []byte) error

type GetInstalledChaincodePackageResult

type GetInstalledChaincodePackageResult struct {
	ChaincodeInstallPackage []byte   `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

GetInstalledChaincodePackageResult is the message returned by '_lifecycle.GetInstalledChaincodePackage'.

func (*GetInstalledChaincodePackageResult) Descriptor

func (*GetInstalledChaincodePackageResult) Descriptor() ([]byte, []int)

func (*GetInstalledChaincodePackageResult) GetChaincodeInstallPackage

func (m *GetInstalledChaincodePackageResult) GetChaincodeInstallPackage() []byte

func (*GetInstalledChaincodePackageResult) ProtoMessage

func (*GetInstalledChaincodePackageResult) ProtoMessage()

func (*GetInstalledChaincodePackageResult) Reset

func (*GetInstalledChaincodePackageResult) String

func (*GetInstalledChaincodePackageResult) XXX_DiscardUnknown

func (m *GetInstalledChaincodePackageResult) XXX_DiscardUnknown()

func (*GetInstalledChaincodePackageResult) XXX_Marshal

func (m *GetInstalledChaincodePackageResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInstalledChaincodePackageResult) XXX_Merge

func (*GetInstalledChaincodePackageResult) XXX_Size

func (*GetInstalledChaincodePackageResult) XXX_Unmarshal

func (m *GetInstalledChaincodePackageResult) XXX_Unmarshal(b []byte) error

type InstallChaincodeArgs

type InstallChaincodeArgs struct {
	ChaincodeInstallPackage []byte   `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

InstallChaincodeArgs is the message used as the argument to '_lifecycle.InstallChaincode'.

func (*InstallChaincodeArgs) Descriptor

func (*InstallChaincodeArgs) Descriptor() ([]byte, []int)

func (*InstallChaincodeArgs) GetChaincodeInstallPackage

func (m *InstallChaincodeArgs) GetChaincodeInstallPackage() []byte

func (*InstallChaincodeArgs) ProtoMessage

func (*InstallChaincodeArgs) ProtoMessage()

func (*InstallChaincodeArgs) Reset

func (m *InstallChaincodeArgs) Reset()

func (*InstallChaincodeArgs) String

func (m *InstallChaincodeArgs) String() string

func (*InstallChaincodeArgs) XXX_DiscardUnknown

func (m *InstallChaincodeArgs) XXX_DiscardUnknown()

func (*InstallChaincodeArgs) XXX_Marshal

func (m *InstallChaincodeArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstallChaincodeArgs) XXX_Merge

func (m *InstallChaincodeArgs) XXX_Merge(src proto.Message)

func (*InstallChaincodeArgs) XXX_Size

func (m *InstallChaincodeArgs) XXX_Size() int

func (*InstallChaincodeArgs) XXX_Unmarshal

func (m *InstallChaincodeArgs) XXX_Unmarshal(b []byte) error

type InstallChaincodeResult

type InstallChaincodeResult struct {
	PackageId            string   `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	Label                string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InstallChaincodeArgs is the message returned by '_lifecycle.InstallChaincode'.

func (*InstallChaincodeResult) Descriptor

func (*InstallChaincodeResult) Descriptor() ([]byte, []int)

func (*InstallChaincodeResult) GetLabel

func (m *InstallChaincodeResult) GetLabel() string

func (*InstallChaincodeResult) GetPackageId

func (m *InstallChaincodeResult) GetPackageId() string

func (*InstallChaincodeResult) ProtoMessage

func (*InstallChaincodeResult) ProtoMessage()

func (*InstallChaincodeResult) Reset

func (m *InstallChaincodeResult) Reset()

func (*InstallChaincodeResult) String

func (m *InstallChaincodeResult) String() string

func (*InstallChaincodeResult) XXX_DiscardUnknown

func (m *InstallChaincodeResult) XXX_DiscardUnknown()

func (*InstallChaincodeResult) XXX_Marshal

func (m *InstallChaincodeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstallChaincodeResult) XXX_Merge

func (m *InstallChaincodeResult) XXX_Merge(src proto.Message)

func (*InstallChaincodeResult) XXX_Size

func (m *InstallChaincodeResult) XXX_Size() int

func (*InstallChaincodeResult) XXX_Unmarshal

func (m *InstallChaincodeResult) XXX_Unmarshal(b []byte) error

type QueryApprovedChaincodeDefinitionArgs

type QueryApprovedChaincodeDefinitionArgs struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Sequence             int64    `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

QueryApprovedChaincodeDefinitionArgs is the message used as arguments to `_lifecycle.QueryApprovedChaincodeDefinition`.

func (*QueryApprovedChaincodeDefinitionArgs) Descriptor

func (*QueryApprovedChaincodeDefinitionArgs) Descriptor() ([]byte, []int)

func (*QueryApprovedChaincodeDefinitionArgs) GetName

func (*QueryApprovedChaincodeDefinitionArgs) GetSequence

func (*QueryApprovedChaincodeDefinitionArgs) ProtoMessage

func (*QueryApprovedChaincodeDefinitionArgs) ProtoMessage()

func (*QueryApprovedChaincodeDefinitionArgs) Reset

func (*QueryApprovedChaincodeDefinitionArgs) String

func (*QueryApprovedChaincodeDefinitionArgs) XXX_DiscardUnknown

func (m *QueryApprovedChaincodeDefinitionArgs) XXX_DiscardUnknown()

func (*QueryApprovedChaincodeDefinitionArgs) XXX_Marshal

func (m *QueryApprovedChaincodeDefinitionArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryApprovedChaincodeDefinitionArgs) XXX_Merge

func (*QueryApprovedChaincodeDefinitionArgs) XXX_Size

func (*QueryApprovedChaincodeDefinitionArgs) XXX_Unmarshal

func (m *QueryApprovedChaincodeDefinitionArgs) XXX_Unmarshal(b []byte) error

type QueryApprovedChaincodeDefinitionResult

type QueryApprovedChaincodeDefinitionResult struct {
	Sequence             int64                         `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Version              string                        `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	EndorsementPlugin    string                        `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
	ValidationPlugin     string                        `protobuf:"bytes,4,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
	ValidationParameter  []byte                        `protobuf:"bytes,5,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
	Collections          *peer.CollectionConfigPackage `protobuf:"bytes,6,opt,name=collections,proto3" json:"collections,omitempty"`
	InitRequired         bool                          `protobuf:"varint,7,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
	Source               *ChaincodeSource              `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

QueryApprovedChaincodeDefinitionResult is the message returned by `_lifecycle.QueryApprovedChaincodeDefinition`.

func (*QueryApprovedChaincodeDefinitionResult) Descriptor

func (*QueryApprovedChaincodeDefinitionResult) Descriptor() ([]byte, []int)

func (*QueryApprovedChaincodeDefinitionResult) GetCollections

func (*QueryApprovedChaincodeDefinitionResult) GetEndorsementPlugin

func (m *QueryApprovedChaincodeDefinitionResult) GetEndorsementPlugin() string

func (*QueryApprovedChaincodeDefinitionResult) GetInitRequired

func (m *QueryApprovedChaincodeDefinitionResult) GetInitRequired() bool

func (*QueryApprovedChaincodeDefinitionResult) GetSequence

func (*QueryApprovedChaincodeDefinitionResult) GetSource

func (*QueryApprovedChaincodeDefinitionResult) GetValidationParameter

func (m *QueryApprovedChaincodeDefinitionResult) GetValidationParameter() []byte

func (*QueryApprovedChaincodeDefinitionResult) GetValidationPlugin

func (m *QueryApprovedChaincodeDefinitionResult) GetValidationPlugin() string

func (*QueryApprovedChaincodeDefinitionResult) GetVersion

func (*QueryApprovedChaincodeDefinitionResult) ProtoMessage

func (*QueryApprovedChaincodeDefinitionResult) Reset

func (*QueryApprovedChaincodeDefinitionResult) String

func (*QueryApprovedChaincodeDefinitionResult) XXX_DiscardUnknown

func (m *QueryApprovedChaincodeDefinitionResult) XXX_DiscardUnknown()

func (*QueryApprovedChaincodeDefinitionResult) XXX_Marshal

func (m *QueryApprovedChaincodeDefinitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryApprovedChaincodeDefinitionResult) XXX_Merge

func (*QueryApprovedChaincodeDefinitionResult) XXX_Size

func (*QueryApprovedChaincodeDefinitionResult) XXX_Unmarshal

func (m *QueryApprovedChaincodeDefinitionResult) XXX_Unmarshal(b []byte) error

type QueryChaincodeDefinitionArgs

type QueryChaincodeDefinitionArgs struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

QueryChaincodeDefinitionArgs is the message used as arguments to `_lifecycle.QueryChaincodeDefinition`.

func (*QueryChaincodeDefinitionArgs) Descriptor

func (*QueryChaincodeDefinitionArgs) Descriptor() ([]byte, []int)

func (*QueryChaincodeDefinitionArgs) GetName

func (m *QueryChaincodeDefinitionArgs) GetName() string

func (*QueryChaincodeDefinitionArgs) ProtoMessage

func (*QueryChaincodeDefinitionArgs) ProtoMessage()

func (*QueryChaincodeDefinitionArgs) Reset

func (m *QueryChaincodeDefinitionArgs) Reset()

func (*QueryChaincodeDefinitionArgs) String

func (*QueryChaincodeDefinitionArgs) XXX_DiscardUnknown

func (m *QueryChaincodeDefinitionArgs) XXX_DiscardUnknown()

func (*QueryChaincodeDefinitionArgs) XXX_Marshal

func (m *QueryChaincodeDefinitionArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChaincodeDefinitionArgs) XXX_Merge

func (m *QueryChaincodeDefinitionArgs) XXX_Merge(src proto.Message)

func (*QueryChaincodeDefinitionArgs) XXX_Size

func (m *QueryChaincodeDefinitionArgs) XXX_Size() int

func (*QueryChaincodeDefinitionArgs) XXX_Unmarshal

func (m *QueryChaincodeDefinitionArgs) XXX_Unmarshal(b []byte) error

type QueryChaincodeDefinitionResult

type QueryChaincodeDefinitionResult struct {
	Sequence             int64                         `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Version              string                        `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	EndorsementPlugin    string                        `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
	ValidationPlugin     string                        `protobuf:"bytes,4,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
	ValidationParameter  []byte                        `protobuf:"bytes,5,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
	Collections          *peer.CollectionConfigPackage `protobuf:"bytes,6,opt,name=collections,proto3" json:"collections,omitempty"`
	InitRequired         bool                          `protobuf:"varint,7,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
	Approvals            map[string]bool               `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

QueryChaincodeDefinitionResult is the message returned by `_lifecycle.QueryChaincodeDefinition`.

func (*QueryChaincodeDefinitionResult) Descriptor

func (*QueryChaincodeDefinitionResult) Descriptor() ([]byte, []int)

func (*QueryChaincodeDefinitionResult) GetApprovals

func (m *QueryChaincodeDefinitionResult) GetApprovals() map[string]bool

func (*QueryChaincodeDefinitionResult) GetCollections

func (*QueryChaincodeDefinitionResult) GetEndorsementPlugin

func (m *QueryChaincodeDefinitionResult) GetEndorsementPlugin() string

func (*QueryChaincodeDefinitionResult) GetInitRequired

func (m *QueryChaincodeDefinitionResult) GetInitRequired() bool

func (*QueryChaincodeDefinitionResult) GetSequence

func (m *QueryChaincodeDefinitionResult) GetSequence() int64

func (*QueryChaincodeDefinitionResult) GetValidationParameter

func (m *QueryChaincodeDefinitionResult) GetValidationParameter() []byte

func (*QueryChaincodeDefinitionResult) GetValidationPlugin

func (m *QueryChaincodeDefinitionResult) GetValidationPlugin() string

func (*QueryChaincodeDefinitionResult) GetVersion

func (m *QueryChaincodeDefinitionResult) GetVersion() string

func (*QueryChaincodeDefinitionResult) ProtoMessage

func (*QueryChaincodeDefinitionResult) ProtoMessage()

func (*QueryChaincodeDefinitionResult) Reset

func (m *QueryChaincodeDefinitionResult) Reset()

func (*QueryChaincodeDefinitionResult) String

func (*QueryChaincodeDefinitionResult) XXX_DiscardUnknown

func (m *QueryChaincodeDefinitionResult) XXX_DiscardUnknown()

func (*QueryChaincodeDefinitionResult) XXX_Marshal

func (m *QueryChaincodeDefinitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChaincodeDefinitionResult) XXX_Merge

func (m *QueryChaincodeDefinitionResult) XXX_Merge(src proto.Message)

func (*QueryChaincodeDefinitionResult) XXX_Size

func (m *QueryChaincodeDefinitionResult) XXX_Size() int

func (*QueryChaincodeDefinitionResult) XXX_Unmarshal

func (m *QueryChaincodeDefinitionResult) XXX_Unmarshal(b []byte) error

type QueryChaincodeDefinitionsArgs

type QueryChaincodeDefinitionsArgs struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

QueryChaincodeDefinitionsArgs is the message used as arguments to `_lifecycle.QueryChaincodeDefinitions`.

func (*QueryChaincodeDefinitionsArgs) Descriptor

func (*QueryChaincodeDefinitionsArgs) Descriptor() ([]byte, []int)

func (*QueryChaincodeDefinitionsArgs) ProtoMessage

func (*QueryChaincodeDefinitionsArgs) ProtoMessage()

func (*QueryChaincodeDefinitionsArgs) Reset

func (m *QueryChaincodeDefinitionsArgs) Reset()

func (*QueryChaincodeDefinitionsArgs) String

func (*QueryChaincodeDefinitionsArgs) XXX_DiscardUnknown

func (m *QueryChaincodeDefinitionsArgs) XXX_DiscardUnknown()

func (*QueryChaincodeDefinitionsArgs) XXX_Marshal

func (m *QueryChaincodeDefinitionsArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChaincodeDefinitionsArgs) XXX_Merge

func (m *QueryChaincodeDefinitionsArgs) XXX_Merge(src proto.Message)

func (*QueryChaincodeDefinitionsArgs) XXX_Size

func (m *QueryChaincodeDefinitionsArgs) XXX_Size() int

func (*QueryChaincodeDefinitionsArgs) XXX_Unmarshal

func (m *QueryChaincodeDefinitionsArgs) XXX_Unmarshal(b []byte) error

type QueryChaincodeDefinitionsResult

type QueryChaincodeDefinitionsResult struct {
	ChaincodeDefinitions []*QueryChaincodeDefinitionsResult_ChaincodeDefinition `protobuf:"bytes,1,rep,name=chaincode_definitions,json=chaincodeDefinitions,proto3" json:"chaincode_definitions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

QueryChaincodeDefinitionsResult is the message returned by `_lifecycle.QueryChaincodeDefinitions`.

func (*QueryChaincodeDefinitionsResult) Descriptor

func (*QueryChaincodeDefinitionsResult) Descriptor() ([]byte, []int)

func (*QueryChaincodeDefinitionsResult) GetChaincodeDefinitions

func (*QueryChaincodeDefinitionsResult) ProtoMessage

func (*QueryChaincodeDefinitionsResult) ProtoMessage()

func (*QueryChaincodeDefinitionsResult) Reset

func (*QueryChaincodeDefinitionsResult) String

func (*QueryChaincodeDefinitionsResult) XXX_DiscardUnknown

func (m *QueryChaincodeDefinitionsResult) XXX_DiscardUnknown()

func (*QueryChaincodeDefinitionsResult) XXX_Marshal

func (m *QueryChaincodeDefinitionsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChaincodeDefinitionsResult) XXX_Merge

func (m *QueryChaincodeDefinitionsResult) XXX_Merge(src proto.Message)

func (*QueryChaincodeDefinitionsResult) XXX_Size

func (m *QueryChaincodeDefinitionsResult) XXX_Size() int

func (*QueryChaincodeDefinitionsResult) XXX_Unmarshal

func (m *QueryChaincodeDefinitionsResult) XXX_Unmarshal(b []byte) error

type QueryChaincodeDefinitionsResult_ChaincodeDefinition

type QueryChaincodeDefinitionsResult_ChaincodeDefinition struct {
	Name                 string                        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Sequence             int64                         `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Version              string                        `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	EndorsementPlugin    string                        `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"`
	ValidationPlugin     string                        `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"`
	ValidationParameter  []byte                        `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"`
	Collections          *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"`
	InitRequired         bool                          `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) Descriptor

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetCollections

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetEndorsementPlugin

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetInitRequired

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetName

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetSequence

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationParameter

func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationParameter() []byte

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationPlugin

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetVersion

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoMessage

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) Reset

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) String

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_DiscardUnknown

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Marshal

func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Merge

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Size

func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Unmarshal

type QueryInstalledChaincodeArgs

type QueryInstalledChaincodeArgs struct {
	PackageId            string   `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

QueryInstalledChaincodeArgs is the message used as arguments '_lifecycle.QueryInstalledChaincode'

func (*QueryInstalledChaincodeArgs) Descriptor

func (*QueryInstalledChaincodeArgs) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodeArgs) GetPackageId

func (m *QueryInstalledChaincodeArgs) GetPackageId() string

func (*QueryInstalledChaincodeArgs) ProtoMessage

func (*QueryInstalledChaincodeArgs) ProtoMessage()

func (*QueryInstalledChaincodeArgs) Reset

func (m *QueryInstalledChaincodeArgs) Reset()

func (*QueryInstalledChaincodeArgs) String

func (m *QueryInstalledChaincodeArgs) String() string

func (*QueryInstalledChaincodeArgs) XXX_DiscardUnknown

func (m *QueryInstalledChaincodeArgs) XXX_DiscardUnknown()

func (*QueryInstalledChaincodeArgs) XXX_Marshal

func (m *QueryInstalledChaincodeArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodeArgs) XXX_Merge

func (m *QueryInstalledChaincodeArgs) XXX_Merge(src proto.Message)

func (*QueryInstalledChaincodeArgs) XXX_Size

func (m *QueryInstalledChaincodeArgs) XXX_Size() int

func (*QueryInstalledChaincodeArgs) XXX_Unmarshal

func (m *QueryInstalledChaincodeArgs) XXX_Unmarshal(b []byte) error

type QueryInstalledChaincodeResult

type QueryInstalledChaincodeResult struct {
	PackageId            string                                               `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	Label                string                                               `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	References           map[string]*QueryInstalledChaincodeResult_References `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                             `json:"-"`
	XXX_unrecognized     []byte                                               `json:"-"`
	XXX_sizecache        int32                                                `json:"-"`
}

QueryInstalledChaincodeResult is the message returned by '_lifecycle.QueryInstalledChaincode'

func (*QueryInstalledChaincodeResult) Descriptor

func (*QueryInstalledChaincodeResult) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodeResult) GetLabel

func (m *QueryInstalledChaincodeResult) GetLabel() string

func (*QueryInstalledChaincodeResult) GetPackageId

func (m *QueryInstalledChaincodeResult) GetPackageId() string

func (*QueryInstalledChaincodeResult) GetReferences

func (*QueryInstalledChaincodeResult) ProtoMessage

func (*QueryInstalledChaincodeResult) ProtoMessage()

func (*QueryInstalledChaincodeResult) Reset

func (m *QueryInstalledChaincodeResult) Reset()

func (*QueryInstalledChaincodeResult) String

func (*QueryInstalledChaincodeResult) XXX_DiscardUnknown

func (m *QueryInstalledChaincodeResult) XXX_DiscardUnknown()

func (*QueryInstalledChaincodeResult) XXX_Marshal

func (m *QueryInstalledChaincodeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodeResult) XXX_Merge

func (m *QueryInstalledChaincodeResult) XXX_Merge(src proto.Message)

func (*QueryInstalledChaincodeResult) XXX_Size

func (m *QueryInstalledChaincodeResult) XXX_Size() int

func (*QueryInstalledChaincodeResult) XXX_Unmarshal

func (m *QueryInstalledChaincodeResult) XXX_Unmarshal(b []byte) error

type QueryInstalledChaincodeResult_Chaincode

type QueryInstalledChaincodeResult_Chaincode struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryInstalledChaincodeResult_Chaincode) Descriptor

func (*QueryInstalledChaincodeResult_Chaincode) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodeResult_Chaincode) GetName

func (*QueryInstalledChaincodeResult_Chaincode) GetVersion

func (*QueryInstalledChaincodeResult_Chaincode) ProtoMessage

func (*QueryInstalledChaincodeResult_Chaincode) Reset

func (*QueryInstalledChaincodeResult_Chaincode) String

func (*QueryInstalledChaincodeResult_Chaincode) XXX_DiscardUnknown

func (m *QueryInstalledChaincodeResult_Chaincode) XXX_DiscardUnknown()

func (*QueryInstalledChaincodeResult_Chaincode) XXX_Marshal

func (m *QueryInstalledChaincodeResult_Chaincode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodeResult_Chaincode) XXX_Merge

func (*QueryInstalledChaincodeResult_Chaincode) XXX_Size

func (*QueryInstalledChaincodeResult_Chaincode) XXX_Unmarshal

func (m *QueryInstalledChaincodeResult_Chaincode) XXX_Unmarshal(b []byte) error

type QueryInstalledChaincodeResult_References

type QueryInstalledChaincodeResult_References struct {
	Chaincodes           []*QueryInstalledChaincodeResult_Chaincode `protobuf:"bytes,1,rep,name=chaincodes,proto3" json:"chaincodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                   `json:"-"`
	XXX_unrecognized     []byte                                     `json:"-"`
	XXX_sizecache        int32                                      `json:"-"`
}

func (*QueryInstalledChaincodeResult_References) Descriptor

func (*QueryInstalledChaincodeResult_References) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodeResult_References) GetChaincodes

func (*QueryInstalledChaincodeResult_References) ProtoMessage

func (*QueryInstalledChaincodeResult_References) Reset

func (*QueryInstalledChaincodeResult_References) String

func (*QueryInstalledChaincodeResult_References) XXX_DiscardUnknown

func (m *QueryInstalledChaincodeResult_References) XXX_DiscardUnknown()

func (*QueryInstalledChaincodeResult_References) XXX_Marshal

func (m *QueryInstalledChaincodeResult_References) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodeResult_References) XXX_Merge

func (*QueryInstalledChaincodeResult_References) XXX_Size

func (*QueryInstalledChaincodeResult_References) XXX_Unmarshal

func (m *QueryInstalledChaincodeResult_References) XXX_Unmarshal(b []byte) error

type QueryInstalledChaincodesArgs

type QueryInstalledChaincodesArgs struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

QueryInstalledChaincodesArgs currently is an empty argument to '_lifecycle.QueryInstalledChaincodes'. In the future, it may be extended to have parameters.

func (*QueryInstalledChaincodesArgs) Descriptor

func (*QueryInstalledChaincodesArgs) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodesArgs) ProtoMessage

func (*QueryInstalledChaincodesArgs) ProtoMessage()

func (*QueryInstalledChaincodesArgs) Reset

func (m *QueryInstalledChaincodesArgs) Reset()

func (*QueryInstalledChaincodesArgs) String

func (*QueryInstalledChaincodesArgs) XXX_DiscardUnknown

func (m *QueryInstalledChaincodesArgs) XXX_DiscardUnknown()

func (*QueryInstalledChaincodesArgs) XXX_Marshal

func (m *QueryInstalledChaincodesArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodesArgs) XXX_Merge

func (m *QueryInstalledChaincodesArgs) XXX_Merge(src proto.Message)

func (*QueryInstalledChaincodesArgs) XXX_Size

func (m *QueryInstalledChaincodesArgs) XXX_Size() int

func (*QueryInstalledChaincodesArgs) XXX_Unmarshal

func (m *QueryInstalledChaincodesArgs) XXX_Unmarshal(b []byte) error

type QueryInstalledChaincodesResult

type QueryInstalledChaincodesResult struct {
	InstalledChaincodes  []*QueryInstalledChaincodesResult_InstalledChaincode `protobuf:"bytes,1,rep,name=installed_chaincodes,json=installedChaincodes,proto3" json:"installed_chaincodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                             `json:"-"`
	XXX_unrecognized     []byte                                               `json:"-"`
	XXX_sizecache        int32                                                `json:"-"`
}

QueryInstalledChaincodesResult is the message returned by '_lifecycle.QueryInstalledChaincodes'. It returns a list of installed chaincodes, including a map of channel name to chaincode name and version pairs of chaincode definitions that reference this chaincode package.

func (*QueryInstalledChaincodesResult) Descriptor

func (*QueryInstalledChaincodesResult) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodesResult) GetInstalledChaincodes

func (*QueryInstalledChaincodesResult) ProtoMessage

func (*QueryInstalledChaincodesResult) ProtoMessage()

func (*QueryInstalledChaincodesResult) Reset

func (m *QueryInstalledChaincodesResult) Reset()

func (*QueryInstalledChaincodesResult) String

func (*QueryInstalledChaincodesResult) XXX_DiscardUnknown

func (m *QueryInstalledChaincodesResult) XXX_DiscardUnknown()

func (*QueryInstalledChaincodesResult) XXX_Marshal

func (m *QueryInstalledChaincodesResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodesResult) XXX_Merge

func (m *QueryInstalledChaincodesResult) XXX_Merge(src proto.Message)

func (*QueryInstalledChaincodesResult) XXX_Size

func (m *QueryInstalledChaincodesResult) XXX_Size() int

func (*QueryInstalledChaincodesResult) XXX_Unmarshal

func (m *QueryInstalledChaincodesResult) XXX_Unmarshal(b []byte) error

type QueryInstalledChaincodesResult_Chaincode

type QueryInstalledChaincodesResult_Chaincode struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryInstalledChaincodesResult_Chaincode) Descriptor

func (*QueryInstalledChaincodesResult_Chaincode) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodesResult_Chaincode) GetName

func (*QueryInstalledChaincodesResult_Chaincode) GetVersion

func (*QueryInstalledChaincodesResult_Chaincode) ProtoMessage

func (*QueryInstalledChaincodesResult_Chaincode) Reset

func (*QueryInstalledChaincodesResult_Chaincode) String

func (*QueryInstalledChaincodesResult_Chaincode) XXX_DiscardUnknown

func (m *QueryInstalledChaincodesResult_Chaincode) XXX_DiscardUnknown()

func (*QueryInstalledChaincodesResult_Chaincode) XXX_Marshal

func (m *QueryInstalledChaincodesResult_Chaincode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodesResult_Chaincode) XXX_Merge

func (*QueryInstalledChaincodesResult_Chaincode) XXX_Size

func (*QueryInstalledChaincodesResult_Chaincode) XXX_Unmarshal

func (m *QueryInstalledChaincodesResult_Chaincode) XXX_Unmarshal(b []byte) error

type QueryInstalledChaincodesResult_InstalledChaincode

type QueryInstalledChaincodesResult_InstalledChaincode struct {
	PackageId            string                                                `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	Label                string                                                `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	References           map[string]*QueryInstalledChaincodesResult_References `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*QueryInstalledChaincodesResult_InstalledChaincode) Descriptor

func (*QueryInstalledChaincodesResult_InstalledChaincode) GetLabel

func (*QueryInstalledChaincodesResult_InstalledChaincode) GetPackageId

func (*QueryInstalledChaincodesResult_InstalledChaincode) GetReferences

func (*QueryInstalledChaincodesResult_InstalledChaincode) ProtoMessage

func (*QueryInstalledChaincodesResult_InstalledChaincode) Reset

func (*QueryInstalledChaincodesResult_InstalledChaincode) String

func (*QueryInstalledChaincodesResult_InstalledChaincode) XXX_DiscardUnknown

func (m *QueryInstalledChaincodesResult_InstalledChaincode) XXX_DiscardUnknown()

func (*QueryInstalledChaincodesResult_InstalledChaincode) XXX_Marshal

func (m *QueryInstalledChaincodesResult_InstalledChaincode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodesResult_InstalledChaincode) XXX_Merge

func (*QueryInstalledChaincodesResult_InstalledChaincode) XXX_Size

func (*QueryInstalledChaincodesResult_InstalledChaincode) XXX_Unmarshal

type QueryInstalledChaincodesResult_References

type QueryInstalledChaincodesResult_References struct {
	Chaincodes           []*QueryInstalledChaincodesResult_Chaincode `protobuf:"bytes,1,rep,name=chaincodes,proto3" json:"chaincodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
	XXX_unrecognized     []byte                                      `json:"-"`
	XXX_sizecache        int32                                       `json:"-"`
}

func (*QueryInstalledChaincodesResult_References) Descriptor

func (*QueryInstalledChaincodesResult_References) Descriptor() ([]byte, []int)

func (*QueryInstalledChaincodesResult_References) GetChaincodes

func (*QueryInstalledChaincodesResult_References) ProtoMessage

func (*QueryInstalledChaincodesResult_References) Reset

func (*QueryInstalledChaincodesResult_References) String

func (*QueryInstalledChaincodesResult_References) XXX_DiscardUnknown

func (m *QueryInstalledChaincodesResult_References) XXX_DiscardUnknown()

func (*QueryInstalledChaincodesResult_References) XXX_Marshal

func (m *QueryInstalledChaincodesResult_References) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryInstalledChaincodesResult_References) XXX_Merge

func (*QueryInstalledChaincodesResult_References) XXX_Size

func (*QueryInstalledChaincodesResult_References) XXX_Unmarshal

type StateData

type StateData struct {
	// Types that are valid to be assigned to Type:
	//	*StateData_Int64
	//	*StateData_Bytes
	//	*StateData_String_
	Type                 isStateData_Type `protobuf_oneof:"Type"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

StateData encodes a particular field of a datatype

func (*StateData) Descriptor

func (*StateData) Descriptor() ([]byte, []int)

func (*StateData) GetBytes

func (m *StateData) GetBytes() []byte

func (*StateData) GetInt64

func (m *StateData) GetInt64() int64

func (*StateData) GetString_

func (m *StateData) GetString_() string

func (*StateData) GetType

func (m *StateData) GetType() isStateData_Type

func (*StateData) ProtoMessage

func (*StateData) ProtoMessage()

func (*StateData) Reset

func (m *StateData) Reset()

func (*StateData) String

func (m *StateData) String() string

func (*StateData) XXX_DiscardUnknown

func (m *StateData) XXX_DiscardUnknown()

func (*StateData) XXX_Marshal

func (m *StateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateData) XXX_Merge

func (m *StateData) XXX_Merge(src proto.Message)

func (*StateData) XXX_OneofWrappers

func (*StateData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StateData) XXX_Size

func (m *StateData) XXX_Size() int

func (*StateData) XXX_Unmarshal

func (m *StateData) XXX_Unmarshal(b []byte) error

type StateData_Bytes

type StateData_Bytes struct {
	Bytes []byte `protobuf:"bytes,2,opt,name=Bytes,proto3,oneof"`
}

type StateData_Int64

type StateData_Int64 struct {
	Int64 int64 `protobuf:"varint,1,opt,name=Int64,proto3,oneof"`
}

type StateData_String_

type StateData_String_ struct {
	String_ string `protobuf:"bytes,3,opt,name=String,proto3,oneof"`
}

type StateMetadata

type StateMetadata struct {
	Datatype             string   `protobuf:"bytes,1,opt,name=datatype,proto3" json:"datatype,omitempty"`
	Fields               []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StateMetadata describes the keys in a namespace. It is necessary because in collections, range scans are not possible during transactions which write. Therefore we must track the keys in our namespace ourselves.

func (*StateMetadata) Descriptor

func (*StateMetadata) Descriptor() ([]byte, []int)

func (*StateMetadata) GetDatatype

func (m *StateMetadata) GetDatatype() string

func (*StateMetadata) GetFields

func (m *StateMetadata) GetFields() []string

func (*StateMetadata) ProtoMessage

func (*StateMetadata) ProtoMessage()

func (*StateMetadata) Reset

func (m *StateMetadata) Reset()

func (*StateMetadata) String

func (m *StateMetadata) String() string

func (*StateMetadata) XXX_DiscardUnknown

func (m *StateMetadata) XXX_DiscardUnknown()

func (*StateMetadata) XXX_Marshal

func (m *StateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateMetadata) XXX_Merge

func (m *StateMetadata) XXX_Merge(src proto.Message)

func (*StateMetadata) XXX_Size

func (m *StateMetadata) XXX_Size() int

func (*StateMetadata) XXX_Unmarshal

func (m *StateMetadata) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL