kairos-agent/pkg/machine
Ettore Di Giacinto 07d524e484 sparkles: state api sdk (#262)
*  Add state api

This is related to https://github.com/kairos-io/kairos/issues/34.

Starts to unify the API to retrieve the state in the sdk to have a common place to query system status information.

* 🤖 Add test

* Update go.mod

* ⚙️ Fine-tune detection of partitions

* 🤖 Add more fine-grained tests

* 🎨 Add /dev/ to partition name

* 🤖 Fixup tests

* ⚙️ Remount accessors

*  Add state partition to cloud-init paths

* 📝 Upper case Kairos in motd

* 🎨 Add mounts sdk

* 🎨 Set grub options via SDK

* 🎨 Make it more idiomatic
2022-10-23 20:22:32 +02:00
..
openrc art: Rebranding (#130) 2022-09-17 18:43:51 +02:00
systemd art: Rebranding (#130) 2022-09-17 18:43:51 +02:00
bootcmdline_test.go art: Rebranding (#130) 2022-09-17 18:43:51 +02:00
bootcmdline.go art: Rebranding (#130) 2022-09-17 18:43:51 +02:00
file.go sparkles: Add bundles to post-install hooks (#171) 2022-10-03 00:16:01 +02:00
machine_suite_test.go art: Drop provider from c3os code 2022-08-10 18:56:07 +02:00
machine.go art: Rebranding (#130) 2022-09-17 18:43:51 +02:00
partitions.go sparkles: state api sdk (#262) 2022-10-23 20:22:32 +02:00