java

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 15 Imported by: 623

Documentation

Overview

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(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 added in v1.2.0

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

GetMetadataProvider fetches metadata provider given deployment spec

func (*Platform) Name added in v1.3.0

func (javaPlatform *Platform) Name() string

Name returns the name of this platform

func (*Platform) ValidateCodePackage added in v1.3.0

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

func (*Platform) ValidatePath added in v1.3.0

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