Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crocuda/virshle
/ functions
Functions
552 in github.com/crocuda/virshle
⨍
Functions
552
◇
Types & classes
192
Method
close
* No need to close a stream as it is dropped once variable gets out of scope. */
virshle_network/src/connection/socket.rs:47
Method
close
(&mut self)
virshle_network/src/connection/mod.rs:84
Method
close
* No need to close a stream as it is dropped once variable gets out of scope. */
virshle_network/src/connection/tcp.rs:36
Method
close
(&mut self)
virshle_network/src/connection/ssh.rs:43
Function
connect_to_db
()
virshle_core/src/database/connect.rs:59
Function
create
(name: &str)
virshle_core/src/network/ip/macvtap.rs:66
Method
create
Create vm record and persist into database.
virshle_core/src/hypervisor/vm/database.rs:154
Method
create_all
(&self)
virshle_core/src/hypervisor/vm/networks.rs:68
Method
create_all
(&self)
virshle_core/src/config/template/mod.rs:47
Function
create_db
()
virshle_migration/src/create_table.rs:150
Method
create_one
(&self, name: &str)
virshle_core/src/hypervisor/vm/networks.rs:53
Function
create_ovs_bridge
()
virshle_core/src/network/ovs/request.rs:300
Function
create_ovs_port
()
virshle_core/src/network/ovs/request.rs:274
Function
crud_vm
()
virshle_rest/src/client/tests.rs:77
Method
database
()
virshle_core/src/hypervisor/vm/database.rs:27
Method
database
()
virshle_core/src/config/user_data.rs:43
Method
debug_path
()
virshle_core/src/config/load.rs:83
Method
default
()
virshle_core/src/hypervisor/vm/mod.rs:68
Method
default
()
virshle_core/src/config/mod.rs:58
Method
default
()
virshle_core/src/config/dhcp.rs:39
Method
default
()
virshle_core/src/config/node.rs:25
Method
default
()
virshle_network/src/connection/uri.rs:47
Function
default_dhcp_cli
()
virshle_core/src/network/dhcp/kea/types.rs:218
Method
default_with_keys
()
virshle_core/src/config/node.rs:101
Method
delete
(&mut self)
virshle_core/src/hypervisor/vm/crud.rs:74
Method
delete
Remove Vm record from database.
virshle_core/src/hypervisor/vm/database.rs:193
Method
delete_leases
(&self, vm_name: &str)
virshle_core/src/network/dhcp/kea_old.rs:218
Method
delete_leases
(vm_id: i32)
virshle_core/src/network/dhcp/fake.rs:51
Method
delete_one
Remove network <name> from host (and ovs configuration).
virshle_core/src/hypervisor/vm/networks.rs:117
Function
delete_ovs_bridge
()
virshle_core/src/network/ovs/request.rs:306
Function
delete_ovs_port
()
virshle_core/src/network/ovs/request.rs:287
Function
delete_vm
#[tokio::test]
virshle_core/src/hypervisor/vm/mod.rs:178
Method
did
Convert peer public key into relatively human readable string. See radicle/heartwood crates for indepth functionning.
virshle_core/src/peer/mod.rs:33
Method
display
( item: &(Peer, (ConnectionState, Option<NodeInfo>)), )
virshle_core/src/peer/display.rs:59
Method
display
(items: &Vec<Self>)
virshle_core/src/hypervisor/vm/display.rs:110
Method
display
(&self)
virshle_network/src/connection/mod.rs:124
Function
display_account_uuid
(uuid: &Option<Uuid>)
virshle_core/src/utils/display.rs:117
Method
display_age
(&self)
virshle_core/src/hypervisor/vm/display.rs:53
Method
display_by_peer
Display vms by peer with table header.
virshle_core/src/hypervisor/vm/display.rs:98
Method
display_by_peers
(items: IndexMap<Peer, Vec<Self>>)
virshle_core/src/config/template/vm.rs:55
Method
display_cpu_percentage_reserved
(percentage: &f64)
virshle_core/src/peer/display.rs:119
Method
display_disk_percentage_reserved
(percentage: &f64)
virshle_core/src/peer/display.rs:465
Method
display_disk_percentage_used
(percentage: &f64)
virshle_core/src/peer/display.rs:486
Function
display_id
(id: &Option<u64>)
virshle_core/src/utils/display.rs:110
Function
display_ips
(ips: &Option<Vec<IpAddr>>)
virshle_core/src/utils/display.rs:101
Method
display_many
( items: IndexMap<Peer, (ConnectionState, Option<NodeInfo>)>, )
virshle_core/src/peer/display.rs:44
Function
display_mock
()
virshle_core/src/peer/display.rs:631
Function
display_mock
()
virshle_core/src/hypervisor/vm/display.rs:174
Method
display_ram_percentage_reserved
(percentage: &f64)
virshle_core/src/peer/display.rs:200
Method
display_ram_percentage_used
(percentage: &f64)
virshle_core/src/peer/display.rs:220
Function
display_some_bool
(b: &Option<bool>)
virshle_core/src/utils/display.rs:81
Function
display_some_bytes
Convert from B.
virshle_core/src/utils/display.rs:56
Method
display_some_cpu_percentage_reserved
(percentage: &Option<f64>)
virshle_core/src/peer/display.rs:112
Method
display_some_cpu_reserved
(num: &Option<u64>, percentage: &Option<f64>)
virshle_core/src/peer/display.rs:133
Function
display_some_datetime
(date: &Option<NaiveDateTime>)
virshle_core/src/utils/display.rs:89
Method
display_some_disk_percentage_reserved
(percentage: &Option<f64>)
virshle_core/src/peer/display.rs:458
Method
display_some_disk_percentage_used
(percentage: &Option<f64>)
virshle_core/src/peer/display.rs:479
Method
display_some_disk_reserved
(num: &Option<u64>, percentage: &Option<f64>)
virshle_core/src/peer/display.rs:471
Method
display_some_disk_used
(num: &Option<u64>, percentage: &Option<f64>)
virshle_core/src/peer/display.rs:492
Function
display_some_num
(num: &Option<u64>)
virshle_core/src/utils/display.rs:74
Function
display_some_percentage_used
(percentage: &Option<f64>)
virshle_core/src/utils/display.rs:158
Method
display_some_ram_percentage_reserved
(percentage: &Option<f64>)
virshle_core/src/peer/display.rs:193
Method
display_some_ram_percentage_used
(percentage: &Option<f64>)
virshle_core/src/peer/display.rs:213
Method
display_some_ram_reserved
(num: &Option<u64>, percentage: &Option<f64>)
virshle_core/src/peer/display.rs:205
Method
display_some_ram_used
(num: &Option<u64>, percentage: &Option<f64>)
virshle_core/src/peer/display.rs:225
Method
display_some_vec
(disks: &Option<Vec<DiskInfo>>)
virshle_core/src/hypervisor/disk/info.rs:55
Method
display_some_vec_short
(disks: &Option<Vec<DiskInfo>>)
virshle_core/src/hypervisor/disk/info.rs:74
Function
display_vm_to_toml
()
virshle_core/src/hypervisor/vm/from.rs:141
Function
display_vram
Convert cloud-hypervisor ram from MiB.
virshle_core/src/utils/display.rs:69
Method
display_w_header
(items: Vec<Self>, header: &str)
virshle_core/src/peer/display.rs:602
Method
display_w_header
(items: &Vec<Self>, header: &str)
virshle_core/src/hypervisor/vm/display.rs:105
Method
display_w_header
(items: Vec<Self>, header: &str)
virshle_core/src/config/template/vm.rs:242
Method
domain_name
( &self, suffix: Option<String>, vm_name: &str, )
virshle_core/src/network/dhcp/lease.rs:51
Method
down
(&self, manager: &SchemaManager)
virshle_migration/src/create_table.rs:98
Function
ensure_cache_dir
()
virshle_core/src/cache.rs:9
Method
ensure_networks
(&mut self)
virshle_core/src/hypervisor/vmm/api.rs:61
Function
extract_hostname_from_lease
()
virshle_core/src/network/dhcp/kea_old.rs:388
Function
extract_hostname_from_lease
()
virshle_core/src/network/dhcp/lease.rs:78
Function
fetch_ips
()
virshle_core/src/hypervisor/vm/getters.rs:169
Function
fetch_many
()
virshle_core/src/hypervisor/vm/getters.rs:146
Function
fetch_one_info
()
virshle_core/src/hypervisor/vm/getters.rs:152
Function
fetch_one_ips
()
virshle_core/src/hypervisor/vm/networks.rs:247
Method
filter_by_state
(vms: Vec<Vm>, state: &VmState)
virshle_core/src/hypervisor/vm/database.rs:137
Function
find_by_id
()
virshle_core/src/hypervisor/vm/getters.rs:188
Function
find_by_name
()
virshle_core/src/hypervisor/vm/getters.rs:206
Function
find_by_uuid
()
virshle_core/src/hypervisor/vm/getters.rs:197
Method
fmt
(&self, f: &mut fmt::Formatter)
virshle_core/src/network/ovs/translate.rs:235
Method
fmt
(&self, f: &mut fmt::Formatter)
virshle_core/src/config/template/vm.rs:190
Method
fmt
(&self, f: &mut fmt::Formatter)
virshle_network/src/connection/uri.rs:29
Method
from
(e: &(Peer, (ConnectionState, Option<NodeInfo>)))
virshle_core/src/peer/display.rs:75
Method
from
(e: &Disk)
virshle_core/src/hypervisor/vmm/types.rs:125
Method
from
(e: &InitDisk)
virshle_core/src/hypervisor/disk/mod.rs:57
Method
from
(e: &Disk)
virshle_core/src/hypervisor/disk/info.rs:34
Method
from
(vm: &Vm)
virshle_core/src/hypervisor/vm/display.rs:64
Method
from_file
* Create a vm from a file containing a Toml definition. */
virshle_core/src/hypervisor/vm/from.rs:97
Method
from_file
(file_path: &str)
virshle_core/src/config/definition.rs:14
Method
from_file
(path: &str)
virshle_core/src/config/load.rs:135
Method
from_file
(file_path: &str)
virshle_core/src/config/template/mod.rs:32
Method
from_file
(file_path: &str)
virshle_core/src/config/template/vm.rs:38
Method
from_str
(s: &str)
virshle_core/src/network/interface.rs:28
← previous
next →
301–400 of 552, ranked by callers