inputdir

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 9 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
	CmdLine      string
}

InputDir represents an input directory for ansible-runner.

func (*InputDir) Stdout

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