internal

package
v0.0.0-...-8abb055 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCredential

func AddCredential(ctx context.Context, provider, vpnType string) error

AddCredential prompts for credential values and stores them in the encrypted credentials file.

func DeleteCredential

func DeleteCredential(ctx context.Context, provider, vpnType string) error

DeleteCredential removes credentials for a provider and VPN type from the encrypted credentials file.

func DumpCredential

func DumpCredential(ctx context.Context, provider, vpnType string) error

DumpCredential decrypts the credential store and prints one provider/vpn-type entry.

func Run

func Run(ctx context.Context, provider, vpnType string, extraArgs []string,
	forceKill <-chan struct{},
) error

Run decrypts credentials, builds the container environment, and runs a Gluetun container. extraArgs is the list of additional flags (e.g. ["-e", "PORT_FORWARDING=on", "-v", "/host:/container"]).

Types

This section is empty.

Jump to

Keyboard shortcuts

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