Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/containers/containrs
/ functions
Functions
506 in github.com/containers/containrs
⨍
Functions
506
◇
Types & classes
392
↓ 1 callers
Method
chain_names
List all available itables chain names for the provided `table`.
crates/network/src/cni/iptables.rs:358
↓ 1 callers
Method
chain_new
Create a new chain.
crates/network/src/cni/iptables.rs:288
↓ 1 callers
Method
cleanup
Cleanup the server and persist any data if necessary.
crates/services/src/server/mod.rs:177
↓ 1 callers
Function
cleanup_pinned_dir
pinned namespaces need to be cleaned up, otherwise the test directory can not be deleted
crates/sandbox/src/pinned.rs:98
↓ 1 callers
Method
container_stats
ContainerStats returns stats of the container. If the container does not exist, the call returns an error.
tests/src/criapi/runtime.v1alpha2.rs:2056
↓ 1 callers
Method
container_stats
ContainerStats returns stats of the container. If the container does not exist, the call returns an error.
crates/services/src/cri/api/runtime.v1alpha2.rs:2056
↓ 1 callers
Method
container_status
ContainerStatus returns status of the container. If the container is not present, returns an error.
tests/src/criapi/runtime.v1alpha2.rs:1908
↓ 1 callers
Method
container_status
ContainerStatus returns status of the container. If the container is not present, returns an error.
crates/services/src/cri/api/runtime.v1alpha2.rs:1908
↓ 1 callers
Method
create
Create a new container, which should be in the `Created` state afterwards.
crates/container/src/container/local.rs:38
↓ 1 callers
Method
create_container
CreateContainer creates a new container in specified PodSandbox
tests/src/criapi/runtime.v1alpha2.rs:1801
↓ 1 callers
Method
create_container
CreateContainer creates a new container in specified PodSandbox
crates/services/src/cri/api/runtime.v1alpha2.rs:1801
↓ 1 callers
Method
default_profile
Build the default profile for the provided capability boundings.
crates/common/src/seccomp.rs:85
↓ 1 callers
Method
enable_localnet_routing
Tells the kernel not to treat 127/8 as a martian, so that connections with a source ip of 127/8 can cross a routing boundary.
crates/network/src/cni/port.rs:302
↓ 1 callers
Method
exec
Exec prepares a streaming endpoint to execute a command in the container.
tests/src/criapi/runtime.v1alpha2.rs:1995
↓ 1 callers
Method
exec_sync
ExecSync runs a command in a container synchronously.
tests/src/criapi/runtime.v1alpha2.rs:1975
↓ 1 callers
Method
exec_sync
ExecSync runs a command in a container synchronously.
crates/services/src/cri/api/runtime.v1alpha2.rs:1975
↓ 1 callers
Function
from_str
()
crates/common/src/capability.rs:355
↓ 1 callers
Method
handle_attach
handle_attach prepares a streaming endpoint to attach to a running container.
crates/services/src/cri/runtime_service/attach.rs:9
↓ 1 callers
Method
handle_container_stats
handle_container_stats returns stats of the container. If the container does not exist, the call returns an error.
crates/services/src/cri/runtime_service/container_stats.rs:10
↓ 1 callers
Method
handle_container_status
handle_container_status returns status of the container. If the container is not present, returns an error.
crates/services/src/cri/runtime_service/container_status.rs:11
↓ 1 callers
Method
handle_exec
handle_exec prepares a streaming endpoint to execute a command in the container.
crates/services/src/cri/runtime_service/exec.rs:9
↓ 1 callers
Method
handle_exec_sync
handle_exec_sync runs a command in a container synchronously.
crates/services/src/cri/runtime_service/exec_sync.rs:9
↓ 1 callers
Method
handle_image_fs_info
handle_image_fs_info returns information of the filesystem that is used to store images.
crates/services/src/cri/image_service/image_fs_info.rs:10
↓ 1 callers
Method
handle_image_status
handle_image_status returns the status of the image. If the image is not present, returns a response with ImageStatusResponse.image set to None.
crates/services/src/cri/image_service/image_status.rs:12
↓ 1 callers
Method
handle_list_container_stats
handle_list_container_stats returns stats of all running containers.
crates/services/src/cri/runtime_service/list_container_stats.rs:9
↓ 1 callers
Method
handle_list_containers
handle_list_containers lists all containers by filters.
crates/services/src/cri/runtime_service/list_containers.rs:9
↓ 1 callers
Method
handle_list_images
handle_list_images lists existing images.
crates/services/src/cri/image_service/list_images.rs:9
↓ 1 callers
Method
handle_list_pod_sandbox
handle_list_pod_sandbox returns a list of PodSandboxes.
crates/services/src/cri/runtime_service/list_pod_sandbox.rs:9
↓ 1 callers
Method
handle_pod_sandbox_status
handle_pod_sandbox_status returns the status of the PodSandbox. If the PodSandbox is not present, returns an error.
crates/services/src/cri/runtime_service/pod_sandbox_status.rs:11
↓ 1 callers
Method
handle_port_forward
handle_port_forward prepares a streaming endpoint to forward ports from a PodSandbox.
crates/services/src/cri/runtime_service/port_forward.rs:9
↓ 1 callers
Method
handle_pull_image
handle_pull_image pulls an image with authentication config.
crates/services/src/cri/image_service/pull_image.rs:9
↓ 1 callers
Method
handle_remove_container
handle_remove_container removes the container. If the container is running, the container must be forcibly removed. This call is idempotent, and must
crates/services/src/cri/runtime_service/remove_container.rs:11
↓ 1 callers
Method
handle_remove_image
handle_remove_image removes the image. This call is idempotent, and must not return an error if the image has already been removed.
crates/services/src/cri/image_service/remove_image.rs:10
↓ 1 callers
Method
handle_remove_pod_sandbox
handle_remove_pod_sandbox removes the sandbox. If there are any running containers in the sandbox, they must be forcibly terminated and removed. This
crates/services/src/cri/runtime_service/remove_pod_sandbox.rs:11
↓ 1 callers
Method
handle_reopen_container_log
handle_reopen_container_log asks runtime to reopen the stdout/stderr log file for the container. This is often called after the log file has been rota
crates/services/src/cri/runtime_service/reopen_container_log.rs:12
↓ 1 callers
Method
handle_run_pod_sandbox
handle_run_pod_sandbox creates and starts a pod-level sandbox. Runtimes must ensure the sandbox is in the ready state on success.
crates/services/src/cri/runtime_service/run_pod_sandbox.rs:17
↓ 1 callers
Method
handle_start_container
handle_start_container starts the container.
crates/services/src/cri/runtime_service/start_container.rs:9
↓ 1 callers
Method
handle_status
handle_status returns the status of the runtime.
crates/services/src/cri/runtime_service/status.rs:10
↓ 1 callers
Method
handle_stop_container
handle_stop_container stops a running container with a grace period (i.e., timeout). This call is idempotent, and must not return an error if the cont
crates/services/src/cri/runtime_service/stop_container.rs:10
↓ 1 callers
Method
handle_stop_pod_sandbox
handle_stop_pod_sandbox stops any running process that is part of the sandbox and reclaims network resources (e.g., IP addresses) allocated to the san
crates/services/src/cri/runtime_service/stop_pod_sandbox.rs:15
↓ 1 callers
Method
handle_update_container_resources
handle_update_container_resources updates ContainerConfig of the container.
crates/services/src/cri/runtime_service/update_container_resources.rs:9
↓ 1 callers
Method
handle_update_runtime_config
handle_update_runtime_config updates the runtime configuration based on the given request.
crates/services/src/cri/runtime_service/update_runtime_config.rs:9
↓ 1 callers
Method
handle_version
handle_version returns the runtime name, runtime version, and runtime API version.
crates/services/src/cri/runtime_service/version.rs:9
↓ 1 callers
Function
hash
()
crates/network/src/cni/port.rs:447
↓ 1 callers
Method
image_fs_info
ImageFSInfo returns information of the filesystem that is used to store images.
tests/src/criapi/runtime.v1alpha2.rs:2292
↓ 1 callers
Method
image_fs_info
ImageFSInfo returns information of the filesystem that is used to store images.
crates/services/src/cri/api/runtime.v1alpha2.rs:2292
↓ 1 callers
Method
image_status
ImageStatus returns the status of the image. If the image is not present, returns a response with ImageStatusResponse.Image set to nil.
tests/src/criapi/runtime.v1alpha2.rs:2230
↓ 1 callers
Method
image_status
ImageStatus returns the status of the image. If the image is not present, returns a response with ImageStatusResponse.Image set to nil.
crates/services/src/cri/api/runtime.v1alpha2.rs:2230
↓ 1 callers
Function
iter
()
crates/common/src/capability.rs:384
↓ 1 callers
Method
link_by_index
(&self, _index: u32)
crates/network/src/cni/port.rs:340
↓ 1 callers
Method
link_by_name
Get a link referenced by its name.
crates/network/src/cni/netlink.rs:98
↓ 1 callers
Method
list_container_stats
ListContainerStats returns stats of all running containers.
tests/src/criapi/runtime.v1alpha2.rs:2076
↓ 1 callers
Method
list_container_stats
ListContainerStats returns stats of all running containers.
crates/services/src/cri/api/runtime.v1alpha2.rs:2076
↓ 1 callers
Method
list_containers
ListContainers lists all containers by filters.
tests/src/criapi/runtime.v1alpha2.rs:1887
↓ 1 callers
Method
list_containers
ListContainers lists all containers by filters.
crates/services/src/cri/api/runtime.v1alpha2.rs:1887
↓ 1 callers
Method
list_images
ListImages lists existing images.
tests/src/criapi/runtime.v1alpha2.rs:2208
↓ 1 callers
Method
list_images
ListImages lists existing images.
crates/services/src/cri/api/runtime.v1alpha2.rs:2208
↓ 1 callers
Method
list_pod_sandbox
ListPodSandbox returns a list of PodSandboxes.
tests/src/criapi/runtime.v1alpha2.rs:1781
↓ 1 callers
Method
list_pod_sandbox
ListPodSandbox returns a list of PodSandboxes.
crates/services/src/cri/api/runtime.v1alpha2.rs:1781
↓ 1 callers
Method
load_networks
Load all networks from the `config_paths`.
crates/network/src/cni/mod.rs:267
↓ 1 callers
Function
log_init
Init the log level by the provided level string. Populates the last error on any failure.
crates/ffi/src/log.rs:37
↓ 1 callers
Function
log_init_res
(level: LogLevel)
crates/ffi/src/log.rs:41
↓ 1 callers
Function
new_sandbox_data
()
crates/network/src/lib.rs:72
↓ 1 callers
Method
ok_or_else
(self, err: F)
crates/services/src/cri/cri_service.rs:60
↓ 1 callers
Method
persist
(&mut self)
crates/storage/src/default_key_value_storage.rs:77
↓ 1 callers
Function
pin_namespaces
()
crates/sandbox/src/pinned.rs:106
↓ 1 callers
Method
pod_sandbox_status
PodSandboxStatus returns the status of the PodSandbox. If the PodSandbox is not present, returns an error.
tests/src/criapi/runtime.v1alpha2.rs:1761
↓ 1 callers
Method
pod_sandbox_status
PodSandboxStatus returns the status of the PodSandbox. If the PodSandbox is not present, returns an error.
crates/services/src/cri/api/runtime.v1alpha2.rs:1761
↓ 1 callers
Method
port_forward
PortForward prepares a streaming endpoint to forward ports from a PodSandbox.
tests/src/criapi/runtime.v1alpha2.rs:2035
↓ 1 callers
Method
port_forward
PortForward prepares a streaming endpoint to forward ports from a PodSandbox.
crates/services/src/cri/api/runtime.v1alpha2.rs:2035
↓ 1 callers
Function
prepare_mounts
(cri_mounts: &[CRIMount])
crates/services/src/cri/runtime_service/create_container.rs:140
↓ 1 callers
Method
pull_image
PullImage pulls an image with authentication config.
tests/src/criapi/runtime.v1alpha2.rs:2250
↓ 1 callers
Method
pull_image
PullImage pulls an image with authentication config.
crates/services/src/cri/api/runtime.v1alpha2.rs:2250
↓ 1 callers
Method
remove
(&mut self, key: K)
crates/storage/src/memory_key_value_storage.rs:42
↓ 1 callers
Method
remove
(&mut self, key: K)
crates/storage/src/default_key_value_storage.rs:68
↓ 1 callers
Method
remove_container
RemoveContainer removes the container. If the container is running, the container must be forcibly removed. This call is idempotent, and must not retu
tests/src/criapi/runtime.v1alpha2.rs:1867
↓ 1 callers
Method
remove_container
RemoveContainer removes the container. If the container is running, the container must be forcibly removed. This call is idempotent, and must not retu
crates/services/src/cri/api/runtime.v1alpha2.rs:1867
↓ 1 callers
Method
remove_image
RemoveImage removes the image. This call is idempotent, and must not return an error if the image has already been removed.
tests/src/criapi/runtime.v1alpha2.rs:2272
↓ 1 callers
Method
remove_image
RemoveImage removes the image. This call is idempotent, and must not return an error if the image has already been removed.
crates/services/src/cri/api/runtime.v1alpha2.rs:2272
↓ 1 callers
Function
remove_last_error
Remove the last error.
crates/ffi/src/error.rs:19
↓ 1 callers
Method
remove_pod_sandbox
RemovePodSandbox removes the sandbox. If there are any running containers in the sandbox, they must be forcibly terminated and removed. This call is i
tests/src/criapi/runtime.v1alpha2.rs:1740
↓ 1 callers
Method
remove_pod_sandbox
RemovePodSandbox removes the sandbox. If there are any running containers in the sandbox, they must be forcibly terminated and removed. This call is i
crates/services/src/cri/api/runtime.v1alpha2.rs:1740
↓ 1 callers
Method
reopen_container_log
ReopenContainerLog asks runtime to reopen the stdout/stderr log file for the container. This is often called after the log file has been rotated. If t
tests/src/criapi/runtime.v1alpha2.rs:1955
↓ 1 callers
Method
reopen_container_log
ReopenContainerLog asks runtime to reopen the stdout/stderr log file for the container. This is often called after the log file has been rotated. If t
crates/services/src/cri/api/runtime.v1alpha2.rs:1955
↓ 1 callers
Method
route_get
(&self, _ip_version: IpVersion)
crates/network/src/cni/port.rs:333
↓ 1 callers
Method
rule_append
Append a rule.
crates/network/src/cni/iptables.rs:237
↓ 1 callers
Method
rule_prepend
Prepend a rule.
crates/network/src/cni/iptables.rs:228
↓ 1 callers
Method
rules_list
List the rules in the provided `chain`.
crates/network/src/cni/iptables.rs:384
↓ 1 callers
Method
run
(&mut self, context: &SandboxContext)
crates/sandbox/src/pinned.rs:16
↓ 1 callers
Method
run
(&self, _binary: &Path, _args: &Args)
crates/network/src/cni/plugin.rs:285
↓ 1 callers
Method
run_output
Run a command and return its `Output`.
crates/container/src/oci_runtime.rs:677
↓ 1 callers
Method
run_output
(&self, _binary: &Path, _args: &[Arg])
crates/container/src/conmon.rs:229
↓ 1 callers
Method
run_output
(&self, binary: &Path, args: &[Arg])
crates/sandbox/src/pinns.rs:65
↓ 1 callers
Method
run_pod_sandbox
RunPodSandbox creates and starts a pod-level sandbox. Runtimes must ensure the sandbox is in the ready state on success.
crates/services/src/cri/api/runtime.v1alpha2.rs:1689
↓ 1 callers
Method
run_with_stdin
( &self, _binary: &Path, _args: &Args, _stdin: &[u8],
crates/network/src/cni/plugin.rs:289
↓ 1 callers
Method
set_link_down
Set a link down.
crates/network/src/cni/netlink.rs:147
↓ 1 callers
Method
set_link_up
Set a link up.
crates/network/src/cni/netlink.rs:159
↓ 1 callers
Method
set_logging_verbosity
Initialize the logger and set the verbosity to the provided level.
crates/services/src/server/mod.rs:117
↓ 1 callers
Method
start
Wrapper for the implementations `start` method.
crates/network/src/lib.rs:48
↓ 1 callers
Method
start
Start a new server with its default values
crates/services/src/server/mod.rs:41
← previous
next →
101–200 of 506, ranked by callers