Documentation ¶
Index ¶
- type MetadataProvider
- type Platform
- func (carPlatform *Platform) GenerateDockerBuild(path string, code []byte, tw *tar.Writer) error
- func (carPlatform *Platform) GenerateDockerfile() (string, error)
- func (carPlatform *Platform) GetDeploymentPayload(path string) ([]byte, error)
- func (carPlatform *Platform) GetMetadataProvider(code []byte) platforms.MetadataProvider
- func (carPlatform *Platform) Name() string
- func (carPlatform *Platform) ValidateCodePackage(codePackage []byte) error
- func (carPlatform *Platform) ValidatePath(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataProvider ¶
type MetadataProvider struct { }
元数据提供程序提供元数据
func (*MetadataProvider) GetMetadataAsTarEntries ¶
func (carMetadataProv *MetadataProvider) GetMetadataAsTarEntries() ([]byte, error)
getmetadataastarentries从chaincodedeploymentspec中提取metata数据
type Platform ¶
type Platform struct { }
轿厢类型平台
func (*Platform) GenerateDockerBuild ¶
func (*Platform) GenerateDockerfile ¶
func (*Platform) GetDeploymentPayload ¶
func (*Platform) GetMetadataProvider ¶
func (carPlatform *Platform) GetMetadataProvider(code []byte) platforms.MetadataProvider
GetMetadataProvider获取给定部署规范的元数据提供程序
func (*Platform) ValidateCodePackage ¶
func (*Platform) ValidatePath ¶
validatePath验证汽车类型要满足的链码路径 平台接口。此链码类型当前没有 需要任何特定的内容,所以我们只是隐式地批准任何规范
Click to show internal directories.
Click to hide internal directories.