vmnet

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package vmnet handles installation and configuration of dependencies needed for Lima's managed networking and port-forwarding to work, with minimal user interaction.

For more information, see Lima Managed VMNet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDependencyGroup

func NewDependencyGroup(
	execCmdCreator command.Creator,
	limaCmdCreator command.LimaCmdCreator,
	fs afero.Fs,
	fp path.Finch,
	logger flog.Logger,
) *dependency.Group

NewDependencyGroup returns a dependency group that contains all the dependencies required to make vmnet networking work.

Types

type NetworkConfig

type NetworkConfig struct {
	Networks []map[string]string `yaml:"networks"`
}

NetworkConfig is a struct for (partially) deserializing lima yaml.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL