Rust enum and error for parsing Docker, containerd, or CriO runtime names.
// Source: https://github.com/metalbear-co/mirrord | License: MIT | Copyright 2022-present Metalbear Tech LTD
// Provided via justclaw.it.com; keep this notice with the code.
use std::{
borrow::Cow,
fmt::{self, Display, Formatter},
future::Future,
net::IpAddr,
ops::Not,
str::FromStr,
};
use k8s_openapi::{
NamespaceResourceScope,
api::core::v1::{Container, ContainerPort, Node, Pod, PodStatus, Probe},
apimachinery::pkg::{apis::meta::v1::LabelSelector, util::intstr::IntOrString},
};
use kube::{Api, Client, Resource, api::ListParams, core::Selector};
use mirrord_agent_env::mesh::MeshVendor;
use mirrord_config::target::Target;
use serde::de::DeserializeOwned;
use thiserror::Error;
use tracing::Level;
use crate::{
api::{
container::{check_mesh_ve
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key