internal

package
v0.0.0-...-4488ad4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(t target) *client

Connect makes SSH connection and return client.

func Parse

func Parse(file, rule string) ([]target, []string)

Parse unmarshals rule from file, and return target details and commands need to be executed remotely.

func ParseAvailableCommands

func ParseAvailableCommands(file string) []string

ParseAvailableCommands finds all defined commands as next arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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