Documentation
¶
Index ¶
- type Vmm
- func (v *Vmm) Apply(m schema.Meta)
- func (v *Vmm) BalanceOf(accid string) (*big.Int, error)
- func (v *Vmm) Checkpoint(pid string) (snap schema.Snapshot, err error)
- func (v *Vmm) Close()
- func (v *Vmm) GetModuleNames() (names []string)
- func (v *Vmm) GetNode(accid string) (*registrySchema.Node, error)
- func (v *Vmm) GetNodes() (map[string]registrySchema.Node, error)
- func (v *Vmm) GetNodesByProcess(pid string) ([]registrySchema.Node, error)
- func (v *Vmm) GetProcesses(accid string) ([]string, error)
- func (v *Vmm) GetVm(pid string) (vm schema.Vm, env *schema.Env, err error)
- func (v *Vmm) GetVmCount() int64
- func (v *Vmm) GetVmPids() (pids []string)
- func (v *Vmm) IsExists(pid string) (ok bool)
- func (v *Vmm) IsRecovering(pid string) bool
- func (v *Vmm) Kill(pid string) (err error)
- func (v *Vmm) KillAll()
- func (v *Vmm) Mount(moduleFormat string, spawner schema.VmSpawnFunc) error
- func (v *Vmm) RecoveryLock(pid string)
- func (v *Vmm) RecoveryUnlock(pid string)
- func (v *Vmm) RegistryId() string
- func (v *Vmm) Restore(snap schema.Snapshot) error
- func (v *Vmm) Run()
- func (v *Vmm) Spawn(meta schema.Meta, process hySchema.Process, module hySchema.Module) (err error)
- func (v *Vmm) StakeOf(accid string) (*big.Int, error)
- func (v *Vmm) TokenId() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vmm ¶
type Vmm struct {
// contains filtered or unexported fields
}
VirtualMachine Management
func (*Vmm) GetModuleNames ¶ added in v0.1.3
func (*Vmm) GetNodesByProcess ¶
func (v *Vmm) GetNodesByProcess(pid string) ([]registrySchema.Node, error)
func (*Vmm) GetVmCount ¶ added in v0.1.3
func (*Vmm) IsRecovering ¶
func (*Vmm) RecoveryLock ¶
func (*Vmm) RecoveryUnlock ¶
func (*Vmm) RegistryId ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.