Documentation ¶
Index ¶
- type Platform
- func (p *Platform) GenerateDockerBuild(path string, code []byte, tw *tar.Writer) error
- func (p *Platform) GenerateDockerfile() (string, error)
- func (p *Platform) GetDeploymentPayload(path string) ([]byte, error)
- func (p *Platform) GetMetadataAsTarEntries(code []byte) ([]byte, error)
- func (p *Platform) Name() string
- func (p *Platform) ValidateCodePackage(code []byte) error
- func (p *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 chaincodes written in Go
func (*Platform) GenerateDockerBuild ¶
func (*Platform) GenerateDockerfile ¶
func (*Platform) GetDeploymentPayload ¶
Generates a deployment payload by putting source files in src/$file entries in .tar.gz format
func (*Platform) GetMetadataAsTarEntries ¶
GetMetadataProvider fetches metadata provider given deployment spec
func (*Platform) ValidateCodePackage ¶
func (*Platform) ValidatePath ¶
ValidateSpec validates Go chaincodes
Click to show internal directories.
Click to hide internal directories.