Meridian::Commands::Accessory
Inherits Meridian::Commands::Base < Reference < Object
Constructors
new(config : Config::DeployConfig, ssh_executor : SSH::Executor = SSH::Executor.new, quadlet_generator : Quadlet::Generator | Nil = nil, output : IO = STDOUT, error : IO = STDERR, audit_logger : Meridian::Audit::Logger | Nil = nil, input : IO = STDIN)
SourceInstance methods
Removes Meridian's unit definition for the accessory. Deliberately conservative about everything that outlives it: named volumes, images, and the shared network are left alone, because other services may still depend on them and proving otherwise is not cheap.
Idempotent: any service declaring this accessory can run it and arrive at the same state. Everything that could refuse is decided before the first mutation, so a conflict never leaves a half-applied accessory.