Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go module #59

Closed
wants to merge 2 commits into from
Closed

Go module #59

wants to merge 2 commits into from

Conversation

nirs
Copy link
Owner

@nirs nirs commented Mar 1, 2025

The Go module provides the infrastructure to integrate vmnet-helper with Go programs such as minikube or lima.

Functions:

  • vmnet.HelperAvailable(): check if vmnet-helper is installed
  • vment.Socketpair(): create socketpair for connecting the helper to vm
  • vmnet.UUIDFromName(): create UUID type 4 from name

Types:

  • vmnet.HelperOptions: options for running the vmnet helper
  • vmnet.InterfaceInfo: interface parameters returned by vment framework
  • vmnet.Helper: start and stop vmnet-helper with fd or socket

Fixes #58

Instead of reuse style LICENSES/Apache-2.0.txt. This helps to create a
Go module, expecting a LICENSE file at the root directory, and helps
GitHub to detect the license.

The disadvantage is that we cannot enforce reuse lint.
The Go module provides the infrastructure to integrate vmnet-helper with
Go programs such as minikube or lima.

Functions:
- vmnet.HelperAvailable(): check if vmnet-helper is installed
- vment.Socketpair(): create socketpair for connecting the helper to vm
- vmnet.UUIDFromName(): create UUID type 4 from name

Types:
- vmnet.HelperOptions: options for running the vmnet helper
- vmnet.InterfaceInfo: interface parameters returned by vment framework
- vmnet.Helper: start and stop vmnet-helper with fd or socket

Fixes #58
@nirs
Copy link
Owner Author

nirs commented Mar 2, 2025

To be considered later.

@nirs nirs closed this Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vmnet-helper Go module
1 participant