inputdir

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputDir

type InputDir struct {
	Path         string
	PlaybookPath string
	Parameters   map[string]interface{}
	EnvVars      map[string]string
	Settings     map[string]string
}

InputDir represents an input directory for ansible-runner.

func (*InputDir) Stdout added in v0.2.0

func (i *InputDir) Stdout(ident string) (string, error)

Stdout reads the stdout from the ansible artifact that corresponds to the given ident and returns it as a string.

func (*InputDir) Write

func (i *InputDir) Write() error

Write commits the object's state to the filesystem at i.Path.

Jump to

Keyboard shortcuts

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