node

package
v1.1.0-preview Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: Apache-2.0 Imports: 14 Imported by: 562

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

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

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) ValidateDeploymentSpec

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

func (*Platform) ValidateSpec

func (nodePlatform *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