mocks

package
v0.0.74 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunContext

type RunContext struct {
	mock.Mock
}

RunContext is an autogenerated mock type for the RunContext type

func NewRunContext

func NewRunContext(t mockConstructorTestingTNewRunContext) *RunContext

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

func (*RunContext) Args

func (_m *RunContext) Args() []string

Args provides a mock function with given fields:

func (*RunContext) CobraCommand

func (_m *RunContext) CobraCommand() *cobra.Command

CobraCommand provides a mock function with given fields:

func (*RunContext) CommandName

func (_m *RunContext) CommandName() []string

CommandName provides a mock function with given fields:

func (*RunContext) HasOutput

func (_m *RunContext) HasOutput() bool

HasOutput provides a mock function with given fields:

func (*RunContext) Output

func (_m *RunContext) Output() interface{}

Output provides a mock function with given fields:

func (*RunContext) Parent

func (_m *RunContext) Parent() cli.ThelmaCommand

Parent provides a mock function with given fields:

func (*RunContext) SetOutput

func (_m *RunContext) SetOutput(data interface{})

SetOutput provides a mock function with given fields: data

Jump to

Keyboard shortcuts

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