fabric: github.com/hyperledger/fabric/core/chaincode/platforms/java Index | Files

package java

import "github.com/hyperledger/fabric/core/chaincode/platforms/java"

Copyright DTCC 2016 All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

Index

Package Files

platform.go

type Platform Uses

type Platform struct {
}

Platform for java chaincodes in java

func (*Platform) GenerateDockerBuild Uses

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

func (*Platform) GenerateDockerfile Uses

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

func (*Platform) GetDeploymentPayload Uses

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

WritePackage writes the java chaincode package

func (*Platform) GetMetadataProvider Uses

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

GetMetadataProvider fetches metadata provider given deployment spec

func (*Platform) Name Uses

func (javaPlatform *Platform) Name() string

Name returns the name of this platform

func (*Platform) ValidateCodePackage Uses

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

func (*Platform) ValidatePath Uses

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

ValidatePath validates the java chaincode paths

Package java imports 15 packages (graph) and is imported by 26 packages. Updated 2018-12-11. Refresh now. Tools for package owners.