golang

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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 added in v1.0.0

func (goPlatform *Platform) GenerateDockerBuild(cds *pb.ChaincodeDeploymentSpec, tw *tar.Writer) error

func (*Platform) GenerateDockerfile

func (goPlatform *Platform) GenerateDockerfile(cds *pb.ChaincodeDeploymentSpec) (string, error)

func (*Platform) GetDeploymentPayload

func (goPlatform *Platform) GetDeploymentPayload(spec *pb.ChaincodeSpec) ([]byte, error)

WritePackage writes the Go chaincode package

func (*Platform) ValidateDeploymentSpec added in v1.0.0

func (goPlatform *Platform) ValidateDeploymentSpec(cds *pb.ChaincodeDeploymentSpec) error

func (*Platform) ValidateSpec added in v1.0.0

func (goPlatform *Platform) ValidateSpec(spec *pb.ChaincodeSpec) error

ValidateSpec validates Go chaincodes

Jump to

Keyboard shortcuts

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