diff --git a/distro/debian/debian.go b/distro/debian/debian.go new file mode 100644 index 0000000..c5f3088 --- /dev/null +++ b/distro/debian/debian.go @@ -0,0 +1,25 @@ +package debian + +type CodeName int + +const ( + Wheezy CodeName = iota + Jessie + Stretch + Buster + Bullseye + Bookworm +) + +var CodeNameStrings = [...]string{ + "Wheezy", + "Jessie", + "Stretch", + "Buster", + "Bullseye", + "Bookworm", +} + +func (cn CodeName) String() string { + return CodeNameStrings[cn] +}