pub struct PullDebugSession {
pub session_id: Option<String>,
pub kubeconfig: String,
pub env: BTreeMap<String, String>,
pub files: Vec<DebugCredFile>,
pub aws_endpoint_url: Option<String>,
pub gcp_endpoint_url: Option<String>,
pub azure_endpoint_url: Option<String>,
pub cloud_proxy_token: Option<String>,
pub expires_at: Option<String>,
}Fields§
§session_id: Option<String>Server-assigned session id. The CLI sends a DELETE to the manager on
exit so the agent’s serve_session ends.
kubeconfig: StringKubeconfig YAML the CLI writes to a temp file and binds to KUBECONFIG.
env: BTreeMap<String, String>Additional env vars the CLI sets alongside KUBECONFIG.
files: Vec<DebugCredFile>Extra files to materialize alongside the kubeconfig.
aws_endpoint_url: Option<String>When set, the CLI also spawns a local AWS loopback proxy and points
AWS_ENDPOINT_URL at it.
gcp_endpoint_url: Option<String>GCP equivalent — signed agent-side with the pod’s GKE Workload Identity token.
azure_endpoint_url: Option<String>Azure equivalent — signed agent-side with the pod’s Workload Identity federated token exchanged for an AAD bearer.
cloud_proxy_token: Option<String>Bearer the CLI’s cloud loopbacks must present on requests to the
*_endpoint_urls. Same client_token as the kubeconfig auth.
expires_at: Option<String>RFC3339 expiry. None when the SA token doesn’t expose one.
Trait Implementations§
Source§impl Clone for PullDebugSession
impl Clone for PullDebugSession
Source§fn clone(&self) -> PullDebugSession
fn clone(&self) -> PullDebugSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PullDebugSession
impl Debug for PullDebugSession
Source§impl<'de> Deserialize<'de> for PullDebugSession
impl<'de> Deserialize<'de> for PullDebugSession
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PullDebugSession
impl RefUnwindSafe for PullDebugSession
impl Send for PullDebugSession
impl Sync for PullDebugSession
impl Unpin for PullDebugSession
impl UnsafeUnpin for PullDebugSession
impl UnwindSafe for PullDebugSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more