Documentation ¶
Index ¶
- type Platform
- func (nodePlatform *Platform) GenerateDockerBuild(cds *pb.ChaincodeDeploymentSpec, tw *tar.Writer) error
- func (nodePlatform *Platform) GenerateDockerfile(cds *pb.ChaincodeDeploymentSpec) (string, error)
- func (nodePlatform *Platform) GetDeploymentPayload(spec *pb.ChaincodeSpec) ([]byte, error)
- func (nodePlatform *Platform) GetMetadataProvider(cds *pb.ChaincodeDeploymentSpec) ccmetadata.MetadataProvider
- func (nodePlatform *Platform) ValidateDeploymentSpec(cds *pb.ChaincodeDeploymentSpec) error
- func (nodePlatform *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 chaincodes written in Go
func (*Platform) GenerateDockerBuild ¶
func (*Platform) GenerateDockerfile ¶
func (nodePlatform *Platform) GenerateDockerfile(cds *pb.ChaincodeDeploymentSpec) (string, error)
func (*Platform) GetDeploymentPayload ¶
func (nodePlatform *Platform) GetDeploymentPayload(spec *pb.ChaincodeSpec) ([]byte, error)
Generates a deployment payload by putting source files in src/$file entries in .tar.gz format
func (*Platform) GetMetadataProvider ¶ added in v1.3.0
func (nodePlatform *Platform) GetMetadataProvider(cds *pb.ChaincodeDeploymentSpec) ccmetadata.MetadataProvider
GetMetadataProvider fetches metadata provider given deployment spec
func (*Platform) ValidateDeploymentSpec ¶
func (nodePlatform *Platform) ValidateDeploymentSpec(cds *pb.ChaincodeDeploymentSpec) error
func (*Platform) ValidateSpec ¶
func (nodePlatform *Platform) ValidateSpec(spec *pb.ChaincodeSpec) error
ValidateSpec validates Go chaincodes
Click to show internal directories.
Click to hide internal directories.