automock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formater

type Formater struct {
	mock.Mock
}

Formater is an autogenerated mock type for the Formater type

func NewFormater

func NewFormater(t mockConstructorTestingTNewFormater) *Formater

NewFormater creates a new instance of Formater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Formater) JSON

func (_m *Formater) JSON() interface{}

JSON provides a mock function with given fields:

func (*Formater) Table

func (_m *Formater) Table() ([]string, [][]string)

Table provides a mock function with given fields:

func (*Formater) Text

func (_m *Formater) Text(outFormat string, errFormat string) string

Text provides a mock function with given fields: outFormat, errFormat

func (*Formater) YAML

func (_m *Formater) YAML() interface{}

YAML provides a mock function with given fields:

Jump to

Keyboard shortcuts

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