Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + func GetChaincodePackageBytes(pr *platforms.Registry, spec *pb.ChaincodeSpec) ([]byte, error) + type Builder interface + Build func() (io.Reader, error) + type ExitedFunc func(exitCode int, err error) + type PlatformBuilder struct + CodePackage []byte + Name string + Path string + PlatformRegistry *platforms.Registry + Type string + Version string + func (b *PlatformBuilder) Build() (io.Reader, error) + type StartContainerReq struct + Args []string + Builder Builder + Env []string + FilesToUpload map[string][]byte + func (si StartContainerReq) Do(v VM) error + func (si StartContainerReq) GetCCID() ccintf.CCID + type StopContainerReq struct + Dontkill bool + Dontremove bool + Timeout uint + func (si StopContainerReq) Do(v VM) error + func (si StopContainerReq) GetCCID() ccintf.CCID + type VM interface + HealthCheck func(context.Context) error + Start func(ccid ccintf.CCID, args []string, env []string, filesToUpload map[string][]byte, ...) error + Stop func(ccid ccintf.CCID, timeout uint, dontkill bool, dontremove bool) error + Wait func(ccid ccintf.CCID) (int, error) + type VMCReq interface + Do func(v VM) error + GetCCID func() ccintf.CCID + type VMController struct + func NewVMController(vmProviders map[string]VMProvider) *VMController + func (vmc *VMController) Process(vmtype string, req VMCReq) error + type VMProvider interface + NewVM func() VM + type WaitContainerReq struct + CCID ccintf.CCID + Exited ExitedFunc + func (w WaitContainerReq) Do(v VM) error + func (w WaitContainerReq) GetCCID() ccintf.CCID