node

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 13 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) DockerBuildOptions

func (p *Platform) DockerBuildOptions(path string) (util.DockerBuildOptions, error)

func (*Platform) GenerateDockerfile

func (p *Platform) GenerateDockerfile() (string, error)

func (*Platform) GetDeploymentPayload

func (p *Platform) GetDeploymentPayload(path string) ([]byte, error)

Generates a deployment payload by putting source files in src/$file entries in .tar.gz format

func (*Platform) Name added in v1.3.0

func (p *Platform) Name() string

Name returns the name of this platform

func (*Platform) ValidateCodePackage added in v1.3.0

func (p *Platform) ValidateCodePackage(code []byte) error

func (*Platform) ValidatePath added in v1.3.0

func (p *Platform) ValidatePath(rawPath string) error

ValidateSpec validates Go chaincodes

Jump to

Keyboard shortcuts

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