Documentation ¶
Overview ¶
Copyright DTCC 2016 All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
- type Platform
- func (javaPlatform *Platform) GenerateDockerBuild(path string, code []byte, tw *tar.Writer) error
- func (javaPlatform *Platform) GenerateDockerfile() (string, error)
- func (javaPlatform *Platform) GetDeploymentPayload(path string) ([]byte, error)
- func (javaPlatform *Platform) GetMetadataProvider(code []byte) platforms.MetadataProvider
- func (javaPlatform *Platform) Name() string
- func (javaPlatform *Platform) ValidateCodePackage(code []byte) error
- func (javaPlatform *Platform) ValidatePath(rawPath string) error
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 ¶ added in v1.0.0
func (*Platform) GenerateDockerfile ¶
func (*Platform) GetDeploymentPayload ¶
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) ValidateCodePackage ¶
func (*Platform) ValidatePath ¶
ValidatePath validates the java chaincode paths
Click to show internal directories.
Click to hide internal directories.