inproccontroller

package
v0.0.0-...-95b87ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ContainerType = "SYSTEM"

Variables

This section is empty.

Functions

This section is empty.

Types

type InprocVM

type InprocVM struct {
	// contains filtered or unexported fields
}

func (*InprocVM) GetVMName

func (vm *InprocVM) GetVMName(ccid ccintf.CCID) string

func (*InprocVM) HealthCheck

func (vm *InprocVM) HealthCheck(ctx context.Context) error

func (*InprocVM) Start

func (vm *InprocVM) Start(ccid ccintf.CCID, args []string, env []string, filesToUpload map[string][]byte, builder container.Builder) error

func (*InprocVM) Stop

func (vm *InprocVM) Stop(ccid ccintf.CCID, timeout uint, dontkill bool, dontremove bool) error

func (*InprocVM) Wait

func (vm *InprocVM) Wait(ccid ccintf.CCID) (int, error)

type Registry

type Registry struct {
	ChaincodeSupport ccintf.CCSupport
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry() *Registry

func (*Registry) NewVM

func (r *Registry) NewVM() container.VM

func (*Registry) Register

func (r *Registry) Register(ccid ccintf.CCID, cc shim.Chaincode) error

type SendPanicFailure

type SendPanicFailure string

func (SendPanicFailure) Error

func (e SendPanicFailure) Error() string

type SysCCRegisteredErr

type SysCCRegisteredErr string

func (SysCCRegisteredErr) Error

func (s SysCCRegisteredErr) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL