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>
impl SshBuildProvider<ProcessSshRunner>
Sourcepub fn with_process_runner(config: SshEndpointConfig) -> Self
pub fn with_process_runner(config: SshEndpointConfig) -> Self
Create a provider using the fixed OpenSSH process runner.
Source§impl<R> SshBuildProvider<R>
impl<R> SshBuildProvider<R>
Sourcepub fn new(config: SshEndpointConfig, runner: R) -> Self
pub fn new(config: SshEndpointConfig, runner: R) -> Self
Create a provider around a runtime-neutral runner.
Sourcepub fn config(&self) -> &SshEndpointConfig
pub fn config(&self) -> &SshEndpointConfig
Validated named endpoint used by this provider.
Trait Implementations§
Source§impl<R> BuildProvider for SshBuildProvider<R>where
R: SshRunner,
impl<R> BuildProvider for SshBuildProvider<R>where
R: SshRunner,
Source§fn capabilities(&self) -> &ProviderCapabilities
fn capabilities(&self) -> &ProviderCapabilities
Capabilities active for this provider configuration.
Source§fn handshake(
&self,
request: HandshakeRequest,
cancellation: CancellationToken,
) -> ProviderFuture<'_, HandshakeResponse>
fn handshake( &self, request: HandshakeRequest, cancellation: CancellationToken, ) -> ProviderFuture<'_, HandshakeResponse>
Negotiate protocol and worker compatibility.
Source§fn doctor(
&self,
request: ProviderDoctorRequest,
cancellation: CancellationToken,
) -> ProviderFuture<'_, ProviderDoctorReport>
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>
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>
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>>
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>
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 + '_>>
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 + '_>>
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.
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> 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