java

package
v2.0.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 14 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 java chaincodes in java

func (*Platform) GenerateDockerBuild

func (p *Platform) GenerateDockerBuild(path string, code []byte, tw *tar.Writer) error

func (*Platform) GenerateDockerfile

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

func (*Platform) GetDeploymentPayload

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

WritePackage writes the java chaincode package

func (*Platform) GetMetadataAsTarEntries

func (p *Platform) GetMetadataAsTarEntries(code []byte) ([]byte, error)

GetMetadataProvider fetches metadata provider given deployment spec

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

ValidatePath validates the java chaincode paths

Jump to

Keyboard shortcuts

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