Documentation ¶
Index ¶
- type CodeDescriptor
- type Env
- type Paths
- type Platform
- func (goPlatform *Platform) GenerateDockerBuild(cds *pb.ChaincodeDeploymentSpec, tw *tar.Writer) error
- func (goPlatform *Platform) GenerateDockerfile(cds *pb.ChaincodeDeploymentSpec) (string, error)
- func (goPlatform *Platform) GetDeploymentPayload(spec *pb.ChaincodeSpec) ([]byte, error)
- func (goPlatform *Platform) ValidateDeploymentSpec(cds *pb.ChaincodeDeploymentSpec) error
- func (goPlatform *Platform) ValidateSpec(spec *pb.ChaincodeSpec) error
- type SourceDescriptor
- type SourceMap
- type Sources
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 (goPlatform *Platform) GenerateDockerfile(cds *pb.ChaincodeDeploymentSpec) (string, error)
func (*Platform) GetDeploymentPayload ¶
func (goPlatform *Platform) GetDeploymentPayload(spec *pb.ChaincodeSpec) ([]byte, error)
Generates a deployment payload for GOLANG as a series of src/$pkg entries in .tar.gz format
func (*Platform) ValidateDeploymentSpec ¶
func (goPlatform *Platform) ValidateDeploymentSpec(cds *pb.ChaincodeDeploymentSpec) error
func (*Platform) ValidateSpec ¶
func (goPlatform *Platform) ValidateSpec(spec *pb.ChaincodeSpec) error
ValidateSpec validates Go chaincodes
type SourceDescriptor ¶
type SourceMap ¶
type SourceMap map[string]SourceDescriptor
Click to show internal directories.
Click to hide internal directories.