provider

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Types

type WgConfig

type WgConfig struct {
	PrivateKey   *string
	ListenPort   *int
	FirewallMark *string
	WgQuickConfig
	Peers []WgPeerConfig
}

type WgPeerConfig

type WgPeerConfig struct {
	PublicKey           string
	Comments            []string
	PresharedKey        *string
	AllowedIPs          []string
	Endpoint            *string
	PersistentKeepalive *int
}

type WgQuickConfig

type WgQuickConfig struct {
	Addresses    []string
	DNS          []string
	MTU          *int
	RoutingTable *string
	PreUp        []string
	PostUp       []string
	PreDown      []string
	PostDown     []string
}

Jump to

Keyboard shortcuts

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