config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VERSION string
	COMMIT  string
)

Functions

func GetBinaryPath

func GetBinaryPath() string

GetBinaryPath returns the path of the sb binary

func GetEncryptionKey

func GetEncryptionKey() string

GetEncryptionKey returns the symmetric encryption key for backup, replication and ttyrecs offloading

func GetEnvironmentVarsToForward

func GetEnvironmentVarsToForward() []string

GetEnvironmentVarsToForward returns the list of environment variables to forward to distant hosts

func GetGlobalDatabasePath

func GetGlobalDatabasePath() string

GetGlobalDatabasePath returns the global database path

func GetMOSHPortsRange

func GetMOSHPortsRange() string

GetMOSHPortsRange returns the MOSH server ports range

func GetReplicationDatabasePath

func GetReplicationDatabasePath() string

GetReplicationDatabasePath returns the global database path

func GetReplicationEnabled

func GetReplicationEnabled() bool

func GetReplicationQueueConfig

func GetReplicationQueueConfig() *types.ReplicationQueueConfig

func GetSBHostname

func GetSBHostname() string

GetSBHostname returns sb's hostname

func GetSBLocation

func GetSBLocation() string

GetSBLocation returns sb's location (AKA the specific instance in a replicated set)

func GetSBName

func GetSBName() string

GetSBName returns sb's name (AKA the alias to set in user's path)

func GetSBUserHome

func GetSBUserHome() string

GetSBUserHome returns the global sb user home

func GetSBUsername

func GetSBUsername() string

GetSBUsername returns the global sb user name

func GetSSHCommand

func GetSSHCommand() string

GetSSHCommand returns the SSH command to launch when user wants to access a host

func GetSSHPort

func GetSSHPort() string

GetSSHPort returns the SSH server port

func GetTTYRecsOffloadingConfig

func GetTTYRecsOffloadingConfig() *types.TTYRecsOffloadingConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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