package
0.1.0
Repository: https://github.com/openblockchain/obc-peer.git
Documentation: pkg.go.dev

# Functions

GetChaincodePackageBytes creates bytes for docker container generation using the supplied chaincode specification.
GetVMFromName generates the docker image from peer information given the hashcode.
NewVM creates a new VM instance.
SetupTestConfig setup the config during test execution.
SetupTestLogging setup the logging during test execution.
VMCProcess should be used as follows .

# Constants

constants for supported containers.

# Structs

Config the config wrapper structure.
CreateImageReq - properties for creating an container image.
StartImageReq - properties for starting a container.
StopImageReq - properties for stopping a container.
VM implemenation of VM management functionality.
VMController - manages VMs .
VMCResp - response from requests.

# Interfaces

VMCReqIntf - all requests should implement this interface.The context should be passed and tested at each layer till we stopnote that we'd stop on the first method on the stack that does nottake context.