pub struct ValidateCloudInitCompletionStep { /* private fields */ }Expand description
Step that validates cloud-init completion on a remote host
Implementations§
Source§impl ValidateCloudInitCompletionStep
impl ValidateCloudInitCompletionStep
pub fn new(ssh_config: SshConfig) -> Self
Sourcepub async fn execute(&self) -> Result<(), RemoteActionError>
pub async fn execute(&self) -> Result<(), RemoteActionError>
Execute the cloud-init completion validation step
This will validate that cloud-init has finished running on the remote host by checking cloud-init status and ensuring all initialization is complete.
§Errors
Returns an error if:
- SSH connection to the remote host fails
- Cloud-init validation fails
- The remote action execution fails for any other reason
§Notes
- This validation ensures that all cloud-init modules have completed
- Critical for ensuring the system is ready for further configuration
- Checks both cloud-init status and completion markers
Auto Trait Implementations§
impl Freeze for ValidateCloudInitCompletionStep
impl RefUnwindSafe for ValidateCloudInitCompletionStep
impl Send for ValidateCloudInitCompletionStep
impl Sync for ValidateCloudInitCompletionStep
impl Unpin for ValidateCloudInitCompletionStep
impl UnsafeUnpin for ValidateCloudInitCompletionStep
impl UnwindSafe for ValidateCloudInitCompletionStep
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request