actions

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var List = make(map[string]reflect.Type)

List of Inputs

Functions

func ActionSuccess

func ActionSuccess(results string, success string, failure string) (state bool)

ActionSuccess

func Exists

func Exists(connType string) (exists bool)

Exists function

func Make

func Make(connType string) interface{}

MakeService

func Recovery

func Recovery(service models.Service)

Recovery

Types

type Action

type Action interface {
	Act(action models.Action, message *models.Message, config *models.Config)
}

Input interface

type Format

type Format struct {
}

func (Format) Act

func (x Format) Act(action models.Action, message *models.Message, config *models.Config)

type Local

type Local struct {
}

Exec struct

func (Local) Act

func (x Local) Act(action models.Action, message *models.Message, config *models.Config)

Action function

type Sleep

type Sleep struct {
}

Exec struct

func (Sleep) Act

func (x Sleep) Act(action models.Action, message *models.Message, config *models.Config)

Action function

type Ssh

type Ssh struct {
}

Exec struct

func (Ssh) Act

func (x Ssh) Act(action models.Action, message *models.Message, config *models.Config)

Action function

type WinRM

type WinRM struct {
}

WinRM Struct representing a WinRM Connector

func (WinRM) Act

func (x WinRM) Act(action models.Action, message *models.Message, config *models.Config)

Action Standard command parser

Jump to

Keyboard shortcuts

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