Logo
Explore Help
Register Sign In
kairos/kairos-sdk
1
0
Fork 0
You've already forked kairos-sdk
mirror of https://github.com/kairos-io/kairos-sdk.git synced 2025-09-02 07:44:39 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
42f802a06c40c185bf9c80e840eb9d734a74df7c
kairos-sdk/state/machine.go

11 lines
124 B
Go
Raw Normal View History

sparkles: state api sdk (#262) * :sparkles: 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. * :robot: Add test * Update go.mod * :gear: Fine-tune detection of partitions * :robot: Add more fine-grained tests * :art: Add /dev/ to partition name * :robot: Fixup tests * :gear: Remount accessors * :sparkles: Add state partition to cloud-init paths * :memo: Upper case Kairos in motd * :art: Add mounts sdk * :art: Set grub options via SDK * :art: Make it more idiomatic
2022-10-23 20:22:32 +02:00
package state
type Machine struct {
BootArgs []string
CloudConfig string
}
type Spec struct {
MachineSpec Machine
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 1804ms Template: 603ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API