sshlib

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAllServers

func RunAllServers(configs *yaml.MapSlice, command *string)

RunAllServers As the function implies, this will run all servers concurrently

func RunGroups

func RunGroups(configs *yaml.MapSlice, command *string)

RunGroups This will run servers concurrently and groups sequentially

func RunSequentially

func RunSequentially(configs *yaml.MapSlice, command *string)

RunSequentially Function for running everything sequentially, this will be the default behaviour

Types

type ParsedData added in v1.4.0

type ParsedData struct {
	// contains filtered or unexported fields
}

ParsedData Parsing data to struct to cleanup some code

type Switches added in v1.4.0

type Switches struct {
	Updater, UpdaterFull, Install, Uninstall *bool
}

Switches For checking what CLI option was used and run the appropriate functions

var OSSwitcher Switches

OSSwitcher a much needed var between main and sshlib

func (*Switches) Switcher added in v1.4.0

func (S *Switches) Switcher(pd ParsedData, command string) string

Switcher Method to check the switches set for each respective action

Jump to

Keyboard shortcuts

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