pub struct PendingDebugSession {
pub session_id: String,
pub poll_url: String,
pub poll_interval_ms: u32,
pub deadline: String,
}Expand description
Async-session handle. The CLI polls poll_url until the manager has
received the agent’s tunnel-ready signal and can return a Pull payload
whose kubeconfig points at the per-session HTTPS proxy on the manager.
Fields§
§session_id: StringServer-assigned session id. Embedded in URLs and command channel messages so all parties (CLI, manager, agent) reference the same row.
poll_url: StringAbsolute URL the CLI should GET to poll for readiness. Same auth as
POST /v1/debug/sessions.
poll_interval_ms: u32Suggested initial poll interval in milliseconds. The CLI should back
off on repeated pending responses but never poll faster than this.
deadline: StringRFC3339 absolute deadline. The CLI should give up after this and surface the most recent status. Bounded server-side; defaults to the session TTL.
Trait Implementations§
Source§impl Clone for PendingDebugSession
impl Clone for PendingDebugSession
Source§fn clone(&self) -> PendingDebugSession
fn clone(&self) -> PendingDebugSession
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 PendingDebugSession
impl Debug for PendingDebugSession
Source§impl<'de> Deserialize<'de> for PendingDebugSession
impl<'de> Deserialize<'de> for PendingDebugSession
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 PendingDebugSession
impl RefUnwindSafe for PendingDebugSession
impl Send for PendingDebugSession
impl Sync for PendingDebugSession
impl Unpin for PendingDebugSession
impl UnsafeUnpin for PendingDebugSession
impl UnwindSafe for PendingDebugSession
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