config

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(conf configtypes.Config, wireGuardConfigPath string, stripped bool) error

func Import

func Import(configPath, wireGuardConfigPath string) error

func Init

func Init(configPath string, hostname string,
	listenPort int, ips []string, domain string) error

func Show

func Show(ctx context.Context, conf configtypes.Config, queryStr string) error

Show queries the config with the provided jq syntax query and prints the result to stdout as YAML.

Types

This section is empty.

Jump to

Keyboard shortcuts

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