Skip to main content

SshBuildProvider

Struct SshBuildProvider 

Source
pub struct SshBuildProvider<R = ProcessSshRunner> { /* private fields */ }
Expand description

SSH worker control plane used before the dedicated snapshot data plane.

Implementations§

Source§

impl SshBuildProvider<ProcessSshRunner>

Source

pub fn with_process_runner(config: SshEndpointConfig) -> Self

Create a provider using the fixed OpenSSH process runner.

Source§

impl<R> SshBuildProvider<R>

Source

pub fn new(config: SshEndpointConfig, runner: R) -> Self

Create a provider around a runtime-neutral runner.

Source

pub fn config(&self) -> &SshEndpointConfig

Validated named endpoint used by this provider.

Trait Implementations§

Source§

impl<R> BuildProvider for SshBuildProvider<R>
where R: SshRunner,

Source§

fn id(&self) -> &str

Stable provider identifier used in events and errors.
Source§

fn capabilities(&self) -> &ProviderCapabilities

Capabilities active for this provider configuration.
Source§

fn handshake( &self, request: HandshakeRequest, cancellation: CancellationToken, ) -> ProviderFuture<'_, HandshakeResponse>

Negotiate protocol and worker compatibility.
Source§

fn doctor( &self, request: ProviderDoctorRequest, cancellation: CancellationToken, ) -> ProviderFuture<'_, ProviderDoctorReport>

Inspect provider, worker, and optional signing readiness.
Source§

fn submit( &self, _request: IosDeviceBuildRequest, cancellation: CancellationToken, ) -> ProviderFuture<'_, JobHandle>

Submit one declarative physical-iPhone build.
Source§

fn events( &self, _request: EventRequest, cancellation: CancellationToken, ) -> ProviderFuture<'_, EventPage>

Retrieve a bounded ordered page of events.
Source§

fn list_artifacts( &self, _request: ArtifactListRequest, cancellation: CancellationToken, ) -> ProviderFuture<'_, Vec<ArtifactManifest>>

List verified artifact manifests for a job.
Source§

fn download_artifact( &self, _request: ArtifactDownloadRequest, cancellation: CancellationToken, ) -> ProviderFuture<'_, ArtifactDownloadResult>

Download and independently verify one artifact.
Source§

fn cancel( &self, _request: CancellationRequest, cancellation: CancellationToken, ) -> Pin<Box<dyn Future<Output = Result<CancellationAck, RemoteBuildError>> + Send + '_>>

Request cancellation of an active job.
Source§

fn cleanup( &self, _request: CleanupRequest, cancellation: CancellationToken, ) -> Pin<Box<dyn Future<Output = Result<CleanupConfirmation, RemoteBuildError>> + Send + '_>>

Delete provider-owned workspace, signing material, and optional retained artifacts.
Source§

impl<R: Debug> Debug for SshBuildProvider<R>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<R> Freeze for SshBuildProvider<R>
where R: Freeze,

§

impl<R> RefUnwindSafe for SshBuildProvider<R>
where R: RefUnwindSafe,

§

impl<R> Send for SshBuildProvider<R>
where R: Send,

§

impl<R> Sync for SshBuildProvider<R>
where R: Sync,

§

impl<R> Unpin for SshBuildProvider<R>
where R: Unpin,

§

impl<R> UnsafeUnpin for SshBuildProvider<R>
where R: UnsafeUnpin,

§

impl<R> UnwindSafe for SshBuildProvider<R>
where R: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.