connectConfig

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure() error

Types

type Config

type Config struct {
	Connect ConnectConfig `yaml:"connect"`
}

Config represents the global configuration structure

type ConnectConfig

type ConnectConfig struct {
	Aliases []SSHAlias `yaml:"aliases"`
	SSHDir  string     `yaml:"sshdir"`
}

ConnectConfig represents the SSH connection configurations

type SSHAlias

type SSHAlias struct {
	Name    string `yaml:"name"`
	PEMFile string `yaml:"pemfile"`
	IP      string `yaml:"ip"`
	Port    string `yaml:"port"`
	User    string `yaml:"user"`
}

SSHAlias represents a single SSH alias configuration

Jump to

Keyboard shortcuts

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