utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHostToKnownHosts

func AddHostToKnownHosts(host string, key ssh.PublicKey) error

func AwsCfg

func AwsCfg(deployrcfg AppCfg)

func Cli

func Cli(osArgs []string) (bool, string)

func DeployrConfig

func DeployrConfig(cfgPath string, appCfg *AppCfg)

func Keygen

func Keygen(mode string, domain string) (string, string, string)

func PollForIpPoint

func PollForIpPoint(domain string, ipAddr string) bool

func PrintSucesss

func PrintSucesss(domain string)

func ResolveConfimation

func ResolveConfimation(domain string, ip string)

func ShowAuthCreds

func ShowAuthCreds(domain string) bool

Types

type AppCfg

type AppCfg struct {
	Target    string `yaml:"target"`
	Domain    string `yaml:"domain"`
	Email     string `yaml:"email"`
	Region    string `yaml:"region"`
	Ami       string `yaml:"ami"`
	AwsAcess  string `yaml:"aws_access_key_id"`
	AwsSecret string `yaml:"aws_secret_access_key"`
	DeployrSh string `yaml:"deployrSH"`
}

Jump to

Keyboard shortcuts

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