Expand description
§Design Model
Design of the core infrastructure.
Structs§
- Env
- The base unit of TT, stands for a complete workspace for client.
- EnvState
- Info about the state of ENV.
- Snapshot
- Snapshot management.
- Vm
- Infomations about a VM instance.
- VmResource
- Info about the resource of VM.
- VmState
- Info about the state of VM.
- VmTemplate
- Infomations about the template of VM, or in other word, the base image of VM.
Enums§
- NetKind
- Kind of network.
Traits§
- Network
- This trait describes how to manage the network, such as ‘firewall rule’ in the NAT mode.
- Storage
- This trait describes how to manage the ‘runtime image’.
- VmEngine
- Common methods for each engine, such as ‘Firecracker’, ‘Qemu’, ‘Docker’ …
Type Aliases§
- EnvId
- ID alias for ENV.
- Id
- Use
u64to express an ID, e.g. EnvId, VmId … - Inner
Sock Port - Service ports within the VM.
- IpAddr
- Inner IP(v4) address of VM.
- MacAddr
- MAC address of VM.
- NetAddr
- Use
Stringto express a network address, in the the perspective of the client, see NetAddr. - PubSock
Port - Service ports within the host machine.
- Sock
Port - Use
u16to express a socket port. - VmEngine
Feat - Use
u32as the uint of supported vm-engine-features. - VmId
- ID alias for VM.