MCPcopy Create free account

hub / github.com/containers/containrs / functions

Functions506 in github.com/containers/containrs

↓ 85 callersFunctionwrite_kv
(f: &mut fmt::Formatter<'_>, key: K, value: V)
crates/container/src/oci_runtime.rs:227
↓ 74 callersMethodclone
(&self)
crates/services/src/cri/api/runtime.v1alpha2.rs:3406
↓ 61 callersMethodmap_err
(self, op: O)
crates/services/src/cri/cri_service.rs:95
↓ 58 callersMethodclone
(&self)
tests/src/criapi/runtime.v1alpha2.rs:3406
↓ 54 callersMethodready
Wrapper for the implementations `ready` method
crates/sandbox/src/lib.rs:226
↓ 31 callersMethodto_iptables
(self)
crates/network/src/cni/iptables.rs:591
↓ 28 callersMethodclone
(&self)
crates/network/src/cni/plugin.rs:274
↓ 27 callersMethoddebug_request
Debug log a request.
crates/services/src/cri/cri_service.rs:21
↓ 27 callersMethoddebug_response
Debug log a response.
crates/services/src/cri/cri_service.rs:29
↓ 20 callersMethodinsert
(&mut self, key: K, value: V)
crates/storage/src/memory_key_value_storage.rs:32
↓ 19 callersMethodadd_any_failure
(&mut self)
crates/network/src/cni/iptables.rs:625
↓ 17 callersMethodbuild_cmd_vec
Build a vec of `[command][args][container_id]`
crates/container/src/oci_runtime.rs:169
↓ 17 callersMethodchain
(&self)
crates/network/src/cni/iptables.rs:602
↓ 16 callersMethodmap_internal
Maps the self type to an internal error status containing the provided `msg`.
crates/services/src/cri/cri_service.rs:74
↓ 15 callersMethodid
Retrieve the unique identifier for the sandbox
crates/sandbox/src/lib.rs:203
↓ 12 callersMethodadd_any_success
(&mut self)
crates/network/src/cni/iptables.rs:621
↓ 12 callersMethodrun
Run an iptables command and retrieve its output.
crates/network/src/cni/iptables.rs:394
↓ 11 callersMethodget
(&self, key: K)
crates/storage/src/memory_key_value_storage.rs:21
↓ 9 callersMethodadd_call
(&mut self, exit_code: i32, stdout: Option<&str>)
crates/network/src/cni/iptables.rs:608
↓ 9 callersMethodok_or_invalid
Maps the self type to an invalid argument status containing the provided `msg`.
crates/services/src/cri/cri_service.rs:40
↓ 8 callersMethodadd_chain_ensure
(&mut self)
crates/network/src/cni/iptables.rs:633
↓ 8 callersFunctionnew_cri_service
()
crates/services/src/cri/cri_service.rs:110
↓ 8 callersMethodoutput
(&self, _: &mut Command)
crates/network/src/cni/iptables.rs:579
↓ 8 callersMethodstate
Retrieve the state of a container.
crates/container/src/container/local.rs:83
↓ 7 callersMethodadd_rule_insert_unique
(&mut self)
crates/network/src/cni/iptables.rs:637
↓ 7 callersMethodmock_chain_exists
(&mut self)
crates/network/src/cni/iptables.rs:629
↓ 6 callersMethodadd_chain_clear
(&mut self)
crates/network/src/cni/iptables.rs:642
↓ 6 callersFunctioncreate
()
crates/network/src/lib.rs:109
↓ 6 callersMethodinsert
(&mut self, key: K, value: V)
crates/storage/src/default_key_value_storage.rs:53
↓ 5 callersMethodadd
Add a port mappings for the provided network to the manager.
crates/network/src/cni/port.rs:97
↓ 5 callersMethodcleanup
(&mut self)
tests/src/common.rs:153
↓ 5 callersMethodhandle_create_container
handle_create_container creates a new container in specified PodSandbox.
crates/services/src/cri/runtime_service/create_container.rs:20
↓ 5 callersFunctionport_manager
( route_get_result: Option<Vec<RouteMessage>>, link_by_index_result: Option<Link>, )
crates/network/src/cni/port.rs:353
↓ 5 callersMethodrule_insert_unique
Aadd a rule to a chain if it does not already exist. By default the rule is appended, unless `prepend` is true.
crates/network/src/cni/iptables.rs:211
↓ 5 callersMethodstatus
Status returns the status of the runtime.
tests/src/criapi/runtime.v1alpha2.rs:2116
↓ 4 callersFunctionadd_config
(path: &Path, content: &[u8])
tests/src/integration_tests/network/cni/config.rs:52
↓ 4 callersMethodchain_ensure
Check whether the provided `chain` exists in the table and create if not.
crates/network/src/cni/iptables.rs:269
↓ 4 callersMethodchain_exists
Checks if the provided `chain` exists.
crates/network/src/cni/iptables.rs:343
↓ 4 callersFunctioncreate_request
(config: Option<ContainerConfig>)
crates/services/src/cri/runtime_service/create_container.rs:163
↓ 4 callersMethodenvs
Returns a HashMap for passing them as environment variables to the CNI plugin.
crates/network/src/cni/exec.rs:112
↓ 4 callersMethodexec
Exec prepares a streaming endpoint to execute a command in the container.
crates/services/src/cri/api/runtime.v1alpha2.rs:1995
↓ 4 callersMethodremove
Remove a port mapping for the provided id.
crates/network/src/cni/port.rs:237
↓ 4 callersMethodrun
(&self, args: &[Arg])
crates/sandbox/src/pinns.rs:39
↓ 4 callersMethodsetup
(&self, chain: &Chain)
crates/network/src/cni/iptables.rs:65
↓ 4 callersFunctionsetup_pinns
()
crates/sandbox/src/pinns.rs:139
↓ 4 callersFunctiontest_iptables_std_output
(binary: &Path, id: &str)
tests/src/integration_tests/network/cni/port.rs:117
↓ 3 callersMethodadd_chain_delete
(&mut self)
crates/network/src/cni/iptables.rs:652
↓ 3 callersMethodadd_rule_delete
(&mut self)
crates/network/src/cni/iptables.rs:647
↓ 3 callersMethodbuild_linux_seccomp
(&self, name: T)
crates/common/src/seccomp.rs:56
↓ 3 callersMethodchain_delete
Deletes the specified table/chain. It does not return an errors if the chain does not exist
crates/network/src/cni/iptables.rs:299
↓ 3 callersMethodchain_teardown
Idempotently delete a chain. It will not error if the chain doesn't exist. It will first delete all references to this chain in the `entry_chains`.
crates/network/src/cni/iptables.rs:175
↓ 3 callersFunctioncreate_config
(linux: Option<LinuxContainerConfig>)
crates/services/src/cri/runtime_service/create_container.rs:173
↓ 3 callersFunctioncreate_linux
( security_context: Option<LinuxContainerSecurityContext>, )
crates/services/src/cri/runtime_service/create_container.rs:223
↓ 3 callersMethodget
(&self, key: K)
crates/storage/src/default_key_value_storage.rs:33
↓ 3 callersMethodget_routable_host_interface
Tries to determine which interface routes the container's traffic. This is the one on which we disable martian filtering.
crates/network/src/cni/port.rs:277
↓ 3 callersMethodloopback
Get the loopback link.
crates/network/src/cni/netlink.rs:93
↓ 3 callersFunctionnew_list
()
crates/network/src/cni/config.rs:249
↓ 3 callersMethodpersist
(&mut self)
crates/storage/src/memory_key_value_storage.rs:50
↓ 3 callersMethodremove
Wrapper for the implementations `remove` method
crates/sandbox/src/lib.rs:220
↓ 3 callersMethodrule_delete
Delete the iptables rule in the specified `chain`. It does not error if the referring chain doesn't exist.
crates/network/src/cni/iptables.rs:247
↓ 3 callersMethodrun
Run OCIRuntime with the provided subcommand and args and return the output if the command execution succeeds. This can still mean that oci_runtime its
crates/container/src/oci_runtime.rs:39
↓ 3 callersMethodrun_pod_sandbox
( &self, request: Request<api::RunPodSandboxRequest>, )
crates/services/src/cri/runtime_service/mod.rs:181
↓ 3 callersMethodstatus
Status returns the status of the runtime.
crates/services/src/cri/api/runtime.v1alpha2.rs:2116
↓ 3 callersMethodunix_domain_listener
Create a new UnixListener from the configs socket path.
crates/services/src/server/mod.rs:92
↓ 3 callersFunctionupdate_last_error
Update the last error by the provided one.
crates/ffi/src/error.rs:13
↓ 2 callersMethodbuild_plugin
Build a CNI plugin for start/stop execution.
crates/network/src/cni/mod.rs:481
↓ 2 callersMethodchain_clear
Clear the iptables rules in the specified table/chain. If the chain does not exist, a new one will be created.
crates/network/src/cni/iptables.rs:318
↓ 2 callersMethodchain_setup
Setup the provided `Chain` with respect of whether to use IPv6.
crates/network/src/cni/iptables.rs:135
↓ 2 callersMethodcmd
Run a command with the provided network namespace path and container ID.
crates/network/src/cni/plugin.rs:117
↓ 2 callersMethodconfig_files
Returns all config files in the previously set `config_paths`
crates/network/src/cni/mod.rs:358
↓ 2 callersFunctioncreate_security_context
()
crates/services/src/cri/runtime_service/create_container.rs:232
↓ 2 callersMethoddel
Delete a network via the plugin.
crates/network/src/cni/plugin.rs:98
↓ 2 callersMethodexec
Execute the provided process inside the container.
crates/container/src/container/local.rs:73
↓ 2 callersMethodfill_dnat_rules
Fill the DNAT rules for the chain.
crates/network/src/cni/iptables.rs:430
↓ 2 callersMethodfind_binary
Find the plugin binary in $PATH.
crates/network/src/cni/plugin.rs:39
↓ 2 callersMethodget_start_stop_data
Retrieve necessary data for network start/stop.
crates/network/src/cni/mod.rs:464
↓ 2 callersMethodinitialize
Initialize the CNI network
crates/network/src/cni/mod.rs:119
↓ 2 callersMethodinitialize_network
Create a new network and initialize it from the internal configuration.
crates/services/src/server/mod.rs:154
↓ 2 callersFunctionnew_id
()
tests/src/integration_tests/network/cni/port.rs:111
↓ 2 callersFunctionnew_sandbox_data
()
crates/sandbox/src/lib.rs:275
↓ 2 callersMethodresult
(&self)
crates/network/src/cni/plugin.rs:317
↓ 2 callersMethodrule_exists
Checks if given rulespec in specified if the provided `chain` exists.
crates/network/src/cni/iptables.rs:261
↓ 2 callersMethodrun
Run conmon with the provided args and return the output if the command execution succeeds. This can still mean that conmon itself failed, which can be
crates/container/src/conmon.rs:41
↓ 2 callersMethodrun
Wrapper for the implementations `run` method
crates/sandbox/src/lib.rs:208
↓ 2 callersMethodrun
Run a command and return the output as result.
crates/network/src/cni/exec.rs:34
↓ 2 callersMethodrun
Run a future inside this network namespace
crates/network/src/cni/namespace.rs:46
↓ 2 callersMethodrun_pod_sandbox
RunPodSandbox creates and starts a pod-level sandbox. Runtimes must ensure the sandbox is in the ready state on success.
tests/src/criapi/runtime.v1alpha2.rs:1689
↓ 2 callersMethodrun_with_stdin
Run a command with standard input and return the output as result.
crates/network/src/cni/exec.rs:48
↓ 2 callersMethodset_ipv6
(&mut self, value: bool)
crates/network/src/cni/iptables.rs:73
↓ 2 callersFunctionto_string
()
crates/common/src/capability.rs:347
↓ 2 callersMethodvalidate
Verifies that a given plugin `name` is supported by the provided `version`.
crates/network/src/cni/config.rs:53
↓ 2 callersMethodversion
Version returns the runtime name, runtime version, and runtime API version.
tests/src/criapi/runtime.v1alpha2.rs:1668
↓ 2 callersMethodversion
Create a version request for the plugin.
crates/network/src/cni/plugin.rs:61
↓ 1 callersMethodadd
Add a network via the plugin.
crates/network/src/cni/plugin.rs:79
↓ 1 callersFunctionall
()
crates/common/src/capability.rs:389
↓ 1 callersMethodattach
Attach prepares a streaming endpoint to attach to a running container.
tests/src/criapi/runtime.v1alpha2.rs:2015
↓ 1 callersMethodattach
Attach prepares a streaming endpoint to attach to a running container.
crates/services/src/cri/api/runtime.v1alpha2.rs:2015
↓ 1 callersMethodbuild_cmd
(&self)
crates/container/src/oci_runtime.rs:114
↓ 1 callersMethodcapability_to_syscalls
Returns a list of syscalls for a provided capability name.
crates/common/src/seccomp.rs:202
↓ 1 callersMethodchain_flush
Clear the iptables rules in the specified table/chain. If the chain does not exist, a new one will be created.
crates/network/src/cni/iptables.rs:331
next →1–100 of 506, ranked by callers