explain

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package explain contains explainers that are used for processing an incoming stream, and explaining the events that are found in it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnsibleEventExplainer

type AnsibleEventExplainer interface {
	ExplainEvent(e ansible.Event)
}

AnsibleEventExplainer explains a single event

func DefaultExplainer added in v1.3.0

func DefaultExplainer(verbose bool, out io.Writer) AnsibleEventExplainer

DefaultExplainer returns the default ansible explainer

func PreflightExplainer added in v1.3.0

func PreflightExplainer(verbose bool, out io.Writer) AnsibleEventExplainer

PreflightExplainer is an explainer to be used when running preflight checks.

type AnsibleEventStreamExplainer

type AnsibleEventStreamExplainer struct {
	// EventExplainer for processing ansible events
	EventExplainer AnsibleEventExplainer
}

AnsibleEventStreamExplainer explains the incoming ansible event stream

func (*AnsibleEventStreamExplainer) Explain

func (e *AnsibleEventStreamExplainer) Explain(events <-chan ansible.Event) error

Explain the incoming ansible event stream

Jump to

Keyboard shortcuts

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