MCPcopy Create free account

hub / github.com/crocuda/virshle / functions

Functions552 in github.com/crocuda/virshle

↓ 1 callersMethodcreate_vms
(&self)
virshle_core/src/config/template/mod.rs:51
↓ 1 callersMethoddelete
(&mut self)
virshle_core/src/network/dhcp/kea/methods.rs:263
↓ 1 callersMethoddelete
Remove account record from database.
virshle_core/src/config/user_data.rs:129
↓ 1 callersMethoddelete_disks
Remove vm disks file from filesystem.
virshle_core/src/hypervisor/vm/crud.rs:184
↓ 1 callersMethoddelete_filetree
Remove Vm working directory and dependencies filetree. Usually at : `/var/lib/virshle/vm/{vm_uuid}`.
virshle_core/src/hypervisor/vm/crud.rs:196
↓ 1 callersMethoddelete_ipv4_leases_by_name
Delete a vm leases.
virshle_core/src/network/dhcp/kea_old.rs:321
↓ 1 callersMethoddelete_ipv6_leases_by_name
Delete a vm leases.
virshle_core/src/network/dhcp/kea_old.rs:286
↓ 1 callersMethoddelete_vms
(&mut self)
virshle_core/src/config/definition.rs:52
↓ 1 callersMethoddid
( &mut self, alias: Option<String>, )
virshle_rest/src/client/methods.rs:173
↓ 1 callersMethoddid
Return a human readable peer ID based on peer public key.
virshle_core/src/config/node.rs:138
↓ 1 callersMethoddisplay
(&self)
virshle_core/src/hypervisor/vmm/types.rs:205
↓ 1 callersMethoddisplay
(items: Vec<Self>)
virshle_core/src/config/template/vm.rs:88
↓ 1 callersFunctiondisplay_bytes
(vram: &u64)
virshle_core/src/utils/display.rs:63
↓ 1 callersFunctiondisplay_datetime
(date: &NaiveDateTime)
virshle_core/src/utils/display.rs:96
↓ 1 callersFunctiondisplay_duration
(delta: &TimeDelta)
virshle_core/src/utils/display.rs:40
↓ 1 callersFunctiondisplay_percentage_used
(percentage: &f64)
virshle_core/src/utils/display.rs:165
↓ 1 callersMethodensure_all
Ensure virshle resources: - a clean working directory and database. - an initial configuration. - a dedicated network virtual switch.
virshle_core/src/config/init.rs:33
↓ 1 callersFunctionensure_directories
* Ensure vm storage directories exists on host. */
virshle_core/src/config/template/vm.rs:124
↓ 1 callersFunctionescape_code_blocks
()
docs/templates/js/code.ts:149
↓ 1 callersFunctionflatten
* Strenghten return types. * Force returning a null String instead of an empty Vec<> for null values. * fo arrays containing a single value (unflatt
virshle_core/src/network/ovs/convert.rs:67
↓ 1 callersFunctionformat_to_vfat
Create a vfat partition on empty file.
virshle_core/src/hypervisor/disk/utils.rs:85
↓ 1 callersMethodget_account_uuid
(&self)
virshle_core/src/hypervisor/vm/getters.rs:102
↓ 1 callersMethodget_ch_info
Get detailed information about a VM, from the underlying cloud-hypervisor process.
virshle_rest/src/server/methods.rs:693
↓ 1 callersMethodget_dir
* Return vm network socket path. */
virshle_core/src/hypervisor/vm/getters.rs:56
↓ 1 callersMethodget_info_many
(&self)
virshle_rest/src/server/methods.rs:136
↓ 1 callersMethodget_ipv4_leases_by_hostname
( &self, vm_name: &str, )
virshle_core/src/network/dhcp/kea_old.rs:66
↓ 1 callersMethodget_ipv6_leases_by_hostname
( &self, vm_name: &str, )
virshle_core/src/network/dhcp/kea_old.rs:33
↓ 1 callersMethodget_leases
(&self)
virshle_core/src/network/dhcp/kea_old.rs:102
↓ 1 callersMethodget_many
(&self)
virshle_rest/src/server/methods.rs:133
↓ 1 callersMethodget_mask
(&self)
virshle_core/src/network/dhcp/fake.rs:71
↓ 1 callersMethodget_or_create
(&mut self)
virshle_core/src/config/user_data.rs:98
↓ 1 callersMethodget_ping_url
(&mut self)
virshle_network/src/http/mod.rs:48
↓ 1 callersMethodget_port
(&self, name: &str)
virshle_core/src/network/ovs/getters.rs:9
↓ 1 callersMethodget_raw_ch_info
(&self, args: GetVmArgs)
virshle_rest/src/server/methods.rs:705
↓ 1 callersMethodget_socket_uri
(&self)
virshle_core/src/hypervisor/vmm/api.rs:31
↓ 1 callersMethodget_vm_name
(&self)
virshle_core/src/network/ovs/mod.rs:76
↓ 1 callersMethodget_vsock_path
(&self, args: GetVmArgs)
virshle_rest/src/server/methods.rs:729
↓ 1 callersFunctionhandshake
(stream: Stream)
virshle_network/src/http/mod.rs:275
↓ 1 callersMethodindexmap
( &self, tag: &str, peer: &str, content: &IndexMap<Status, Vec<VmTable>>,
virshle_rest/src/commons/print.rs:90
↓ 1 callersMethodinto
(self)
virshle_core/src/config/node.rs:120
↓ 1 callersMethodinto_bytes
(self)
virshle_network/src/http/response.rs:33
↓ 1 callersMethodip
(&mut self)
virshle_core/src/network/dhcp/kea/methods.rs:36
↓ 1 callersMethodis_virshle_port
(&self)
virshle_core/src/network/ovs/mod.rs:73
↓ 1 callersFunctionmake_empty_file
(path: &str)
virshle_core/src/hypervisor/disk/utils.rs:62
↓ 1 callersFunctionmake_handler
The make handler functions is executed right after the main function to set up a verbose and colorful error/panic handler. */
virshle/src/main.rs:25
↓ 1 callersMethodmake_router
Create Rest API routes.
virshle_rest/src/server/routes.rs:41
↓ 1 callersMethodmany
( &mut self, state: Option<VmState>, account: Option<Uuid>, user_data: Option
virshle_rest/src/client/methods.rs:681
↓ 1 callersFunctionmount
Mount init disk to host filesystem.
virshle_core/src/hypervisor/disk/utils.rs:92
↓ 1 callersMethodnode
(&mut self)
virshle_rest/src/client/methods.rs:66
↓ 1 callersMethodopen
(&mut self)
virshle_network/src/connection/socket.rs:25
↓ 1 callersMethodopen
(&mut self)
virshle_network/src/connection/tcp.rs:20
↓ 1 callersMethodopen
(&mut self)
virshle_network/src/connection/ssh.rs:35
↓ 1 callersMethodopen_with_agent
* Open ssh connection to uri with keys from agent. */
virshle_network/src/connection/ssh.rs:89
↓ 1 callersFunctionpatch_vm_and_main_switches
* Link the vm switch to a main switch (if any) for internet connectivity. */
virshle_core/src/network/ovs/mod.rs:240
↓ 1 callersMethodpause
(&mut self)
virshle_core/src/hypervisor/vmm/api.rs:196
↓ 1 callersMethodping_ch
(&self, args: GetVmArgs)
virshle_rest/src/server/methods.rs:718
↓ 1 callersMethodprint_to_toml
(&self)
virshle_core/src/hypervisor/vm/from.rs:117
↓ 1 callersMethodprovision_ch
( &self, id: Option<u64>, name: Option<String>, uuid: Option<Uuid>, )
virshle_rest/src/server/methods.rs:468
↓ 1 callersMethodprovision_ch_process
(&mut self)
virshle_core/src/hypervisor/vm/crud.rs:146
↓ 1 callersFunctionrandom_place
()
virshle_core/src/hypervisor/rand/mod.rs:10
↓ 1 callersMethodreclaim
(&self, args: CreateVmArgs)
virshle_rest/src/server/methods.rs:121
↓ 1 callersMethodremove_device
Remove a device from Vm.
virshle_core/src/hypervisor/vmm/api.rs:220
↓ 1 callersMethodreplace_disk
(&self, name: String)
virshle_core/src/hypervisor/vm/crud.rs:162
↓ 1 callersMethodserve
Run REST api.
virshle_rest/src/server/mod.rs:48
↓ 1 callersMethodshutdown
(&mut self)
virshle_rest/src/client/methods.rs:1179
↓ 1 callersMethodsocket_path
* For dpdkvhostuser* type interfaces */
virshle_core/src/network/ovs/request.rs:166
↓ 1 callersMethodstart_vms
(&mut self)
virshle_core/src/config/definition.rs:65
↓ 1 callersMethodtemplate
Get template by name.
virshle_core/src/config/mod.rs:111
↓ 1 callersFunctiontesting_vm
Create a testing Vm to try Vmm methods.
virshle_core/src/hypervisor/vmm/tests.rs:8
↓ 1 callersMethodtry_into
(self)
virshle_core/src/config/template/vm.rs:103
↓ 1 callersFunctionunflatten
* Strenghten return types. * Force returning a Vec<String> instead of a String * fo arrays containing a single value (unflatten). */
virshle_core/src/network/ovs/convert.rs:46
↓ 1 callersMethodvec_vm
( &self, tag: &str, peer: &str, content: &Vec<VmTable>, )
virshle_rest/src/commons/print.rs:55
↓ 1 callersFunctionwrap_code
(slot: VNode[])
docs/templates/js/code.ts:40
↓ 1 callersFunctionwrap_details
(slot: VNode[])
docs/templates/js/code.ts:75
↓ 1 callersFunctionwrap_list
(vnodes: VNode[])
docs/templates/js/timeline.ts:18
Method_attach
Attach a virtual machine on a node.
virshle_rest/src/server/methods.rs:667
Method_did
( peer: &Peer, rest: &mut RestClient, )
virshle_rest/src/client/methods.rs:194
Method_get
(peer: &Peer, rest: &mut RestClient)
virshle_rest/src/client/methods.rs:479
Method_get_all
* Get ovs network switches/bridges. */
virshle_core/src/network/ovs/translate.rs:40
Method_get_info
( peer: &Peer, rest: &mut RestClient, )
virshle_rest/src/client/methods.rs:112
Function_get_interfaces
()
virshle_core/src/network/ip/mod.rs:160
Function_get_ip_addresses
()
virshle_core/src/network/ip/mod.rs:172
Function_get_main_interface
()
virshle_core/src/network/ip/mod.rs:166
Function_make_empty_file
Create a sparse file. The fastest method to create file. See: https://unix.stackexchange.com/questions/108858/seek-argument-in-command-dd
virshle_core/src/hypervisor/disk/utils.rs:70
Method_many
( peer: &Peer, rest: &mut RestClient, args: Option<EnsureManyVmArgs>, )
virshle_rest/src/client/methods.rs:712
Function_mount
Mount filesystem with ffi bindings.
virshle_core/src/hypervisor/disk/utils.rs:106
Method_new
(peers: IndexMap<String, Peer>)
virshle_rest/src/client/mod.rs:27
Method_new
(config: &Config)
virshle_rest/src/server/mod.rs:37
Method_new
(config: &Config)
virshle_core/src/network/dhcp/fake.rs:32
Method_new
Create new struct and open a connection to kea-ctrl-agent http rest api.
virshle_core/src/network/dhcp/kea/types.rs:40
Method_one
( peer: &Peer, rest: &mut RestClient, args: Option<GetVmArgs>, )
virshle_rest/src/client/methods.rs:768
Method_ping
(peer: &Peer, rest: &mut RestClient)
virshle_rest/src/client/methods.rs:143
Method_reclaim
( peer: &Peer, rest: &mut RestClient, args: CreateVmArgs, )
virshle_rest/src/client/methods.rs:525
Method_start_attach
* TODO: * It should forward vm tty to user tty or ssh session! */
virshle_rest/src/server/methods.rs:651
Methodadd_color_reserved
(string: &str, percentage: &f64)
virshle_core/src/peer/display.rs:124
Methodadd_color_used
(string: &str, percentage: &f64)
virshle_core/src/peer/display.rs:242
Functionalerte_connection_state
( peer: &Peer, rest: &mut RestClient, )
virshle_rest/src/commons/utils.rs:24
Methodbuilder
(config: Option<KeaDhcpConfig>)
virshle_core/src/network/dhcp/kea/types.rs:64
Methodcheck_server_key
( &mut self, _server_public_key: &PublicKey, )
virshle_network/src/connection/ssh.rs:18
Methodclean_leases
(&self)
virshle_core/src/network/dhcp/kea_old.rs:162
← previousnext →201–300 of 552, ranked by callers