Documentation
      ¶
    
    
  
    
  
    Index ¶
- type CodeDescriptor
 - type Env
 - type Paths
 - type Platform
 - func (goPlatform *Platform) GenerateDockerBuild(path string, code []byte, tw *tar.Writer) error
 - func (goPlatform *Platform) GenerateDockerfile() (string, error)
 - func (goPlatform *Platform) GetDeploymentPayload(path string) ([]byte, error)
 - func (goPlatform *Platform) GetMetadataProvider(code []byte) platforms.MetadataProvider
 - func (goPlatform *Platform) Name() string
 - func (goPlatform *Platform) ValidateCodePackage(code []byte) error
 - func (goPlatform *Platform) ValidatePath(rawPath string) error
 
- type SourceDescriptor
 - type SourceMap
 - type Sources
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeDescriptor ¶
type CodeDescriptor struct {
	Gopath, Pkg string
	Cleanup     func()
}
    type Platform ¶
type Platform struct {
}
    Platform for chaincodes written in Go
func (*Platform) GenerateDockerBuild ¶
func (*Platform) GenerateDockerfile ¶
func (*Platform) GetDeploymentPayload ¶
Generates a deployment payload for GOLANG as a series of src/$pkg entries in .tar.gz format
func (*Platform) GetMetadataProvider ¶ added in v1.2.1
func (goPlatform *Platform) GetMetadataProvider(code []byte) platforms.MetadataProvider
GetMetadataProvider fetches metadata provider given deployment spec
func (*Platform) ValidateCodePackage ¶ added in v1.3.0
func (*Platform) ValidatePath ¶ added in v1.3.0
ValidateSpec validates Go chaincodes
type SourceDescriptor ¶
type SourceMap ¶
type SourceMap map[string]SourceDescriptor
 Click to show internal directories. 
   Click to hide internal directories.