config

package
v0.0.0-...-a2fbf06 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ListenAddress       string
	MetricsPath         string
	KnownHostsPath      string
	TargetHost          string
	TargetPort          int
	TargetUser          string
	TargetPassword      string
	TargetSSHKeyPath    string
	TargetSSHPassphrase string
	TargetClient        string
}

func (Config) Check

func (c Config) Check() error

func (Config) ReadKnownHosts

func (c Config) ReadKnownHosts() (string, error)

func (Config) ReadSSHKey

func (c Config) ReadSSHKey() (string, error)

Jump to

Keyboard shortcuts

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