Documentation ¶
Index ¶
- type RunContext
- func (_m *RunContext) Args() []string
- func (_m *RunContext) CobraCommand() *cobra.Command
- func (_m *RunContext) CommandName() []string
- func (_m *RunContext) HasOutput() bool
- func (_m *RunContext) Output() interface{}
- func (_m *RunContext) Parent() cli.ThelmaCommand
- func (_m *RunContext) SetOutput(data interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunContext ¶
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
Click to show internal directories.
Click to hide internal directories.