java

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Copyright DTCC 2016 All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

Copyright DTCC 2016 All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

Copyright DTCC 2016 All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

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 (javaPlatform *Platform) GenerateDockerBuild(cds *pb.ChaincodeDeploymentSpec, tw *tar.Writer) error

func (*Platform) GenerateDockerfile

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

func (*Platform) GetDeploymentPayload

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

WritePackage writes the java chaincode package

func (*Platform) GetMetadataProvider added in v1.2.0

func (javaPlatform *Platform) GetMetadataProvider(cds *pb.ChaincodeDeploymentSpec) ccmetadata.MetadataProvider

GetMetadataProvider fetches metadata provider given deployment spec

func (*Platform) ValidateDeploymentSpec

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

func (*Platform) ValidateSpec

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

ValidateSpec validates the java chaincode specs

Jump to

Keyboard shortcuts

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