config

package
v0.0.0-...-2b5c435 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package config handles configuration for wodman

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigType

type ConfigType struct {
	Port         int    `default:"1234"`                   // The TCP port that podman will listen on.
	Distro       string `default:"podman"`                 // The name of the distribution in WSL.
	RegisterOnly bool   `default:"false"`                  // If set, only register without doing anything else.
	DistroPath   string `default:"${LOCALAPPDATA}/podman"` // Where to register the distribution.
}

ConfigType is the external configuration interface.

var Config ConfigType

type ConfigWrapper

type ConfigWrapper struct {
	WSL ConfigType
}

Jump to

Keyboard shortcuts

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