Documentation ¶
Index ¶
- type Platform
- func (p *Platform) DockerBuildOptions(path string) (util.DockerBuildOptions, error)
- func (p *Platform) GenerateDockerfile() (string, error)
- func (p *Platform) GetDeploymentPayload(path string) ([]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) DockerBuildOptions ¶
func (p *Platform) DockerBuildOptions(path string) (util.DockerBuildOptions, error)
func (*Platform) GetDeploymentPayload ¶
Generates a deployment payload by putting source files in src/$file entries in .tar.gz format
func (*Platform) Name ¶ added in v1.3.0
Name returns the name of this platform
func (*Platform) ValidateCodePackage ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.