Documentation
¶
Index ¶
- type Artisan
- type Artisan_CallAndExit_Call
- type Artisan_Call_Call
- type Artisan_Expecter
- func (_e *Artisan_Expecter) Call(command interface{}) *Artisan_Call_Call
- func (_e *Artisan_Expecter) CallAndExit(command interface{}) *Artisan_CallAndExit_Call
- func (_e *Artisan_Expecter) Register(commands interface{}) *Artisan_Register_Call
- func (_e *Artisan_Expecter) Run(args interface{}, exitIfArtisan interface{}) *Artisan_Run_Call
- type Artisan_Register_Call
- type Artisan_Run_Call
- type Command
- type Command_Description_Call
- type Command_Expecter
- type Command_Extend_Call
- type Command_Handle_Call
- type Command_Signature_Call
- type Context
- func (_m *Context) Argument(index int) string
- func (_m *Context) ArgumentFloat32(key string) float32
- func (_m *Context) ArgumentFloat32Slice(key string) []float32
- func (_m *Context) ArgumentFloat64(key string) float64
- func (_m *Context) ArgumentFloat64Slice(key string) []float64
- func (_m *Context) ArgumentInt(key string) int
- func (_m *Context) ArgumentInt16(key string) int16
- func (_m *Context) ArgumentInt16Slice(key string) []int16
- func (_m *Context) ArgumentInt32(key string) int32
- func (_m *Context) ArgumentInt32Slice(key string) []int32
- func (_m *Context) ArgumentInt64(key string) int64
- func (_m *Context) ArgumentInt64Slice(key string) []int64
- func (_m *Context) ArgumentInt8(key string) int8
- func (_m *Context) ArgumentInt8Slice(key string) []int8
- func (_m *Context) ArgumentIntSlice(key string) []int
- func (_m *Context) ArgumentString(key string) string
- func (_m *Context) ArgumentStringSlice(key string) []string
- func (_m *Context) ArgumentTimestamp(key string) time.Time
- func (_m *Context) ArgumentTimestampSlice(key string) []time.Time
- func (_m *Context) ArgumentUint(key string) uint
- func (_m *Context) ArgumentUint16(key string) uint16
- func (_m *Context) ArgumentUint16Slice(key string) []uint16
- func (_m *Context) ArgumentUint32(key string) uint32
- func (_m *Context) ArgumentUint32Slice(key string) []uint32
- func (_m *Context) ArgumentUint64(key string) uint64
- func (_m *Context) ArgumentUint64Slice(key string) []uint64
- func (_m *Context) ArgumentUint8(key string) uint8
- func (_m *Context) ArgumentUint8Slice(key string) []uint8
- func (_m *Context) ArgumentUintSlice(key string) []uint
- func (_m *Context) Arguments() []string
- func (_m *Context) Ask(question string, option ...console.AskOption) (string, error)
- func (_m *Context) Black(message string)
- func (_m *Context) Blackln(message string)
- func (_m *Context) Choice(question string, options []console.Choice, option ...console.ChoiceOption) (string, error)
- func (_m *Context) Comment(message string)
- func (_m *Context) Confirm(question string, option ...console.ConfirmOption) bool
- func (_m *Context) CreateProgressBar(total int) console.Progress
- func (_m *Context) Divider(filler ...string)
- func (_m *Context) EXPECT() *Context_Expecter
- func (_m *Context) Error(message string)
- func (_m *Context) Green(message string)
- func (_m *Context) Greenln(message string)
- func (_m *Context) Info(message string)
- func (_m *Context) Instance() *cli.Command
- func (_m *Context) Line(message string)
- func (_m *Context) MultiSelect(question string, options []console.Choice, option ...console.MultiSelectOption) ([]string, error)
- func (_m *Context) NewLine(times ...int)
- func (_m *Context) Option(key string) string
- func (_m *Context) OptionBool(key string) bool
- func (_m *Context) OptionFloat64(key string) float64
- func (_m *Context) OptionFloat64Slice(key string) []float64
- func (_m *Context) OptionInt(key string) int
- func (_m *Context) OptionInt64(key string) int64
- func (_m *Context) OptionInt64Slice(key string) []int64
- func (_m *Context) OptionIntSlice(key string) []int
- func (_m *Context) OptionSlice(key string) []string
- func (_m *Context) Red(message string)
- func (_m *Context) Redln(message string)
- func (_m *Context) Secret(question string, option ...console.SecretOption) (string, error)
- func (_m *Context) Spinner(message string, option console.SpinnerOption) error
- func (_m *Context) Success(message string)
- func (_m *Context) TwoColumnDetail(first string, second string, filler ...rune)
- func (_m *Context) Warning(message string)
- func (_m *Context) WithProgressBar(items []interface{}, callback func(interface{}) error) ([]interface{}, error)
- func (_m *Context) Yellow(message string)
- func (_m *Context) Yellowln(message string)
- type Context_ArgumentFloat32Slice_Call
- func (_c *Context_ArgumentFloat32Slice_Call) Return(_a0 []float32) *Context_ArgumentFloat32Slice_Call
- func (_c *Context_ArgumentFloat32Slice_Call) Run(run func(key string)) *Context_ArgumentFloat32Slice_Call
- func (_c *Context_ArgumentFloat32Slice_Call) RunAndReturn(run func(string) []float32) *Context_ArgumentFloat32Slice_Call
- type Context_ArgumentFloat32_Call
- type Context_ArgumentFloat64Slice_Call
- func (_c *Context_ArgumentFloat64Slice_Call) Return(_a0 []float64) *Context_ArgumentFloat64Slice_Call
- func (_c *Context_ArgumentFloat64Slice_Call) Run(run func(key string)) *Context_ArgumentFloat64Slice_Call
- func (_c *Context_ArgumentFloat64Slice_Call) RunAndReturn(run func(string) []float64) *Context_ArgumentFloat64Slice_Call
- type Context_ArgumentFloat64_Call
- type Context_ArgumentInt16Slice_Call
- func (_c *Context_ArgumentInt16Slice_Call) Return(_a0 []int16) *Context_ArgumentInt16Slice_Call
- func (_c *Context_ArgumentInt16Slice_Call) Run(run func(key string)) *Context_ArgumentInt16Slice_Call
- func (_c *Context_ArgumentInt16Slice_Call) RunAndReturn(run func(string) []int16) *Context_ArgumentInt16Slice_Call
- type Context_ArgumentInt16_Call
- type Context_ArgumentInt32Slice_Call
- func (_c *Context_ArgumentInt32Slice_Call) Return(_a0 []int32) *Context_ArgumentInt32Slice_Call
- func (_c *Context_ArgumentInt32Slice_Call) Run(run func(key string)) *Context_ArgumentInt32Slice_Call
- func (_c *Context_ArgumentInt32Slice_Call) RunAndReturn(run func(string) []int32) *Context_ArgumentInt32Slice_Call
- type Context_ArgumentInt32_Call
- type Context_ArgumentInt64Slice_Call
- func (_c *Context_ArgumentInt64Slice_Call) Return(_a0 []int64) *Context_ArgumentInt64Slice_Call
- func (_c *Context_ArgumentInt64Slice_Call) Run(run func(key string)) *Context_ArgumentInt64Slice_Call
- func (_c *Context_ArgumentInt64Slice_Call) RunAndReturn(run func(string) []int64) *Context_ArgumentInt64Slice_Call
- type Context_ArgumentInt64_Call
- type Context_ArgumentInt8Slice_Call
- func (_c *Context_ArgumentInt8Slice_Call) Return(_a0 []int8) *Context_ArgumentInt8Slice_Call
- func (_c *Context_ArgumentInt8Slice_Call) Run(run func(key string)) *Context_ArgumentInt8Slice_Call
- func (_c *Context_ArgumentInt8Slice_Call) RunAndReturn(run func(string) []int8) *Context_ArgumentInt8Slice_Call
- type Context_ArgumentInt8_Call
- type Context_ArgumentIntSlice_Call
- type Context_ArgumentInt_Call
- type Context_ArgumentStringSlice_Call
- func (_c *Context_ArgumentStringSlice_Call) Return(_a0 []string) *Context_ArgumentStringSlice_Call
- func (_c *Context_ArgumentStringSlice_Call) Run(run func(key string)) *Context_ArgumentStringSlice_Call
- func (_c *Context_ArgumentStringSlice_Call) RunAndReturn(run func(string) []string) *Context_ArgumentStringSlice_Call
- type Context_ArgumentString_Call
- type Context_ArgumentTimestampSlice_Call
- func (_c *Context_ArgumentTimestampSlice_Call) Return(_a0 []time.Time) *Context_ArgumentTimestampSlice_Call
- func (_c *Context_ArgumentTimestampSlice_Call) Run(run func(key string)) *Context_ArgumentTimestampSlice_Call
- func (_c *Context_ArgumentTimestampSlice_Call) RunAndReturn(run func(string) []time.Time) *Context_ArgumentTimestampSlice_Call
- type Context_ArgumentTimestamp_Call
- func (_c *Context_ArgumentTimestamp_Call) Return(_a0 time.Time) *Context_ArgumentTimestamp_Call
- func (_c *Context_ArgumentTimestamp_Call) Run(run func(key string)) *Context_ArgumentTimestamp_Call
- func (_c *Context_ArgumentTimestamp_Call) RunAndReturn(run func(string) time.Time) *Context_ArgumentTimestamp_Call
- type Context_ArgumentUint16Slice_Call
- func (_c *Context_ArgumentUint16Slice_Call) Return(_a0 []uint16) *Context_ArgumentUint16Slice_Call
- func (_c *Context_ArgumentUint16Slice_Call) Run(run func(key string)) *Context_ArgumentUint16Slice_Call
- func (_c *Context_ArgumentUint16Slice_Call) RunAndReturn(run func(string) []uint16) *Context_ArgumentUint16Slice_Call
- type Context_ArgumentUint16_Call
- type Context_ArgumentUint32Slice_Call
- func (_c *Context_ArgumentUint32Slice_Call) Return(_a0 []uint32) *Context_ArgumentUint32Slice_Call
- func (_c *Context_ArgumentUint32Slice_Call) Run(run func(key string)) *Context_ArgumentUint32Slice_Call
- func (_c *Context_ArgumentUint32Slice_Call) RunAndReturn(run func(string) []uint32) *Context_ArgumentUint32Slice_Call
- type Context_ArgumentUint32_Call
- type Context_ArgumentUint64Slice_Call
- func (_c *Context_ArgumentUint64Slice_Call) Return(_a0 []uint64) *Context_ArgumentUint64Slice_Call
- func (_c *Context_ArgumentUint64Slice_Call) Run(run func(key string)) *Context_ArgumentUint64Slice_Call
- func (_c *Context_ArgumentUint64Slice_Call) RunAndReturn(run func(string) []uint64) *Context_ArgumentUint64Slice_Call
- type Context_ArgumentUint64_Call
- type Context_ArgumentUint8Slice_Call
- func (_c *Context_ArgumentUint8Slice_Call) Return(_a0 []uint8) *Context_ArgumentUint8Slice_Call
- func (_c *Context_ArgumentUint8Slice_Call) Run(run func(key string)) *Context_ArgumentUint8Slice_Call
- func (_c *Context_ArgumentUint8Slice_Call) RunAndReturn(run func(string) []uint8) *Context_ArgumentUint8Slice_Call
- type Context_ArgumentUint8_Call
- type Context_ArgumentUintSlice_Call
- func (_c *Context_ArgumentUintSlice_Call) Return(_a0 []uint) *Context_ArgumentUintSlice_Call
- func (_c *Context_ArgumentUintSlice_Call) Run(run func(key string)) *Context_ArgumentUintSlice_Call
- func (_c *Context_ArgumentUintSlice_Call) RunAndReturn(run func(string) []uint) *Context_ArgumentUintSlice_Call
- type Context_ArgumentUint_Call
- type Context_Argument_Call
- type Context_Arguments_Call
- type Context_Ask_Call
- type Context_Black_Call
- type Context_Blackln_Call
- type Context_Choice_Call
- type Context_Comment_Call
- type Context_Confirm_Call
- func (_c *Context_Confirm_Call) Return(_a0 bool) *Context_Confirm_Call
- func (_c *Context_Confirm_Call) Run(run func(question string, option ...console.ConfirmOption)) *Context_Confirm_Call
- func (_c *Context_Confirm_Call) RunAndReturn(run func(string, ...console.ConfirmOption) bool) *Context_Confirm_Call
- type Context_CreateProgressBar_Call
- func (_c *Context_CreateProgressBar_Call) Return(_a0 console.Progress) *Context_CreateProgressBar_Call
- func (_c *Context_CreateProgressBar_Call) Run(run func(total int)) *Context_CreateProgressBar_Call
- func (_c *Context_CreateProgressBar_Call) RunAndReturn(run func(int) console.Progress) *Context_CreateProgressBar_Call
- type Context_Divider_Call
- type Context_Error_Call
- type Context_Expecter
- func (_e *Context_Expecter) Argument(index interface{}) *Context_Argument_Call
- func (_e *Context_Expecter) ArgumentFloat32(key interface{}) *Context_ArgumentFloat32_Call
- func (_e *Context_Expecter) ArgumentFloat32Slice(key interface{}) *Context_ArgumentFloat32Slice_Call
- func (_e *Context_Expecter) ArgumentFloat64(key interface{}) *Context_ArgumentFloat64_Call
- func (_e *Context_Expecter) ArgumentFloat64Slice(key interface{}) *Context_ArgumentFloat64Slice_Call
- func (_e *Context_Expecter) ArgumentInt(key interface{}) *Context_ArgumentInt_Call
- func (_e *Context_Expecter) ArgumentInt16(key interface{}) *Context_ArgumentInt16_Call
- func (_e *Context_Expecter) ArgumentInt16Slice(key interface{}) *Context_ArgumentInt16Slice_Call
- func (_e *Context_Expecter) ArgumentInt32(key interface{}) *Context_ArgumentInt32_Call
- func (_e *Context_Expecter) ArgumentInt32Slice(key interface{}) *Context_ArgumentInt32Slice_Call
- func (_e *Context_Expecter) ArgumentInt64(key interface{}) *Context_ArgumentInt64_Call
- func (_e *Context_Expecter) ArgumentInt64Slice(key interface{}) *Context_ArgumentInt64Slice_Call
- func (_e *Context_Expecter) ArgumentInt8(key interface{}) *Context_ArgumentInt8_Call
- func (_e *Context_Expecter) ArgumentInt8Slice(key interface{}) *Context_ArgumentInt8Slice_Call
- func (_e *Context_Expecter) ArgumentIntSlice(key interface{}) *Context_ArgumentIntSlice_Call
- func (_e *Context_Expecter) ArgumentString(key interface{}) *Context_ArgumentString_Call
- func (_e *Context_Expecter) ArgumentStringSlice(key interface{}) *Context_ArgumentStringSlice_Call
- func (_e *Context_Expecter) ArgumentTimestamp(key interface{}) *Context_ArgumentTimestamp_Call
- func (_e *Context_Expecter) ArgumentTimestampSlice(key interface{}) *Context_ArgumentTimestampSlice_Call
- func (_e *Context_Expecter) ArgumentUint(key interface{}) *Context_ArgumentUint_Call
- func (_e *Context_Expecter) ArgumentUint16(key interface{}) *Context_ArgumentUint16_Call
- func (_e *Context_Expecter) ArgumentUint16Slice(key interface{}) *Context_ArgumentUint16Slice_Call
- func (_e *Context_Expecter) ArgumentUint32(key interface{}) *Context_ArgumentUint32_Call
- func (_e *Context_Expecter) ArgumentUint32Slice(key interface{}) *Context_ArgumentUint32Slice_Call
- func (_e *Context_Expecter) ArgumentUint64(key interface{}) *Context_ArgumentUint64_Call
- func (_e *Context_Expecter) ArgumentUint64Slice(key interface{}) *Context_ArgumentUint64Slice_Call
- func (_e *Context_Expecter) ArgumentUint8(key interface{}) *Context_ArgumentUint8_Call
- func (_e *Context_Expecter) ArgumentUint8Slice(key interface{}) *Context_ArgumentUint8Slice_Call
- func (_e *Context_Expecter) ArgumentUintSlice(key interface{}) *Context_ArgumentUintSlice_Call
- func (_e *Context_Expecter) Arguments() *Context_Arguments_Call
- func (_e *Context_Expecter) Ask(question interface{}, option ...interface{}) *Context_Ask_Call
- func (_e *Context_Expecter) Black(message interface{}) *Context_Black_Call
- func (_e *Context_Expecter) Blackln(message interface{}) *Context_Blackln_Call
- func (_e *Context_Expecter) Choice(question interface{}, options interface{}, option ...interface{}) *Context_Choice_Call
- func (_e *Context_Expecter) Comment(message interface{}) *Context_Comment_Call
- func (_e *Context_Expecter) Confirm(question interface{}, option ...interface{}) *Context_Confirm_Call
- func (_e *Context_Expecter) CreateProgressBar(total interface{}) *Context_CreateProgressBar_Call
- func (_e *Context_Expecter) Divider(filler ...interface{}) *Context_Divider_Call
- func (_e *Context_Expecter) Error(message interface{}) *Context_Error_Call
- func (_e *Context_Expecter) Green(message interface{}) *Context_Green_Call
- func (_e *Context_Expecter) Greenln(message interface{}) *Context_Greenln_Call
- func (_e *Context_Expecter) Info(message interface{}) *Context_Info_Call
- func (_e *Context_Expecter) Instance() *Context_Instance_Call
- func (_e *Context_Expecter) Line(message interface{}) *Context_Line_Call
- func (_e *Context_Expecter) MultiSelect(question interface{}, options interface{}, option ...interface{}) *Context_MultiSelect_Call
- func (_e *Context_Expecter) NewLine(times ...interface{}) *Context_NewLine_Call
- func (_e *Context_Expecter) Option(key interface{}) *Context_Option_Call
- func (_e *Context_Expecter) OptionBool(key interface{}) *Context_OptionBool_Call
- func (_e *Context_Expecter) OptionFloat64(key interface{}) *Context_OptionFloat64_Call
- func (_e *Context_Expecter) OptionFloat64Slice(key interface{}) *Context_OptionFloat64Slice_Call
- func (_e *Context_Expecter) OptionInt(key interface{}) *Context_OptionInt_Call
- func (_e *Context_Expecter) OptionInt64(key interface{}) *Context_OptionInt64_Call
- func (_e *Context_Expecter) OptionInt64Slice(key interface{}) *Context_OptionInt64Slice_Call
- func (_e *Context_Expecter) OptionIntSlice(key interface{}) *Context_OptionIntSlice_Call
- func (_e *Context_Expecter) OptionSlice(key interface{}) *Context_OptionSlice_Call
- func (_e *Context_Expecter) Red(message interface{}) *Context_Red_Call
- func (_e *Context_Expecter) Redln(message interface{}) *Context_Redln_Call
- func (_e *Context_Expecter) Secret(question interface{}, option ...interface{}) *Context_Secret_Call
- func (_e *Context_Expecter) Spinner(message interface{}, option interface{}) *Context_Spinner_Call
- func (_e *Context_Expecter) Success(message interface{}) *Context_Success_Call
- func (_e *Context_Expecter) TwoColumnDetail(first interface{}, second interface{}, filler ...interface{}) *Context_TwoColumnDetail_Call
- func (_e *Context_Expecter) Warning(message interface{}) *Context_Warning_Call
- func (_e *Context_Expecter) WithProgressBar(items interface{}, callback interface{}) *Context_WithProgressBar_Call
- func (_e *Context_Expecter) Yellow(message interface{}) *Context_Yellow_Call
- func (_e *Context_Expecter) Yellowln(message interface{}) *Context_Yellowln_Call
- type Context_Green_Call
- type Context_Greenln_Call
- type Context_Info_Call
- type Context_Instance_Call
- type Context_Line_Call
- type Context_MultiSelect_Call
- type Context_NewLine_Call
- type Context_OptionBool_Call
- type Context_OptionFloat64Slice_Call
- func (_c *Context_OptionFloat64Slice_Call) Return(_a0 []float64) *Context_OptionFloat64Slice_Call
- func (_c *Context_OptionFloat64Slice_Call) Run(run func(key string)) *Context_OptionFloat64Slice_Call
- func (_c *Context_OptionFloat64Slice_Call) RunAndReturn(run func(string) []float64) *Context_OptionFloat64Slice_Call
- type Context_OptionFloat64_Call
- type Context_OptionInt64Slice_Call
- func (_c *Context_OptionInt64Slice_Call) Return(_a0 []int64) *Context_OptionInt64Slice_Call
- func (_c *Context_OptionInt64Slice_Call) Run(run func(key string)) *Context_OptionInt64Slice_Call
- func (_c *Context_OptionInt64Slice_Call) RunAndReturn(run func(string) []int64) *Context_OptionInt64Slice_Call
- type Context_OptionInt64_Call
- type Context_OptionIntSlice_Call
- type Context_OptionInt_Call
- type Context_OptionSlice_Call
- type Context_Option_Call
- type Context_Red_Call
- type Context_Redln_Call
- type Context_Secret_Call
- func (_c *Context_Secret_Call) Return(_a0 string, _a1 error) *Context_Secret_Call
- func (_c *Context_Secret_Call) Run(run func(question string, option ...console.SecretOption)) *Context_Secret_Call
- func (_c *Context_Secret_Call) RunAndReturn(run func(string, ...console.SecretOption) (string, error)) *Context_Secret_Call
- type Context_Spinner_Call
- type Context_Success_Call
- type Context_TwoColumnDetail_Call
- func (_c *Context_TwoColumnDetail_Call) Return() *Context_TwoColumnDetail_Call
- func (_c *Context_TwoColumnDetail_Call) Run(run func(first string, second string, filler ...rune)) *Context_TwoColumnDetail_Call
- func (_c *Context_TwoColumnDetail_Call) RunAndReturn(run func(string, string, ...rune)) *Context_TwoColumnDetail_Call
- type Context_Warning_Call
- type Context_WithProgressBar_Call
- func (_c *Context_WithProgressBar_Call) Return(_a0 []interface{}, _a1 error) *Context_WithProgressBar_Call
- func (_c *Context_WithProgressBar_Call) Run(run func(items []interface{}, callback func(interface{}) error)) *Context_WithProgressBar_Call
- func (_c *Context_WithProgressBar_Call) RunAndReturn(run func([]interface{}, func(interface{}) error) ([]interface{}, error)) *Context_WithProgressBar_Call
- type Context_Yellow_Call
- type Context_Yellowln_Call
- type Progress
- func (_m *Progress) Advance(step ...int)
- func (_m *Progress) EXPECT() *Progress_Expecter
- func (_m *Progress) Finish() error
- func (_m *Progress) SetTitle(message string)
- func (_m *Progress) ShowElapsedTime(b ...bool) console.Progress
- func (_m *Progress) ShowTitle(b ...bool) console.Progress
- func (_m *Progress) Start() error
- type Progress_Advance_Call
- type Progress_Expecter
- func (_e *Progress_Expecter) Advance(step ...interface{}) *Progress_Advance_Call
- func (_e *Progress_Expecter) Finish() *Progress_Finish_Call
- func (_e *Progress_Expecter) SetTitle(message interface{}) *Progress_SetTitle_Call
- func (_e *Progress_Expecter) ShowElapsedTime(b ...interface{}) *Progress_ShowElapsedTime_Call
- func (_e *Progress_Expecter) ShowTitle(b ...interface{}) *Progress_ShowTitle_Call
- func (_e *Progress_Expecter) Start() *Progress_Start_Call
- type Progress_Finish_Call
- type Progress_SetTitle_Call
- type Progress_ShowElapsedTime_Call
- func (_c *Progress_ShowElapsedTime_Call) Return(_a0 console.Progress) *Progress_ShowElapsedTime_Call
- func (_c *Progress_ShowElapsedTime_Call) Run(run func(b ...bool)) *Progress_ShowElapsedTime_Call
- func (_c *Progress_ShowElapsedTime_Call) RunAndReturn(run func(...bool) console.Progress) *Progress_ShowElapsedTime_Call
- type Progress_ShowTitle_Call
- type Progress_Start_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artisan ¶
Artisan is an autogenerated mock type for the Artisan type
func NewArtisan ¶
NewArtisan creates a new instance of Artisan. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Artisan) CallAndExit ¶
CallAndExit provides a mock function with given fields: command
func (*Artisan) EXPECT ¶
func (_m *Artisan) EXPECT() *Artisan_Expecter
type Artisan_CallAndExit_Call ¶
Artisan_CallAndExit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallAndExit'
func (*Artisan_CallAndExit_Call) Return ¶
func (_c *Artisan_CallAndExit_Call) Return() *Artisan_CallAndExit_Call
func (*Artisan_CallAndExit_Call) Run ¶
func (_c *Artisan_CallAndExit_Call) Run(run func(command string)) *Artisan_CallAndExit_Call
func (*Artisan_CallAndExit_Call) RunAndReturn ¶
func (_c *Artisan_CallAndExit_Call) RunAndReturn(run func(string)) *Artisan_CallAndExit_Call
type Artisan_Call_Call ¶
Artisan_Call_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Call'
func (*Artisan_Call_Call) Return ¶
func (_c *Artisan_Call_Call) Return(_a0 error) *Artisan_Call_Call
func (*Artisan_Call_Call) Run ¶
func (_c *Artisan_Call_Call) Run(run func(command string)) *Artisan_Call_Call
func (*Artisan_Call_Call) RunAndReturn ¶
func (_c *Artisan_Call_Call) RunAndReturn(run func(string) error) *Artisan_Call_Call
type Artisan_Expecter ¶
type Artisan_Expecter struct {
// contains filtered or unexported fields
}
func (*Artisan_Expecter) Call ¶
func (_e *Artisan_Expecter) Call(command interface{}) *Artisan_Call_Call
Call is a helper method to define mock.On call
- command string
func (*Artisan_Expecter) CallAndExit ¶
func (_e *Artisan_Expecter) CallAndExit(command interface{}) *Artisan_CallAndExit_Call
CallAndExit is a helper method to define mock.On call
- command string
func (*Artisan_Expecter) Register ¶
func (_e *Artisan_Expecter) Register(commands interface{}) *Artisan_Register_Call
Register is a helper method to define mock.On call
- commands []console.Command
func (*Artisan_Expecter) Run ¶
func (_e *Artisan_Expecter) Run(args interface{}, exitIfArtisan interface{}) *Artisan_Run_Call
Run is a helper method to define mock.On call
- args []string
- exitIfArtisan bool
type Artisan_Register_Call ¶
Artisan_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*Artisan_Register_Call) Return ¶
func (_c *Artisan_Register_Call) Return() *Artisan_Register_Call
func (*Artisan_Register_Call) Run ¶
func (_c *Artisan_Register_Call) Run(run func(commands []console.Command)) *Artisan_Register_Call
func (*Artisan_Register_Call) RunAndReturn ¶
func (_c *Artisan_Register_Call) RunAndReturn(run func([]console.Command)) *Artisan_Register_Call
type Artisan_Run_Call ¶
Artisan_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*Artisan_Run_Call) Return ¶
func (_c *Artisan_Run_Call) Return(_a0 error) *Artisan_Run_Call
func (*Artisan_Run_Call) Run ¶
func (_c *Artisan_Run_Call) Run(run func(args []string, exitIfArtisan bool)) *Artisan_Run_Call
func (*Artisan_Run_Call) RunAndReturn ¶
func (_c *Artisan_Run_Call) RunAndReturn(run func([]string, bool) error) *Artisan_Run_Call
type Command ¶
Command is an autogenerated mock type for the Command type
func NewCommand ¶
NewCommand creates a new instance of Command. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Command) Description ¶
Description provides a mock function with no fields
func (*Command) EXPECT ¶
func (_m *Command) EXPECT() *Command_Expecter
type Command_Description_Call ¶
Command_Description_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Description'
func (*Command_Description_Call) Return ¶
func (_c *Command_Description_Call) Return(_a0 string) *Command_Description_Call
func (*Command_Description_Call) Run ¶
func (_c *Command_Description_Call) Run(run func()) *Command_Description_Call
func (*Command_Description_Call) RunAndReturn ¶
func (_c *Command_Description_Call) RunAndReturn(run func() string) *Command_Description_Call
type Command_Expecter ¶
type Command_Expecter struct {
// contains filtered or unexported fields
}
func (*Command_Expecter) Description ¶
func (_e *Command_Expecter) Description() *Command_Description_Call
Description is a helper method to define mock.On call
func (*Command_Expecter) Extend ¶
func (_e *Command_Expecter) Extend() *Command_Extend_Call
Extend is a helper method to define mock.On call
func (*Command_Expecter) Handle ¶
func (_e *Command_Expecter) Handle(ctx interface{}) *Command_Handle_Call
Handle is a helper method to define mock.On call
- ctx console.Context
func (*Command_Expecter) Signature ¶
func (_e *Command_Expecter) Signature() *Command_Signature_Call
Signature is a helper method to define mock.On call
type Command_Extend_Call ¶
Command_Extend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Extend'
func (*Command_Extend_Call) Return ¶
func (_c *Command_Extend_Call) Return(_a0 command.Extend) *Command_Extend_Call
func (*Command_Extend_Call) Run ¶
func (_c *Command_Extend_Call) Run(run func()) *Command_Extend_Call
func (*Command_Extend_Call) RunAndReturn ¶
func (_c *Command_Extend_Call) RunAndReturn(run func() command.Extend) *Command_Extend_Call
type Command_Handle_Call ¶
Command_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*Command_Handle_Call) Return ¶
func (_c *Command_Handle_Call) Return(_a0 error) *Command_Handle_Call
func (*Command_Handle_Call) Run ¶
func (_c *Command_Handle_Call) Run(run func(ctx console.Context)) *Command_Handle_Call
func (*Command_Handle_Call) RunAndReturn ¶
func (_c *Command_Handle_Call) RunAndReturn(run func(console.Context) error) *Command_Handle_Call
type Command_Signature_Call ¶
Command_Signature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Signature'
func (*Command_Signature_Call) Return ¶
func (_c *Command_Signature_Call) Return(_a0 string) *Command_Signature_Call
func (*Command_Signature_Call) Run ¶
func (_c *Command_Signature_Call) Run(run func()) *Command_Signature_Call
func (*Command_Signature_Call) RunAndReturn ¶
func (_c *Command_Signature_Call) RunAndReturn(run func() string) *Command_Signature_Call
type Context ¶
Context is an autogenerated mock type for the Context type
func NewContext ¶
NewContext creates a new instance of Context. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Context) ArgumentFloat32 ¶ added in v1.17.0
ArgumentFloat32 provides a mock function with given fields: key
func (*Context) ArgumentFloat32Slice ¶ added in v1.17.0
ArgumentFloat32Slice provides a mock function with given fields: key
func (*Context) ArgumentFloat64 ¶ added in v1.17.0
ArgumentFloat64 provides a mock function with given fields: key
func (*Context) ArgumentFloat64Slice ¶ added in v1.17.0
ArgumentFloat64Slice provides a mock function with given fields: key
func (*Context) ArgumentInt ¶ added in v1.17.0
ArgumentInt provides a mock function with given fields: key
func (*Context) ArgumentInt16 ¶ added in v1.17.0
ArgumentInt16 provides a mock function with given fields: key
func (*Context) ArgumentInt16Slice ¶ added in v1.17.0
ArgumentInt16Slice provides a mock function with given fields: key
func (*Context) ArgumentInt32 ¶ added in v1.17.0
ArgumentInt32 provides a mock function with given fields: key
func (*Context) ArgumentInt32Slice ¶ added in v1.17.0
ArgumentInt32Slice provides a mock function with given fields: key
func (*Context) ArgumentInt64 ¶ added in v1.17.0
ArgumentInt64 provides a mock function with given fields: key
func (*Context) ArgumentInt64Slice ¶ added in v1.17.0
ArgumentInt64Slice provides a mock function with given fields: key
func (*Context) ArgumentInt8 ¶ added in v1.17.0
ArgumentInt8 provides a mock function with given fields: key
func (*Context) ArgumentInt8Slice ¶ added in v1.17.0
ArgumentInt8Slice provides a mock function with given fields: key
func (*Context) ArgumentIntSlice ¶ added in v1.17.0
ArgumentIntSlice provides a mock function with given fields: key
func (*Context) ArgumentString ¶ added in v1.17.0
ArgumentString provides a mock function with given fields: key
func (*Context) ArgumentStringSlice ¶ added in v1.17.0
ArgumentStringSlice provides a mock function with given fields: key
func (*Context) ArgumentTimestamp ¶ added in v1.17.0
ArgumentTimestamp provides a mock function with given fields: key
func (*Context) ArgumentTimestampSlice ¶ added in v1.17.0
ArgumentTimestampSlice provides a mock function with given fields: key
func (*Context) ArgumentUint ¶ added in v1.17.0
ArgumentUint provides a mock function with given fields: key
func (*Context) ArgumentUint16 ¶ added in v1.17.0
ArgumentUint16 provides a mock function with given fields: key
func (*Context) ArgumentUint16Slice ¶ added in v1.17.0
ArgumentUint16Slice provides a mock function with given fields: key
func (*Context) ArgumentUint32 ¶ added in v1.17.0
ArgumentUint32 provides a mock function with given fields: key
func (*Context) ArgumentUint32Slice ¶ added in v1.17.0
ArgumentUint32Slice provides a mock function with given fields: key
func (*Context) ArgumentUint64 ¶ added in v1.17.0
ArgumentUint64 provides a mock function with given fields: key
func (*Context) ArgumentUint64Slice ¶ added in v1.17.0
ArgumentUint64Slice provides a mock function with given fields: key
func (*Context) ArgumentUint8 ¶ added in v1.17.0
ArgumentUint8 provides a mock function with given fields: key
func (*Context) ArgumentUint8Slice ¶ added in v1.17.0
ArgumentUint8Slice provides a mock function with given fields: key
func (*Context) ArgumentUintSlice ¶ added in v1.17.0
ArgumentUintSlice provides a mock function with given fields: key
func (*Context) Blackln ¶ added in v1.17.0
Blackln provides a mock function with given fields: message
func (*Context) Choice ¶
func (_m *Context) Choice(question string, options []console.Choice, option ...console.ChoiceOption) (string, error)
Choice provides a mock function with given fields: question, options, option
func (*Context) Confirm ¶
func (_m *Context) Confirm(question string, option ...console.ConfirmOption) bool
Confirm provides a mock function with given fields: question, option
func (*Context) CreateProgressBar ¶
CreateProgressBar provides a mock function with given fields: total
func (*Context) Divider ¶ added in v1.17.0
Divider provides a mock function with given fields: filler
func (*Context) EXPECT ¶
func (_m *Context) EXPECT() *Context_Expecter
func (*Context) Greenln ¶ added in v1.17.0
Greenln provides a mock function with given fields: message
func (*Context) MultiSelect ¶
func (_m *Context) MultiSelect(question string, options []console.Choice, option ...console.MultiSelectOption) ([]string, error)
MultiSelect provides a mock function with given fields: question, options, option
func (*Context) OptionBool ¶
OptionBool provides a mock function with given fields: key
func (*Context) OptionFloat64 ¶
OptionFloat64 provides a mock function with given fields: key
func (*Context) OptionFloat64Slice ¶
OptionFloat64Slice provides a mock function with given fields: key
func (*Context) OptionInt64 ¶
OptionInt64 provides a mock function with given fields: key
func (*Context) OptionInt64Slice ¶
OptionInt64Slice provides a mock function with given fields: key
func (*Context) OptionIntSlice ¶
OptionIntSlice provides a mock function with given fields: key
func (*Context) OptionSlice ¶
OptionSlice provides a mock function with given fields: key
func (*Context) Spinner ¶
func (_m *Context) Spinner(message string, option console.SpinnerOption) error
Spinner provides a mock function with given fields: message, option
func (*Context) Success ¶ added in v1.15.0
Success provides a mock function with given fields: message
func (*Context) TwoColumnDetail ¶ added in v1.15.0
TwoColumnDetail provides a mock function with given fields: first, second, filler
func (*Context) WithProgressBar ¶
func (_m *Context) WithProgressBar(items []interface{}, callback func(interface{}) error) ([]interface{}, error)
WithProgressBar provides a mock function with given fields: items, callback
type Context_ArgumentFloat32Slice_Call ¶ added in v1.17.0
Context_ArgumentFloat32Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentFloat32Slice'
func (*Context_ArgumentFloat32Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentFloat32Slice_Call) Return(_a0 []float32) *Context_ArgumentFloat32Slice_Call
func (*Context_ArgumentFloat32Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentFloat32Slice_Call) Run(run func(key string)) *Context_ArgumentFloat32Slice_Call
func (*Context_ArgumentFloat32Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentFloat32Slice_Call) RunAndReturn(run func(string) []float32) *Context_ArgumentFloat32Slice_Call
type Context_ArgumentFloat32_Call ¶ added in v1.17.0
Context_ArgumentFloat32_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentFloat32'
func (*Context_ArgumentFloat32_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentFloat32_Call) Return(_a0 float32) *Context_ArgumentFloat32_Call
func (*Context_ArgumentFloat32_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentFloat32_Call) Run(run func(key string)) *Context_ArgumentFloat32_Call
func (*Context_ArgumentFloat32_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentFloat32_Call) RunAndReturn(run func(string) float32) *Context_ArgumentFloat32_Call
type Context_ArgumentFloat64Slice_Call ¶ added in v1.17.0
Context_ArgumentFloat64Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentFloat64Slice'
func (*Context_ArgumentFloat64Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentFloat64Slice_Call) Return(_a0 []float64) *Context_ArgumentFloat64Slice_Call
func (*Context_ArgumentFloat64Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentFloat64Slice_Call) Run(run func(key string)) *Context_ArgumentFloat64Slice_Call
func (*Context_ArgumentFloat64Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentFloat64Slice_Call) RunAndReturn(run func(string) []float64) *Context_ArgumentFloat64Slice_Call
type Context_ArgumentFloat64_Call ¶ added in v1.17.0
Context_ArgumentFloat64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentFloat64'
func (*Context_ArgumentFloat64_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentFloat64_Call) Return(_a0 float64) *Context_ArgumentFloat64_Call
func (*Context_ArgumentFloat64_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentFloat64_Call) Run(run func(key string)) *Context_ArgumentFloat64_Call
func (*Context_ArgumentFloat64_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentFloat64_Call) RunAndReturn(run func(string) float64) *Context_ArgumentFloat64_Call
type Context_ArgumentInt16Slice_Call ¶ added in v1.17.0
Context_ArgumentInt16Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt16Slice'
func (*Context_ArgumentInt16Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt16Slice_Call) Return(_a0 []int16) *Context_ArgumentInt16Slice_Call
func (*Context_ArgumentInt16Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt16Slice_Call) Run(run func(key string)) *Context_ArgumentInt16Slice_Call
func (*Context_ArgumentInt16Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt16Slice_Call) RunAndReturn(run func(string) []int16) *Context_ArgumentInt16Slice_Call
type Context_ArgumentInt16_Call ¶ added in v1.17.0
Context_ArgumentInt16_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt16'
func (*Context_ArgumentInt16_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt16_Call) Return(_a0 int16) *Context_ArgumentInt16_Call
func (*Context_ArgumentInt16_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt16_Call) Run(run func(key string)) *Context_ArgumentInt16_Call
func (*Context_ArgumentInt16_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt16_Call) RunAndReturn(run func(string) int16) *Context_ArgumentInt16_Call
type Context_ArgumentInt32Slice_Call ¶ added in v1.17.0
Context_ArgumentInt32Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt32Slice'
func (*Context_ArgumentInt32Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt32Slice_Call) Return(_a0 []int32) *Context_ArgumentInt32Slice_Call
func (*Context_ArgumentInt32Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt32Slice_Call) Run(run func(key string)) *Context_ArgumentInt32Slice_Call
func (*Context_ArgumentInt32Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt32Slice_Call) RunAndReturn(run func(string) []int32) *Context_ArgumentInt32Slice_Call
type Context_ArgumentInt32_Call ¶ added in v1.17.0
Context_ArgumentInt32_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt32'
func (*Context_ArgumentInt32_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt32_Call) Return(_a0 int32) *Context_ArgumentInt32_Call
func (*Context_ArgumentInt32_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt32_Call) Run(run func(key string)) *Context_ArgumentInt32_Call
func (*Context_ArgumentInt32_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt32_Call) RunAndReturn(run func(string) int32) *Context_ArgumentInt32_Call
type Context_ArgumentInt64Slice_Call ¶ added in v1.17.0
Context_ArgumentInt64Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt64Slice'
func (*Context_ArgumentInt64Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt64Slice_Call) Return(_a0 []int64) *Context_ArgumentInt64Slice_Call
func (*Context_ArgumentInt64Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt64Slice_Call) Run(run func(key string)) *Context_ArgumentInt64Slice_Call
func (*Context_ArgumentInt64Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt64Slice_Call) RunAndReturn(run func(string) []int64) *Context_ArgumentInt64Slice_Call
type Context_ArgumentInt64_Call ¶ added in v1.17.0
Context_ArgumentInt64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt64'
func (*Context_ArgumentInt64_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt64_Call) Return(_a0 int64) *Context_ArgumentInt64_Call
func (*Context_ArgumentInt64_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt64_Call) Run(run func(key string)) *Context_ArgumentInt64_Call
func (*Context_ArgumentInt64_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt64_Call) RunAndReturn(run func(string) int64) *Context_ArgumentInt64_Call
type Context_ArgumentInt8Slice_Call ¶ added in v1.17.0
Context_ArgumentInt8Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt8Slice'
func (*Context_ArgumentInt8Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt8Slice_Call) Return(_a0 []int8) *Context_ArgumentInt8Slice_Call
func (*Context_ArgumentInt8Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt8Slice_Call) Run(run func(key string)) *Context_ArgumentInt8Slice_Call
func (*Context_ArgumentInt8Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt8Slice_Call) RunAndReturn(run func(string) []int8) *Context_ArgumentInt8Slice_Call
type Context_ArgumentInt8_Call ¶ added in v1.17.0
Context_ArgumentInt8_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt8'
func (*Context_ArgumentInt8_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt8_Call) Return(_a0 int8) *Context_ArgumentInt8_Call
func (*Context_ArgumentInt8_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt8_Call) Run(run func(key string)) *Context_ArgumentInt8_Call
func (*Context_ArgumentInt8_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt8_Call) RunAndReturn(run func(string) int8) *Context_ArgumentInt8_Call
type Context_ArgumentIntSlice_Call ¶ added in v1.17.0
Context_ArgumentIntSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentIntSlice'
func (*Context_ArgumentIntSlice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentIntSlice_Call) Return(_a0 []int) *Context_ArgumentIntSlice_Call
func (*Context_ArgumentIntSlice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentIntSlice_Call) Run(run func(key string)) *Context_ArgumentIntSlice_Call
func (*Context_ArgumentIntSlice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentIntSlice_Call) RunAndReturn(run func(string) []int) *Context_ArgumentIntSlice_Call
type Context_ArgumentInt_Call ¶ added in v1.17.0
Context_ArgumentInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentInt'
func (*Context_ArgumentInt_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentInt_Call) Return(_a0 int) *Context_ArgumentInt_Call
func (*Context_ArgumentInt_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentInt_Call) Run(run func(key string)) *Context_ArgumentInt_Call
func (*Context_ArgumentInt_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentInt_Call) RunAndReturn(run func(string) int) *Context_ArgumentInt_Call
type Context_ArgumentStringSlice_Call ¶ added in v1.17.0
Context_ArgumentStringSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentStringSlice'
func (*Context_ArgumentStringSlice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentStringSlice_Call) Return(_a0 []string) *Context_ArgumentStringSlice_Call
func (*Context_ArgumentStringSlice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentStringSlice_Call) Run(run func(key string)) *Context_ArgumentStringSlice_Call
func (*Context_ArgumentStringSlice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentStringSlice_Call) RunAndReturn(run func(string) []string) *Context_ArgumentStringSlice_Call
type Context_ArgumentString_Call ¶ added in v1.17.0
Context_ArgumentString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentString'
func (*Context_ArgumentString_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentString_Call) Return(_a0 string) *Context_ArgumentString_Call
func (*Context_ArgumentString_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentString_Call) Run(run func(key string)) *Context_ArgumentString_Call
func (*Context_ArgumentString_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentString_Call) RunAndReturn(run func(string) string) *Context_ArgumentString_Call
type Context_ArgumentTimestampSlice_Call ¶ added in v1.17.0
Context_ArgumentTimestampSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentTimestampSlice'
func (*Context_ArgumentTimestampSlice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentTimestampSlice_Call) Return(_a0 []time.Time) *Context_ArgumentTimestampSlice_Call
func (*Context_ArgumentTimestampSlice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentTimestampSlice_Call) Run(run func(key string)) *Context_ArgumentTimestampSlice_Call
func (*Context_ArgumentTimestampSlice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentTimestampSlice_Call) RunAndReturn(run func(string) []time.Time) *Context_ArgumentTimestampSlice_Call
type Context_ArgumentTimestamp_Call ¶ added in v1.17.0
Context_ArgumentTimestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentTimestamp'
func (*Context_ArgumentTimestamp_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentTimestamp_Call) Return(_a0 time.Time) *Context_ArgumentTimestamp_Call
func (*Context_ArgumentTimestamp_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentTimestamp_Call) Run(run func(key string)) *Context_ArgumentTimestamp_Call
func (*Context_ArgumentTimestamp_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentTimestamp_Call) RunAndReturn(run func(string) time.Time) *Context_ArgumentTimestamp_Call
type Context_ArgumentUint16Slice_Call ¶ added in v1.17.0
Context_ArgumentUint16Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint16Slice'
func (*Context_ArgumentUint16Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint16Slice_Call) Return(_a0 []uint16) *Context_ArgumentUint16Slice_Call
func (*Context_ArgumentUint16Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint16Slice_Call) Run(run func(key string)) *Context_ArgumentUint16Slice_Call
func (*Context_ArgumentUint16Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint16Slice_Call) RunAndReturn(run func(string) []uint16) *Context_ArgumentUint16Slice_Call
type Context_ArgumentUint16_Call ¶ added in v1.17.0
Context_ArgumentUint16_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint16'
func (*Context_ArgumentUint16_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint16_Call) Return(_a0 uint16) *Context_ArgumentUint16_Call
func (*Context_ArgumentUint16_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint16_Call) Run(run func(key string)) *Context_ArgumentUint16_Call
func (*Context_ArgumentUint16_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint16_Call) RunAndReturn(run func(string) uint16) *Context_ArgumentUint16_Call
type Context_ArgumentUint32Slice_Call ¶ added in v1.17.0
Context_ArgumentUint32Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint32Slice'
func (*Context_ArgumentUint32Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint32Slice_Call) Return(_a0 []uint32) *Context_ArgumentUint32Slice_Call
func (*Context_ArgumentUint32Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint32Slice_Call) Run(run func(key string)) *Context_ArgumentUint32Slice_Call
func (*Context_ArgumentUint32Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint32Slice_Call) RunAndReturn(run func(string) []uint32) *Context_ArgumentUint32Slice_Call
type Context_ArgumentUint32_Call ¶ added in v1.17.0
Context_ArgumentUint32_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint32'
func (*Context_ArgumentUint32_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint32_Call) Return(_a0 uint32) *Context_ArgumentUint32_Call
func (*Context_ArgumentUint32_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint32_Call) Run(run func(key string)) *Context_ArgumentUint32_Call
func (*Context_ArgumentUint32_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint32_Call) RunAndReturn(run func(string) uint32) *Context_ArgumentUint32_Call
type Context_ArgumentUint64Slice_Call ¶ added in v1.17.0
Context_ArgumentUint64Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint64Slice'
func (*Context_ArgumentUint64Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint64Slice_Call) Return(_a0 []uint64) *Context_ArgumentUint64Slice_Call
func (*Context_ArgumentUint64Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint64Slice_Call) Run(run func(key string)) *Context_ArgumentUint64Slice_Call
func (*Context_ArgumentUint64Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint64Slice_Call) RunAndReturn(run func(string) []uint64) *Context_ArgumentUint64Slice_Call
type Context_ArgumentUint64_Call ¶ added in v1.17.0
Context_ArgumentUint64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint64'
func (*Context_ArgumentUint64_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint64_Call) Return(_a0 uint64) *Context_ArgumentUint64_Call
func (*Context_ArgumentUint64_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint64_Call) Run(run func(key string)) *Context_ArgumentUint64_Call
func (*Context_ArgumentUint64_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint64_Call) RunAndReturn(run func(string) uint64) *Context_ArgumentUint64_Call
type Context_ArgumentUint8Slice_Call ¶ added in v1.17.0
Context_ArgumentUint8Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint8Slice'
func (*Context_ArgumentUint8Slice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint8Slice_Call) Return(_a0 []uint8) *Context_ArgumentUint8Slice_Call
func (*Context_ArgumentUint8Slice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint8Slice_Call) Run(run func(key string)) *Context_ArgumentUint8Slice_Call
func (*Context_ArgumentUint8Slice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint8Slice_Call) RunAndReturn(run func(string) []uint8) *Context_ArgumentUint8Slice_Call
type Context_ArgumentUint8_Call ¶ added in v1.17.0
Context_ArgumentUint8_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint8'
func (*Context_ArgumentUint8_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint8_Call) Return(_a0 uint8) *Context_ArgumentUint8_Call
func (*Context_ArgumentUint8_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint8_Call) Run(run func(key string)) *Context_ArgumentUint8_Call
func (*Context_ArgumentUint8_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint8_Call) RunAndReturn(run func(string) uint8) *Context_ArgumentUint8_Call
type Context_ArgumentUintSlice_Call ¶ added in v1.17.0
Context_ArgumentUintSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUintSlice'
func (*Context_ArgumentUintSlice_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUintSlice_Call) Return(_a0 []uint) *Context_ArgumentUintSlice_Call
func (*Context_ArgumentUintSlice_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUintSlice_Call) Run(run func(key string)) *Context_ArgumentUintSlice_Call
func (*Context_ArgumentUintSlice_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUintSlice_Call) RunAndReturn(run func(string) []uint) *Context_ArgumentUintSlice_Call
type Context_ArgumentUint_Call ¶ added in v1.17.0
Context_ArgumentUint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArgumentUint'
func (*Context_ArgumentUint_Call) Return ¶ added in v1.17.0
func (_c *Context_ArgumentUint_Call) Return(_a0 uint) *Context_ArgumentUint_Call
func (*Context_ArgumentUint_Call) Run ¶ added in v1.17.0
func (_c *Context_ArgumentUint_Call) Run(run func(key string)) *Context_ArgumentUint_Call
func (*Context_ArgumentUint_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_ArgumentUint_Call) RunAndReturn(run func(string) uint) *Context_ArgumentUint_Call
type Context_Argument_Call ¶
Context_Argument_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Argument'
func (*Context_Argument_Call) Return ¶
func (_c *Context_Argument_Call) Return(_a0 string) *Context_Argument_Call
func (*Context_Argument_Call) Run ¶
func (_c *Context_Argument_Call) Run(run func(index int)) *Context_Argument_Call
func (*Context_Argument_Call) RunAndReturn ¶
func (_c *Context_Argument_Call) RunAndReturn(run func(int) string) *Context_Argument_Call
type Context_Arguments_Call ¶
Context_Arguments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Arguments'
func (*Context_Arguments_Call) Return ¶
func (_c *Context_Arguments_Call) Return(_a0 []string) *Context_Arguments_Call
func (*Context_Arguments_Call) Run ¶
func (_c *Context_Arguments_Call) Run(run func()) *Context_Arguments_Call
func (*Context_Arguments_Call) RunAndReturn ¶
func (_c *Context_Arguments_Call) RunAndReturn(run func() []string) *Context_Arguments_Call
type Context_Ask_Call ¶
Context_Ask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ask'
func (*Context_Ask_Call) Return ¶
func (_c *Context_Ask_Call) Return(_a0 string, _a1 error) *Context_Ask_Call
func (*Context_Ask_Call) Run ¶
func (_c *Context_Ask_Call) Run(run func(question string, option ...console.AskOption)) *Context_Ask_Call
func (*Context_Ask_Call) RunAndReturn ¶
func (_c *Context_Ask_Call) RunAndReturn(run func(string, ...console.AskOption) (string, error)) *Context_Ask_Call
type Context_Black_Call ¶ added in v1.17.0
Context_Black_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Black'
func (*Context_Black_Call) Return ¶ added in v1.17.0
func (_c *Context_Black_Call) Return() *Context_Black_Call
func (*Context_Black_Call) Run ¶ added in v1.17.0
func (_c *Context_Black_Call) Run(run func(message string)) *Context_Black_Call
func (*Context_Black_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Black_Call) RunAndReturn(run func(string)) *Context_Black_Call
type Context_Blackln_Call ¶ added in v1.17.0
Context_Blackln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Blackln'
func (*Context_Blackln_Call) Return ¶ added in v1.17.0
func (_c *Context_Blackln_Call) Return() *Context_Blackln_Call
func (*Context_Blackln_Call) Run ¶ added in v1.17.0
func (_c *Context_Blackln_Call) Run(run func(message string)) *Context_Blackln_Call
func (*Context_Blackln_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Blackln_Call) RunAndReturn(run func(string)) *Context_Blackln_Call
type Context_Choice_Call ¶
Context_Choice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Choice'
func (*Context_Choice_Call) Return ¶
func (_c *Context_Choice_Call) Return(_a0 string, _a1 error) *Context_Choice_Call
func (*Context_Choice_Call) Run ¶
func (_c *Context_Choice_Call) Run(run func(question string, options []console.Choice, option ...console.ChoiceOption)) *Context_Choice_Call
func (*Context_Choice_Call) RunAndReturn ¶
func (_c *Context_Choice_Call) RunAndReturn(run func(string, []console.Choice, ...console.ChoiceOption) (string, error)) *Context_Choice_Call
type Context_Comment_Call ¶
Context_Comment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Comment'
func (*Context_Comment_Call) Return ¶
func (_c *Context_Comment_Call) Return() *Context_Comment_Call
func (*Context_Comment_Call) Run ¶
func (_c *Context_Comment_Call) Run(run func(message string)) *Context_Comment_Call
func (*Context_Comment_Call) RunAndReturn ¶
func (_c *Context_Comment_Call) RunAndReturn(run func(string)) *Context_Comment_Call
type Context_Confirm_Call ¶
Context_Confirm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Confirm'
func (*Context_Confirm_Call) Return ¶
func (_c *Context_Confirm_Call) Return(_a0 bool) *Context_Confirm_Call
func (*Context_Confirm_Call) Run ¶
func (_c *Context_Confirm_Call) Run(run func(question string, option ...console.ConfirmOption)) *Context_Confirm_Call
func (*Context_Confirm_Call) RunAndReturn ¶
func (_c *Context_Confirm_Call) RunAndReturn(run func(string, ...console.ConfirmOption) bool) *Context_Confirm_Call
type Context_CreateProgressBar_Call ¶
Context_CreateProgressBar_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateProgressBar'
func (*Context_CreateProgressBar_Call) Return ¶
func (_c *Context_CreateProgressBar_Call) Return(_a0 console.Progress) *Context_CreateProgressBar_Call
func (*Context_CreateProgressBar_Call) Run ¶
func (_c *Context_CreateProgressBar_Call) Run(run func(total int)) *Context_CreateProgressBar_Call
func (*Context_CreateProgressBar_Call) RunAndReturn ¶
func (_c *Context_CreateProgressBar_Call) RunAndReturn(run func(int) console.Progress) *Context_CreateProgressBar_Call
type Context_Divider_Call ¶ added in v1.17.0
Context_Divider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Divider'
func (*Context_Divider_Call) Return ¶ added in v1.17.0
func (_c *Context_Divider_Call) Return() *Context_Divider_Call
func (*Context_Divider_Call) Run ¶ added in v1.17.0
func (_c *Context_Divider_Call) Run(run func(filler ...string)) *Context_Divider_Call
func (*Context_Divider_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Divider_Call) RunAndReturn(run func(...string)) *Context_Divider_Call
type Context_Error_Call ¶
Context_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Context_Error_Call) Return ¶
func (_c *Context_Error_Call) Return() *Context_Error_Call
func (*Context_Error_Call) Run ¶
func (_c *Context_Error_Call) Run(run func(message string)) *Context_Error_Call
func (*Context_Error_Call) RunAndReturn ¶
func (_c *Context_Error_Call) RunAndReturn(run func(string)) *Context_Error_Call
type Context_Expecter ¶
type Context_Expecter struct {
// contains filtered or unexported fields
}
func (*Context_Expecter) Argument ¶
func (_e *Context_Expecter) Argument(index interface{}) *Context_Argument_Call
Argument is a helper method to define mock.On call
- index int
func (*Context_Expecter) ArgumentFloat32 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentFloat32(key interface{}) *Context_ArgumentFloat32_Call
ArgumentFloat32 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentFloat32Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentFloat32Slice(key interface{}) *Context_ArgumentFloat32Slice_Call
ArgumentFloat32Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentFloat64 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentFloat64(key interface{}) *Context_ArgumentFloat64_Call
ArgumentFloat64 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentFloat64Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentFloat64Slice(key interface{}) *Context_ArgumentFloat64Slice_Call
ArgumentFloat64Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt(key interface{}) *Context_ArgumentInt_Call
ArgumentInt is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt16 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt16(key interface{}) *Context_ArgumentInt16_Call
ArgumentInt16 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt16Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt16Slice(key interface{}) *Context_ArgumentInt16Slice_Call
ArgumentInt16Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt32 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt32(key interface{}) *Context_ArgumentInt32_Call
ArgumentInt32 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt32Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt32Slice(key interface{}) *Context_ArgumentInt32Slice_Call
ArgumentInt32Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt64 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt64(key interface{}) *Context_ArgumentInt64_Call
ArgumentInt64 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt64Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt64Slice(key interface{}) *Context_ArgumentInt64Slice_Call
ArgumentInt64Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt8 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt8(key interface{}) *Context_ArgumentInt8_Call
ArgumentInt8 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentInt8Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentInt8Slice(key interface{}) *Context_ArgumentInt8Slice_Call
ArgumentInt8Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentIntSlice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentIntSlice(key interface{}) *Context_ArgumentIntSlice_Call
ArgumentIntSlice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentString ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentString(key interface{}) *Context_ArgumentString_Call
ArgumentString is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentStringSlice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentStringSlice(key interface{}) *Context_ArgumentStringSlice_Call
ArgumentStringSlice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentTimestamp ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentTimestamp(key interface{}) *Context_ArgumentTimestamp_Call
ArgumentTimestamp is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentTimestampSlice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentTimestampSlice(key interface{}) *Context_ArgumentTimestampSlice_Call
ArgumentTimestampSlice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint(key interface{}) *Context_ArgumentUint_Call
ArgumentUint is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint16 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint16(key interface{}) *Context_ArgumentUint16_Call
ArgumentUint16 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint16Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint16Slice(key interface{}) *Context_ArgumentUint16Slice_Call
ArgumentUint16Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint32 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint32(key interface{}) *Context_ArgumentUint32_Call
ArgumentUint32 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint32Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint32Slice(key interface{}) *Context_ArgumentUint32Slice_Call
ArgumentUint32Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint64 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint64(key interface{}) *Context_ArgumentUint64_Call
ArgumentUint64 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint64Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint64Slice(key interface{}) *Context_ArgumentUint64Slice_Call
ArgumentUint64Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint8 ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint8(key interface{}) *Context_ArgumentUint8_Call
ArgumentUint8 is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUint8Slice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUint8Slice(key interface{}) *Context_ArgumentUint8Slice_Call
ArgumentUint8Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) ArgumentUintSlice ¶ added in v1.17.0
func (_e *Context_Expecter) ArgumentUintSlice(key interface{}) *Context_ArgumentUintSlice_Call
ArgumentUintSlice is a helper method to define mock.On call
- key string
func (*Context_Expecter) Arguments ¶
func (_e *Context_Expecter) Arguments() *Context_Arguments_Call
Arguments is a helper method to define mock.On call
func (*Context_Expecter) Ask ¶
func (_e *Context_Expecter) Ask(question interface{}, option ...interface{}) *Context_Ask_Call
Ask is a helper method to define mock.On call
- question string
- option ...console.AskOption
func (*Context_Expecter) Black ¶ added in v1.17.0
func (_e *Context_Expecter) Black(message interface{}) *Context_Black_Call
Black is a helper method to define mock.On call
- message string
func (*Context_Expecter) Blackln ¶ added in v1.17.0
func (_e *Context_Expecter) Blackln(message interface{}) *Context_Blackln_Call
Blackln is a helper method to define mock.On call
- message string
func (*Context_Expecter) Choice ¶
func (_e *Context_Expecter) Choice(question interface{}, options interface{}, option ...interface{}) *Context_Choice_Call
Choice is a helper method to define mock.On call
- question string
- options []console.Choice
- option ...console.ChoiceOption
func (*Context_Expecter) Comment ¶
func (_e *Context_Expecter) Comment(message interface{}) *Context_Comment_Call
Comment is a helper method to define mock.On call
- message string
func (*Context_Expecter) Confirm ¶
func (_e *Context_Expecter) Confirm(question interface{}, option ...interface{}) *Context_Confirm_Call
Confirm is a helper method to define mock.On call
- question string
- option ...console.ConfirmOption
func (*Context_Expecter) CreateProgressBar ¶
func (_e *Context_Expecter) CreateProgressBar(total interface{}) *Context_CreateProgressBar_Call
CreateProgressBar is a helper method to define mock.On call
- total int
func (*Context_Expecter) Divider ¶ added in v1.17.0
func (_e *Context_Expecter) Divider(filler ...interface{}) *Context_Divider_Call
Divider is a helper method to define mock.On call
- filler ...string
func (*Context_Expecter) Error ¶
func (_e *Context_Expecter) Error(message interface{}) *Context_Error_Call
Error is a helper method to define mock.On call
- message string
func (*Context_Expecter) Green ¶ added in v1.17.0
func (_e *Context_Expecter) Green(message interface{}) *Context_Green_Call
Green is a helper method to define mock.On call
- message string
func (*Context_Expecter) Greenln ¶ added in v1.17.0
func (_e *Context_Expecter) Greenln(message interface{}) *Context_Greenln_Call
Greenln is a helper method to define mock.On call
- message string
func (*Context_Expecter) Info ¶
func (_e *Context_Expecter) Info(message interface{}) *Context_Info_Call
Info is a helper method to define mock.On call
- message string
func (*Context_Expecter) Instance ¶ added in v1.16.4
func (_e *Context_Expecter) Instance() *Context_Instance_Call
Instance is a helper method to define mock.On call
func (*Context_Expecter) Line ¶
func (_e *Context_Expecter) Line(message interface{}) *Context_Line_Call
Line is a helper method to define mock.On call
- message string
func (*Context_Expecter) MultiSelect ¶
func (_e *Context_Expecter) MultiSelect(question interface{}, options interface{}, option ...interface{}) *Context_MultiSelect_Call
MultiSelect is a helper method to define mock.On call
- question string
- options []console.Choice
- option ...console.MultiSelectOption
func (*Context_Expecter) NewLine ¶
func (_e *Context_Expecter) NewLine(times ...interface{}) *Context_NewLine_Call
NewLine is a helper method to define mock.On call
- times ...int
func (*Context_Expecter) Option ¶
func (_e *Context_Expecter) Option(key interface{}) *Context_Option_Call
Option is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionBool ¶
func (_e *Context_Expecter) OptionBool(key interface{}) *Context_OptionBool_Call
OptionBool is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionFloat64 ¶
func (_e *Context_Expecter) OptionFloat64(key interface{}) *Context_OptionFloat64_Call
OptionFloat64 is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionFloat64Slice ¶
func (_e *Context_Expecter) OptionFloat64Slice(key interface{}) *Context_OptionFloat64Slice_Call
OptionFloat64Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionInt ¶
func (_e *Context_Expecter) OptionInt(key interface{}) *Context_OptionInt_Call
OptionInt is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionInt64 ¶
func (_e *Context_Expecter) OptionInt64(key interface{}) *Context_OptionInt64_Call
OptionInt64 is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionInt64Slice ¶
func (_e *Context_Expecter) OptionInt64Slice(key interface{}) *Context_OptionInt64Slice_Call
OptionInt64Slice is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionIntSlice ¶
func (_e *Context_Expecter) OptionIntSlice(key interface{}) *Context_OptionIntSlice_Call
OptionIntSlice is a helper method to define mock.On call
- key string
func (*Context_Expecter) OptionSlice ¶
func (_e *Context_Expecter) OptionSlice(key interface{}) *Context_OptionSlice_Call
OptionSlice is a helper method to define mock.On call
- key string
func (*Context_Expecter) Red ¶ added in v1.17.0
func (_e *Context_Expecter) Red(message interface{}) *Context_Red_Call
Red is a helper method to define mock.On call
- message string
func (*Context_Expecter) Redln ¶ added in v1.17.0
func (_e *Context_Expecter) Redln(message interface{}) *Context_Redln_Call
Redln is a helper method to define mock.On call
- message string
func (*Context_Expecter) Secret ¶
func (_e *Context_Expecter) Secret(question interface{}, option ...interface{}) *Context_Secret_Call
Secret is a helper method to define mock.On call
- question string
- option ...console.SecretOption
func (*Context_Expecter) Spinner ¶
func (_e *Context_Expecter) Spinner(message interface{}, option interface{}) *Context_Spinner_Call
Spinner is a helper method to define mock.On call
- message string
- option console.SpinnerOption
func (*Context_Expecter) Success ¶ added in v1.15.0
func (_e *Context_Expecter) Success(message interface{}) *Context_Success_Call
Success is a helper method to define mock.On call
- message string
func (*Context_Expecter) TwoColumnDetail ¶ added in v1.15.0
func (_e *Context_Expecter) TwoColumnDetail(first interface{}, second interface{}, filler ...interface{}) *Context_TwoColumnDetail_Call
TwoColumnDetail is a helper method to define mock.On call
- first string
- second string
- filler ...rune
func (*Context_Expecter) Warning ¶
func (_e *Context_Expecter) Warning(message interface{}) *Context_Warning_Call
Warning is a helper method to define mock.On call
- message string
func (*Context_Expecter) WithProgressBar ¶
func (_e *Context_Expecter) WithProgressBar(items interface{}, callback interface{}) *Context_WithProgressBar_Call
WithProgressBar is a helper method to define mock.On call
- items []interface{}
- callback func(interface{}) error
func (*Context_Expecter) Yellow ¶ added in v1.17.0
func (_e *Context_Expecter) Yellow(message interface{}) *Context_Yellow_Call
Yellow is a helper method to define mock.On call
- message string
func (*Context_Expecter) Yellowln ¶ added in v1.17.0
func (_e *Context_Expecter) Yellowln(message interface{}) *Context_Yellowln_Call
Yellowln is a helper method to define mock.On call
- message string
type Context_Green_Call ¶ added in v1.17.0
Context_Green_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Green'
func (*Context_Green_Call) Return ¶ added in v1.17.0
func (_c *Context_Green_Call) Return() *Context_Green_Call
func (*Context_Green_Call) Run ¶ added in v1.17.0
func (_c *Context_Green_Call) Run(run func(message string)) *Context_Green_Call
func (*Context_Green_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Green_Call) RunAndReturn(run func(string)) *Context_Green_Call
type Context_Greenln_Call ¶ added in v1.17.0
Context_Greenln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Greenln'
func (*Context_Greenln_Call) Return ¶ added in v1.17.0
func (_c *Context_Greenln_Call) Return() *Context_Greenln_Call
func (*Context_Greenln_Call) Run ¶ added in v1.17.0
func (_c *Context_Greenln_Call) Run(run func(message string)) *Context_Greenln_Call
func (*Context_Greenln_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Greenln_Call) RunAndReturn(run func(string)) *Context_Greenln_Call
type Context_Info_Call ¶
Context_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*Context_Info_Call) Return ¶
func (_c *Context_Info_Call) Return() *Context_Info_Call
func (*Context_Info_Call) Run ¶
func (_c *Context_Info_Call) Run(run func(message string)) *Context_Info_Call
func (*Context_Info_Call) RunAndReturn ¶
func (_c *Context_Info_Call) RunAndReturn(run func(string)) *Context_Info_Call
type Context_Instance_Call ¶ added in v1.16.4
Context_Instance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Instance'
func (*Context_Instance_Call) Return ¶ added in v1.16.4
func (_c *Context_Instance_Call) Return(_a0 *cli.Command) *Context_Instance_Call
func (*Context_Instance_Call) Run ¶ added in v1.16.4
func (_c *Context_Instance_Call) Run(run func()) *Context_Instance_Call
func (*Context_Instance_Call) RunAndReturn ¶ added in v1.16.4
func (_c *Context_Instance_Call) RunAndReturn(run func() *cli.Command) *Context_Instance_Call
type Context_Line_Call ¶
Context_Line_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Line'
func (*Context_Line_Call) Return ¶
func (_c *Context_Line_Call) Return() *Context_Line_Call
func (*Context_Line_Call) Run ¶
func (_c *Context_Line_Call) Run(run func(message string)) *Context_Line_Call
func (*Context_Line_Call) RunAndReturn ¶
func (_c *Context_Line_Call) RunAndReturn(run func(string)) *Context_Line_Call
type Context_MultiSelect_Call ¶
Context_MultiSelect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MultiSelect'
func (*Context_MultiSelect_Call) Return ¶
func (_c *Context_MultiSelect_Call) Return(_a0 []string, _a1 error) *Context_MultiSelect_Call
func (*Context_MultiSelect_Call) Run ¶
func (_c *Context_MultiSelect_Call) Run(run func(question string, options []console.Choice, option ...console.MultiSelectOption)) *Context_MultiSelect_Call
func (*Context_MultiSelect_Call) RunAndReturn ¶
func (_c *Context_MultiSelect_Call) RunAndReturn(run func(string, []console.Choice, ...console.MultiSelectOption) ([]string, error)) *Context_MultiSelect_Call
type Context_NewLine_Call ¶
Context_NewLine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewLine'
func (*Context_NewLine_Call) Return ¶
func (_c *Context_NewLine_Call) Return() *Context_NewLine_Call
func (*Context_NewLine_Call) Run ¶
func (_c *Context_NewLine_Call) Run(run func(times ...int)) *Context_NewLine_Call
func (*Context_NewLine_Call) RunAndReturn ¶
func (_c *Context_NewLine_Call) RunAndReturn(run func(...int)) *Context_NewLine_Call
type Context_OptionBool_Call ¶
Context_OptionBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionBool'
func (*Context_OptionBool_Call) Return ¶
func (_c *Context_OptionBool_Call) Return(_a0 bool) *Context_OptionBool_Call
func (*Context_OptionBool_Call) Run ¶
func (_c *Context_OptionBool_Call) Run(run func(key string)) *Context_OptionBool_Call
func (*Context_OptionBool_Call) RunAndReturn ¶
func (_c *Context_OptionBool_Call) RunAndReturn(run func(string) bool) *Context_OptionBool_Call
type Context_OptionFloat64Slice_Call ¶
Context_OptionFloat64Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionFloat64Slice'
func (*Context_OptionFloat64Slice_Call) Return ¶
func (_c *Context_OptionFloat64Slice_Call) Return(_a0 []float64) *Context_OptionFloat64Slice_Call
func (*Context_OptionFloat64Slice_Call) Run ¶
func (_c *Context_OptionFloat64Slice_Call) Run(run func(key string)) *Context_OptionFloat64Slice_Call
func (*Context_OptionFloat64Slice_Call) RunAndReturn ¶
func (_c *Context_OptionFloat64Slice_Call) RunAndReturn(run func(string) []float64) *Context_OptionFloat64Slice_Call
type Context_OptionFloat64_Call ¶
Context_OptionFloat64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionFloat64'
func (*Context_OptionFloat64_Call) Return ¶
func (_c *Context_OptionFloat64_Call) Return(_a0 float64) *Context_OptionFloat64_Call
func (*Context_OptionFloat64_Call) Run ¶
func (_c *Context_OptionFloat64_Call) Run(run func(key string)) *Context_OptionFloat64_Call
func (*Context_OptionFloat64_Call) RunAndReturn ¶
func (_c *Context_OptionFloat64_Call) RunAndReturn(run func(string) float64) *Context_OptionFloat64_Call
type Context_OptionInt64Slice_Call ¶
Context_OptionInt64Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionInt64Slice'
func (*Context_OptionInt64Slice_Call) Return ¶
func (_c *Context_OptionInt64Slice_Call) Return(_a0 []int64) *Context_OptionInt64Slice_Call
func (*Context_OptionInt64Slice_Call) Run ¶
func (_c *Context_OptionInt64Slice_Call) Run(run func(key string)) *Context_OptionInt64Slice_Call
func (*Context_OptionInt64Slice_Call) RunAndReturn ¶
func (_c *Context_OptionInt64Slice_Call) RunAndReturn(run func(string) []int64) *Context_OptionInt64Slice_Call
type Context_OptionInt64_Call ¶
Context_OptionInt64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionInt64'
func (*Context_OptionInt64_Call) Return ¶
func (_c *Context_OptionInt64_Call) Return(_a0 int64) *Context_OptionInt64_Call
func (*Context_OptionInt64_Call) Run ¶
func (_c *Context_OptionInt64_Call) Run(run func(key string)) *Context_OptionInt64_Call
func (*Context_OptionInt64_Call) RunAndReturn ¶
func (_c *Context_OptionInt64_Call) RunAndReturn(run func(string) int64) *Context_OptionInt64_Call
type Context_OptionIntSlice_Call ¶
Context_OptionIntSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionIntSlice'
func (*Context_OptionIntSlice_Call) Return ¶
func (_c *Context_OptionIntSlice_Call) Return(_a0 []int) *Context_OptionIntSlice_Call
func (*Context_OptionIntSlice_Call) Run ¶
func (_c *Context_OptionIntSlice_Call) Run(run func(key string)) *Context_OptionIntSlice_Call
func (*Context_OptionIntSlice_Call) RunAndReturn ¶
func (_c *Context_OptionIntSlice_Call) RunAndReturn(run func(string) []int) *Context_OptionIntSlice_Call
type Context_OptionInt_Call ¶
Context_OptionInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionInt'
func (*Context_OptionInt_Call) Return ¶
func (_c *Context_OptionInt_Call) Return(_a0 int) *Context_OptionInt_Call
func (*Context_OptionInt_Call) Run ¶
func (_c *Context_OptionInt_Call) Run(run func(key string)) *Context_OptionInt_Call
func (*Context_OptionInt_Call) RunAndReturn ¶
func (_c *Context_OptionInt_Call) RunAndReturn(run func(string) int) *Context_OptionInt_Call
type Context_OptionSlice_Call ¶
Context_OptionSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionSlice'
func (*Context_OptionSlice_Call) Return ¶
func (_c *Context_OptionSlice_Call) Return(_a0 []string) *Context_OptionSlice_Call
func (*Context_OptionSlice_Call) Run ¶
func (_c *Context_OptionSlice_Call) Run(run func(key string)) *Context_OptionSlice_Call
func (*Context_OptionSlice_Call) RunAndReturn ¶
func (_c *Context_OptionSlice_Call) RunAndReturn(run func(string) []string) *Context_OptionSlice_Call
type Context_Option_Call ¶
Context_Option_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Option'
func (*Context_Option_Call) Return ¶
func (_c *Context_Option_Call) Return(_a0 string) *Context_Option_Call
func (*Context_Option_Call) Run ¶
func (_c *Context_Option_Call) Run(run func(key string)) *Context_Option_Call
func (*Context_Option_Call) RunAndReturn ¶
func (_c *Context_Option_Call) RunAndReturn(run func(string) string) *Context_Option_Call
type Context_Red_Call ¶ added in v1.17.0
Context_Red_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Red'
func (*Context_Red_Call) Return ¶ added in v1.17.0
func (_c *Context_Red_Call) Return() *Context_Red_Call
func (*Context_Red_Call) Run ¶ added in v1.17.0
func (_c *Context_Red_Call) Run(run func(message string)) *Context_Red_Call
func (*Context_Red_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Red_Call) RunAndReturn(run func(string)) *Context_Red_Call
type Context_Redln_Call ¶ added in v1.17.0
Context_Redln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Redln'
func (*Context_Redln_Call) Return ¶ added in v1.17.0
func (_c *Context_Redln_Call) Return() *Context_Redln_Call
func (*Context_Redln_Call) Run ¶ added in v1.17.0
func (_c *Context_Redln_Call) Run(run func(message string)) *Context_Redln_Call
func (*Context_Redln_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Redln_Call) RunAndReturn(run func(string)) *Context_Redln_Call
type Context_Secret_Call ¶
Context_Secret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Secret'
func (*Context_Secret_Call) Return ¶
func (_c *Context_Secret_Call) Return(_a0 string, _a1 error) *Context_Secret_Call
func (*Context_Secret_Call) Run ¶
func (_c *Context_Secret_Call) Run(run func(question string, option ...console.SecretOption)) *Context_Secret_Call
func (*Context_Secret_Call) RunAndReturn ¶
func (_c *Context_Secret_Call) RunAndReturn(run func(string, ...console.SecretOption) (string, error)) *Context_Secret_Call
type Context_Spinner_Call ¶
Context_Spinner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Spinner'
func (*Context_Spinner_Call) Return ¶
func (_c *Context_Spinner_Call) Return(_a0 error) *Context_Spinner_Call
func (*Context_Spinner_Call) Run ¶
func (_c *Context_Spinner_Call) Run(run func(message string, option console.SpinnerOption)) *Context_Spinner_Call
func (*Context_Spinner_Call) RunAndReturn ¶
func (_c *Context_Spinner_Call) RunAndReturn(run func(string, console.SpinnerOption) error) *Context_Spinner_Call
type Context_Success_Call ¶ added in v1.15.0
Context_Success_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Success'
func (*Context_Success_Call) Return ¶ added in v1.15.0
func (_c *Context_Success_Call) Return() *Context_Success_Call
func (*Context_Success_Call) Run ¶ added in v1.15.0
func (_c *Context_Success_Call) Run(run func(message string)) *Context_Success_Call
func (*Context_Success_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Context_Success_Call) RunAndReturn(run func(string)) *Context_Success_Call
type Context_TwoColumnDetail_Call ¶ added in v1.15.0
Context_TwoColumnDetail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TwoColumnDetail'
func (*Context_TwoColumnDetail_Call) Return ¶ added in v1.15.0
func (_c *Context_TwoColumnDetail_Call) Return() *Context_TwoColumnDetail_Call
func (*Context_TwoColumnDetail_Call) Run ¶ added in v1.15.0
func (_c *Context_TwoColumnDetail_Call) Run(run func(first string, second string, filler ...rune)) *Context_TwoColumnDetail_Call
func (*Context_TwoColumnDetail_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Context_TwoColumnDetail_Call) RunAndReturn(run func(string, string, ...rune)) *Context_TwoColumnDetail_Call
type Context_Warning_Call ¶
Context_Warning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warning'
func (*Context_Warning_Call) Return ¶
func (_c *Context_Warning_Call) Return() *Context_Warning_Call
func (*Context_Warning_Call) Run ¶
func (_c *Context_Warning_Call) Run(run func(message string)) *Context_Warning_Call
func (*Context_Warning_Call) RunAndReturn ¶
func (_c *Context_Warning_Call) RunAndReturn(run func(string)) *Context_Warning_Call
type Context_WithProgressBar_Call ¶
Context_WithProgressBar_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithProgressBar'
func (*Context_WithProgressBar_Call) Return ¶
func (_c *Context_WithProgressBar_Call) Return(_a0 []interface{}, _a1 error) *Context_WithProgressBar_Call
func (*Context_WithProgressBar_Call) Run ¶
func (_c *Context_WithProgressBar_Call) Run(run func(items []interface{}, callback func(interface{}) error)) *Context_WithProgressBar_Call
func (*Context_WithProgressBar_Call) RunAndReturn ¶
func (_c *Context_WithProgressBar_Call) RunAndReturn(run func([]interface{}, func(interface{}) error) ([]interface{}, error)) *Context_WithProgressBar_Call
type Context_Yellow_Call ¶ added in v1.17.0
Context_Yellow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Yellow'
func (*Context_Yellow_Call) Return ¶ added in v1.17.0
func (_c *Context_Yellow_Call) Return() *Context_Yellow_Call
func (*Context_Yellow_Call) Run ¶ added in v1.17.0
func (_c *Context_Yellow_Call) Run(run func(message string)) *Context_Yellow_Call
func (*Context_Yellow_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Yellow_Call) RunAndReturn(run func(string)) *Context_Yellow_Call
type Context_Yellowln_Call ¶ added in v1.17.0
Context_Yellowln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Yellowln'
func (*Context_Yellowln_Call) Return ¶ added in v1.17.0
func (_c *Context_Yellowln_Call) Return() *Context_Yellowln_Call
func (*Context_Yellowln_Call) Run ¶ added in v1.17.0
func (_c *Context_Yellowln_Call) Run(run func(message string)) *Context_Yellowln_Call
func (*Context_Yellowln_Call) RunAndReturn ¶ added in v1.17.0
func (_c *Context_Yellowln_Call) RunAndReturn(run func(string)) *Context_Yellowln_Call
type Progress ¶
Progress is an autogenerated mock type for the Progress type
func NewProgress ¶
NewProgress creates a new instance of Progress. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Progress) EXPECT ¶
func (_m *Progress) EXPECT() *Progress_Expecter
func (*Progress) ShowElapsedTime ¶
ShowElapsedTime provides a mock function with given fields: b
type Progress_Advance_Call ¶
Progress_Advance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Advance'
func (*Progress_Advance_Call) Return ¶
func (_c *Progress_Advance_Call) Return() *Progress_Advance_Call
func (*Progress_Advance_Call) Run ¶
func (_c *Progress_Advance_Call) Run(run func(step ...int)) *Progress_Advance_Call
func (*Progress_Advance_Call) RunAndReturn ¶
func (_c *Progress_Advance_Call) RunAndReturn(run func(...int)) *Progress_Advance_Call
type Progress_Expecter ¶
type Progress_Expecter struct {
// contains filtered or unexported fields
}
func (*Progress_Expecter) Advance ¶
func (_e *Progress_Expecter) Advance(step ...interface{}) *Progress_Advance_Call
Advance is a helper method to define mock.On call
- step ...int
func (*Progress_Expecter) Finish ¶
func (_e *Progress_Expecter) Finish() *Progress_Finish_Call
Finish is a helper method to define mock.On call
func (*Progress_Expecter) SetTitle ¶
func (_e *Progress_Expecter) SetTitle(message interface{}) *Progress_SetTitle_Call
SetTitle is a helper method to define mock.On call
- message string
func (*Progress_Expecter) ShowElapsedTime ¶
func (_e *Progress_Expecter) ShowElapsedTime(b ...interface{}) *Progress_ShowElapsedTime_Call
ShowElapsedTime is a helper method to define mock.On call
- b ...bool
func (*Progress_Expecter) ShowTitle ¶
func (_e *Progress_Expecter) ShowTitle(b ...interface{}) *Progress_ShowTitle_Call
ShowTitle is a helper method to define mock.On call
- b ...bool
func (*Progress_Expecter) Start ¶
func (_e *Progress_Expecter) Start() *Progress_Start_Call
Start is a helper method to define mock.On call
type Progress_Finish_Call ¶
Progress_Finish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Finish'
func (*Progress_Finish_Call) Return ¶
func (_c *Progress_Finish_Call) Return(_a0 error) *Progress_Finish_Call
func (*Progress_Finish_Call) Run ¶
func (_c *Progress_Finish_Call) Run(run func()) *Progress_Finish_Call
func (*Progress_Finish_Call) RunAndReturn ¶
func (_c *Progress_Finish_Call) RunAndReturn(run func() error) *Progress_Finish_Call
type Progress_SetTitle_Call ¶
Progress_SetTitle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTitle'
func (*Progress_SetTitle_Call) Return ¶
func (_c *Progress_SetTitle_Call) Return() *Progress_SetTitle_Call
func (*Progress_SetTitle_Call) Run ¶
func (_c *Progress_SetTitle_Call) Run(run func(message string)) *Progress_SetTitle_Call
func (*Progress_SetTitle_Call) RunAndReturn ¶
func (_c *Progress_SetTitle_Call) RunAndReturn(run func(string)) *Progress_SetTitle_Call
type Progress_ShowElapsedTime_Call ¶
Progress_ShowElapsedTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowElapsedTime'
func (*Progress_ShowElapsedTime_Call) Return ¶
func (_c *Progress_ShowElapsedTime_Call) Return(_a0 console.Progress) *Progress_ShowElapsedTime_Call
func (*Progress_ShowElapsedTime_Call) Run ¶
func (_c *Progress_ShowElapsedTime_Call) Run(run func(b ...bool)) *Progress_ShowElapsedTime_Call
func (*Progress_ShowElapsedTime_Call) RunAndReturn ¶
func (_c *Progress_ShowElapsedTime_Call) RunAndReturn(run func(...bool) console.Progress) *Progress_ShowElapsedTime_Call
type Progress_ShowTitle_Call ¶
Progress_ShowTitle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowTitle'
func (*Progress_ShowTitle_Call) Return ¶
func (_c *Progress_ShowTitle_Call) Return(_a0 console.Progress) *Progress_ShowTitle_Call
func (*Progress_ShowTitle_Call) Run ¶
func (_c *Progress_ShowTitle_Call) Run(run func(b ...bool)) *Progress_ShowTitle_Call
func (*Progress_ShowTitle_Call) RunAndReturn ¶
func (_c *Progress_ShowTitle_Call) RunAndReturn(run func(...bool) console.Progress) *Progress_ShowTitle_Call
type Progress_Start_Call ¶
Progress_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Progress_Start_Call) Return ¶
func (_c *Progress_Start_Call) Return(_a0 error) *Progress_Start_Call
func (*Progress_Start_Call) Run ¶
func (_c *Progress_Start_Call) Run(run func()) *Progress_Start_Call
func (*Progress_Start_Call) RunAndReturn ¶
func (_c *Progress_Start_Call) RunAndReturn(run func() error) *Progress_Start_Call