Instance Propertyheckj.formic 0.3.0Formic
retry
Dpkg.swift:95var retry: Backoff
var retry: Backoff
s6Formic4DpkgV24DebianPackageDeclarationV5retryAA7BackoffVvp
What are these?3V2Z6
import Formic
๐ Swift library to support IT Automation tasks. ๐ ๐
struct DebianPackageDeclaration
The declaration for a Debian package resource.
struct Dpkg
A debian package resource.
struct Backoff
The retry and backoff delay settings for a command.
init(name: String, state: DesiredPackageState, retry: Backoff = .never, resolveTimeout: Duration = .seconds(60))
Creates a new declaration for a Debian package resource
var declaredState: DesiredPackageState
The desired state of the package.
var executionTimeout: Duration
var id: UUID
var ignoreFailure: Bool
var name: String
The name of the package.
func run(host: RemoteHost, logger: Logger?) async throws -> CommandOutput
enum DesiredPackageState
The configurable state of a debian package.