config

package
v0.0.0-...-e161612 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() error

func SaveConfig

func SaveConfig() error

Types

type Atun

type Atun struct {
	Version string `json:"atun.io/version"`
	Config  *Config
	Session *session.Session
}
var App *Atun
var InitialApp *Atun

type Config

type Config struct {
	Hosts                    []Host
	SSHKeyPath               string
	SSHConfigFile            string
	SSHStrictHostKeyChecking bool
	SSHSocketFile            string
	AWSProfile               string
	AWSRegion                string
	AWSKeyPair               string
	AWSEndpointUrl           string
	AWSInstanceType          string
	ConfigFile               string
	BastionVPCID             string
	BastionSubnetID          string
	BastionHostID            string
	BastionInstanceName      string
	BastionHostAMI           string
	BastionHostUser          string
	AppDir                   string
	TunnelDir                string
	LogLevel                 string
	LogPlainText             bool
	Env                      string
	AutoAllocatePort         bool
}

type Host

type Host struct {
	Name   string `jsonschema:"-"`
	Proto  string `json:"proto" jsonschema:"proto"`
	Remote int    `json:"remote" jsonschema:"remote"`
	Local  int    `json:"local" jsonschema:"local"`
}

Jump to

Keyboard shortcuts

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