Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildReq ¶
type ChaincodeBuilder ¶
type ExitedFunc ¶
type PackageProvider ¶
type PackageProvider interface {
GetChaincodePackage(packageID string) (*persistence.ChaincodePackageMetadata, io.ReadCloser, error)
}
type Router ¶
type Router struct { ExternalVM VM DockerVM VM PackageProvider PackageProvider // contains filtered or unexported fields }
type StartContainerReq ¶
type StartContainerReq struct { ccintf.CCID Args []string Env []string FilesToUpload map[string][]byte }
func (StartContainerReq) Do ¶
func (si StartContainerReq) Do(v VM) error
func (StartContainerReq) GetCCID ¶
func (si StartContainerReq) GetCCID() ccintf.CCID
type StopContainerReq ¶
func (StopContainerReq) Do ¶
func (si StopContainerReq) Do(v VM) error
func (StopContainerReq) GetCCID ¶
func (si StopContainerReq) GetCCID() ccintf.CCID
type UninitializedInstance ¶
type UninitializedInstance struct{}
func (UninitializedInstance) Start ¶
func (UninitializedInstance) Start(peerConnection *ccintf.PeerConnection) error
func (UninitializedInstance) Stop ¶
func (UninitializedInstance) Stop() error
func (UninitializedInstance) Wait ¶
func (UninitializedInstance) Wait() (int, error)
type VMController ¶
func NewVMController ¶
func NewVMController(vmProviders map[string]VMProvider) *VMController
type VMProvider ¶
type VMProvider interface {
NewVM() VM
}
type WaitContainerReq ¶
type WaitContainerReq struct { CCID ccintf.CCID Exited ExitedFunc }
func (WaitContainerReq) Do ¶
func (w WaitContainerReq) Do(v VM) error
func (WaitContainerReq) GetCCID ¶
func (w WaitContainerReq) GetCCID() ccintf.CCID
Click to show internal directories.
Click to hide internal directories.