📂 golang sdk for kairos
Go to file
William Rizzo 716d3f4fca
Add K0s utility functions and cleanup (#546)
* adding utils components to handle k0s

Signed-off-by: William Rizzo <william.rizzo@gmail.com>

* Adding systemd units for k0s

Signed-off-by: William Rizzo <william.rizzo@gmail.com>

* fix k0s services

Signed-off-by: William Rizzo <william.rizzo@gmail.com>

* Remove shutdown now, it will be addressed later

see kairos-io/kairos#3126

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Revert FindCommand changes

This function is not specific for k3s hence also not for k0s

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Remove utils.Version()

For versioning we now use the versioneer package also in this repo. I
couldn't find any instance of components depending on utils.Version() so
I think it's safe to remove

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Revert changes to the go.mod & go.sum files

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Revert "Remove utils.Version()"

This reverts commit c5f48d96d3.

* Remove utils.Version()

This is not being used anymore, use Versioneer package instead

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Update machine/machine.go

Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>

---------

Signed-off-by: William Rizzo <william.rizzo@gmail.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Co-authored-by: Mauro Morales <contact@mauromorales.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2025-01-14 13:43:48 +01:00
.github chore(deps): update google/osv-scanner-action action to v1.9.2 (#536) 2025-01-09 22:44:19 +00:00
assets Re-introduce local runner (#57) 2023-12-05 12:09:10 +02:00
bin/versioneer 1999 introduce versioneer (#59) 2023-12-05 15:46:08 +02:00
bundles add WithPlatform in bundle unpack (#486) 2024-08-31 01:36:14 +02:00
bus Extract sdk into its own lib 2023-03-15 10:56:11 +01:00
clusterplugin feat: add support for extra plugins in cluster provider (#504) 2024-09-27 09:52:34 +02:00
collector Use formatting print to show underlying error message (#500) 2024-09-27 08:37:38 +00:00
ghw Move mount parse line to trace level 2024-09-27 17:26:54 +02:00
iso Add method to extract files from an iso (#514) 2024-10-28 09:09:48 +01:00
machine Add K0s utility functions and cleanup (#546) 2025-01-14 13:43:48 +01:00
mounts Extract sdk into its own lib 2023-03-15 10:56:11 +01:00
profile Allow the users to apply arbitrary images in framework-profile.yaml (#33) 2023-06-23 12:12:18 +02:00
schema Fix install.device schema to allow all devices (#521) 2024-11-08 08:03:16 +02:00
signatures Export signature method 2024-06-04 14:41:26 +02:00
state Revert disable certs list in state (#115) 2024-05-23 10:01:56 +02:00
sysext Add a method to extract files from a docker image last layer (#362) 2024-09-10 10:04:57 +02:00
system Semi force the umount of oem when dealing with mounts (#40) 2023-08-07 16:35:15 +02:00
types Revert "Add raw disk utils" 2025-01-02 15:25:51 +01:00
unstructured Fix parsing cmdline when keys have a dash (#73) 2024-03-18 17:28:31 +01:00
utils Add K0s utility functions and cleanup (#546) 2025-01-14 13:43:48 +01:00
versioneer Move to use kairos-release instead of os-release (#506) 2024-10-07 11:39:29 +02:00
.gitignore 🤖 Add github jobs 2023-03-15 12:12:54 +01:00
Earthfile Add a method to extract files from a docker image last layer (#362) 2024-09-10 10:04:57 +02:00
go.mod fix(deps): update module github.com/docker/docker to v27.5.0+incompatible (#548) 2025-01-14 01:25:04 +00:00
go.sum Revert "Add raw disk utils" 2025-01-02 15:25:51 +01:00
LICENSE Add readme and license 2023-03-15 11:54:42 +01:00
README.md Add readme and license 2023-03-15 11:54:42 +01:00
renovate.json Bump to go1.22 (#168) 2024-07-11 12:00:28 +02:00


kairos-white-column 5bc2fe34

Kairos - Kubernetes-focused, Cloud Native Linux meta-distribution


The immutable Linux meta-distribution for edge Kubernetes.


With Kairos you can build immutable, bootable Kubernetes and OS images for your edge devices as easily as writing a Dockerfile. Optional P2P mesh with distributed ledger automates node bootstrapping and coordination. Updating nodes is as easy as CI/CD: push a new image to your container registry and let secure, risk-free A/B atomic upgrades do the rest.

Kairos (formerly c3os) is an open-source project which brings Edge, cloud, and bare metal lifecycle OS management into the same design principles with a unified Cloud Native API.

This repo provides the SDK for kairos

Community

You can find us at:

Project Office Hours

Project Office Hours is an opportunity for attendees to meet the maintainers of the project, learn more about the project, ask questions, and learn about new features and upcoming updates.

Add to Google Calendar