mock

package
v0.0.0-...-57abfdb Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	Duration   time.Duration `yaml:"duration"`
	Exitstatus int           `yaml:"exit-status"`
	Stderr     string        `yaml:"stderr"`
	Stdout     string        `yaml:"stdout"`
}

func MockApp

func MockApp(app string) (*Mock, error)

MockApp takes an application name as string argument and returns a Mock or an error

Jump to

Keyboard shortcuts

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