configuration

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSSHCmdTunnelConfigStr

func BuildSSHCmdTunnelConfigStr(tun []sshselect.TunnelConfiguration) (tunStr string)

BuildSSHCmdTunnelConfigStr builds a string with the tunnel configuration attached

func Init

func Init() error

Init initializes a configuration file in the users home directory

func ReadFromUserHomeDir

func ReadFromUserHomeDir() (*sshselect.Configuration, error)

ReadFromUserHomeDir reads the SSH-Select configuration from the user's home directory

func ReadFromWorkingDirectory

func ReadFromWorkingDirectory() (*sshselect.Configuration, error)

ReadFromWorkingDirectory reads the SSH-Select configuration from the current working directory

func WriteToUserHomeDir

func WriteToUserHomeDir(conf *sshselect.Configuration) error

WriteToUserHomeDir writes the SSH-Select configuration to the user's home directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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