Documentation ¶
Overview ¶
Copyright DTCC 2016 All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Copyright DTCC 2016 All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Copyright DTCC 2016 All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
- type Platform
- func (javaPlatform *Platform) GenerateDockerBuild(cds *pb.ChaincodeDeploymentSpec, tw *tar.Writer) error
- func (javaPlatform *Platform) GenerateDockerfile(cds *pb.ChaincodeDeploymentSpec) (string, error)
- func (javaPlatform *Platform) GetDeploymentPayload(spec *pb.ChaincodeSpec) ([]byte, error)
- func (javaPlatform *Platform) GetMetadataProvider(cds *pb.ChaincodeDeploymentSpec) ccmetadata.MetadataProvider
- func (javaPlatform *Platform) ValidateDeploymentSpec(cds *pb.ChaincodeDeploymentSpec) error
- func (javaPlatform *Platform) ValidateSpec(spec *pb.ChaincodeSpec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform struct { }
Platform for java chaincodes in java
func (*Platform) GenerateDockerBuild ¶
func (*Platform) GenerateDockerfile ¶
func (javaPlatform *Platform) GenerateDockerfile(cds *pb.ChaincodeDeploymentSpec) (string, error)
func (*Platform) GetDeploymentPayload ¶
func (javaPlatform *Platform) GetDeploymentPayload(spec *pb.ChaincodeSpec) ([]byte, error)
WritePackage writes the java chaincode package
func (*Platform) GetMetadataProvider ¶ added in v1.3.0
func (javaPlatform *Platform) GetMetadataProvider(cds *pb.ChaincodeDeploymentSpec) ccmetadata.MetadataProvider
GetMetadataProvider fetches metadata provider given deployment spec
func (*Platform) ValidateDeploymentSpec ¶
func (javaPlatform *Platform) ValidateDeploymentSpec(cds *pb.ChaincodeDeploymentSpec) error
func (*Platform) ValidateSpec ¶
func (javaPlatform *Platform) ValidateSpec(spec *pb.ChaincodeSpec) error
ValidateSpec validates the java chaincode specs
Click to show internal directories.
Click to hide internal directories.