Add Containerlab

This commit is contained in:
Steffen Lange 2024-01-22 11:13:49 +01:00
parent 7ccf7acd5b
commit 14211fd616

14
modules/Containerlab.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Containerlab extends PatchBase {
function __construct() {
parent::__construct('Nokia', 'Containerlab', 'https://containerlab.dev/install/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/srl-labs/containerlab/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>