Versions in this module Expand all Collapse all v1 v1.4.10 Dec 9, 2020 Changes in this version + const ContainerType + type BuildMetrics struct + ChaincodeImageBuildDuration metrics.Histogram + func NewBuildMetrics(p metrics.Provider) *BuildMetrics + type DockerVM struct + BuildMetrics *BuildMetrics + NetworkID string + PeerID string + func NewDockerVM(peerID, networkID string, buildMetrics *BuildMetrics) *DockerVM + func (vm *DockerVM) GetVMName(ccid ccintf.CCID) string + func (vm *DockerVM) GetVMNameForDocker(ccid ccintf.CCID) (string, error) + func (vm *DockerVM) HealthCheck(ctx context.Context) error + func (vm *DockerVM) Start(ccid ccintf.CCID, args, env []string, filesToUpload map[string][]byte, ...) error + func (vm *DockerVM) Stop(ccid ccintf.CCID, timeout uint, dontkill bool, dontremove bool) error + func (vm *DockerVM) Wait(ccid ccintf.CCID) (int, error) + type Provider struct + BuildMetrics *BuildMetrics + NetworkID string + PeerID string + func NewProvider(peerID, networkID string, metricsProvider metrics.Provider) *Provider + func (p *Provider) NewVM() container.VM