Adds raw disk utils

Adds raw disk utils to convert a raw disk into a GCE or Azure image
Adds a new constants package to store constants that can be reused
across all of our projects
Expands KairosFs interface to be in line with whats used on other
projects so we can use it
This commit is contained in:
Itxaka
2024-12-18 12:17:10 +01:00
parent d334d86d43
commit 26187e369e
6 changed files with 389 additions and 10 deletions

8
constants/constants.go Normal file
View File

@@ -0,0 +1,8 @@
// Package constants This file contains all the constants that can be reused across the project
package constants
const (
MB = int64(1024 * 1024)
GB = 1024 * MB
FilePerm = 0644
)