command

package
v1.15.12 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag struct {
	mock.Mock
}

Flag is an autogenerated mock type for the Flag type

func NewFlag

func NewFlag(t interface {
	mock.TestingT
	Cleanup(func())
}) *Flag

NewFlag creates a new instance of Flag. 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 (*Flag) EXPECT

func (_m *Flag) EXPECT() *Flag_Expecter

func (*Flag) Type

func (_m *Flag) Type() string

Type provides a mock function with no fields

type Flag_Expecter

type Flag_Expecter struct {
	// contains filtered or unexported fields
}

func (*Flag_Expecter) Type

func (_e *Flag_Expecter) Type() *Flag_Type_Call

Type is a helper method to define mock.On call

type Flag_Type_Call

type Flag_Type_Call struct {
	*mock.Call
}

Flag_Type_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Type'

func (*Flag_Type_Call) Return

func (_c *Flag_Type_Call) Return(_a0 string) *Flag_Type_Call

func (*Flag_Type_Call) Run

func (_c *Flag_Type_Call) Run(run func()) *Flag_Type_Call

func (*Flag_Type_Call) RunAndReturn

func (_c *Flag_Type_Call) RunAndReturn(run func() string) *Flag_Type_Call

Jump to

Keyboard shortcuts

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