Versions in this module Expand all Collapse all v2 v2.3.2 Nov 21, 2021 Changes in this version + const TLSClientCertFile + const TLSClientCertPath + const TLSClientKeyFile + const TLSClientKeyPath + const TLSClientRootCertFile + type BuildMetrics struct + ChaincodeImageBuildDuration metrics.Histogram + func NewBuildMetrics(p metrics.Provider) *BuildMetrics + type ContainerInstance struct + CCID string + DockerVM *DockerVM + Type string + func (ci *ContainerInstance) ChaincodeServerInfo() (*ccintf.ChaincodeServerInfo, error) + func (ci *ContainerInstance) Start(peerConnection *ccintf.PeerConnection) error + func (ci *ContainerInstance) Stop() error + func (ci *ContainerInstance) Wait() (int, error) + type DockerVM struct + AttachStdOut bool + BuildMetrics *BuildMetrics + ChaincodePull bool + Client dockerClient + HostConfig *docker.HostConfig + LoggingEnv []string + MSPID string + NetworkID string + NetworkMode string + PeerID string + PlatformBuilder PlatformBuilder + func (vm *DockerVM) Build(ccid string, metadata *persistence.ChaincodePackageMetadata, ...) (container.Instance, error) + func (vm *DockerVM) GetArgs(ccType string, peerAddress string) ([]string, error) + func (vm *DockerVM) GetEnv(ccid string, tlsConfig *ccintf.TLSConfig) []string + func (vm *DockerVM) GetVMName(ccid string) string + func (vm *DockerVM) GetVMNameForDocker(ccid string) (string, error) + func (vm *DockerVM) HealthCheck(ctx context.Context) error + func (vm *DockerVM) Start(ccid string, ccType string, peerConnection *ccintf.PeerConnection) error + func (vm *DockerVM) Stop(ccid string) error + func (vm *DockerVM) Wait(ccid string) (int, error) + type PlatformBuilder interface + GenerateDockerBuild func(ccType, path string, codePackage io.Reader) (io.Reader, error) Other modules containing this package github.com/waszqt/fabric