Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Is an SDK or a "cmd and run separation" planned? #944

Open
lennybakkalian opened this issue Aug 9, 2022 · 0 comments
Open

Is an SDK or a "cmd and run separation" planned? #944

lennybakkalian opened this issue Aug 9, 2022 · 0 comments

Comments

@lennybakkalian
Copy link

lennybakkalian commented Aug 9, 2022

Is a proper separation between cmd and logic in planning? This would allow developers to use ignite as sdk.

For example:
If you want to execute a command programmatically in the container (because entrypoints are unfortunately not supported) a method runSSH is executed in which defer os.Exit is called, which is of course impractical :D

Another example would be the creation of vm's. There is a method that takes []string args and a FlagSet and directly builds a vm. A separation between the cmd and run package would be very useful.

I think this project is only used in projects where untrusted user code is executed in a sandbox. A SDK would make a lot of sense here, since this type of vm's are created programmatically anyway.

Unfortunately there is not so much active work on this project although I think it has a lot of potential!

@lennybakkalian lennybakkalian changed the title Is an SDK or a "cmd and logic separation" planned? Is an SDK or a "cmd and run separation" planned? Aug 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant