MCPcopy Create free account

hub / github.com/crocuda/virshle / functions

Functions552 in github.com/crocuda/virshle

↓ 107 callersMethodexec
(&self)
virshle_core/src/network/ovs/request.rs:107
↓ 101 callersMethodbuild
(&mut self)
virshle_core/src/network/ovs/request.rs:82
↓ 70 callersMethodto_string
(&self)
virshle_core/src/network/ovs/request.rs:35
↓ 44 callersFunctiondefault
Format a Vec<T> to Table.
virshle_core/src/utils/display.rs:23
↓ 39 callersMethodinto
(self)
virshle_core/src/config/dhcp.rs:20
↓ 35 callersMethodinto
(self)
virshle_core/src/network/dhcp/kea/types.rs:113
↓ 33 callersMethodget
()
virshle_core/src/peer/info.rs:26
↓ 31 callersMethodvm
(&mut self)
virshle_rest/src/client/methods.rs:87
↓ 30 callersMethodapi
(&self)
virshle_rest/src/server/methods.rs:38
↓ 27 callersMethodvmm
(&self)
virshle_core/src/hypervisor/vmm/mod.rs:27
↓ 25 callersMethodapi
(&self)
virshle_core/src/hypervisor/vmm/api.rs:96
↓ 24 callersMethodmany
( &self, vm_state: Option<VmState>, account_uuid: Option<Uuid>, )
virshle_core/src/hypervisor/vm/database.rs:95
↓ 24 callersMethodto_value
(self)
virshle_network/src/http/response.rs:44
↓ 22 callersMethodget
(&mut self)
virshle_rest/src/client/methods.rs:308
↓ 22 callersMethodget
(&self)
virshle_rest/src/server/methods.rs:151
↓ 22 callersMethodopen
* Open connection to node and return handler. */
virshle_core/src/peer/mod.rs:94
↓ 21 callersMethodrun
()
virshle_cli/src/lib.rs:34
↓ 20 callersMethodpeer
(&mut self)
virshle_rest/src/client/methods.rs:81
↓ 20 callersMethodto_string
(self)
virshle_network/src/http/response.rs:38
↓ 19 callersMethodping
(&mut self, alias: Option<String>)
virshle_rest/src/client/methods.rs:138
↓ 19 callersMethodvm
(&self)
virshle_rest/src/server/methods.rs:64
↓ 18 callersMethodone
( &self, id: Option<u64>, name: Option<String>, uuid: Option<Uuid>, )
virshle_rest/src/server/methods.rs:158
↓ 17 callersMethodapi
Retrieves working nodes from configuration and return a rest api convenience helper.
virshle_rest/src/client/methods.rs:29
↓ 16 callersMethodinto
(self)
virshle_network/src/http/mod.rs:349
↓ 16 callersFunctiontracer
( verbosity: tracing::Level, /// Wether sqlite database logs should be enabled db: Option<bool>,
virshle_core/src/utils/testing.rs:20
↓ 15 callersMethodinto
(self)
virshle_core/src/hypervisor/vm/init.rs:49
↓ 14 callersMethoddb
(&mut self)
virshle_core/src/config/user_data.rs:39
↓ 14 callersFunctionexec
(cmd: &str)
virshle_cli/src/tests.rs:7
↓ 14 callersMethodone
( &mut self, id: Option<u64>, uuid: Option<Uuid>, name: Option<String>,
virshle_rest/src/client/methods.rs:640
↓ 14 callersMethodpost
(&mut self, endpoint: &str, body: Option<T>)
virshle_network/src/http/mod.rs:232
↓ 13 callersMethodalias_or_default
( &mut self, alias: Option<String>, )
virshle_rest/src/client/methods.rs:356
↓ 13 callersFunctioncreate
(name: &str)
virshle_core/src/network/ip/tap.rs:26
↓ 13 callersMethodpeer
(&self, alias: Option<String>)
virshle_core/src/config/mod.rs:90
↓ 12 callersMethodone
( &self, id: Option<u64>, name: Option<String>, uuid: Option<Uuid>, )
virshle_core/src/hypervisor/vm/database.rs:43
↓ 11 callersMethodping
If we can't establish connection to socket, this means cloud-hypervisor is dead. We should start a new viable process.
virshle_core/src/hypervisor/vmm/api.rs:117
↓ 11 callersMethodput
(&mut self, endpoint: &str, body: Option<T>)
virshle_network/src/http/mod.rs:253
↓ 11 callersFunctionunix_name
* Shorten an interface name to Unix MAX_LENGTH. * Unix iface can' have names longer than 15 chars. */
virshle_core/src/network/utils.rs:14
↓ 10 callersFunctionconnect_db
()
virshle_core/src/database/connect.rs:22
↓ 10 callersMethodheader
(&self)
virshle_core/src/peer/display.rs:556
↓ 10 callersFunctionhuman_bytes
(num: &u64)
virshle_core/src/hypervisor/disk/utils.rs:19
↓ 10 callersMethodinfo
( &mut self, id: Option<u64>, uuid: Option<Uuid>, name: Option<String>,
virshle_rest/src/client/methods.rs:570
↓ 10 callersMethodone
( &self, uuid: Option<Uuid>, ssh_public_key: Option<String>, )
virshle_core/src/config/user_data.rs:56
↓ 9 callersFunctionexec_cmds
(tag: &str, cmds: Vec<String>)
virshle_core/src/exec/mod.rs:12
↓ 9 callersMethodmany
( &self, state: Option<VmState>, account: Option<Uuid>, )
virshle_rest/src/server/methods.rs:180
↓ 8 callersMethodcreate
(&mut self)
virshle_core/src/network/ovs/request.rs:66
↓ 8 callersMethoddefault
()
virshle_core/src/peer/mod.rs:46
↓ 8 callersFunctionmake_progress_bar
(percentage: &f64, max: Option<f64>)
virshle_core/src/utils/display.rs:125
↓ 8 callersMethodnetworks
(&self)
virshle_core/src/hypervisor/vm/networks.rs:19
↓ 8 callersMethodstate
Return vm state, or the default state if couldn't connect to vm.
virshle_core/src/hypervisor/vmm/api.rs:149
↓ 8 callersFunctionto_json
* Convert ovs-vsctl json responces to sane and readable json. */
virshle_core/src/network/ovs/convert.rs:21
↓ 8 callersFunctionuuid_to_mac
Convert Vm uuid to predictable mac address.
virshle_core/src/network/utils.rs:24
↓ 8 callersMethodvm_name
(&self, suffix: Option<String>)
virshle_core/src/network/dhcp/lease.rs:29
↓ 7 callersMethodlease
(&mut self)
virshle_core/src/network/dhcp/kea/methods.rs:73
↓ 7 callersMethodleases
(&self)
virshle_core/src/hypervisor/vm/networks.rs:170
↓ 7 callersMethodmany
( &mut self, inet6: bool, inet4: bool, vm: Option<Vm>, )
virshle_core/src/network/dhcp/kea/methods.rs:60
↓ 6 callersMethodalias
(&mut self, alias: &str)
virshle_rest/src/client/methods.rs:337
↓ 6 callersMethodcreate
Create the virtual machine process, but do not boot.
virshle_core/src/hypervisor/vmm/api.rs:122
↓ 6 callersMethodget
(&mut self)
virshle_core/src/network/dhcp/kea/methods.rs:48
↓ 6 callersMethodget_state
(&mut self)
virshle_network/src/connection/mod.rs:98
↓ 6 callersFunctionlogger
( verbosity: tracing::Level, /// Wether sqlite database logs should be enabled db: Option<bool>,
virshle_core/src/utils/testing.rs:66
↓ 6 callersMethodnode
(&self)
virshle_rest/src/server/methods.rs:55
↓ 6 callersMethodtemplate
(&self)
virshle_rest/src/server/methods.rs:61
↓ 6 callersMethodtry_into
(self)
virshle_core/src/hypervisor/vm/from.rs:32
↓ 5 callersMethod_type
(&mut self, _type: OvsBridgeType)
virshle_core/src/network/ovs/request.rs:78
↓ 5 callersMethodbridge
(&mut self, name: &str)
virshle_core/src/network/ovs/request.rs:136
↓ 5 callersMethoddb
(&mut self)
virshle_core/src/hypervisor/vm/database.rs:23
↓ 5 callersMethoddelete
Delete the virtual machine process.
virshle_core/src/hypervisor/vmm/api.rs:205
↓ 5 callersFunctionget_interfaces
()
virshle_core/src/network/ip/mod.rs:60
↓ 5 callersMethodget_size
(&self)
virshle_core/src/hypervisor/disk/mod.rs:33
↓ 5 callersMethodhydrate
(&mut self)
virshle_core/src/network/ovs/translate.rs:64
↓ 5 callersMethodpeers
Return self node AND remote nodes.
virshle_core/src/config/mod.rs:75
↓ 5 callersMethodres_vm
( &self, tag: &str, peer: &str, content: &Result<VmTable, VirshleError>, )
virshle_rest/src/commons/print.rs:27
↓ 5 callersFunctionset_permissions
Bug Fix error Error booting VM: VmBoot(DeviceManager(CreateVirtioNet(TapError(IoctlError(2147767506, Os { code: 25, kind: Uncategorized, message: "Ina
virshle_core/src/network/ip/macvtap.rs:15
↓ 5 callersFunctionssh
(vm_name: &str, cmd: &str)
virshle_core/src/utils/testing.rs:142
↓ 5 callersMethodstart
(&mut self)
virshle_rest/src/client/methods.rs:1064
↓ 5 callersMethodstart
(&self)
virshle_rest/src/server/methods.rs:415
↓ 5 callersMethodstart
(&self)
virshle_core/src/hypervisor/vmm/mod.rs:81
↓ 5 callersMethodstatus
(&self)
virshle_network/src/http/response.rs:30
↓ 4 callersMethodby_peer_indexmap
( &self, tag: &str, content: &IndexMap<Peer, IndexMap<Status, Vec<VmTable>>>, )
virshle_rest/src/commons/print.rs:153
↓ 4 callersFunctionclient
()
virshle_rest/src/client/tests.rs:19
↓ 4 callersMethodcreate
(&mut self)
virshle_rest/src/client/methods.rs:849
↓ 4 callersMethodcreate
(&self)
virshle_rest/src/server/methods.rs:209
↓ 4 callersMethodcreate_init_resources
( &mut self, user_data: Option<UserData>, init_disk: Option<bool>, net: Option
virshle_core/src/hypervisor/vm/crud.rs:111
↓ 4 callersMethoddelete
(&mut self)
virshle_rest/src/client/methods.rs:970
↓ 4 callersMethoddelete
(&self)
virshle_rest/src/server/methods.rs:522
↓ 4 callersFunctionexec
(cmd: &str)
virshle_core/src/utils/testing.rs:117
↓ 4 callersMethodget
()
virshle_core/src/config/mod.rs:70
↓ 4 callersMethodget_all
Return vm leases, or error out if nothing found
virshle_core/src/hypervisor/vm/networks.rs:212
↓ 4 callersMethodget_info
(&mut self)
virshle_rest/src/client/methods.rs:108
↓ 4 callersMethodget_info
Return vm state and ips.
virshle_core/src/hypervisor/vm/getters.rs:93
↓ 4 callersFunctionget_ips
(inet6: Option<bool>, inet4: Option<bool>, scope: Option<Scope>, prefix: Option<String>, mngtmpaddr: Option<bo
virshle_core/src/network/ip/mod.rs:76
↓ 4 callersMethodget_ipv6_leases
(&self)
virshle_core/src/network/dhcp/kea_old.rs:135
↓ 4 callersMethodget_saturation_index
Return node saturation index.
virshle_core/src/peer/info.rs:36
↓ 4 callersMethodget_socket
Return vm vsocket path for host guest (ssh) communication. Return vm socket path for ch REST API communication.
virshle_core/src/hypervisor/vmm/api.rs:27
↓ 4 callersMethodget_vsocket
Return vm vsocket path for host guest (ssh) communication.
virshle_core/src/hypervisor/vm/getters.rs:87
↓ 4 callersMethodinit
(&self)
virshle_core/src/config/init.rs:23
↓ 4 callersMethodinto
(self)
virshle_core/src/config/template/disk.rs:57
↓ 4 callersMethodkill_process
Remove running vm hypervisor process if any and assiociated socket.
virshle_core/src/hypervisor/vmm/mod.rs:39
↓ 4 callersMethodmount
(&self)
virshle_core/src/hypervisor/disk/mod.rs:100
↓ 4 callersMethodrandom
Get random non-saturated node.
virshle_rest/src/client/methods.rs:371
next →1–100 of 552, ranked by callers