Mangrullo::ImageChecker
Constructors
new(docker_client : DockerClient)
SourceInstance methods
find_target_update_tag(image_name : String, current_version : Version, allow_major_upgrade : Bool) : String | Nil
Like find_target_update_version, but returns the actual registry tag string for the target — the tag must exist upstream to be pullable.
find_target_update_version(image_name : String, current_version : Version, allow_major_upgrade : Bool) : Version | Nil
Sourceget_image_update_info(image_name : String) : NamedTuple(has_update: Bool, local_version: Version | Nil, remote_version: Version | Nil)
Sourceget_update_status(container : ContainerInfo) : NamedTuple(needs_pull: Bool, needs_restart: Bool, local_digest: String | Nil, remote_digest: String | Nil)
Sourcetarget_image_for_update(container : ContainerInfo, allow_major_upgrade : Bool = false) : String | Nil
The image reference an update should pull and recreate the container with. Versioned images get the newer tag; moving tags (latest, postgres:16, digest pins) stay on the same reference and pick up the newly pushed digest instead.