Documentation
¶
Overview ¶
Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0
Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶ added in v0.4.0
type Log struct {
Message string
ComputationId string
Level string
Timestamp *timestamppb.Timestamp
}
type StateMachine ¶ added in v0.4.0
type StateMachine interface {
Transition(newState manager.ManagerState) error
State() string
}
func NewStateMachine ¶ added in v0.4.0
func NewStateMachine() StateMachine
type VM ¶
type VM interface {
Start() error
Stop() error
SendAgentConfig(ac agent.Computation) error
SetProcess(pid int) error
GetProcess() int
GetCID() int
Transition(newState pkgmanager.ManagerState) error
State() string
GetConfig() interface{}
}
VM represents a virtual machine.
Click to show internal directories.
Click to hide internal directories.