config

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExtNic added in v1.10.0

func GetExtNic() string

GetExtNic returns vagrant EXTNIC value. If empty no external network connection should be passed to Vagrant via EXTNIC environment variable.

func GetLanguage

func GetLanguage() string

GetLanguage returns user language preference. defaults to fi

func GetNic added in v1.9.0

func GetNic() string

GetNic returns vagrant NIC value. Defaults to "virtio"

func IsSelfUpdateDisabled

func IsSelfUpdateDisabled() bool

IsSelfUpdateDisabled returns true, if self-update functionality should be disabled

func Load

func Load()

Load or initialize configuration to empty object

func SetExtNic added in v1.10.0

func SetExtNic(nic string)

SetExtNic sets the state of vagrant EXTNIC value

func SetLanguage

func SetLanguage(language string)

SetLanguage stores user language preference

func SetNic added in v1.9.0

func SetNic(nic string)

SetNic sets the state of vagrant NIC value

func SetSelfUpdateDisabled

func SetSelfUpdateDisabled(isSelfUpdateDisabled bool)

SetSelfUpdateDisabled sets the state of self-update functionality

Types

This section is empty.

Jump to

Keyboard shortcuts

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