bolt

package
v0.12.19 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Items []struct {
		Node   string            `json:"node"`
		Status string            `json:"status"`
		Result map[string]string `json:"result"`
	} `json:"items"`
	NodeCount   int `json:"node_count"`
	ElapsedTime int `json:"elapsed_time"`
}

func Task

func Task(connInfo map[string]string, timeout time.Duration, sudo bool, task string, args map[string]string) (*Result, error)

Jump to

Keyboard shortcuts

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