node

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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(path string, code []byte, tw *tar.Writer) error

func (*Platform) GenerateDockerfile

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

func (*Platform) GetDeploymentPayload

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

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

func (*Platform) GetMetadataProvider added in v1.2.0

func (nodePlatform *Platform) GetMetadataProvider(code []byte) platforms.MetadataProvider

GetMetadataProvider fetches metadata provider given deployment spec

func (*Platform) Name added in v1.3.0

func (nodePlatform *Platform) Name() string

Name returns the name of this platform

func (*Platform) ValidateCodePackage added in v1.3.0

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

func (*Platform) ValidatePath added in v1.3.0

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