Instance Propertyheckj.formic 0.3.0Formic
executionTimeout
The maximum duration to allow for the command.
let executionTimeout: Duration
The maximum duration to allow for the command.
let executionTimeout: Duration
import Formic
๐ Swift library to support IT Automation tasks. ๐ ๐
struct VerifyAccess
A command to verify access to a host.
@frozen struct Duration
A representation of high precision time.
init(ignoreFailure: Bool = false, retry: Backoff = Backoff(
maxRetries: 10,
strategy: .fibonacci(maxDelay: .seconds(600))), executionTimeout: Duration = .seconds(30))
Invokes a command on the host to verify access.
var description: String { get }
A textual representation of the command.
let id: UUID
The ID of the command.
let ignoreFailure: Bool
A Boolean value that indicates whether a failing command should fail a playbook.
let retry: Backoff
The retry settings for the command.
@discardableResult func run(host: RemoteHost, logger: Logger?) async throws -> CommandOutput