...

Package java

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

Overview ▾

Copyright DTCC 2016 All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

type Platform

Platform for java chaincodes in java

type Platform struct {
}

func (*Platform) GenerateDockerBuild

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

func (*Platform) GenerateDockerfile

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

func (*Platform) GetDeploymentPayload

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

WritePackage writes the java chaincode package

func (*Platform) GetMetadataProvider

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

GetMetadataProvider fetches metadata provider given deployment spec

func (*Platform) Name

func (javaPlatform *Platform) Name() string

Name returns the name of this platform

func (*Platform) ValidateCodePackage

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

func (*Platform) ValidatePath

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

ValidatePath validates the java chaincode paths