config

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package config provides configuration management for CLI flags and environment variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Hostname        string
	Port            int
	Timeout         int
	ExecPlatform    string
	EnableMode      bool
	RedundantMode   bool
	SecureMode      bool
	DefaultPrivMode bool
	Command         string
	Username        string
	Password        string
	PrivPassword    string
	HostKeyPath     string
}

Config struct.

func New

func New(cli *cli.Command) Config

New returns Config struct.

Jump to

Keyboard shortcuts

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