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

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

Description

@lennybakkalian

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions