Documentation
¶
Index ¶
- type MockSecretFunc
- type MockSecretFunc_Execute_Call
- func (_c *MockSecretFunc_Execute_Call) Return(_a0 string, _a1 error) *MockSecretFunc_Execute_Call
- func (_c *MockSecretFunc_Execute_Call) Run(run func(_a0 *token.Token)) *MockSecretFunc_Execute_Call
- func (_c *MockSecretFunc_Execute_Call) RunAndReturn(run func(*token.Token) (string, error)) *MockSecretFunc_Execute_Call
- type MockSecretFunc_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecretFunc ¶
MockSecretFunc is an autogenerated mock type for the SecretFunc type
func NewMockSecretFunc ¶
func NewMockSecretFunc(t interface {
mock.TestingT
Cleanup(func())
}) *MockSecretFunc
NewMockSecretFunc creates a new instance of MockSecretFunc. 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 (*MockSecretFunc) EXPECT ¶
func (_m *MockSecretFunc) EXPECT() *MockSecretFunc_Expecter
type MockSecretFunc_Execute_Call ¶
MockSecretFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockSecretFunc_Execute_Call) Return ¶
func (_c *MockSecretFunc_Execute_Call) Return(_a0 string, _a1 error) *MockSecretFunc_Execute_Call
func (*MockSecretFunc_Execute_Call) Run ¶
func (_c *MockSecretFunc_Execute_Call) Run(run func(_a0 *token.Token)) *MockSecretFunc_Execute_Call
func (*MockSecretFunc_Execute_Call) RunAndReturn ¶
func (_c *MockSecretFunc_Execute_Call) RunAndReturn(run func(*token.Token) (string, error)) *MockSecretFunc_Execute_Call
type MockSecretFunc_Expecter ¶
type MockSecretFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSecretFunc_Expecter) Execute ¶
func (_e *MockSecretFunc_Expecter) Execute(_a0 interface{}) *MockSecretFunc_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *token.Token
Click to show internal directories.
Click to hide internal directories.