fakes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	RunCall struct {
		CallCount int
		Receives  []RunCallReceive
		Returns   []RunCallReturn
	}
}

func (*Cmd) Run

func (c *Cmd) Run(binary string, args ...string) error

type Logger

type Logger struct {
	PrintlnCall struct {
		Receives struct {
			Message string
		}
		Messages []string
	}
}

func (*Logger) Println

func (l *Logger) Println(message string)

type RunCallReceive

type RunCallReceive struct {
	Binary string
	Args   []string
}

type RunCallReturn

type RunCallReturn struct {
	Error error
}

type Tailer added in v0.2.0

type Tailer struct {
	TailCall struct {
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			Error error
		}
	}
}

func (*Tailer) Tail added in v0.2.0

func (t *Tailer) Tail(path string) error

Jump to

Keyboard shortcuts

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